aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/bcm63xx/dts/bcm6368-netgear-dgnd3700-v1.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/bcm6368-netgear-dgnd3700-v1.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/bcm6368-netgear-dgnd3700-v1.dts')
-rw-r--r--target/linux/bcm63xx/dts/bcm6368-netgear-dgnd3700-v1.dts22
1 files changed, 11 insertions, 11 deletions
diff --git a/target/linux/bcm63xx/dts/bcm6368-netgear-dgnd3700-v1.dts b/target/linux/bcm63xx/dts/bcm6368-netgear-dgnd3700-v1.dts
index ab1c96f5a7..bc8e8d91bd 100644
--- a/target/linux/bcm63xx/dts/bcm6368-netgear-dgnd3700-v1.dts
+++ b/target/linux/bcm63xx/dts/bcm6368-netgear-dgnd3700-v1.dts
@@ -52,48 +52,48 @@
compatible = "gpio-leds";
dsl_green {
- label = "DGND3700v1_3800B:green:dsl";
+ label = "green:dsl";
gpios = <&pinctrl 2 1>;
};
inet_red {
- label = "DGND3700v1_3800B:red:inet";
+ label = "red:inet";
gpios = <&pinctrl 4 1>;
};
inet_green {
- label = "DGND3700v1_3800B:green:inet";
+ label = "green:inet";
gpios = <&pinctrl 5 1>;
};
wps_green {
- label = "DGND3700v1_3800B:green:wps";
+ label = "green:wps";
gpios = <&pinctrl 11 1>;
};
usbfront_green {
- label = "DGND3700v1_3800B:green:usb-front";
+ label = "green:usb-front";
gpios = <&pinctrl 13 1>;
};
usbback_green {
- label = "DGND3700v1_3800B:green:usb-back";
+ label = "green:usb-back";
gpios = <&pinctrl 14 1>;
};
power_red {
- label = "DGND3700v1_3800B:red:power";
+ label = "red:power";
gpios = <&pinctrl 22 1>;
};
lan_green {
- label = "DGND3700v1_3800B:green:lan";
+ label = "green:lan";
gpios = <&pinctrl 23 1>;
};
led_power_green: power_green {
- label = "DGND3700v1_3800B:green:power";
+ label = "green:power";
gpios = <&pinctrl 24 1>;
default-state = "on";
};
wifi2g_green {
- label = "DGND3700v1_3800B:green:wifi2g";
+ label = "green:wifi2g";
gpios = <&pinctrl 26 1>;
};
wifi5g_blue {
- label = "DGND3700v1_3800B:blue:wifi5g";
+ label = "blue:wifi5g";
gpios = <&pinctrl 27 1>;
};
};