aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts/mt7621_linksys_ea7500-v2.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_linksys_ea7500-v2.dts
parent9b4eab023c0add0063260e8a5da6193fc44f1658 (diff)
downloadupstream-c846dd91f0a6f99b529ed6e1ec4ab149466dc0d2.tar.gz
upstream-c846dd91f0a6f99b529ed6e1ec4ab149466dc0d2.tar.bz2
upstream-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_linksys_ea7500-v2.dts')
-rw-r--r--target/linux/ramips/dts/mt7621_linksys_ea7500-v2.dts46
1 files changed, 0 insertions, 46 deletions
diff --git a/target/linux/ramips/dts/mt7621_linksys_ea7500-v2.dts b/target/linux/ramips/dts/mt7621_linksys_ea7500-v2.dts
index 7f611b9815..8e13cc26ad 100644
--- a/target/linux/ramips/dts/mt7621_linksys_ea7500-v2.dts
+++ b/target/linux/ramips/dts/mt7621_linksys_ea7500-v2.dts
@@ -5,50 +5,4 @@
/ {
compatible = "linksys,ea7500-v2", "mediatek,mt7621-soc";
model = "Linksys EA7500 v2";
-
- aliases {
- led-boot = &led_power;
- led-failsafe = &led_power;
- led-running = &led_power;
- led-upgrade = &led_power;
- };
-
- leds {
- compatible = "gpio-leds";
-
- wan_green {
- label = "ea7500-v2:green:wan";
- gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
- };
-
- lan1_green {
- label = "ea7500-v2:green:lan1";
- gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
- };
-
- lan2_green {
- label = "ea7500-v2:green:lan2";
- gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
- };
-
- lan3_green {
- label = "ea7500-v2:green:lan3";
- gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
- };
-
- lan4_green {
- label = "ea7500-v2:green:lan4";
- gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
- };
-
- led_power: power {
- label = "ea7500-v2:white:power";
- gpios = <&gpio 10 GPIO_ACTIVE_HIGH>;
- };
-
- wps {
- label = "ea7500-v2:green:wps";
- gpios = <&gpio 5 GPIO_ACTIVE_HIGH>;
- };
- };
};