diff options
author | Federico Capoano <f.capoano@openwisp.io> | 2022-09-15 19:52:14 +0200 |
---|---|---|
committer | Christian Lamparter <chunkeey@gmail.com> | 2022-09-24 18:04:06 +0200 |
commit | 1f24bd1ba268d339abe18cc6607d97428c42e82b (patch) | |
tree | 4f9adedf26444ff6c7083aa8b19725474a9a0990 /target/linux/ramips/dts | |
parent | 1ea34b9621fafa916e0d4ca0b6ec97ac8a611ba9 (diff) | |
download | upstream-1f24bd1ba268d339abe18cc6607d97428c42e82b.tar.gz upstream-1f24bd1ba268d339abe18cc6607d97428c42e82b.tar.bz2 upstream-1f24bd1ba268d339abe18cc6607d97428c42e82b.zip |
rampis: feed zbt-we1026 external watchdog
Without feeding the gpio watchdog, the board will reset after 90 seconds
Signed-off-by: Arvid E. Picciani <aep@exys.org>
(cherry picked from commit 1a97c03d864ee5ab917aff2988c62fce223c041e)
[adapted to config-5.4]
Signed-off-by: Federico Capoano <f.capoano@openwisp.io>
Diffstat (limited to 'target/linux/ramips/dts')
-rw-r--r-- | target/linux/ramips/dts/mt7620a_zbtlink_zbt-we1026-5g.dtsi | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/target/linux/ramips/dts/mt7620a_zbtlink_zbt-we1026-5g.dtsi b/target/linux/ramips/dts/mt7620a_zbtlink_zbt-we1026-5g.dtsi index 4991897ca4..f86ac1a88a 100644 --- a/target/linux/ramips/dts/mt7620a_zbtlink_zbt-we1026-5g.dtsi +++ b/target/linux/ramips/dts/mt7620a_zbtlink_zbt-we1026-5g.dtsi @@ -26,6 +26,14 @@ gpios = <&gpio3 0 GPIO_ACTIVE_LOW>; }; }; + + watchdog { + compatible = "linux,wdt-gpio"; + gpios = <&gpio0 11 GPIO_ACTIVE_HIGH>; + hw_algo = "toggle"; + hw_margin_ms = <20000>; + always-running; + }; }; &pcie { |