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>
This commit is contained in:
Arvid E. Picciani 2022-02-28 12:01:14 +01:00 committed by Petr Štetiar
parent 57f7a86c68
commit 1a97c03d86
2 changed files with 9 additions and 0 deletions

View File

@ -26,6 +26,14 @@
gpios = <&gpio3 0 GPIO_ACTIVE_LOW>; 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 { &pcie {

View File

@ -67,6 +67,7 @@ CONFIG_GENERIC_TIME_VSYSCALL=y
CONFIG_GPIOLIB=y CONFIG_GPIOLIB=y
# CONFIG_GPIO_MT7621 is not set # CONFIG_GPIO_MT7621 is not set
CONFIG_GPIO_RALINK=y CONFIG_GPIO_RALINK=y
CONFIG_GPIO_WATCHDOG=y
CONFIG_HANDLE_DOMAIN_IRQ=y CONFIG_HANDLE_DOMAIN_IRQ=y
CONFIG_HARDWARE_WATCHPOINTS=y CONFIG_HARDWARE_WATCHPOINTS=y
CONFIG_HAS_DMA=y CONFIG_HAS_DMA=y