ipq806x: C2600: change leds colour name

Signed-off-by: Henryk Heisig hyniu@o2.pl
lede-17.01
Henryk Heisig 2016-10-02 21:34:50 +02:00 committed by John Crispin
parent 4bdf615878
commit bcfb535730
2 changed files with 12 additions and 13 deletions

View File

@ -12,11 +12,11 @@ board=$(ipq806x_board_name)
case "$board" in
c2600)
ucidef_set_led_usbdev "usb1" "USB 1" "${board}:blue:usb_2" "2-1"
ucidef_set_led_usbdev "usb2" "USB 2" "${board}:blue:usb_4" "4-1"
ucidef_set_led_netdev "wan" "WAN" "${board}:blue:wan" "eth0"
ucidef_set_led_netdev "lan" "LAN" "${board}:blue:lan" "br-lan"
ucidef_set_led_default "general" "general" "${board}:blue:ledgnr" "1"
ucidef_set_led_usbdev "usb1" "USB 1" "${board}:white:usb_2" "2-1"
ucidef_set_led_usbdev "usb2" "USB 2" "${board}:white:usb_4" "4-1"
ucidef_set_led_netdev "wan" "WAN" "${board}:white:wan" "eth0"
ucidef_set_led_netdev "lan" "LAN" "${board}:white:lan" "br-lan"
ucidef_set_led_default "general" "general" "${board}:white:ledgnr" "1"
;;
d7800 |\
r7500 |\

View File

@ -381,32 +381,31 @@
compatible = "gpio-leds";
lan {
label = "c2600:blue:lan";
label = "c2600:white:lan";
gpios = <&qcom_pinmux 6 0>;
};
usb4 {
label = "c2600:blue:usb_4";
label = "c2600:white:usb_4";
gpios = <&qcom_pinmux 7 0>;
};
usb2 {
label = "c2600:blue:usb_2";
label = "c2600:white:usb_2";
gpios = <&qcom_pinmux 8 0>;
};
wps {
label = "c2600:blue:wps";
label = "c2600:white:wps";
gpios = <&qcom_pinmux 9 0>;
};
wan_blue {
label = "c2600:blue:wan";
label = "c2600:white:wan";
gpios = <&qcom_pinmux 33 1>;
};
power: status {
label = "c2600:blue:status";
label = "c2600:white:status";
gpios = <&qcom_pinmux 53 0>;
default-state = "on";
};
ledgnr: ledgnr {
label = "c2600:blue:ledgnr";
label = "c2600:white:ledgnr";
gpios = <&qcom_pinmux 66 0>;
};
};