diff options
author | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2020-10-10 19:44:02 +0200 |
---|---|---|
committer | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2020-10-10 19:44:02 +0200 |
commit | 55aac8463f182567c4a716f878206b30e4681d0a (patch) | |
tree | bed21d7644d9e06de75b37bcb38d9f0184601324 /target/linux/bcm63xx/dts/bcm6345-dynalink-rta770bw.dts | |
parent | 5423d9d27e9e4eb829e9aabd4f2a334b5547d705 (diff) | |
download | upstream-55aac8463f182567c4a716f878206b30e4681d0a.tar.gz upstream-55aac8463f182567c4a716f878206b30e4681d0a.tar.bz2 upstream-55aac8463f182567c4a716f878206b30e4681d0a.zip |
bcm63xx: remove model name from LED labels
Like in the previous patches for various targets, this will remove
the "devicename" from LED labels in bcm63xx, as it's useless and
only creates complexity.
The devicename is removed in DTS files and 01_leds, merging
several cases on the way. A migration script is added for
existing configurations.
Note that a few labels were using "model::function" scheme without
color specified, those were converting to just "function" and the
necessary migrations were added to the migration script.
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Diffstat (limited to 'target/linux/bcm63xx/dts/bcm6345-dynalink-rta770bw.dts')
-rw-r--r-- | target/linux/bcm63xx/dts/bcm6345-dynalink-rta770bw.dts | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/target/linux/bcm63xx/dts/bcm6345-dynalink-rta770bw.dts b/target/linux/bcm63xx/dts/bcm6345-dynalink-rta770bw.dts index d86b37e2be..afaf3ed88d 100644 --- a/target/linux/bcm63xx/dts/bcm6345-dynalink-rta770bw.dts +++ b/target/linux/bcm63xx/dts/bcm6345-dynalink-rta770bw.dts @@ -38,22 +38,22 @@ compatible = "gpio-leds"; usb { - label = "RTA770BW:green:usb"; + label = "green:usb"; gpios = <&gpio0 7 1>; }; adsl { - label = "RTA770BW:green:adsl"; + label = "green:adsl"; gpios = <&gpio0 8 0>; }; led_diag: diag { - label = "RTA770BW:green:diag"; + label = "green:diag"; gpios = <&gpio0 10 1>; }; wlan { - label = "RTA770BW:green:wlan"; + label = "green:wlan"; gpios = <&gpio0 11 1>; }; }; |