ramips: use standard naming scheme for Zyxel NR7101 LED nodes
Make naming and DT label consistent with other devices at this target. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
This commit is contained in:
parent
06f5e8009d
commit
f4940d2229
1 changed files with 7 additions and 7 deletions
|
@ -10,27 +10,27 @@
|
||||||
model = "ZyXEL NR7101";
|
model = "ZyXEL NR7101";
|
||||||
|
|
||||||
aliases {
|
aliases {
|
||||||
led-boot = &power;
|
led-boot = &led_system_green;
|
||||||
led-failsafe = &power;
|
led-failsafe = &led_system_green;
|
||||||
led-running = &power;
|
led-running = &led_system_green;
|
||||||
led-upgrade = &power;
|
led-upgrade = &led_system_green;
|
||||||
label-mac-device = &gmac0;
|
label-mac-device = &gmac0;
|
||||||
};
|
};
|
||||||
|
|
||||||
leds {
|
leds {
|
||||||
compatible = "gpio-leds";
|
compatible = "gpio-leds";
|
||||||
|
|
||||||
led@13 {
|
system_yellow {
|
||||||
label = "yellow:system";
|
label = "yellow:system";
|
||||||
gpios = <&gpio 13 GPIO_ACTIVE_HIGH>;
|
gpios = <&gpio 13 GPIO_ACTIVE_HIGH>;
|
||||||
};
|
};
|
||||||
|
|
||||||
power: led@14 {
|
led_system_green: system_green {
|
||||||
label = "green:system";
|
label = "green:system";
|
||||||
gpios = <&gpio 14 GPIO_ACTIVE_HIGH>;
|
gpios = <&gpio 14 GPIO_ACTIVE_HIGH>;
|
||||||
};
|
};
|
||||||
|
|
||||||
led@15 {
|
system_red {
|
||||||
label = "red:system";
|
label = "red:system";
|
||||||
gpios = <&gpio 15 GPIO_ACTIVE_HIGH>;
|
gpios = <&gpio 15 GPIO_ACTIVE_HIGH>;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue