diff options
author | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2019-08-06 14:30:42 +0200 |
---|---|---|
committer | David Bauer <mail@david-bauer.net> | 2019-08-10 00:32:28 +0200 |
commit | da0de5e007cda0abef442bef860f867033206291 (patch) | |
tree | e7aad18a3a2053332beaaaf2a2e91da80491962d /target/linux/ramips/dts/mt7620a_netgear_wn3000rp-v3.dts | |
parent | d7c082ba4f7de97b3708d1f4a064954ffc774778 (diff) | |
download | upstream-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/mt7620a_netgear_wn3000rp-v3.dts')
-rw-r--r-- | target/linux/ramips/dts/mt7620a_netgear_wn3000rp-v3.dts | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/target/linux/ramips/dts/mt7620a_netgear_wn3000rp-v3.dts b/target/linux/ramips/dts/mt7620a_netgear_wn3000rp-v3.dts index cc339da5e2..40ae5ee58a 100644 --- a/target/linux/ramips/dts/mt7620a_netgear_wn3000rp-v3.dts +++ b/target/linux/ramips/dts/mt7620a_netgear_wn3000rp-v3.dts @@ -26,48 +26,48 @@ compatible = "gpio-leds"; led_power_green: power_g { - label = "wn3000rpv3:green:power"; + label = "wn3000rp-v3:green:power"; gpios = <&gpio0 9 GPIO_ACTIVE_LOW>; default-state = "on"; }; power_r { - label = "wn3000rpv3:red:power"; + label = "wn3000rp-v3:red:power"; gpios = <&gpio0 11 GPIO_ACTIVE_LOW>; }; client_g { - label = "wn3000rpv3:green:client"; + label = "wn3000rp-v3:green:client"; gpios = <&gpio0 13 GPIO_ACTIVE_LOW>; }; client_r { - label = "wn3000rpv3:red:client"; + label = "wn3000rp-v3:red:client"; gpios = <&gpio0 10 GPIO_ACTIVE_LOW>; }; router_g { - label = "wn3000rpv3:green:router"; + label = "wn3000rp-v3:green:router"; gpios = <&gpio0 12 GPIO_ACTIVE_LOW>; }; router_r { - label = "wn3000rpv3:red:router"; + label = "wn3000rp-v3:red:router"; gpios = <&gpio0 14 GPIO_ACTIVE_LOW>; }; wps { - label = "wn3000rpv3:green:wps"; + label = "wn3000rp-v3:green:wps"; gpios = <&gpio1 15 GPIO_ACTIVE_LOW>; }; l_arrow { - label = "wn3000rpv3:blue:leftarrow"; + label = "wn3000rp-v3:blue:leftarrow"; gpios = <&gpio0 7 GPIO_ACTIVE_LOW>; }; r_arrow { - label = "wn3000rpv3:blue:rightarrow"; + label = "wn3000rp-v3:blue:rightarrow"; gpios = <&gpio0 8 GPIO_ACTIVE_LOW>; }; }; |