ipq806x: C2600: change leds colour name
Signed-off-by: Henryk Heisig hyniu@o2.pl
This commit is contained in:
parent
4bdf615878
commit
bcfb535730
2 changed files with 12 additions and 13 deletions
|
@ -12,11 +12,11 @@ board=$(ipq806x_board_name)
|
||||||
|
|
||||||
case "$board" in
|
case "$board" in
|
||||||
c2600)
|
c2600)
|
||||||
ucidef_set_led_usbdev "usb1" "USB 1" "${board}:blue:usb_2" "2-1"
|
ucidef_set_led_usbdev "usb1" "USB 1" "${board}:white:usb_2" "2-1"
|
||||||
ucidef_set_led_usbdev "usb2" "USB 2" "${board}:blue:usb_4" "4-1"
|
ucidef_set_led_usbdev "usb2" "USB 2" "${board}:white:usb_4" "4-1"
|
||||||
ucidef_set_led_netdev "wan" "WAN" "${board}:blue:wan" "eth0"
|
ucidef_set_led_netdev "wan" "WAN" "${board}:white:wan" "eth0"
|
||||||
ucidef_set_led_netdev "lan" "LAN" "${board}:blue:lan" "br-lan"
|
ucidef_set_led_netdev "lan" "LAN" "${board}:white:lan" "br-lan"
|
||||||
ucidef_set_led_default "general" "general" "${board}:blue:ledgnr" "1"
|
ucidef_set_led_default "general" "general" "${board}:white:ledgnr" "1"
|
||||||
;;
|
;;
|
||||||
d7800 |\
|
d7800 |\
|
||||||
r7500 |\
|
r7500 |\
|
||||||
|
|
|
@ -381,32 +381,31 @@
|
||||||
compatible = "gpio-leds";
|
compatible = "gpio-leds";
|
||||||
|
|
||||||
lan {
|
lan {
|
||||||
label = "c2600:blue:lan";
|
label = "c2600:white:lan";
|
||||||
gpios = <&qcom_pinmux 6 0>;
|
gpios = <&qcom_pinmux 6 0>;
|
||||||
};
|
};
|
||||||
usb4 {
|
usb4 {
|
||||||
label = "c2600:blue:usb_4";
|
label = "c2600:white:usb_4";
|
||||||
gpios = <&qcom_pinmux 7 0>;
|
gpios = <&qcom_pinmux 7 0>;
|
||||||
};
|
};
|
||||||
usb2 {
|
usb2 {
|
||||||
label = "c2600:blue:usb_2";
|
label = "c2600:white:usb_2";
|
||||||
gpios = <&qcom_pinmux 8 0>;
|
gpios = <&qcom_pinmux 8 0>;
|
||||||
};
|
};
|
||||||
wps {
|
wps {
|
||||||
label = "c2600:blue:wps";
|
label = "c2600:white:wps";
|
||||||
gpios = <&qcom_pinmux 9 0>;
|
gpios = <&qcom_pinmux 9 0>;
|
||||||
};
|
};
|
||||||
wan_blue {
|
wan_blue {
|
||||||
label = "c2600:blue:wan";
|
label = "c2600:white:wan";
|
||||||
gpios = <&qcom_pinmux 33 1>;
|
gpios = <&qcom_pinmux 33 1>;
|
||||||
};
|
};
|
||||||
power: status {
|
power: status {
|
||||||
label = "c2600:blue:status";
|
label = "c2600:white:status";
|
||||||
gpios = <&qcom_pinmux 53 0>;
|
gpios = <&qcom_pinmux 53 0>;
|
||||||
default-state = "on";
|
|
||||||
};
|
};
|
||||||
ledgnr: ledgnr {
|
ledgnr: ledgnr {
|
||||||
label = "c2600:blue:ledgnr";
|
label = "c2600:white:ledgnr";
|
||||||
gpios = <&qcom_pinmux 66 0>;
|
gpios = <&qcom_pinmux 66 0>;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue