forked from Ivasoft/openwrt
ipq40xx: remove model name from LED labels
Like in the previous patches for ath79 and ramips, this will remove the "devicename" from LED labels in ipq40xx. The devicename is removed in DTS files and 01_leds, and a migration script is added. While at it, also harmonize capitalization of wlan2G/wlan5G vs. wlan2g/wlan5g. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
This commit is contained in:
@@ -48,72 +48,72 @@
|
||||
|
||||
led_power_blue: power_blue {
|
||||
gpios = <&led_gpio 0 GPIO_ACTIVE_HIGH>;
|
||||
label = "rtl30vw:blue:power";
|
||||
label = "blue:power";
|
||||
default-state = "on";
|
||||
};
|
||||
|
||||
led_power_red: power_red {
|
||||
gpios = <&led_gpio 1 GPIO_ACTIVE_HIGH>;
|
||||
label = "rtl30vw:red:power";
|
||||
label = "red:power";
|
||||
};
|
||||
|
||||
tp28 {
|
||||
gpios = <&led_gpio 6 GPIO_ACTIVE_LOW>;
|
||||
label = "rtl30vw:ext:tp28";
|
||||
label = "ext:tp28";
|
||||
default-state = "keep";
|
||||
};
|
||||
|
||||
tp27 {
|
||||
gpios = <&led_gpio 7 GPIO_ACTIVE_LOW>;
|
||||
label = "rtl30vw:ext:tp27";
|
||||
label = "ext:tp27";
|
||||
default-state = "keep";
|
||||
};
|
||||
|
||||
wlan2g {
|
||||
gpios = <&led_gpio 8 GPIO_ACTIVE_HIGH>;
|
||||
label = "rtl30vw:blue:wlan2g";
|
||||
label = "blue:wlan2g";
|
||||
linux,default-trigger = "phy0tpt";
|
||||
};
|
||||
|
||||
wlan5g {
|
||||
gpios = <&led_gpio 9 GPIO_ACTIVE_HIGH>;
|
||||
label = "rtl30vw:blue:wlan5g";
|
||||
label = "blue:wlan5g";
|
||||
linux,default-trigger = "phy1tpt";
|
||||
};
|
||||
|
||||
wps {
|
||||
gpios = <&led_gpio 10 GPIO_ACTIVE_HIGH>;
|
||||
label = "rtl30vw:blue:wps";
|
||||
label = "blue:wps";
|
||||
};
|
||||
|
||||
voip {
|
||||
gpios = <&led_gpio 11 GPIO_ACTIVE_HIGH>;
|
||||
label = "rtl30vw:blue:voip";
|
||||
label = "blue:voip";
|
||||
};
|
||||
|
||||
s1 {
|
||||
gpios = <&led_gpio 12 GPIO_ACTIVE_HIGH>;
|
||||
label = "rtl30vw:blue:s1";
|
||||
label = "blue:s1";
|
||||
};
|
||||
|
||||
s2 {
|
||||
gpios = <&led_gpio 13 GPIO_ACTIVE_HIGH>;
|
||||
label = "rtl30vw:blue:s2";
|
||||
label = "blue:s2";
|
||||
};
|
||||
|
||||
s3 {
|
||||
gpios = <&led_gpio 14 GPIO_ACTIVE_HIGH>;
|
||||
label = "rtl30vw:blue:s3";
|
||||
label = "blue:s3";
|
||||
};
|
||||
|
||||
s4 {
|
||||
gpios = <&led_gpio 15 GPIO_ACTIVE_HIGH>;
|
||||
label = "rtl30vw:blue:s4";
|
||||
label = "blue:s4";
|
||||
};
|
||||
|
||||
signal {
|
||||
gpios = <&tlmm 3 GPIO_ACTIVE_HIGH>;
|
||||
label = "rtl30vw:red:signal";
|
||||
label = "red:signal";
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user