ar71xx: fix ZyXEL NBG6616 wifi switch
authorChristoph Krapp <achterin@googlemail.com>
Mon, 10 Aug 2020 19:22:26 +0000 (21:22 +0200)
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>
Mon, 10 Aug 2020 23:14:25 +0000 (01:14 +0200)
commitb3b7665e622798a83a792ca766f47d3683c2c76e
tree8c6e84eb7f4f99c83e5c3d0e3dcb94a1ed58c511
parent4af78734127d6325ec72f243741a24aa2447f5c4
ar71xx: fix ZyXEL NBG6616 wifi switch

The device uses a rf-kill switch instead of a button. Furthermore the
GPIO is active high.

Signed-off-by: Christoph Krapp <achterin@googlemail.com>
(cherry picked from commit 0af656e978f1adac4061516d9d2e661e101ba64c)
target/linux/ar71xx/files/arch/mips/ath79/mach-nbg6716.c