diff options
author | Nicolò Veronese <nicveronese@gmail.com> | 2021-10-17 03:14:41 +0200 |
---|---|---|
committer | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2021-11-01 00:43:18 +0100 |
commit | 3f96743459617bb3f60bf7417f08fb8060f96a2a (patch) | |
tree | b58c18ac376436d875260652e5d354770cc48d0f /target/linux/ath79 | |
parent | 184dc6e32a4d2e22d916b709fdea69e1512889a7 (diff) | |
download | upstream-3f96743459617bb3f60bf7417f08fb8060f96a2a.tar.gz upstream-3f96743459617bb3f60bf7417f08fb8060f96a2a.tar.bz2 upstream-3f96743459617bb3f60bf7417f08fb8060f96a2a.zip |
ath79: fix UBNT Aircube AC gpios
GPIOs on the Aircube AC are wrong:
- Reset GPIO moved from 17 to 12
- PoE Pass Through GPIO for Aircube AC is 3
Fixes: 491ae3357e10 ("ath79: add support for Ubiquiti airCube AC")
Signed-off-by: Nicolò Veronese <nicveronese@gmail.com>
Diffstat (limited to 'target/linux/ath79')
-rw-r--r-- | target/linux/ath79/dts/ar9342_ubnt_aircube-ac.dts | 2 | ||||
-rw-r--r-- | target/linux/ath79/generic/base-files/etc/board.d/03_gpio_switches | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/target/linux/ath79/dts/ar9342_ubnt_aircube-ac.dts b/target/linux/ath79/dts/ar9342_ubnt_aircube-ac.dts index 25adac4e8a..15e23f2421 100644 --- a/target/linux/ath79/dts/ar9342_ubnt_aircube-ac.dts +++ b/target/linux/ath79/dts/ar9342_ubnt_aircube-ac.dts @@ -15,7 +15,7 @@ reset { label = "reset"; linux,code = <KEY_RESTART>; - gpios = <&gpio 17 GPIO_ACTIVE_LOW>; + gpios = <&gpio 12 GPIO_ACTIVE_LOW>; debounce-interval = <60>; }; }; diff --git a/target/linux/ath79/generic/base-files/etc/board.d/03_gpio_switches b/target/linux/ath79/generic/base-files/etc/board.d/03_gpio_switches index 83f428c54a..ca7d8c633c 100644 --- a/target/linux/ath79/generic/base-files/etc/board.d/03_gpio_switches +++ b/target/linux/ath79/generic/base-files/etc/board.d/03_gpio_switches @@ -76,13 +76,13 @@ tplink,wbs510-v2) ucidef_add_gpio_switch "poe_passthrough" "PoE Passthrough" "20" ;; ubnt,aircube-ac|\ -ubnt,aircube-isp) - ucidef_add_gpio_switch "poe_passthrough" "PoE Passthrough" "11" - ;; ubnt,nanobeam-ac-gen2|\ ubnt,nanostation-ac) ucidef_add_gpio_switch "poe_passthrough" "PoE Passthrough" "3" ;; +ubnt,aircube-isp) + ucidef_add_gpio_switch "poe_passthrough" "PoE Passthrough" "11" + ;; ubnt,nanostation-m) ucidef_add_gpio_switch "poe_passthrough" "PoE Passthrough" "8" ;; |