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-bt-home-hub-2-a.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-bt-home-hub-2-a.dts')
-rw-r--r-- | target/linux/bcm63xx/dts/bcm6358-bt-home-hub-2-a.dts | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/target/linux/bcm63xx/dts/bcm6358-bt-home-hub-2-a.dts b/target/linux/bcm63xx/dts/bcm6358-bt-home-hub-2-a.dts index 321e7b3020..393328ffb9 100644 --- a/target/linux/bcm63xx/dts/bcm6358-bt-home-hub-2-a.dts +++ b/target/linux/bcm63xx/dts/bcm6358-bt-home-hub-2-a.dts @@ -58,92 +58,92 @@ led@0 { reg = <0>; active-low; - label = "HOMEHUB2A:red:power"; + label = "red:power"; }; led_power_green: led@1 { reg = <0>; active-low; - label = "HOMEHUB2A:green:power"; + label = "green:power"; default-state = "on"; }; led@2 { reg = <2>; active-low; - label = "HOMEHUB2A:blue:power"; + label = "blue:power"; }; led@3 { reg = <3>; active-low; - label = "HOMEHUB2A:red:broadband"; + label = "red:broadband"; }; led@4 { reg = <4>; active-low; - label = "HOMEHUB2A:green:broadband"; + label = "green:broadband"; }; led@5 { reg = <5>; active-low; - label = "HOMEHUB2A:blue:broadband"; + label = "blue:broadband"; }; led@6 { reg = <6>; active-low; - label = "HOMEHUB2A:red:wireless"; + label = "red:wireless"; }; led@7 { reg = <7>; active-low; - label = "HOMEHUB2A:green:wireless"; + label = "green:wireless"; }; led@8 { reg = <8>; active-low; - label = "HOMEHUB2A:blue:wireless"; + label = "blue:wireless"; }; led@9 { reg = <9>; active-low; - label = "HOMEHUB2A:red:phone"; + label = "red:phone"; }; led@10 { reg = <10>; active-low; - label = "HOMEHUB2A:green:phone"; + label = "green:phone"; }; led@11 { reg = <11>; active-low; - label = "HOMEHUB2A:blue:phone"; + label = "blue:phone"; }; led@12 { reg = <12>; active-low; - label = "HOMEHUB2A:red:upgrading"; + label = "red:upgrading"; }; led_upgrading_green: led@13 { reg = <13>; active-low; - label = "HOMEHUB2A:green:upgrading"; + label = "green:upgrading"; }; led@14 { reg = <14>; active-low; - label = "HOMEHUB2A:blue:upgrading"; + label = "blue:upgrading"; }; }; |