summaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts/mt7621_elecom_wrc-1167ghbk2-s.dts
diff options
context:
space:
mode:
authorAdrian Schmutzler <freifunk@adrianschmutzler.de>2020-09-27 19:40:51 +0200
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>2020-10-02 14:51:57 +0200
commitc846dd91f0a6f99b529ed6e1ec4ab149466dc0d2 (patch)
tree700447cce24d5047340897eb5e5cf5c9d0e03726 /target/linux/ramips/dts/mt7621_elecom_wrc-1167ghbk2-s.dts
parent9b4eab023c0add0063260e8a5da6193fc44f1658 (diff)
downloadopenwrt-c846dd91f0a6f99b529ed6e1ec4ab149466dc0d2.tar.gz
openwrt-c846dd91f0a6f99b529ed6e1ec4ab149466dc0d2.tar.bz2
openwrt-c846dd91f0a6f99b529ed6e1ec4ab149466dc0d2.zip
ramips: remove model name from LED labels
Like in the previous patch for ath79 target, this will remove the "devicename" from LED labels in ramips as well. The devicename is removed in DTS files and 01_leds, consolidation of definitions into DTSI files is done where (easily) possible, and migration scripts are updated. For the latter, all existing definitions were actually just devicename migrations anyway. Therefore, those are removed and a common migration file is created in target base-files. This is actually another example of how the devicename removal makes things easier. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Diffstat (limited to 'target/linux/ramips/dts/mt7621_elecom_wrc-1167ghbk2-s.dts')
-rw-r--r--target/linux/ramips/dts/mt7621_elecom_wrc-1167ghbk2-s.dts12
1 files changed, 6 insertions, 6 deletions
diff --git a/target/linux/ramips/dts/mt7621_elecom_wrc-1167ghbk2-s.dts b/target/linux/ramips/dts/mt7621_elecom_wrc-1167ghbk2-s.dts
index 4d8e20d9f2..b6a7383557 100644
--- a/target/linux/ramips/dts/mt7621_elecom_wrc-1167ghbk2-s.dts
+++ b/target/linux/ramips/dts/mt7621_elecom_wrc-1167ghbk2-s.dts
@@ -18,33 +18,33 @@
compatible = "gpio-leds";
wlan2g {
- label = "wrc-1167ghbk2-s:white:wlan2g";
+ label = "white:wlan2g";
gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0radio";
};
wlan5g {
- label = "wrc-1167ghbk2-s:white:wlan5g";
+ label = "white:wlan5g";
gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
};
led_power_green: power_green {
- label = "wrc-1167ghbk2-s:green:power";
+ label = "green:power";
gpios = <&gpio 7 GPIO_ACTIVE_HIGH>;
};
power_blue {
- label = "wrc-1167ghbk2-s:blue:power";
+ label = "blue:power";
gpios = <&gpio 8 GPIO_ACTIVE_HIGH>;
};
wps {
- label = "wrc-1167ghbk2-s:red:wps";
+ label = "red:wps";
gpios = <&gpio 15 GPIO_ACTIVE_HIGH>;
};
power_red {
- label = "wrc-1167ghbk2-s:red:power";
+ label = "red:power";
gpios = <&gpio 16 GPIO_ACTIVE_HIGH>;
};
};