aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/bcm63xx/dts/bcm6358-huawei-echolife-hg556a-a.dts
diff options
context:
space:
mode:
authorAdrian Schmutzler <freifunk@adrianschmutzler.de>2020-10-10 19:44:02 +0200
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>2020-10-10 19:44:02 +0200
commit55aac8463f182567c4a716f878206b30e4681d0a (patch)
treebed21d7644d9e06de75b37bcb38d9f0184601324 /target/linux/bcm63xx/dts/bcm6358-huawei-echolife-hg556a-a.dts
parent5423d9d27e9e4eb829e9aabd4f2a334b5547d705 (diff)
downloadupstream-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-huawei-echolife-hg556a-a.dts')
-rw-r--r--target/linux/bcm63xx/dts/bcm6358-huawei-echolife-hg556a-a.dts26
1 files changed, 13 insertions, 13 deletions
diff --git a/target/linux/bcm63xx/dts/bcm6358-huawei-echolife-hg556a-a.dts b/target/linux/bcm63xx/dts/bcm6358-huawei-echolife-hg556a-a.dts
index 435ed46bb9..47b0618e6c 100644
--- a/target/linux/bcm63xx/dts/bcm6358-huawei-echolife-hg556a-a.dts
+++ b/target/linux/bcm63xx/dts/bcm6358-huawei-echolife-hg556a-a.dts
@@ -59,57 +59,57 @@
compatible = "gpio-leds";
message_red {
- label = "HW556:red:message";
+ label = "red:message";
gpios = <&pinctrl 0 1>;
};
hspa_red {
- label = "HW556:red:hspa";
+ label = "red:hspa";
gpios = <&pinctrl 1 1>;
};
dsl_red {
- label = "HW556:red:dsl";
+ label = "red:dsl";
gpios = <&pinctrl 2 1>;
};
led_power_red: power_red {
- label = "HW556:red:power";
+ label = "red:power";
gpios = <&pinctrl 3 1>;
default-state = "on";
};
all_red {
- label = "HW556:red:all";
+ label = "red:all";
gpios = <&pinctrl 6 1>;
default-state = "on";
};
lan1_green {
- label = "HW556:green:lan1";
+ label = "green:lan1";
gpios = <&pinctrl 12 1>;
};
lan1_red {
- label = "HW556:red:lan1";
+ label = "red:lan1";
gpios = <&pinctrl 13 1>;
};
lan2_green {
- label = "HW556:green:lan2";
+ label = "green:lan2";
gpios = <&pinctrl 15 1>;
};
lan2_red {
- label = "HW556:red:lan2";
+ label = "red:lan2";
gpios = <&pinctrl 22 1>;
};
lan3_green {
- label = "HW556:green:lan3";
+ label = "green:lan3";
gpios = <&pinctrl 23 1>;
};
lan3_red {
- label = "HW556:red:lan3";
+ label = "red:lan3";
gpios = <&pinctrl 26 1>;
};
lan4_green {
- label = "HW556:green:lan4";
+ label = "green:lan4";
gpios = <&pinctrl 27 1>;
};
lan4_red {
- label = "HW556:red:lan4";
+ label = "red:lan4";
gpios = <&pinctrl 28 1>;
};
};