aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts/rt5350_dlink_dwr-512-b.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/rt5350_dlink_dwr-512-b.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/rt5350_dlink_dwr-512-b.dts')
-rw-r--r--target/linux/ramips/dts/rt5350_dlink_dwr-512-b.dts12
1 files changed, 6 insertions, 6 deletions
diff --git a/target/linux/ramips/dts/rt5350_dlink_dwr-512-b.dts b/target/linux/ramips/dts/rt5350_dlink_dwr-512-b.dts
index 9bea682b43..48fb1d4ffd 100644
--- a/target/linux/ramips/dts/rt5350_dlink_dwr-512-b.dts
+++ b/target/linux/ramips/dts/rt5350_dlink_dwr-512-b.dts
@@ -35,27 +35,27 @@
compatible = "gpio-leds";
sms {
- label = "dwr-512-b:green:sms";
+ label = "green:sms";
gpios = <&gpio0 8 GPIO_ACTIVE_HIGH>;
};
led_status: status {
- label = "dwr-512-b:green:status";
+ label = "green:status";
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
};
2g {
- label = "dwr-512-b:green:2g";
+ label = "green:2g";
gpios = <&gpio0 17 GPIO_ACTIVE_LOW>;
};
3g {
- label = "dwr-512-b:green:3g";
+ label = "green:3g";
gpios = <&gpio0 19 GPIO_ACTIVE_LOW>;
};
sstrengthr {
- label = "dwr-512-b:red:sigstrength";
+ label = "red:sigstrength";
gpios = <&gpio0 20 GPIO_ACTIVE_LOW>;
};
sstrengthg {
- label = "dwr-512-b:green:sigstrength";
+ label = "green:sigstrength";
gpios = <&gpio0 21 GPIO_ACTIVE_LOW>;
};
};