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/bcm6358-sfr-neufbox-4-sercomm-r0.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/bcm6358-sfr-neufbox-4-sercomm-r0.dts')
-rw-r--r-- | target/linux/bcm63xx/dts/bcm6358-sfr-neufbox-4-sercomm-r0.dts | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/target/linux/bcm63xx/dts/bcm6358-sfr-neufbox-4-sercomm-r0.dts b/target/linux/bcm63xx/dts/bcm6358-sfr-neufbox-4-sercomm-r0.dts index 2889324672..7d5e77dc65 100644 --- a/target/linux/bcm63xx/dts/bcm6358-sfr-neufbox-4-sercomm-r0.dts +++ b/target/linux/bcm63xx/dts/bcm6358-sfr-neufbox-4-sercomm-r0.dts @@ -52,23 +52,23 @@ compatible = "gpio-leds"; traffic_white { - label = "NB4-SER-r0:white:traffic"; + label = "white:traffic"; gpios = <&pinctrl 2 1>; }; service_blue { - label = "NB4-SER-r0:blue:service"; + label = "blue:service"; gpios = <&pinctrl 4 1>; }; wifi_white { - label = "NB4-SER-r0:white:wifi"; + label = "white:wifi"; gpios = <&pinctrl 15 1>; }; service_red { - label = "NB4-SER-r0:red:service"; + label = "red:service"; gpios = <&pinctrl 29 1>; }; service_green { - label = "NB4-SER-r0:green:service"; + label = "green:service"; gpios = <&pinctrl 30 1>; }; }; @@ -83,25 +83,25 @@ led@0 { reg = <0>; active-low; - label = "NB4-SER-r0:white:alarm"; + label = "white:alarm"; }; led@2 { reg = <2>; active-low; - label = "NB4-SER-r0:white:tv"; + label = "white:tv"; }; led@3 { reg = <3>; active-low; - label = "NB4-SER-r0:white:tel"; + label = "white:tel"; }; led@4 { reg = <4>; active-low; - label = "NB4-SER-r0:white:adsl"; + label = "white:adsl"; }; }; |