aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts/mt7621_gnubee_gb-pc2.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_gnubee_gb-pc2.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_gnubee_gb-pc2.dts')
-rw-r--r--target/linux/ramips/dts/mt7621_gnubee_gb-pc2.dts12
1 files changed, 6 insertions, 6 deletions
diff --git a/target/linux/ramips/dts/mt7621_gnubee_gb-pc2.dts b/target/linux/ramips/dts/mt7621_gnubee_gb-pc2.dts
index e617f43255..613524d1da 100644
--- a/target/linux/ramips/dts/mt7621_gnubee_gb-pc2.dts
+++ b/target/linux/ramips/dts/mt7621_gnubee_gb-pc2.dts
@@ -28,32 +28,32 @@
compatible = "gpio-leds";
system {
- label = "gb-pc2:green:system";
+ label = "green:system";
gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
};
led_status: status {
- label = "gb-pc2:green:status";
+ label = "green:status";
gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
};
lan1 {
- label = "gb-pc2:green:lan1";
+ label = "green:lan1";
gpios = <&gpio 24 GPIO_ACTIVE_LOW>;
};
lan2 {
- label = "gb-pc2:green:lan2";
+ label = "green:lan2";
gpios = <&gpio 25 GPIO_ACTIVE_LOW>;
};
lan3-yellow {
- label = "gb-pc2:yellow:lan3";
+ label = "yellow:lan3";
gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
};
lan3-green {
- label = "gb-pc2:green:lan3";
+ label = "green:lan3";
gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
};
};