From: Paul Wassi
Date: Sun, 30 Dec 2018 21:41:55 +0000 (+0100)
Subject: ath79: Fix UBNT Unifi AC LEDs
X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=ab12913676b05c069f36eda827043c6b83e51dbe;p=openwrt%2Fstaging%2Fluka.git
ath79: Fix UBNT Unifi AC LEDs
Both LEDs on these devices are ACTIVE_HIGH, change back to what
it is on ar71xx.
Signed-off-by: Paul Wassi
---
diff --git a/target/linux/ath79/dts/qca9563_ubnt_unifiac.dtsi b/target/linux/ath79/dts/qca9563_ubnt_unifiac.dtsi
index ca216a25a1..3ee43a6d4b 100644
--- a/target/linux/ath79/dts/qca9563_ubnt_unifiac.dtsi
+++ b/target/linux/ath79/dts/qca9563_ubnt_unifiac.dtsi
@@ -15,13 +15,13 @@
wifi_ac {
label = "ubnt:white:dome";
- gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
+ gpios = <&gpio 7 GPIO_ACTIVE_HIGH>;
linux,default-trigger = "phy0tpt";
};
wifi_n {
label = "ubnt:blue:dome";
- gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
+ gpios = <&gpio 8 GPIO_ACTIVE_HIGH>;
linux,default-trigger = "phy1tpt";
};