]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
ARM: dts: marvell: orion5x-lswsgl: use 'gpios' property for LEDs
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Mon, 1 Jul 2024 14:56:39 +0000 (16:56 +0200)
committerGregory CLEMENT <gregory.clement@bootlin.com>
Fri, 5 Jul 2024 12:43:11 +0000 (14:43 +0200)
The 'gpio' property in GPIO LEDs is deprecated, as reported by
dtbs_check:

  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-lswsgl.dts

index 35dffb24b8b59f62065cca1537c123b8bd5b1684..802cd6ff6169e388af7e9fb105d03e137d62230f 100644 (file)
 
                alarm {
                        label = "lswsgl:alarm:red";
-                       gpio = <&gpio0 2 GPIO_ACTIVE_LOW>;
+                       gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
                };
 
                info {
                        label = "lswsgl:info:amber";
-                       gpio = <&gpio0 3 GPIO_ACTIVE_LOW>;
+                       gpios = <&gpio0 3 GPIO_ACTIVE_LOW>;
                };
 
                func {
                        label = "lswsgl:func:blue:top";
-                       gpio = <&gpio0 9 GPIO_ACTIVE_LOW>;
+                       gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
                };
 
                power {
                        label = "lswsgl:power:blue:bottom";
-                       gpio = <&gpio0 14 GPIO_ACTIVE_LOW>;
+                       gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
                        default-state = "on";
                };
        };