bmips: fix gpio-leds DTS nodes
authorÁlvaro Fernández Rojas <noltari@gmail.com>
Tue, 20 Aug 2024 10:19:43 +0000 (12:19 +0200)
committerÁlvaro Fernández Rojas <noltari@gmail.com>
Tue, 20 Aug 2024 10:21:04 +0000 (12:21 +0200)
gpio-leds doesn't have reg property and pin number is not an address, so "-"
should be used instead of "@".
https://github.com/torvalds/linux/blob/6e4436539ae182dc86d57d13849862bcafaa4709/Documentation/devicetree/bindings/leds/leds-gpio.yaml#L24

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
target/linux/bmips/dts/bcm6358-huawei-hg556a-b.dts
target/linux/bmips/dts/bcm6362-huawei-hg253s-v2.dts
target/linux/bmips/dts/bcm6362-netgear-dgnd3700-v2.dts
target/linux/bmips/dts/bcm6368-actiontec-r1000h.dts
target/linux/bmips/dts/bcm6368-comtrend-vr-3025u.dts
target/linux/bmips/dts/bcm6368-comtrend-vr-3025un.dts
target/linux/bmips/dts/bcm6368-netgear-dgnd3700.dtsi
target/linux/bmips/dts/bcm6368-observa-vh4032n.dts
target/linux/bmips/dts/bcm6369-comtrend-wap-5813n.dts
target/linux/bmips/dts/bcm6369-netgear-evg2000.dts

index 6500d54e360889184164467a25665e55ec02deaf..999f162fe4c75a25745b491943c28e3a200e0562 100644 (file)
        leds {
                compatible = "gpio-leds";
 
-               led@0 {
+               led-0 {
                        label = "red:message";
                        gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
                };
 
-               led@1 {
+               led-1 {
                        label = "red:hspa";
                        gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
                };
 
-               led@2 {
+               led-2 {
                        label = "red:dsl";
                        gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
                };
 
-               led_power_red: led@3 {
+               led_power_red: led-3 {
                        function = LED_FUNCTION_POWER;
                        color = <LED_COLOR_ID_RED>;
                        gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
                };
 
-               led@6 {
+               led-6 {
                        label = "all";
                        gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
                        default-state = "on";
                };
 
-               led@12 {
+               led-12 {
                        label = "green:lan1";
                        gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
                };
 
-               led@13 {
+               led-13 {
                        label = "red:lan1";
                        gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
                };
 
-               led@15 {
+               led-15 {
                        label = "green:lan2";
                        gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
                };
 
-               led@22 {
+               led-22 {
                        label = "red:lan2";
                        gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
                };
 
-               led@23 {
+               led-23 {
                        label = "green:lan3";
                        gpios = <&gpio 23 GPIO_ACTIVE_LOW>;
                };
 
-               led@26 {
+               led-26 {
                        label = "red:lan3";
                        gpios = <&gpio 26 GPIO_ACTIVE_LOW>;
                };
 
-               led@27 {
+               led-27 {
                        label = "green:lan4";
                        gpios = <&gpio 27 GPIO_ACTIVE_LOW>;
                };
 
-               led@28 {
+               led-28 {
                        label = "red:lan4";
                        gpios = <&gpio 28 GPIO_ACTIVE_LOW>;
                };
        ath9k-leds {
                compatible = "gpio-leds";
 
-               wlan {
+               led-2 {
                        function = LED_FUNCTION_WLAN;
                        color = <LED_COLOR_ID_RED>;
                        gpios = <&ath9k 2 GPIO_ACTIVE_HIGH>;
index a7498815e3dd10f23f13701d8ac8181b0d4d3b79..596ccf998fd2c68d8d4a61a4f2b20c920121adcd 100644 (file)
        leds {
                compatible = "gpio-leds";
 
-               led_phone_green: led@28 {
+               led_phone_green: led-28 {
                        label = "green:phone";
                        gpios = <&gpio 28 GPIO_ACTIVE_LOW>;
                };
 
-               led@30 {
+               led-30 {
                        function = LED_FUNCTION_USB;
                        color = <LED_COLOR_ID_GREEN>;
                        gpios = <&gpio 30 GPIO_ACTIVE_LOW>;
index 0259fdba6c5d551a84861d8748a0b2b76c60c655..7c1fde31325672b6000d20e826c0b112f7476fa5 100644 (file)
        leds {
                compatible = "gpio-leds";
 
-               led@28 {
+               led-28 {
                        label = "green:dsl";
                        gpios = <&gpio 28 GPIO_ACTIVE_LOW>;
                };
 
-               led_power_red: led@34 {
+               led_power_red: led-34 {
                        function = LED_FUNCTION_POWER;
                        color = <LED_COLOR_ID_RED>;
                        gpios = <&gpio 34 GPIO_ACTIVE_LOW>;
index 5951ad854c49ae19ff886df31933f387ef60c378..7f4a725e9a4a412abe7c6d7cc5634eef0fb42d7b 100644 (file)
        leds {
                compatible = "gpio-leds";
 
-               led@5 {
+               led-5 {
                        function = LED_FUNCTION_WAN;
                        color = <LED_COLOR_ID_GREEN>;
                        gpios = <&gpio 5 GPIO_ACTIVE_HIGH>;
                };
 
-               led@21 {
+               led-21 {
                        function = LED_FUNCTION_USB;
                        color = <LED_COLOR_ID_GREEN>;
                        gpios = <&gpio 21 GPIO_ACTIVE_LOW>;
                };
 
-               led_power_green: led@22 {
+               led_power_green: led-22 {
                        function = LED_FUNCTION_POWER;
                        color = <LED_COLOR_ID_GREEN>;
                        gpios = <&gpio 22 GPIO_ACTIVE_HIGH>;
                };
 
-               led@23 {
+               led-23 {
                        function = LED_FUNCTION_WPS;
                        color = <LED_COLOR_ID_GREEN>;
                        gpios = <&gpio 23 GPIO_ACTIVE_LOW>;
                };
 
-               led_power_red: led@24 {
+               led_power_red: led-24 {
                        function = LED_FUNCTION_POWER;
                        color = <LED_COLOR_ID_RED>;
                        gpios = <&gpio 24 GPIO_ACTIVE_HIGH>;
                        panic-indicator;
                };
 
-               led@30 {
+               led-30 {
                        function = LED_FUNCTION_WPS;
                        color = <LED_COLOR_ID_RED>;
                        gpios = <&gpio 30 GPIO_ACTIVE_LOW>;
                };
 
-               led@31 {
+               led-31 {
                        function = LED_FUNCTION_WAN;
                        color = <LED_COLOR_ID_RED>;
                        gpios = <&gpio 31 GPIO_ACTIVE_HIGH>;
index 647db7afaa7314098da578e06a47df584b7e6967..0ebe26716c8b6bac305314aa44a48cc4bc16c04a 100644 (file)
        leds {
                compatible = "gpio-leds";
 
-               led@2 {
+               led-2 {
                        label = "green:dsl";
                        gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
                };
 
-               led@5 {
+               led-5 {
                        label = "green:internet";
                        gpios = <&gpio 5 GPIO_ACTIVE_HIGH>;
                };
 
-               led_power_green: led@22 {
+               led_power_green: led-22 {
                        function = LED_FUNCTION_POWER;
                        color = <LED_COLOR_ID_GREEN>;
                        gpios = <&gpio 22 GPIO_ACTIVE_HIGH>;
                };
 
-               led_power_red: led@24 {
+               led_power_red: led-24 {
                        function = LED_FUNCTION_POWER;
                        color = <LED_COLOR_ID_RED>;
                        gpios = <&gpio 24 GPIO_ACTIVE_HIGH>;
                        panic-indicator;
                };
 
-               led@31 {
+               led-31 {
                        label = "red:internet";
                        gpios = <&gpio 31 GPIO_ACTIVE_HIGH>;
                };
index ba75cb3e5c623dcbc297b8e41dfbc7f69a01958f..8935dfe90377ad6a4a008e9e5ee7497fd0d27c17 100644 (file)
        leds {
                compatible = "gpio-leds";
 
-               led@2 {
+               led-2 {
                        label = "green:dsl";
                        gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
                };
 
-               led@5 {
+               led-5 {
                        label = "green:internet";
                        gpios = <&gpio 5 GPIO_ACTIVE_HIGH>;
                };
 
-               led_power_green: led@22 {
+               led_power_green: led-22 {
                        function = LED_FUNCTION_POWER;
                        color = <LED_COLOR_ID_GREEN>;
                        gpios = <&gpio 22 GPIO_ACTIVE_HIGH>;
                };
 
-               led_power_red: led@24 {
+               led_power_red: led-24 {
                        function = LED_FUNCTION_POWER;
                        color = <LED_COLOR_ID_RED>;
                        gpios = <&gpio 24 GPIO_ACTIVE_HIGH>;
                        panic-indicator;
                };
 
-               led@31 {
+               led-31 {
                        label = "red:internet";
                        gpios = <&gpio 31 GPIO_ACTIVE_HIGH>;
                };
index 49c546692a60b4d94b2438b5e69587e570e4d699..43225cdd52756e263cb28556f2ef4f8bcf241f22 100644 (file)
        leds {
                compatible = "gpio-leds";
 
-               led@2 {
+               led-2 {
                        label = "green:dsl";
                        gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
                };
 
-               led@4 {
+               led-4 {
                        function = LED_FUNCTION_WAN;
                        color = <LED_COLOR_ID_RED>;
                        gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
                };
 
-               led@5 {
+               led-5 {
                        function = LED_FUNCTION_WAN;
                        color = <LED_COLOR_ID_GREEN>;
                        gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
                };
 
-               led@11 {
+               led-11 {
                        function = LED_FUNCTION_WPS;
                        color = <LED_COLOR_ID_GREEN>;
                        gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
                };
 
-               led@13 {
+               led-13 {
                        /* Front USB port */
                        label = "green:usb2";
                        gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
                };
 
-               led@14 {
+               led-14 {
                        /* Back USB port */
                        label = "green:usb1";
                        gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
                };
 
-               led_power_red: led@22 {
+               led_power_red: led-22 {
                        function = LED_FUNCTION_POWER;
                        color = <LED_COLOR_ID_RED>;
                        gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
                        panic-indicator;
                };
 
-               led@23 {
+               led-23 {
                        function = LED_FUNCTION_LAN;
                        color = <LED_COLOR_ID_GREEN>;
                        gpios = <&gpio 23 GPIO_ACTIVE_LOW>;
                };
 
-               led_power_green: led@24 {
+               led_power_green: led-24 {
                        function = LED_FUNCTION_POWER;
                        color = <LED_COLOR_ID_GREEN>;
                        gpios = <&gpio 24 GPIO_ACTIVE_LOW>;
                };
 
-               led@26 {
+               led-26 {
                        label = "green:wifi2g";
                        gpios = <&gpio 26 GPIO_ACTIVE_LOW>;
                };
 
-               led@27 {
+               led-27 {
                        label = "blue:wifi5g";
                        gpios = <&gpio 27 GPIO_ACTIVE_LOW>;
                };
index 3268ff146fee2875e97d636073e87d8e8504180f..a0c2f321af9b0659f06e66d44f8a336ab65e6cad 100644 (file)
        leds {
                compatible = "gpio-leds";
 
-               led@2 {
+               led-2 {
                        label = "blue:dsl";
                        gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
                };
 
-               led@5 {
+               led-5 {
                        label = "red:dsl";
                        gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
                };
 
-               led@11 {
+               led-11 {
                        label = "blue:hspa";
                        gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
                };
 
-               led@12 {
+               led-12 {
                        label = "red:hspa";
                        gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
                };
 
-               led_power_blue: led@22 {
+               led_power_blue: led-22 {
                        function = LED_FUNCTION_POWER;
                        color = <LED_COLOR_ID_BLUE>;
                        gpios = <&gpio 22 GPIO_ACTIVE_HIGH>;
                };
 
-               led_power_red: led@24 {
+               led_power_red: led-24 {
                        function = LED_FUNCTION_POWER;
                        color = <LED_COLOR_ID_RED>;
                        gpios = <&gpio 24 GPIO_ACTIVE_HIGH>;
                        panic-indicator;
                };
 
-               led@25 {
+               led-25 {
                        label = "blue:voice";
                        gpios = <&gpio 25 GPIO_ACTIVE_LOW>;
                };
 
-               led@26 {
+               led-26 {
                        label = "red:voice";
                        gpios = <&gpio 26 GPIO_ACTIVE_LOW>;
                };
index 263a10bf61506bd349e2119f0339a40ff834668b..5fa511816b5964fdeaf7bd2ea937ad83c9d3fc1b 100644 (file)
        leds {
                compatible = "gpio-leds";
 
-               led@5 {
+               led-5 {
                        label = "green:internet";
                        gpios = <&gpio 5 GPIO_ACTIVE_HIGH>;
                };
 
-               led@14 {
+               led-14 {
                        function = LED_FUNCTION_USB;
                        color = <LED_COLOR_ID_GREEN>;
                        gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
                };
 
-               led_power_green: led@22 {
+               led_power_green: led-22 {
                        function = LED_FUNCTION_POWER;
                        color = <LED_COLOR_ID_GREEN>;
                        gpios = <&gpio 22 GPIO_ACTIVE_HIGH>;
                };
 
-               led@23 {
+               led-23 {
                        function = LED_FUNCTION_WPS;
                        color = <LED_COLOR_ID_GREEN>;
                        gpios = <&gpio 23 GPIO_ACTIVE_LOW>;
                };
 
-               led_power_red: led@24 {
+               led_power_red: led-24 {
                        function = LED_FUNCTION_POWER;
                        color = <LED_COLOR_ID_RED>;
                        gpios = <&gpio 24 GPIO_ACTIVE_HIGH>;
                        panic-indicator;
                };
 
-               led@31 {
+               led-31 {
                        label = "red:internet";
                        gpios = <&gpio 31 GPIO_ACTIVE_HIGH>;
                };
index 376f5b6865e23093fcbf7a8a79124fe22e75cc14..cf91c0ad23ce5959a0132655a0b2c64047b94dd0 100644 (file)
        leds {
                compatible = "gpio-leds";
 
-               led@2 {
+               led-2 {
                        label = "green:voip2";
                        gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
                };
 
-               led@4 {
+               led-4 {
                        label = "red:internet";
                        gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
                };
 
-               led@5 {
+               led-5 {
                        label = "green:internet";
                        gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
                };
 
-               led@14 {
+               led-14 {
                        label = "green:voip1";
                        gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
                };
 
-               led@15 {
+               led-15 {
                        function = LED_FUNCTION_USB;
                        color = <LED_COLOR_ID_GREEN>;
                        gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
                };
 
-               led_power_green: led@22 {
+               led_power_green: led-22 {
                        function = LED_FUNCTION_POWER;
                        color = <LED_COLOR_ID_GREEN>;
                        gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
                };
 
-               led_power_red: led@23 {
+               led_power_red: led-23 {
                        function = LED_FUNCTION_POWER;
                        color = <LED_COLOR_ID_RED>;
                        gpios = <&gpio 23 GPIO_ACTIVE_LOW>;
                        panic-indicator;
                };
 
-               led@24 {
+               led-24 {
                        function = LED_FUNCTION_LAN;
                        color = <LED_COLOR_ID_GREEN>;
                        gpios = <&gpio 24 GPIO_ACTIVE_LOW>;
                };
 
-               led@27 {
+               led-27 {
                        function = LED_FUNCTION_WAN;
                        color = <LED_COLOR_ID_GREEN>;
                        gpios = <&gpio 27 GPIO_ACTIVE_LOW>;