Commit 08dc0e5d authored by Neil Armstrong's avatar Neil Armstrong Committed by Kevin Hilman

arm64: dts: meson: fix leds subnodes name

Fix the leds subnode names to match (^led-[0-9a-f]$|led)

It fixes:
meson-g12b-a311d-khadas-vim3.dt.yaml: leds: 'red', 'white' do not match any of the regexes: '(^led-[0-9a-f]$|led)', 'pinctrl-[0-9]+'
meson-g12b-s922x-khadas-vim3.dt.yaml: leds: 'red', 'white' do not match any of the regexes: '(^led-[0-9a-f]$|led)', 'pinctrl-[0-9]+'
meson-g12b-odroid-n2.dt.yaml: leds: 'blue' does not match any of the regexes: '(^led-[0-9a-f]$|led)', 'pinctrl-[0-9]+'
meson-gxbb-nanopi-k2.dt.yaml: leds: 'stat' does not match any of the regexes: '(^led-[0-9a-f]$|led)', 'pinctrl-[0-9]+'
meson-gxbb-nexbox-a95x.dt.yaml: leds: 'blue' does not match any of the regexes: '(^led-[0-9a-f]$|led)', 'pinctrl-[0-9]+'
meson-gxbb-odroidc2.dt.yaml: leds: 'blue' does not match any of the regexes: '(^led-[0-9a-f]$|led)', 'pinctrl-[0-9]+'
meson-gxbb-vega-s95-pro.dt.yaml: leds: 'blue' does not match any of the regexes: '(^led-[0-9a-f]$|led)', 'pinctrl-[0-9]+'
meson-gxbb-vega-s95-meta.dt.yaml: leds: 'blue' does not match any of the regexes: '(^led-[0-9a-f]$|led)', 'pinctrl-[0-9]+'
meson-gxbb-vega-s95-telos.dt.yaml: leds: 'blue' does not match any of the regexes: '(^led-[0-9a-f]$|led)', 'pinctrl-[0-9]+'
meson-gxbb-wetek-hub.dt.yaml: leds: 'system' does not match any of the regexes: '(^led-[0-9a-f]$|led)', 'pinctrl-[0-9]+'
meson-gxbb-wetek-play2.dt.yaml: leds: 'ethernet', 'system', 'wifi' do not match any of the regexes: '(^led-[0-9a-f]$|led)', 'pinctrl-[0-9]+'
meson-gxl-s905x-libretech-cc.dt.yaml: leds: 'blue', 'system' do not match any of the regexes: '(^led-[0-9a-f]$|led)', 'pinctrl-[0-9]+'
meson-gxl-s905d-libretech-pc.dt.yaml: leds: 'blue', 'green' do not match any of the regexes: '(^led-[0-9a-f]$|led)', 'pinctrl-[0-9]+'
meson-gxm-rbox-pro.dt.yaml: leds: 'blue', 'red' do not match any of the regexes: '(^led-[0-9a-f]$|led)', 'pinctrl-[0-9]+'
meson-gxm-s912-libretech-pc.dt.yaml: leds: 'blue', 'green' do not match any of the regexes: '(^led-[0-9a-f]$|led)', 'pinctrl-[0-9]+'
meson-sm1-sei610.dt.yaml: leds: 'bluetooth' does not match any of the regexes: '(^led-[0-9a-f]$|led)', 'pinctrl-[0-9]+'
meson-sm1-khadas-vim3l.dt.yaml: leds: 'red', 'white' do not match any of the regexes: '(^led-[0-9a-f]$|led)', 'pinctrl-[0-9]+'
Signed-off-by: default avatarNeil Armstrong <narmstrong@baylibre.com>
Signed-off-by: default avatarKevin Hilman <khilman@baylibre.com>
Link: https://lore.kernel.org/r/20200326165958.19274-6-narmstrong@baylibre.com
parent d120b5f9
...@@ -96,14 +96,14 @@ dc_in: regulator-dc_in { ...@@ -96,14 +96,14 @@ dc_in: regulator-dc_in {
leds { leds {
compatible = "gpio-leds"; compatible = "gpio-leds";
green { led-green {
color = <LED_COLOR_ID_GREEN>; color = <LED_COLOR_ID_GREEN>;
function = LED_FUNCTION_DISK_ACTIVITY; function = LED_FUNCTION_DISK_ACTIVITY;
gpios = <&gpio_ao GPIOAO_9 GPIO_ACTIVE_HIGH>; gpios = <&gpio_ao GPIOAO_9 GPIO_ACTIVE_HIGH>;
linux,default-trigger = "disk-activity"; linux,default-trigger = "disk-activity";
}; };
blue { led-blue {
color = <LED_COLOR_ID_BLUE>; color = <LED_COLOR_ID_BLUE>;
function = LED_FUNCTION_STATUS; function = LED_FUNCTION_STATUS;
gpios = <&gpio GPIODV_28 GPIO_ACTIVE_HIGH>; gpios = <&gpio GPIODV_28 GPIO_ACTIVE_HIGH>;
......
...@@ -29,7 +29,7 @@ memory@0 { ...@@ -29,7 +29,7 @@ memory@0 {
leds { leds {
compatible = "gpio-leds"; compatible = "gpio-leds";
stat { led-stat {
label = "nanopi-k2:blue:stat"; label = "nanopi-k2:blue:stat";
gpios = <&gpio_ao GPIOAO_13 GPIO_ACTIVE_HIGH>; gpios = <&gpio_ao GPIOAO_13 GPIO_ACTIVE_HIGH>;
default-state = "on"; default-state = "on";
......
...@@ -31,7 +31,7 @@ memory@0 { ...@@ -31,7 +31,7 @@ memory@0 {
leds { leds {
compatible = "gpio-leds"; compatible = "gpio-leds";
blue { led-blue {
label = "a95x:system-status"; label = "a95x:system-status";
gpios = <&gpio_ao GPIOAO_13 GPIO_ACTIVE_LOW>; gpios = <&gpio_ao GPIOAO_13 GPIO_ACTIVE_LOW>;
linux,default-trigger = "heartbeat"; linux,default-trigger = "heartbeat";
......
...@@ -49,7 +49,7 @@ usb_otg_pwr: regulator-usb-pwrs { ...@@ -49,7 +49,7 @@ usb_otg_pwr: regulator-usb-pwrs {
leds { leds {
compatible = "gpio-leds"; compatible = "gpio-leds";
blue { led-blue {
label = "c2:blue:alive"; label = "c2:blue:alive";
gpios = <&gpio_ao GPIOAO_13 GPIO_ACTIVE_LOW>; gpios = <&gpio_ao GPIOAO_13 GPIO_ACTIVE_LOW>;
linux,default-trigger = "heartbeat"; linux,default-trigger = "heartbeat";
......
...@@ -20,7 +20,7 @@ chosen { ...@@ -20,7 +20,7 @@ chosen {
leds { leds {
compatible = "gpio-leds"; compatible = "gpio-leds";
blue { led-blue {
label = "vega-s95:blue:on"; label = "vega-s95:blue:on";
gpios = <&gpio_ao GPIOAO_13 GPIO_ACTIVE_HIGH>; gpios = <&gpio_ao GPIOAO_13 GPIO_ACTIVE_HIGH>;
default-state = "on"; default-state = "on";
......
...@@ -14,13 +14,13 @@ / { ...@@ -14,13 +14,13 @@ / {
model = "WeTek Play 2"; model = "WeTek Play 2";
leds { leds {
wifi { led-wifi {
label = "wetek-play:wifi-status"; label = "wetek-play:wifi-status";
gpios = <&gpio GPIODV_26 GPIO_ACTIVE_HIGH>; gpios = <&gpio GPIODV_26 GPIO_ACTIVE_HIGH>;
default-state = "off"; default-state = "off";
}; };
ethernet { led-ethernet {
label = "wetek-play:ethernet-status"; label = "wetek-play:ethernet-status";
gpios = <&gpio GPIODV_27 GPIO_ACTIVE_HIGH>; gpios = <&gpio GPIODV_27 GPIO_ACTIVE_HIGH>;
default-state = "off"; default-state = "off";
......
...@@ -25,7 +25,7 @@ memory@0 { ...@@ -25,7 +25,7 @@ memory@0 {
leds { leds {
compatible = "gpio-leds"; compatible = "gpio-leds";
system { led-system {
label = "wetek-play:system-status"; label = "wetek-play:system-status";
gpios = <&gpio_ao GPIOAO_13 GPIO_ACTIVE_HIGH>; gpios = <&gpio_ao GPIOAO_13 GPIO_ACTIVE_HIGH>;
default-state = "on"; default-state = "on";
......
...@@ -54,14 +54,14 @@ hdmi_connector_in: endpoint { ...@@ -54,14 +54,14 @@ hdmi_connector_in: endpoint {
leds { leds {
compatible = "gpio-leds"; compatible = "gpio-leds";
system { led-system {
label = "librecomputer:system-status"; label = "librecomputer:system-status";
gpios = <&gpio GPIODV_24 GPIO_ACTIVE_HIGH>; gpios = <&gpio GPIODV_24 GPIO_ACTIVE_HIGH>;
default-state = "on"; default-state = "on";
panic-indicator; panic-indicator;
}; };
blue { led-blue {
label = "librecomputer:blue"; label = "librecomputer:blue";
gpios = <&gpio_ao GPIOAO_2 GPIO_ACTIVE_HIGH>; gpios = <&gpio_ao GPIOAO_2 GPIO_ACTIVE_HIGH>;
linux,default-trigger = "heartbeat"; linux,default-trigger = "heartbeat";
......
...@@ -36,13 +36,13 @@ memory@0 { ...@@ -36,13 +36,13 @@ memory@0 {
leds { leds {
compatible = "gpio-leds"; compatible = "gpio-leds";
blue { led-blue {
label = "rbox-pro:blue:on"; label = "rbox-pro:blue:on";
gpios = <&gpio_ao GPIOAO_9 GPIO_ACTIVE_HIGH>; gpios = <&gpio_ao GPIOAO_9 GPIO_ACTIVE_HIGH>;
default-state = "on"; default-state = "on";
}; };
red { led-red {
label = "rbox-pro:red:standby"; label = "rbox-pro:red:standby";
gpios = <&gpio GPIODV_28 GPIO_ACTIVE_HIGH>; gpios = <&gpio GPIODV_28 GPIO_ACTIVE_HIGH>;
default-state = "off"; default-state = "off";
......
...@@ -39,13 +39,13 @@ button-function { ...@@ -39,13 +39,13 @@ button-function {
leds { leds {
compatible = "gpio-leds"; compatible = "gpio-leds";
white { led-white {
label = "vim3:white:sys"; label = "vim3:white:sys";
gpios = <&gpio_ao GPIOAO_4 GPIO_ACTIVE_LOW>; gpios = <&gpio_ao GPIOAO_4 GPIO_ACTIVE_LOW>;
linux,default-trigger = "heartbeat"; linux,default-trigger = "heartbeat";
}; };
red { led-red {
label = "vim3:red"; label = "vim3:red";
gpios = <&gpio_expander 5 GPIO_ACTIVE_LOW>; gpios = <&gpio_expander 5 GPIO_ACTIVE_LOW>;
}; };
......
...@@ -104,7 +104,7 @@ hdmi_connector_in: endpoint { ...@@ -104,7 +104,7 @@ hdmi_connector_in: endpoint {
leds { leds {
compatible = "gpio-leds"; compatible = "gpio-leds";
bluetooth { led-bluetooth {
label = "sei610:blue:bt"; label = "sei610:blue:bt";
gpios = <&gpio GPIOC_7 (GPIO_ACTIVE_LOW | GPIO_OPEN_DRAIN)>; gpios = <&gpio GPIOC_7 (GPIO_ACTIVE_LOW | GPIO_OPEN_DRAIN)>;
default-state = "off"; default-state = "off";
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment