From ab12913676b05c069f36eda827043c6b83e51dbe Mon Sep 17 00:00:00 2001
From: Paul Wassi
Date: Sun, 30 Dec 2018 22:41:55 +0100
Subject: [PATCH] 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
---
target/linux/ath79/dts/qca9563_ubnt_unifiac.dtsi | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/target/linux/ath79/dts/qca9563_ubnt_unifiac.dtsi b/target/linux/ath79/dts/qca9563_ubnt_unifiac.dtsi
index ca216a25a11..3ee43a6d4b0 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";
};