aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts/mt7628an_tplink_archer-c50-v4.dts
diff options
context:
space:
mode:
authorAdrian Schmutzler <freifunk@adrianschmutzler.de>2019-08-06 14:30:42 +0200
committerDavid Bauer <mail@david-bauer.net>2019-08-10 00:32:28 +0200
commitda0de5e007cda0abef442bef860f867033206291 (patch)
treee7aad18a3a2053332beaaaf2a2e91da80491962d /target/linux/ramips/dts/mt7628an_tplink_archer-c50-v4.dts
parentd7c082ba4f7de97b3708d1f4a064954ffc774778 (diff)
downloadupstream-da0de5e007cda0abef442bef860f867033206291.tar.gz
upstream-da0de5e007cda0abef442bef860f867033206291.tar.bz2
upstream-da0de5e007cda0abef442bef860f867033206291.zip
ramips: fix LED labels not updated during device name changes
In commit d93969a13a5b ("ramips: Improve compatible for TP-Link Archer devices") and subsequent ones, names of several devices in ramips have been changed. Since LED names are frequently invoked by $boardname, this has broken LED setup in 01_leds, as $boardname and prefix in DTS do not match anymore. This patch updates device name prefixes for LEDs in DTS files, and provides a migration script. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Diffstat (limited to 'target/linux/ramips/dts/mt7628an_tplink_archer-c50-v4.dts')
-rw-r--r--target/linux/ramips/dts/mt7628an_tplink_archer-c50-v4.dts14
1 files changed, 7 insertions, 7 deletions
diff --git a/target/linux/ramips/dts/mt7628an_tplink_archer-c50-v4.dts b/target/linux/ramips/dts/mt7628an_tplink_archer-c50-v4.dts
index cd8731201d..30132b4c85 100644
--- a/target/linux/ramips/dts/mt7628an_tplink_archer-c50-v4.dts
+++ b/target/linux/ramips/dts/mt7628an_tplink_archer-c50-v4.dts
@@ -38,37 +38,37 @@
compatible = "gpio-leds";
led_power: power {
- label = "c50-v4:green:power";
+ label = "archer-c50-v4:green:power";
gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
};
wlan2 {
- label = "c50-v4:green:wlan2g";
+ label = "archer-c50-v4:green:wlan2g";
gpios = <&gpio1 12 GPIO_ACTIVE_LOW>;
};
wlan5 {
- label = "c50-v4:green:wlan5g";
+ label = "archer-c50-v4:green:wlan5g";
gpios = <&gpio1 10 GPIO_ACTIVE_LOW>;
};
lan {
- label = "c50-v4:green:lan";
+ label = "archer-c50-v4:green:lan";
gpios = <&gpio1 9 GPIO_ACTIVE_LOW>;
};
wan {
- label = "c50-v4:green:wan";
+ label = "archer-c50-v4:green:wan";
gpios = <&gpio1 7 GPIO_ACTIVE_LOW>;
};
wan_orange {
- label = "c50-v4:orange:wan";
+ label = "archer-c50-v4:orange:wan";
gpios = <&gpio1 8 GPIO_ACTIVE_LOW>;
};
wps {
- label = "c50-v4:green:wps";
+ label = "archer-c50-v4:green:wps";
gpios = <&gpio1 11 GPIO_ACTIVE_LOW>;
};
};