bmips: dts: align LEDs
authorÁlvaro Fernández Rojas <noltari@gmail.com>
Wed, 24 Mar 2021 10:30:23 +0000 (11:30 +0100)
committerÁlvaro Fernández Rojas <noltari@gmail.com>
Mon, 29 Mar 2021 16:23:38 +0000 (18:23 +0200)
Align all bmips devices LED configurations.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
target/linux/bmips/dts/bcm63168-comtrend-vr-3032u.dts
target/linux/bmips/dts/bcm6318-comtrend-ar-5315u.dts
target/linux/bmips/dts/bcm6328-comtrend-ar-5387un.dts
target/linux/bmips/dts/bcm6358-huawei-hg556a-b.dts
target/linux/bmips/dts/bcm6362-netgear-dgnd3700-v2.dts
target/linux/bmips/dts/bcm6368-comtrend-vr-3025u.dts

index e2c05f9e6ffbecb2619ccacffe409695342948f3..094dca158571f0f1d0f7842dd83352899ec89cca 100644 (file)
@@ -12,6 +12,8 @@
                led-running = &led_power_green;
                led-upgrade = &led_power_green;
 
+               led-dsl = &led_dsl_green;
+               led-internet = &led_internet_green;
                led-usb = &led_usb_green;
        };
 
@@ -75,7 +77,7 @@
                label = "red:internet";
        };
 
-       led@3 {
+       led_dsl_green: led@3 {
                reg = <3>;
                active-low;
                label = "green:dsl";
@@ -93,7 +95,7 @@
                label = "green:wps";
        };
 
-       led@8 {
+       led_internet_green: led@8 {
                reg = <8>;
                active-low;
                label = "green:internet";
index 725c7e38cdd942a42075f3e7bd034d11e0587bbb..0a53ece1409b537fe7b1023e40e3657dd7c66963 100644 (file)
@@ -8,9 +8,13 @@
 
        aliases {
                led-boot = &led_power_green;
-               led-failsafe = &led_power_green;
+               led-failsafe = &led_power_red;
                led-running = &led_power_green;
                led-upgrade = &led_power_green;
+
+               led-dsl = &led_dsl_green;
+               led-internet = &led_internet_green;
+               led-usb = &led_usb_green;
        };
 
        keys {
                label = "green:power";
        };
 
-       led@2 {
+       led_usb_green: led@2 {
                reg = <2>;
                active-low;
                label = "green:usb";
                /* EPHY3 Act */
        };
 
-       led@8 {
+       led_internet_green: led@8 {
                reg = <8>;
                active-low;
                label = "green:internet";
                label = "red:internet";
        };
 
-       led@10 {
+       led_dsl_green: led@10 {
                reg = <10>;
                active-low;
                label = "green:dsl";
        };
 
-       led@11 {
+       led_power_red: led@11 {
                reg = <11>;
                active-low;
                label = "red:power";
index c10c3ae2fcc7c6cd7f61f6ed8fe1f7a370f3e953..06fe1f90095b1f14c8f5ae343011a7b91cabdffe 100644 (file)
@@ -8,9 +8,12 @@
 
        aliases {
                led-boot = &led_power_green;
-               led-failsafe = &led_power_green;
+               led-failsafe = &led_power_red;
                led-running = &led_power_green;
                led-upgrade = &led_power_green;
+
+               led-dsl = &led_dsl_green;
+               led-internet = &led_internet_green;
        };
 
        keys {
                label = "red:internet";
        };
 
-       led@4 {
+       led_power_red: led@4 {
                reg = <4>;
                label = "red:power";
        };
 
-       led@7 {
+       led_internet_green: led@7 {
                reg = <7>;
                label = "green:internet";
        };
                label = "green:power";
        };
 
-       led@11 {
+       led_dsl_green: led@11 {
                reg = <11>;
                active-low;
                label = "green:dsl";
index 9658e2abca7c8d6f93da60ac726bc447e319b636..1ec5a7151529ff32f792c9cc39fab4b271c27155 100644 (file)
@@ -7,14 +7,13 @@
        model = "Huawei EchoLife HG556a (version B)";
 
        aliases {
-               led-boot = &power_red;
-               led-failsafe = &power_red;
-               led-running = &power_red;
-               led-upgrade = &power_red;
-
-               led-dsl = &dsl_red;
-               led-internet = &dsl_red;
-               led-usb = &hspa_red;
+               led-boot = &led_power_red;
+               led-failsafe = &led_power_red;
+               led-running = &led_power_red;
+               led-upgrade = &led_power_red;
+
+               led-dsl = &led_dsl_red;
+               led-usb = &led_hspa_red;
        };
 
        keys {
                        gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
                };
 
-               hspa_red: led@1 {
+               led_hspa_red: led@1 {
                        label = "red:hspa";
                        gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
                };
 
-               dsl_red: led@2 {
+               led_dsl_red: led@2 {
                        label = "red:dsl";
                        gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
                };
 
-               power_red: led@3 {
+               led_power_red: led@3 {
                        label = "red:power";
                        gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
                };
index e4c7c7b3ccbd89f0013ebe7d482f5b45bd654e83..9e5b1610dc06a6a24065ab613096173707e62bad 100644 (file)
@@ -8,11 +8,13 @@
 
        aliases {
                led-boot = &led_power_green;
-               led-failsafe = &led_power_green;
+               led-failsafe = &led_power_red;
                led-running = &led_power_green;
                led-upgrade = &led_power_green;
 
+               led-dsl = &led_dsl_green;
                led-ethernet = &led_ethernet_green;
+               led-internet = &led_internet_green;
                led-usb = &led_usb1_green;
                led-usb2 = &led_usb2_green;
        };
        leds {
                compatible = "gpio-leds";
 
-               led@28 {
+               led_dsl_green: led@28 {
                        label = "green:dsl";
                        gpios = <&gpio 28 GPIO_ACTIVE_LOW>;
                };
 
-               led@34 {
+               led_power_red: led@34 {
                        label = "red:power";
                        gpios = <&gpio 34 GPIO_ACTIVE_LOW>;
                };
@@ -79,7 +81,7 @@
        pinctrl-names = "default";
        pinctrl-0 = <&pinctrl_leds &pinctrl_serial_led>;
 
-       led@1 {
+       led_internet_green: led@1 {
                reg = <1>;
                active-low;
                label = "green:internet";
                label = "green:wps";
        };
 
-       led@10 {
+       led_usb1_green: led@10 {
                reg = <10>;
                active-low;
                label = "green:usb1";
        };
 
-       led@11 {
+       led_usb2_green: led@11 {
                reg = <11>;
                active-low;
                label = "green:usb2";
                label = "amber:dsl";
        };
 
-       led_usb1_green: led@16 {
+       led@16 {
                reg = <16>;
                active-low;
                label = "amber:usb1";
        };
 
-       led_usb2_green: led@17 {
+       led@17 {
                reg = <17>;
                active-low;
                label = "amber:usb2";
index 4c00df32b92446909657807bfbbf23aede057b9c..b4d2047cd818ef9f298be8e0b1d9c19c2a6cfa96 100644 (file)
@@ -11,6 +11,9 @@
                led-failsafe = &led_power_red;
                led-running = &led_power_green;
                led-upgrade = &led_power_green;
+
+               led-dsl = &led_dsl_green;
+               led-internet = &led_internet_green;
        };
 
        keys {
        leds {
                compatible = "gpio-leds";
 
-               led@2 {
+               led_dsl_green: led@2 {
                        label = "green:dsl";
                        gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
                };
 
-               led@5 {
+               led_internet_green: led@5 {
                        label = "green:internet";
                        gpios = <&gpio 5 GPIO_ACTIVE_HIGH>;
                };