zbt-wd323: add GPIO WDT support
authorJoshua O'Leary <josh.oleary@mobile-power.co.uk>
Wed, 7 Jun 2023 10:32:22 +0000 (11:32 +0100)
committerChuanhong Guo <gch981213@gmail.com>
Tue, 20 Jun 2023 14:08:05 +0000 (22:08 +0800)
commit008cc836fe42577af2843730dfefd31b750c7de6
tree2a150c091cfb3bab61aef3143eb910f953d000ec
parent0bbd5699c81d6887c4d895e85b56d8c23b1211ec
zbt-wd323: add GPIO WDT support

Watchdog has not been properly configured for this router - the PCB has a
hardware watchdog connected to one of the GPIO pin 21 [1]
This commit provides this fix [2]

Without this fix, the ZBT-WD323 is unusable in OpenWRT because it power
cycles every 30 seconds due to the watchdog tripping

[1] https://forum.openwrt.org/t/zbt-wd323-router-power-cycles-every-30-seconds/77535/7
[2] https://forum.openwrt.org/t/zbt-wd323-images-unusable-proposed-workaround/162145/5

Signed-off-by: Joshua O'Leary <josh.oleary@mobile-power.co.uk>
target/linux/ath79/dts/ar9344_zbtlink_zbt-wd323.dts