Skip to content

Commit

Permalink
ath79: add status LED on GL.iNet AR300M
Browse files Browse the repository at this point in the history
This adds the triggers for the status LED of this device.

Signed-off-by: Paul Wassi <p.wassi@gmx.at>
  • Loading branch information
p-wassi authored and mkresin committed Dec 31, 2018
1 parent 6e78d54 commit 4874522
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion target/linux/ath79/dts/qca9531_glinet_gl-ar300m.dtsi
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -6,6 +6,13 @@
#include "qca953x.dtsi" #include "qca953x.dtsi"


/ { / {
aliases {
led-boot = &led_status;
led-failsafe = &led_status;
led-running = &led_status;
led-upgrade = &led_status;
};

keys { keys {
compatible = "gpio-keys-polled"; compatible = "gpio-keys-polled";
poll-interval = <20>; poll-interval = <20>;
Expand Down Expand Up @@ -52,7 +59,7 @@
gpios = <&gpio 13 GPIO_ACTIVE_LOW>; gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
}; };


status { led_status: status {
label = "gl-ar300m:green:status"; label = "gl-ar300m:green:status";
gpios = <&gpio 3 GPIO_ACTIVE_LOW>; gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
}; };
Expand Down

0 comments on commit 4874522

Please sign in to comment.