aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorPaul Wassi <p.wassi@gmx.at>2018-12-31 13:59:31 +0100
committerMathias Kresin <dev@kresin.me>2018-12-31 14:24:55 +0100
commit48745221a8b4cdd18811a071387915e3ad1587ee (patch)
tree6d41020ebf98eaf79d81c67327931bd9ed378725 /target
parent6e78d546d1197d7a3ec4cbc7aab22286ad49fb0f (diff)
downloadupstream-48745221a8b4cdd18811a071387915e3ad1587ee.tar.gz
upstream-48745221a8b4cdd18811a071387915e3ad1587ee.tar.bz2
upstream-48745221a8b4cdd18811a071387915e3ad1587ee.zip
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>
Diffstat (limited to 'target')
-rw-r--r--target/linux/ath79/dts/qca9531_glinet_gl-ar300m.dtsi9
1 files changed, 8 insertions, 1 deletions
diff --git a/target/linux/ath79/dts/qca9531_glinet_gl-ar300m.dtsi b/target/linux/ath79/dts/qca9531_glinet_gl-ar300m.dtsi
index 34fcfb32c3..2a0c4385cd 100644
--- a/target/linux/ath79/dts/qca9531_glinet_gl-ar300m.dtsi
+++ b/target/linux/ath79/dts/qca9531_glinet_gl-ar300m.dtsi
@@ -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>;
};