mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-24 15:56:49 +00:00
ath79: add status LED on GL.iNet AR300M
This adds the triggers for the status LED of this device. Signed-off-by: Paul Wassi <p.wassi@gmx.at>
This commit is contained in:
parent
6e78d546d1
commit
48745221a8
@ -6,6 +6,13 @@
|
||||
#include "qca953x.dtsi"
|
||||
|
||||
/ {
|
||||
aliases {
|
||||
led-boot = &led_status;
|
||||
led-failsafe = &led_status;
|
||||
led-running = &led_status;
|
||||
led-upgrade = &led_status;
|
||||
};
|
||||
|
||||
keys {
|
||||
compatible = "gpio-keys-polled";
|
||||
poll-interval = <20>;
|
||||
@ -52,7 +59,7 @@
|
||||
gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
|
||||
};
|
||||
|
||||
status {
|
||||
led_status: status {
|
||||
label = "gl-ar300m:green:status";
|
||||
gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user