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/bcm63168-sky-sr102.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/bcm63168-sky-sr102.dts')
-rw-r--r-- | target/linux/bcm63xx/dts/bcm63168-sky-sr102.dts | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/target/linux/bcm63xx/dts/bcm63168-sky-sr102.dts b/target/linux/bcm63xx/dts/bcm63168-sky-sr102.dts index 466bfcd096..efc5bbacbe 100644 --- a/target/linux/bcm63xx/dts/bcm63168-sky-sr102.dts +++ b/target/linux/bcm63xx/dts/bcm63168-sky-sr102.dts @@ -38,64 +38,64 @@ compatible = "gpio-leds"; lan1_green { - label = "SR102:green:lan1"; + label = "green:lan1"; gpios = <&pinctrl 1 1>; }; power_red { - label = "SR102:red:power"; + label = "red:power"; gpios = <&pinctrl 2 1>; }; wifi_red { - label = "SR102:red:wifi"; + label = "red:wifi"; gpios = <&pinctrl 3 1>; }; inet_red { - label = "SR102:red:inet"; + label = "red:inet"; gpios = <&pinctrl 4 1>; }; inet_white { - label = "SR102:white:inet"; + label = "white:inet"; gpios = <&pinctrl 5 0>; }; led_power_white: power_white { - label = "SR102:white:power"; + label = "white:power"; gpios = <&pinctrl 6 0>; default-state = "on"; }; wifi_white { - label = "SR102:white:wifi"; + label = "white:wifi"; gpios = <&pinctrl 8 0>; }; lan2_red { - label = "SR102:red:lan2"; + label = "red:lan2"; gpios = <&pinctrl 9 1>; }; lan3_red { - label = "SR102:red:lan3"; + label = "red:lan3"; gpios = <&pinctrl 10 1>; }; lan4_red { - label = "SR102:red:lan4"; + label = "red:lan4"; gpios = <&pinctrl 11 1>; }; lan1_red { - label = "SR102:red:lan1"; + label = "red:lan1"; gpios = <&pinctrl 12 1>; }; lan2_green { - label = "SR102:green:lan2"; + label = "green:lan2"; gpios = <&pinctrl 13 0>; }; lan3_green { - label = "SR102:green:lan3"; + label = "green:lan3"; gpios = <&pinctrl 14 1>; }; lan4_green { - label = "SR102:green:lan4"; + label = "green:lan4"; gpios = <&pinctrl 15 1>; }; hd_white { - label = "SR102:white:hd"; + label = "white:hd"; gpios = <&pinctrl 18 0>; }; }; |