mvebu: Add button support for GL.iNet GL-MV1000
authorSven Eckelmann <sven@narfation.org>
Thu, 25 Mar 2021 12:26:15 +0000 (13:26 +0100)
committerHauke Mehrtens <hauke@hauke-m.de>
Mon, 29 Mar 2021 19:38:24 +0000 (21:38 +0200)
commit7bb8aded105792eaa24319a3c52b1f92d8c93860
treedffaaf4715bff437f67da01a9ed99e9b4370b359
parent9ce0f2b90c2da573e258acb945822ba73b628d6b
mvebu: Add button support for GL.iNet GL-MV1000

The original patch to support this device advertised support for the reset
button and the "switch" in the commit message. But neither were actually
integrated in the device tree or documented anywere.

The button itself is now used to trigger a reset (as described in the
official GL.iNet documentation). The switch itself is registered as BTN_0
like other devices from GL.iNet in ath79.

Fixes: 050c24f05c85 ("mvebu: add support for GL.iNet GL-MV1000")
Signed-off-by: Sven Eckelmann <sven@narfation.org>
(cherry picked from commit 01b911a9381426314762822f97e3a7e658295f50)
target/linux/mvebu/files/arch/arm64/boot/dts/marvell/armada-3720-gl-mv1000.dts