[source] ipq806x: C2600: change leds colour name
LEDE Commits
lede-commits at lists.infradead.org
Sat Oct 15 02:37:09 PDT 2016
blogic pushed a commit to source.git, branch master:
https://git.lede-project.org/bcfb535730fde6f1543f7140e818992ea13f4d30
commit bcfb535730fde6f1543f7140e818992ea13f4d30
Author: Henryk Heisig <hyniu at o2.pl>
AuthorDate: Sun Oct 2 21:34:50 2016 +0200
ipq806x: C2600: change leds colour name
Signed-off-by: Henryk Heisig hyniu at o2.pl
---
target/linux/ipq806x/base-files/etc/board.d/01_leds | 10 +++++-----
.../files/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 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>;
};
};
More information about the lede-commits
mailing list