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/bcm6368-adb-av4202n.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/bcm6368-adb-av4202n.dts')
-rw-r--r-- | target/linux/bcm63xx/dts/bcm6368-adb-av4202n.dts | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/target/linux/bcm63xx/dts/bcm6368-adb-av4202n.dts b/target/linux/bcm63xx/dts/bcm6368-adb-av4202n.dts index 8e06985fdd..00e260d12a 100644 --- a/target/linux/bcm63xx/dts/bcm6368-adb-av4202n.dts +++ b/target/linux/bcm63xx/dts/bcm6368-adb-av4202n.dts @@ -46,32 +46,32 @@ compatible = "gpio-leds"; led_power_white: power_white { - label = "AV4202N:white:power"; + label = "white:power"; gpios = <&pinctrl 10 GPIO_ACTIVE_LOW>; default-state = "on"; }; power_red { - label = "AV4202N:red:power"; + label = "red:power"; gpios = <&pinctrl 11 GPIO_ACTIVE_LOW>; }; wan_white { - label = "AV4202N:white:wan"; + label = "white:wan"; gpios = <&pinctrl 26 GPIO_ACTIVE_LOW>; }; wan_red { - label = "AV4202N:red:wan"; + label = "red:wan"; gpios = <&pinctrl 27 GPIO_ACTIVE_LOW>; }; phone_white { - label = "AV4202N:white:phone"; + label = "white:phone"; gpios = <&pinctrl 24 GPIO_ACTIVE_LOW>; }; phone_red { - label = "AV4202N:red:phone"; + label = "red:phone"; gpios = <&pinctrl 25 GPIO_ACTIVE_LOW>; }; wifi { - label = "AV4202N:blue:wifi"; + label = "blue:wifi"; gpios = <&pinctrl 22 GPIO_ACTIVE_LOW>; }; }; |