aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips
diff options
context:
space:
mode:
authorP.Wassi <p.wassi@gmx.at>2016-07-26 06:45:25 +0200
committerJohn Crispin <john@phrozen.org>2016-07-26 08:39:36 +0200
commit686617ae398a012d2d678eb11fef3c9a6bec61cd (patch)
treee08e39db44aea886acce9b453312b7b03135d0aa /target/linux/ramips
parentdbf107cd2b83f0017446ac5ae07e44b39ed61bfe (diff)
downloadupstream-686617ae398a012d2d678eb11fef3c9a6bec61cd.tar.gz
upstream-686617ae398a012d2d678eb11fef3c9a6bec61cd.tar.bz2
upstream-686617ae398a012d2d678eb11fef3c9a6bec61cd.zip
ramips: Rename TP-Link Archer C50 LEDs
Rename LEDs in TP-Link Archer C50 from [manufacturer name] to [board name] ("tp-link" -> "c50") Signed-off-by: P.Wassi <p.wassi@gmx.at>
Diffstat (limited to 'target/linux/ramips')
-rwxr-xr-xtarget/linux/ramips/base-files/etc/board.d/01_leds10
-rw-r--r--target/linux/ramips/dts/ArcherC50.dts10
2 files changed, 10 insertions, 10 deletions
diff --git a/target/linux/ramips/base-files/etc/board.d/01_leds b/target/linux/ramips/base-files/etc/board.d/01_leds
index e5f646b4c1..9624b1c64a 100755
--- a/target/linux/ramips/base-files/etc/board.d/01_leds
+++ b/target/linux/ramips/base-files/etc/board.d/01_leds
@@ -85,11 +85,11 @@ c20i)
ucidef_set_led_wlan "wlan" "wlan" "$board:blue:wlan" "phy0radio"
;;
c50)
- ucidef_set_led_default "power" "power" "tp-link:blue:power" "0"
- ucidef_set_led_netdev "lan" "lan" "tp-link:blue:lan" "eth0.2"
- set_usb_led "tp-link:blue:usb"
- ucidef_set_led_wlan "wlan2g" "wlan2g" "tp-link:blue:wlan2g" "phy1radio"
- ucidef_set_led_wlan "wlan5g" "wlan5g" "tp-link:blue:wlan5g" "phy0radio"
+ ucidef_set_led_default "power" "power" "$board:blue:power" "0"
+ ucidef_set_led_netdev "lan" "lan" "$board:blue:lan" "eth0.2"
+ set_usb_led "$board:blue:usb"
+ ucidef_set_led_wlan "wlan2g" "wlan2g" "$board:blue:wlan2g" "phy1radio"
+ ucidef_set_led_wlan "wlan5g" "wlan5g" "$board:blue:wlan5g" "phy0radio"
;;
cf-wr800n)
ucidef_set_led_netdev "lan" "lan" "$board:white:ethernet" eth0.1
diff --git a/target/linux/ramips/dts/ArcherC50.dts b/target/linux/ramips/dts/ArcherC50.dts
index 4fc8ff481d..44753efb01 100644
--- a/target/linux/ramips/dts/ArcherC50.dts
+++ b/target/linux/ramips/dts/ArcherC50.dts
@@ -14,27 +14,27 @@
compatible = "gpio-leds";
lan {
- label = "tp-link:blue:lan";
+ label = "c50:blue:lan";
gpios = <&gpio0 1 1>;
};
power {
- label = "tp-link:blue:power";
+ label = "c50:blue:power";
gpios = <&gpio0 7 0>;
};
usb {
- label = "tp-link:blue:usb";
+ label = "c50:blue:usb";
gpios = <&gpio0 9 1>;
};
wlan5g {
- label = "tp-link:blue:wlan5g";
+ label = "c50:blue:wlan5g";
gpios = <&gpio0 11 1>;
};
wlan2g {
- label = "tp-link:blue:wlan2g";
+ label = "c50:blue:wlan2g";
gpios = <&gpio3 0 1>;
};
};