Skip to content

Commit

Permalink
ramips: use standard naming scheme for Zyxel NR7101 LED nodes
Browse files Browse the repository at this point in the history
Make naming and DT label consistent with other devices at this
target.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
  • Loading branch information
adschm committed May 10, 2021
1 parent 06f5e80 commit f4940d2
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions target/linux/ramips/dts/mt7621_zyxel_nr7101.dts
Original file line number Diff line number Diff line change
Expand Up @@ -10,27 +10,27 @@
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>;
};
Expand Down

0 comments on commit f4940d2

Please sign in to comment.