ramips: use standard naming scheme for Zyxel NR7101 LED nodes
authorAdrian Schmutzler <freifunk@adrianschmutzler.de>
Sun, 9 May 2021 21:38:38 +0000 (23:38 +0200)
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>
Mon, 10 May 2021 12:41:06 +0000 (14:41 +0200)
Make naming and DT label consistent with other devices at this
target.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
target/linux/ramips/dts/mt7621_zyxel_nr7101.dts

index f6a42286f10e568901a4cc01a91bfa6db2bf302f..ef3306caa7aad0d1466397920a5fecba3342470e 100644 (file)
        model = "ZyXEL NR7101";
 
        aliases {
-               led-boot = &power;
-               led-failsafe = &power;
-               led-running = &power;
-               led-upgrade = &power;
+               led-boot = &led_system_green;
+               led-failsafe = &led_system_green;
+               led-running = &led_system_green;
+               led-upgrade = &led_system_green;
                label-mac-device = &gmac0;
        };
 
        leds {
                compatible = "gpio-leds";
 
-               led@13 {
+               system_yellow {
                        label = "yellow:system";
                        gpios = <&gpio 13 GPIO_ACTIVE_HIGH>;
                };
 
-               power: led@14 {
+               led_system_green: system_green {
                        label = "green:system";
                        gpios = <&gpio 14 GPIO_ACTIVE_HIGH>;
                };
 
-               led@15 {
+               system_red {
                        label = "red:system";
                        gpios = <&gpio 15 GPIO_ACTIVE_HIGH>;
                };