From 55aac8463f182567c4a716f878206b30e4681d0a Mon Sep 17 00:00:00 2001 From: Adrian Schmutzler Date: Sat, 10 Oct 2020 19:44:02 +0200 Subject: 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 --- target/linux/bcm63xx/dts/bcm6368-observa-vh4032n.dts | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'target/linux/bcm63xx/dts/bcm6368-observa-vh4032n.dts') diff --git a/target/linux/bcm63xx/dts/bcm6368-observa-vh4032n.dts b/target/linux/bcm63xx/dts/bcm6368-observa-vh4032n.dts index af65ded980..5e58b22624 100644 --- a/target/linux/bcm63xx/dts/bcm6368-observa-vh4032n.dts +++ b/target/linux/bcm63xx/dts/bcm6368-observa-vh4032n.dts @@ -45,36 +45,36 @@ compatible = "gpio-leds"; dsl_blue { - label = "VH4032N:blue:dsl"; + label = "blue:dsl"; gpios = <&pinctrl 2 1>; }; dsl_red { - label = "VH4032N:red:dsl"; + label = "red:dsl"; gpios = <&pinctrl 5 1>; }; hspa_blue { - label = "VH4032N:blue:hspa"; + label = "blue:hspa"; gpios = <&pinctrl 11 1>; }; hspa_red { - label = "VH4032N:red:hspa"; + label = "red:hspa"; gpios = <&pinctrl 12 1>; }; led_power_blue: power_blue { - label = "VH4032N:blue:power"; + label = "blue:power"; gpios = <&pinctrl 22 0>; default-state = "on"; }; power_red { - label = "VH4032N:red:power"; + label = "red:power"; gpios = <&pinctrl 24 0>; }; voice_blue { - label = "VH4032N:blue:voice"; + label = "blue:voice"; gpios = <&pinctrl 25 1>; }; voice_red { - label = "VH4032N:red:voice"; + label = "red:voice"; gpios = <&pinctrl 26 1>; }; }; -- cgit v1.2.3