aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ath79/dts
diff options
context:
space:
mode:
authorKarl Palsson <karlp@etactica.com>2019-09-05 09:36:53 +0000
committerPetr Štetiar <ynezz@true.cz>2019-09-15 22:56:09 +0200
commitdadcd3dd983adc2e896b4952daf824503148944c (patch)
treed70b45c8a4a8b0d74558825275b8128d430b1ac0 /target/linux/ath79/dts
parent2cf209ce9166575d8259b5b4176ee91d8b48d2ff (diff)
downloadupstream-dadcd3dd983adc2e896b4952daf824503148944c.tar.gz
upstream-dadcd3dd983adc2e896b4952daf824503148944c.tar.bz2
upstream-dadcd3dd983adc2e896b4952daf824503148944c.zip
ath79: eg200: enable status led usage
This enables using the "eTactica" LED during boot, to indicate failsafe, and during upgrade, while still leaving the LED alone for normal operation. This brings the device more in line with how other devices work, and makes the failsafe functionality easier to use and understand. Signed-off-by: Karl Palsson <karlp@etactica.com>
Diffstat (limited to 'target/linux/ath79/dts')
-rw-r--r--target/linux/ath79/dts/ar9331_etactica_eg200.dts5
1 files changed, 4 insertions, 1 deletions
diff --git a/target/linux/ath79/dts/ar9331_etactica_eg200.dts b/target/linux/ath79/dts/ar9331_etactica_eg200.dts
index 708e9defa4..9160aa2b2e 100644
--- a/target/linux/ath79/dts/ar9331_etactica_eg200.dts
+++ b/target/linux/ath79/dts/ar9331_etactica_eg200.dts
@@ -11,6 +11,9 @@
compatible = "etactica,eg200", "qca,ar9331";
aliases {
+ led-boot = &led_etactica;
+ led-failsafe = &led_etactica;
+ led-upgrade = &led_etactica;
serial0 = &uart;
};
@@ -34,7 +37,7 @@
gpios = <&gpio 16 GPIO_ACTIVE_HIGH>;
};
- etactica {
+ led_etactica: etactica {
label = "eg200:red:etactica";
gpios = <&gpio 15 GPIO_ACTIVE_HIGH>;
};