summaryrefslogtreecommitdiff
path: root/target/linux/ipq806x
diff options
context:
space:
mode:
authorHenryk Heisig <hyniu@o2.pl>2016-10-02 21:34:50 +0200
committerJohn Crispin <john@phrozen.org>2016-10-15 11:36:50 +0200
commitbcfb535730fde6f1543f7140e818992ea13f4d30 (patch)
treeaaa9bb2544269a223219168c03cebf05df295d1a /target/linux/ipq806x
parent4bdf615878dd98106b3fdb9e092f7349b1a8d39f (diff)
downloadmtk-20170518-bcfb535730fde6f1543f7140e818992ea13f4d30.zip
mtk-20170518-bcfb535730fde6f1543f7140e818992ea13f4d30.tar.gz
mtk-20170518-bcfb535730fde6f1543f7140e818992ea13f4d30.tar.bz2
ipq806x: C2600: change leds colour name
Signed-off-by: Henryk Heisig hyniu@o2.pl
Diffstat (limited to 'target/linux/ipq806x')
-rwxr-xr-xtarget/linux/ipq806x/base-files/etc/board.d/01_leds10
-rw-r--r--target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8064-c2600.dts15
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 0b75b11..a7ace1f 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 c0a8a44..737a9fa 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>;
};
};