From bcfb535730fde6f1543f7140e818992ea13f4d30 Mon Sep 17 00:00:00 2001 From: Henryk Heisig Date: Sun, 2 Oct 2016 21:34:50 +0200 Subject: [PATCH] ipq806x: C2600: change leds colour name Signed-off-by: Henryk Heisig hyniu@o2.pl --- .../linux/ipq806x/base-files/etc/board.d/01_leds | 10 +++++----- .../arch/arm/boot/dts/qcom-ipq8064-c2600.dts | 15 +++++++-------- 2 files changed, 12 insertions(+), 13 deletions(-) diff --git a/target/linux/ipq806x/base-files/etc/board.d/01_leds b/target/linux/ipq806x/base-files/etc/board.d/01_leds index 0b75b11b3f..a7ace1f92e 100755 --- a/target/linux/ipq806x/base-files/etc/board.d/01_leds +++ b/target/linux/ipq806x/base-files/etc/board.d/01_leds @@ -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 |\ diff --git a/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8064-c2600.dts b/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8064-c2600.dts index c0a8a442ab..737a9fa07a 100644 --- a/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8064-c2600.dts +++ b/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8064-c2600.dts @@ -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>; }; }; -- 2.25.1