ARM: dts: meson: align LED node names with dtschema
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Fri, 25 Nov 2022 14:41:20 +0000 (15:41 +0100)
committerNeil Armstrong <neil.armstrong@linaro.org>
Mon, 2 Jan 2023 09:45:14 +0000 (10:45 +0100)
The node names should be generic and DT schema expects certain pattern:

  meson8-minix-neo-x8.dtb: gpio-leds: 'blue' does not match any of the regexes: '(^led-[0-9a-f]$|led)', 'pinctrl-[0-9]+'

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Reviewed-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Link: https://lore.kernel.org/r/20221125144120.476933-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
arch/arm/boot/dts/meson8-minix-neo-x8.dts
arch/arm/boot/dts/meson8b-ec100.dts
arch/arm/boot/dts/meson8b-odroidc1.dts

index 56ea875..c6d1c5a 100644 (file)
@@ -27,7 +27,7 @@
        gpio-leds {
                compatible = "gpio-leds";
 
-               blue {
+               led-blue {
                        label = "x8:blue:power";
                        gpios = <&gpio_ao GPIO_TEST_N GPIO_ACTIVE_HIGH>;
                };
index 77d4bee..3da4734 100644 (file)
@@ -73,7 +73,7 @@
        leds {
                compatible = "gpio-leds";
 
-               power {
+               led-power {
                        label = "ec100:red:power";
                        /*
                         * Needs to go LOW (together with the poweroff GPIO)
index 04356bc..73cdfe8 100644 (file)
@@ -34,7 +34,7 @@
 
        leds {
                compatible = "gpio-leds";
-               blue {
+               led-blue {
                        label = "c1:blue:alive";
                        gpios = <&gpio_ao GPIOAO_13 GPIO_ACTIVE_LOW>;
                        linux,default-trigger = "heartbeat";