ipq806x: Archer C2600: Renaming LED accordance with the standard

Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
This commit is contained in:
Cezary Jackiewicz 2016-08-23 19:26:16 +02:00 committed by John Crispin
parent 2a64be5aa9
commit 9417293366
3 changed files with 20 additions and 20 deletions

View File

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

View File

@ -6,7 +6,7 @@
get_status_led() { get_status_led() {
case $(ipq806x_board_name) in case $(ipq806x_board_name) in
c2600) c2600)
status_led="status:blue" status_led="c2600:blue:status"
;; ;;
ea8500) ea8500)
status_led="ea8500:white:power" status_led="ea8500:white:power"

View File

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