diff options
author | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2020-09-27 19:40:51 +0200 |
---|---|---|
committer | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2020-10-02 14:51:57 +0200 |
commit | c846dd91f0a6f99b529ed6e1ec4ab149466dc0d2 (patch) | |
tree | 700447cce24d5047340897eb5e5cf5c9d0e03726 /target/linux/ramips/dts/mt7621_telco-electronics_x1.dts | |
parent | 9b4eab023c0add0063260e8a5da6193fc44f1658 (diff) | |
download | upstream-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_telco-electronics_x1.dts')
-rw-r--r-- | target/linux/ramips/dts/mt7621_telco-electronics_x1.dts | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/target/linux/ramips/dts/mt7621_telco-electronics_x1.dts b/target/linux/ramips/dts/mt7621_telco-electronics_x1.dts index 29aeb85b19..fc9b4c6d2a 100644 --- a/target/linux/ramips/dts/mt7621_telco-electronics_x1.dts +++ b/target/linux/ramips/dts/mt7621_telco-electronics_x1.dts @@ -34,47 +34,47 @@ compatible = "gpio-leds"; system_led: system { - label = "x1:green:system"; + label = "green:system"; gpios = <&gpio 26 GPIO_ACTIVE_LOW>; }; modem_offline { - label = "x1:red:modem-offline"; + label = "red:modem-offline"; gpios = <&gpio 23 GPIO_ACTIVE_HIGH>; }; modem_4g { - label = "x1:blue:modem-4g"; + label = "blue:modem-4g"; gpios = <&gpio 24 GPIO_ACTIVE_LOW>; }; modem_3g { - label = "x1:green:modem-3g"; + label = "green:modem-3g"; gpios = <&gpio 25 GPIO_ACTIVE_LOW>; }; modem_rssi_lowest { - label = "x1:green:modem-rssi-lowest"; + label = "green:modem-rssi-lowest"; gpios = <&gpio 27 GPIO_ACTIVE_LOW>; }; modem_rssi_low { - label = "x1:green:modem-rssi-low"; + label = "green:modem-rssi-low"; gpios = <&gpio 28 GPIO_ACTIVE_LOW>; }; modem_rssi_medium { - label = "x1:green:modem-rssi-medium"; + label = "green:modem-rssi-medium"; gpios = <&gpio 29 GPIO_ACTIVE_LOW>; }; modem_rssi_high { - label = "x1:green:modem-rssi-high"; + label = "green:modem-rssi-high"; gpios = <&gpio 30 GPIO_ACTIVE_LOW>; }; modem_rssi_highest { - label = "x1:green:modem-rssi-highest"; + label = "green:modem-rssi-highest"; gpios = <&gpio 31 GPIO_ACTIVE_LOW>; }; }; |