target/realtek: add gb081 watchdog

This commit is contained in:
jjm2473 2022-10-10 15:14:03 +08:00
parent 7a7d62f907
commit c7b103a627
2 changed files with 10 additions and 0 deletions

View File

@ -15,6 +15,14 @@
led-upgrade = &led_red;
};
hw_watchdog {
compatible = "linux,wdt-gpio";
gpios = <&rtk_iso_gpio 31 RTK_GPIO_DIROUT GPIO_ACTIVE_HIGH>;
hw_algo = "toggle";
hw_margin_ms = <2000>;
always-running;
};
sata@9803F000 {
sata0: sata-port@0 {
led-io = <&rtk_iso_gpio 29 RTK_GPIO_DIROUT 0>;

View File

@ -131,6 +131,8 @@ CONFIG_RTK_USB_CTRL_MANAGER=y
# CONFIG_RTK_VMX_ULTRA is not set
# CONFIG_RTK_VMX_ULTRA_RAMFS_VENDOR is not set
CONFIG_RTK_WATCHDOG=y
CONFIG_GPIO_WATCHDOG=y
# CONFIG_GPIO_WATCHDOG_ARCH_INITCALL is not set
CONFIG_RTL865X_MBUF_HEADROOM=128
CONFIG_RTL_8197F=y
# CONFIG_RTL_8198C_8367RB is not set