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/bcm6318-d-link-dsl-275xb-d1.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/bcm6318-d-link-dsl-275xb-d1.dts')
-rw-r--r-- | target/linux/bcm63xx/dts/bcm6318-d-link-dsl-275xb-d1.dts | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/target/linux/bcm63xx/dts/bcm6318-d-link-dsl-275xb-d1.dts b/target/linux/bcm63xx/dts/bcm6318-d-link-dsl-275xb-d1.dts index f5084829cf..13981676df 100644 --- a/target/linux/bcm63xx/dts/bcm6318-d-link-dsl-275xb-d1.dts +++ b/target/linux/bcm63xx/dts/bcm6318-d-link-dsl-275xb-d1.dts @@ -52,39 +52,39 @@ compatible = "gpio-leds"; led_power_green: power_green { - label = "dsl-275xb:green:power"; + label = "green:power"; gpios = <&pinctrl 3 1>; default-state = "on"; }; inet_green { - label = "dsl-275xb:green:inet"; + label = "green:inet"; gpios = <&pinctrl 8 1>; }; inet_red { - label = "dsl-275xb:red:inet-fail"; + label = "red:inet-fail"; gpios = <&pinctrl 9 1>; }; power_red { - label = "dsl-275xb:red:post-failed"; + label = "red:post-failed"; gpios = <&pinctrl 11 1>; }; wps_blue { - label = "dsl-275xb:blue:wps"; + label = "blue:wps"; gpios = <&pinctrl 16 1>; }; dsl_green { - label = "dsl-275xb:green:dsl"; + label = "green:dsl"; gpios = <&pinctrl 17 1>; }; usb_green { /* not user controllable? */ - label = "dsl-275xb:green:usb"; + label = "green:usb"; gpios = <&pinctrl 49 1>; }; }; |