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:18:04 +0000 (01:18 +0200)
commit2628ec9b370805b6bc1ca6ccdc4f6ca36c647973
treef6719347c989dc3967a4088142f4bfc1fb3249f0
parent95dc2f5257c67c98816de1d88cdb29dd26be1d5e
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