diff options
author | David Bauer <mail@david-bauer.net> | 2018-09-11 17:04:17 +0200 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2018-09-22 19:26:26 +0200 |
commit | c6ecb83db41e3f05639c8c2a6b4edf2b96f1af57 (patch) | |
tree | 3abd764724d7862af6410c80b47d1841e9f64af1 /target/linux/ath79 | |
parent | 7849f74117ce83e4cfcd1448a22cc05dbf9b3486 (diff) | |
download | upstream-c6ecb83db41e3f05639c8c2a6b4edf2b96f1af57.tar.gz upstream-c6ecb83db41e3f05639c8c2a6b4edf2b96f1af57.tar.bz2 upstream-c6ecb83db41e3f05639c8c2a6b4edf2b96f1af57.zip |
ath79: flag FritzBox 4020 buttons as active low
Buttons of AVM FritzBox 4020 are incorrectly flagged as active high.
This was an oversight as RFKill button was working as expected even
with incorrectly flagged GPIO.
Signed-off-by: David Bauer <mail@david-bauer.net>
Diffstat (limited to 'target/linux/ath79')
-rw-r--r-- | target/linux/ath79/dts/qca9561_avm_fritz4020.dts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/ath79/dts/qca9561_avm_fritz4020.dts b/target/linux/ath79/dts/qca9561_avm_fritz4020.dts index 6b30c036ea..8489c8a1e6 100644 --- a/target/linux/ath79/dts/qca9561_avm_fritz4020.dts +++ b/target/linux/ath79/dts/qca9561_avm_fritz4020.dts @@ -96,13 +96,13 @@ wps_button { label = "WPS button"; linux,code = <KEY_WPS_BUTTON>; - gpios = <&gpio 2 GPIO_ACTIVE_HIGH>; + gpios = <&gpio 2 GPIO_ACTIVE_LOW>; }; wlan_button { label = "WLAN button"; linux,code = <KEY_RFKILL>; - gpios = <&gpio 21 GPIO_ACTIVE_HIGH>; + gpios = <&gpio 21 GPIO_ACTIVE_LOW>; }; }; }; |