ARM: dts: omap: align LED node names with dtschema
The node names should be generic and DT schema expects certain pattern: omap3-beagle-ab4.dtb: leds: 'heartbeat', 'mmc', 'pmu_stat' do not match any of the regexes: '(^led-[0-9a-f]$|led)', 'pinctrl-[0-9]+' Acked-by: Tony Lindgren <tony@atomide.com> Link: https://lore.kernel.org/r/20221127203034.54092-1-krzysztof.kozlowski@linaro.org Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
This commit is contained in:
parent
0cd4cab6ac
commit
95a45c6676
|
@ -28,18 +28,18 @@
|
|||
|
||||
leds {
|
||||
compatible = "gpio-leds";
|
||||
pmu_stat {
|
||||
led-pmu-stat {
|
||||
label = "beagleboard::pmu_stat";
|
||||
gpios = <&twl_gpio 19 GPIO_ACTIVE_HIGH>; /* LEDB */
|
||||
};
|
||||
|
||||
heartbeat {
|
||||
led-heartbeat {
|
||||
label = "beagleboard::usr0";
|
||||
gpios = <&gpio5 22 GPIO_ACTIVE_HIGH>; /* 150 -> D6 LED */
|
||||
linux,default-trigger = "heartbeat";
|
||||
};
|
||||
|
||||
mmc {
|
||||
led-mmc {
|
||||
label = "beagleboard::usr1";
|
||||
gpios = <&gpio5 21 GPIO_ACTIVE_HIGH>; /* 149 -> D7 LED */
|
||||
linux,default-trigger = "mmc0";
|
||||
|
|
|
@ -15,28 +15,28 @@
|
|||
leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
heartbeat {
|
||||
led-heartbeat {
|
||||
label = "devkit8000::led1";
|
||||
gpios = <&gpio6 26 GPIO_ACTIVE_HIGH>; /* 186 -> LED1 */
|
||||
default-state = "on";
|
||||
linux,default-trigger = "heartbeat";
|
||||
};
|
||||
|
||||
mmc {
|
||||
led-mmc {
|
||||
label = "devkit8000::led2";
|
||||
gpios = <&gpio6 3 GPIO_ACTIVE_HIGH>; /* 163 -> LED2 */
|
||||
default-state = "on";
|
||||
linux,default-trigger = "none";
|
||||
};
|
||||
|
||||
usr {
|
||||
led-usr {
|
||||
label = "devkit8000::led3";
|
||||
gpios = <&gpio6 4 GPIO_ACTIVE_HIGH>; /* 164 -> LED3 */
|
||||
default-state = "on";
|
||||
linux,default-trigger = "usr";
|
||||
};
|
||||
|
||||
pmu_stat {
|
||||
led-pmu-stat {
|
||||
label = "devkit8000::pmu_stat";
|
||||
gpios = <&twl_gpio 19 GPIO_ACTIVE_HIGH>; /* LEDB */
|
||||
};
|
||||
|
|
|
@ -49,7 +49,7 @@
|
|||
|
||||
leds {
|
||||
compatible = "gpio-leds";
|
||||
heartbeat {
|
||||
led-heartbeat {
|
||||
label = "debug::sleep";
|
||||
gpios = <&gpio6 2 GPIO_ACTIVE_HIGH>; /* 162 */
|
||||
linux,default-trigger = "default-on";
|
||||
|
|
|
@ -17,19 +17,19 @@
|
|||
compatible = "gpio-leds";
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&led_pins>;
|
||||
gpio148 {
|
||||
led-gpio148 {
|
||||
label = "overo:red:gpio148";
|
||||
gpios = <&gpio5 20 GPIO_ACTIVE_HIGH>; /* gpio 148 */
|
||||
};
|
||||
gpio150 {
|
||||
led-gpio150 {
|
||||
label = "overo:yellow:gpio150";
|
||||
gpios = <&gpio5 22 GPIO_ACTIVE_HIGH>; /* gpio 150 */
|
||||
};
|
||||
gpio151 {
|
||||
led-gpio151 {
|
||||
label = "overo:blue:gpio151";
|
||||
gpios = <&gpio5 23 GPIO_ACTIVE_HIGH>; /* gpio 151 */
|
||||
};
|
||||
gpio170 {
|
||||
led-gpio170 {
|
||||
label = "overo:green:gpio170";
|
||||
gpios = <&gpio6 10 GPIO_ACTIVE_HIGH>; /* gpio 170 */
|
||||
};
|
||||
|
|
|
@ -17,12 +17,12 @@
|
|||
compatible = "gpio-leds";
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&led_pins>;
|
||||
heartbeat {
|
||||
led-heartbeat {
|
||||
label = "overo:red:gpio21";
|
||||
gpios = <&gpio1 21 GPIO_ACTIVE_LOW>; /* gpio_21 */
|
||||
linux,default-trigger = "heartbeat";
|
||||
};
|
||||
gpio22 {
|
||||
led-gpio22 {
|
||||
label = "overo:blue:gpio22";
|
||||
gpios = <&gpio1 22 GPIO_ACTIVE_LOW>; /* gpio_22 */
|
||||
};
|
||||
|
|
|
@ -17,12 +17,12 @@
|
|||
compatible = "gpio-leds";
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&led_pins>;
|
||||
heartbeat {
|
||||
led-heartbeat {
|
||||
label = "overo:red:gpio21";
|
||||
gpios = <&gpio1 21 GPIO_ACTIVE_LOW>; /* gpio_21 */
|
||||
linux,default-trigger = "heartbeat";
|
||||
};
|
||||
gpio22 {
|
||||
led-gpio22 {
|
||||
label = "overo:blue:gpio22";
|
||||
gpios = <&gpio1 22 GPIO_ACTIVE_LOW>; /* gpio_22 */
|
||||
};
|
||||
|
|
|
@ -17,12 +17,12 @@
|
|||
compatible = "gpio-leds";
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&led_pins>;
|
||||
heartbeat {
|
||||
led-heartbeat {
|
||||
label = "overo:red:gpio21";
|
||||
gpios = <&gpio1 21 GPIO_ACTIVE_LOW>; /* gpio_21 */
|
||||
linux,default-trigger = "heartbeat";
|
||||
};
|
||||
gpio22 {
|
||||
led-gpio22 {
|
||||
label = "overo:blue:gpio22";
|
||||
gpios = <&gpio1 22 GPIO_ACTIVE_LOW>; /* gpio_22 */
|
||||
};
|
||||
|
|
|
@ -17,12 +17,12 @@
|
|||
compatible = "gpio-leds";
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&led_pins>;
|
||||
heartbeat {
|
||||
led-heartbeat {
|
||||
label = "overo:red:gpio21";
|
||||
gpios = <&gpio1 21 GPIO_ACTIVE_LOW>; /* gpio_21 */
|
||||
linux,default-trigger = "heartbeat";
|
||||
};
|
||||
gpio22 {
|
||||
led-gpio22 {
|
||||
label = "overo:blue:gpio22";
|
||||
gpios = <&gpio1 22 GPIO_ACTIVE_LOW>; /* gpio_22 */
|
||||
};
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
compatible = "gpio-leds";
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&led_pins>;
|
||||
heartbeat {
|
||||
led-heartbeat {
|
||||
label = "overo:red:gpio21";
|
||||
gpios = <&gpio1 21 GPIO_ACTIVE_LOW>; /* gpio_21 */
|
||||
linux,default-trigger = "heartbeat";
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
/ {
|
||||
leds {
|
||||
compatible = "gpio-leds";
|
||||
heartbeat {
|
||||
led-heartbeat {
|
||||
label = "overo:red:gpio21";
|
||||
gpios = <&gpio1 21 GPIO_ACTIVE_LOW>;
|
||||
linux,default-trigger = "heartbeat";
|
||||
|
|
|
@ -49,13 +49,13 @@
|
|||
&led_wkgpio_pins
|
||||
>;
|
||||
|
||||
heartbeat {
|
||||
led-heartbeat {
|
||||
label = "pandaboard::status1";
|
||||
gpios = <&gpio1 7 GPIO_ACTIVE_HIGH>;
|
||||
linux,default-trigger = "heartbeat";
|
||||
};
|
||||
|
||||
mmc {
|
||||
led-mmc {
|
||||
label = "pandaboard::status2";
|
||||
gpios = <&gpio1 8 GPIO_ACTIVE_HIGH>;
|
||||
linux,default-trigger = "mmc0";
|
||||
|
|
|
@ -79,10 +79,10 @@
|
|||
&led_wkgpio_pins
|
||||
>;
|
||||
|
||||
heartbeat {
|
||||
led-heartbeat {
|
||||
gpios = <&gpio4 14 GPIO_ACTIVE_HIGH>;
|
||||
};
|
||||
mmc {
|
||||
led-mmc {
|
||||
gpios = <&gpio1 8 GPIO_ACTIVE_HIGH>;
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue