Commit c98e6e68 authored by Nick Hainke's avatar Nick Hainke Committed by Matthias Brugger
Browse files

arm64: dts: mt7622: fix BPI-R64 WPS button

The bananapi R64 (BPI-R64) experiences wrong WPS button signals.
In OpenWrt pushing the WPS button while powering on the device will set
it to recovery mode. Currently, this also happens without any user
interaction. In particular, the wrong signals appear while booting the
device or restarting it, e.g. after doing a system upgrade. If the
device is in recovery mode the user needs to manually power cycle or
restart it.

The official BPI-R64 sources set the WPS button to GPIO_ACTIVE_LOW in
the device tree. This setting seems to suppress the unwanted WPS button
press signals. So this commit changes the button from GPIO_ACTIVE_HIGH to
GPIO_ACTIVE_LOW.

The official BPI-R64 sources can be found on
https://github.com/BPI-SINOVOIP/BPI-R64-openwrt



Fixes: 0b6286dd ("arm64: dts: mt7622: add bananapi BPI-R64 board")

Suggested-by: default avatarINAGAKI Hiroshi <musashino.open@gmail.com>
Signed-off-by: default avatarNick Hainke <vincent@systemli.org>
Link: https://lore.kernel.org/r/20220630111746.4098-1-vincent@systemli.org


Signed-off-by: default avatarMatthias Brugger <matthias.bgg@gmail.com>
parent 04266856
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment