arm64: dts: armada-3720: align LED node name with bindings
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Mon, 1 Jul 2024 15:03:40 +0000 (17:03 +0200)
committerGregory CLEMENT <gregory.clement@bootlin.com>
Fri, 5 Jul 2024 12:48:50 +0000 (14:48 +0200)
Bindings expect the LED node names to follow certain pattern, see
dtbs_check warnings:

  armada-3720-gl-mv1000.dtb: leds: 'power', 'vpn', 'wan' do not match any of the regexes: '(^led-[0-9a-f]$|led)', 'pinctrl-[0-9]+'

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
arch/arm64/boot/dts/marvell/armada-3720-gl-mv1000.dts

index 07c14bf04b83325d2ca33e9b56894f364278feaa..56930f2ce4814ee58ebd06b095db146a5cc55340 100644 (file)
        leds {
                compatible = "gpio-leds";
 
-               vpn {
+               led-vpn {
                        label = "green:vpn";
                        gpios = <&gpionb 11 GPIO_ACTIVE_LOW>;
                };
 
-               wan {
+               led-wan {
                        label = "green:wan";
                        gpios = <&gpionb 12 GPIO_ACTIVE_LOW>;
                };
 
-               led_power: power {
+               led_power: led-power {
                        label = "green:power";
                        gpios = <&gpionb 13 GPIO_ACTIVE_LOW>;
                        default-state = "on";