aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips
diff options
context:
space:
mode:
authorINAGAKI Hiroshi <musashino.open@gmail.com>2019-02-03 11:18:09 +0900
committerChristian Lamparter <chunkeey@gmail.com>2019-02-14 16:56:15 +0100
commite52ad0f919b6311e391a44215c4ac19b948f0b72 (patch)
tree1cfafab0cf720e6734ab9d12e6712639b71e1105 /target/linux/ramips
parent7bf6b5972419d95745b894bf86a20de45883ca7f (diff)
downloadupstream-e52ad0f919b6311e391a44215c4ac19b948f0b72.tar.gz
upstream-e52ad0f919b6311e391a44215c4ac19b948f0b72.tar.bz2
upstream-e52ad0f919b6311e391a44215c4ac19b948f0b72.zip
ramips: change status LED for Buffalo WHR-G300N
Buffalo WHR-G300N has a LED for power status indication, but it is not connected to the GPIO and cannot be controlled by the kernel. So, WHR-G300N uses "ROUTER" LED as the system status LED instead. This commit changes it to use "DIAG" LED insted of "ROUTER" like WHR-G301N in ath79 target. Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
Diffstat (limited to 'target/linux/ramips')
-rw-r--r--target/linux/ramips/dts/WHR-G300N.dts11
1 files changed, 5 insertions, 6 deletions
diff --git a/target/linux/ramips/dts/WHR-G300N.dts b/target/linux/ramips/dts/WHR-G300N.dts
index c8afe3c865..3871b55495 100644
--- a/target/linux/ramips/dts/WHR-G300N.dts
+++ b/target/linux/ramips/dts/WHR-G300N.dts
@@ -10,10 +10,9 @@
model = "Buffalo WHR-G300N";
aliases {
- led-boot = &led_router;
- led-failsafe = &led_router;
- led-running = &led_router;
- led-upgrade = &led_router;
+ led-boot = &led_diag;
+ led-failsafe = &led_diag;
+ led-upgrade = &led_diag;
};
cfi@1f000000 {
@@ -62,12 +61,12 @@
leds {
compatible = "gpio-leds";
- diag {
+ led_diag: diag {
label = "whr-g300n:red:diag";
gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
};
- led_router: router {
+ router {
label = "whr-g300n:green:router";
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
};