aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts
diff options
context:
space:
mode:
authorAdrian Schmutzler <freifunk@adrianschmutzler.de>2021-05-09 23:38:38 +0200
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>2021-05-10 14:41:06 +0200
commitf4940d2229474c2e658d1cf34ba48703119244da (patch)
tree6679976b2ae378379241c36e2aab1ff358d85838 /target/linux/ramips/dts
parent06f5e8009d4470d0dc6bba28a8f946ac4448cba2 (diff)
downloadupstream-f4940d2229474c2e658d1cf34ba48703119244da.tar.gz
upstream-f4940d2229474c2e658d1cf34ba48703119244da.tar.bz2
upstream-f4940d2229474c2e658d1cf34ba48703119244da.zip
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>
Diffstat (limited to 'target/linux/ramips/dts')
-rw-r--r--target/linux/ramips/dts/mt7621_zyxel_nr7101.dts14
1 files changed, 7 insertions, 7 deletions
diff --git a/target/linux/ramips/dts/mt7621_zyxel_nr7101.dts b/target/linux/ramips/dts/mt7621_zyxel_nr7101.dts
index f6a42286f1..ef3306caa7 100644
--- a/target/linux/ramips/dts/mt7621_zyxel_nr7101.dts
+++ b/target/linux/ramips/dts/mt7621_zyxel_nr7101.dts
@@ -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>;
};