mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2024-12-11 17:34:57 +00:00
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>
This commit is contained in:
parent
7bf6b59724
commit
e52ad0f919
@ -10,10 +10,9 @@
|
|||||||
model = "Buffalo WHR-G300N";
|
model = "Buffalo WHR-G300N";
|
||||||
|
|
||||||
aliases {
|
aliases {
|
||||||
led-boot = &led_router;
|
led-boot = &led_diag;
|
||||||
led-failsafe = &led_router;
|
led-failsafe = &led_diag;
|
||||||
led-running = &led_router;
|
led-upgrade = &led_diag;
|
||||||
led-upgrade = &led_router;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
cfi@1f000000 {
|
cfi@1f000000 {
|
||||||
@ -62,12 +61,12 @@
|
|||||||
leds {
|
leds {
|
||||||
compatible = "gpio-leds";
|
compatible = "gpio-leds";
|
||||||
|
|
||||||
diag {
|
led_diag: diag {
|
||||||
label = "whr-g300n:red:diag";
|
label = "whr-g300n:red:diag";
|
||||||
gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
|
gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
|
||||||
};
|
};
|
||||||
|
|
||||||
led_router: router {
|
router {
|
||||||
label = "whr-g300n:green:router";
|
label = "whr-g300n:green:router";
|
||||||
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
|
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user