]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
ARM: dts: marvell: orion: align LED node name with bindings
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Mon, 1 Jul 2024 14:56:40 +0000 (16:56 +0200)
committerGregory CLEMENT <gregory.clement@bootlin.com>
Fri, 5 Jul 2024 12:43:11 +0000 (14:43 +0200)
Bindings expect the LED node names to follow certain pattern, see
dtbs_check warnings:

  orion5x-lswsgl.dtb: gpio-leds: led-alarm: Unevaluated properties are not allowed ('gpio' was unexpected)

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
arch/arm/boot/dts/marvell/orion5x-lacie-ethernet-disk-mini-v2.dts
arch/arm/boot/dts/marvell/orion5x-linkstation-lschl.dts
arch/arm/boot/dts/marvell/orion5x-lswsgl.dts
arch/arm/boot/dts/marvell/orion5x-rd88f5182-nas.dts

index a7586370b1d5b911400e236e34707e38ddc0ab82..f81acb9b7223c2223e57d96286767b4ead5d0f13 100644 (file)
@@ -52,7 +52,7 @@
                pinctrl-0 = <&pmx_power_led>;
                pinctrl-names = "default";
 
-               led@1 {
+               led-1 {
                        label = "power:blue";
                        gpios = <&gpio0 16 GPIO_ACTIVE_LOW>;
                };
index 624b737a8be4ba2a3c646708932eb8dd6bdc93b0..79fee048c900978cef2b9e900b42a77ff29c2080 100644 (file)
@@ -90,7 +90,7 @@
                        gpios = <&gpio0 3 GPIO_ACTIVE_LOW>;
                };
 
-               func {
+               func-led {
                        label = "lschl:func:blue:top";
                        gpios = <&gpio0 17 GPIO_ACTIVE_LOW>;
                };
index 802cd6ff6169e388af7e9fb105d03e137d62230f..e0da406c430f54322a78baea2725d2548fbfa5c7 100644 (file)
                             &pmx_led_power>;
                pinctrl-names = "default";
 
-               alarm {
+               led-alarm {
                        label = "lswsgl:alarm:red";
                        gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
                };
 
-               info {
+               led-info {
                        label = "lswsgl:info:amber";
                        gpios = <&gpio0 3 GPIO_ACTIVE_LOW>;
                };
 
-               func {
+               led-func {
                        label = "lswsgl:func:blue:top";
                        gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
                };
 
-               power {
+               led-power {
                        label = "lswsgl:power:blue:bottom";
                        gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
                        default-state = "on";
index fd78aa02a3c5b23af79aafa303734c849ffb9fbb..75ab913b21e5ff0c3b2c1019f7c03f096d83b36d 100644 (file)
@@ -32,7 +32,7 @@
                pinctrl-0 = <&pmx_debug_led>;
                pinctrl-names = "default";
 
-               led@0 {
+               led-0 {
                        label = "rd88f5182:cpu";
                        linux,default-trigger = "heartbeat";
                        gpios = <&gpio0 0 GPIO_ACTIVE_HIGH>;