dts: add watchdog support for axg
authorBo Yang <bo.yang@amlogic.com>
Tue, 9 May 2017 06:54:08 +0000 (14:54 +0800)
committerVictor Wan <victor.wan@amlogic.com>
Sat, 27 May 2017 10:49:08 +0000 (03:49 -0700)
PD#142470: dts: add watchdog support for axg

Default disable watchdog.

Change-Id: I1d314594eff9773d04aeb4943a4e89604c35f100
Signed-off-by: Bo Yang <bo.yang@amlogic.com>
arch/arm64/boot/dts/amlogic/mesonaxg.dtsi

index e13e4a4..ae51722 100644 (file)
                sys_poweroff = <0x84000008>;
        };
 
+       watchdog {
+               compatible = "amlogic, meson-wdt";
+               status = "disabled";
+               default_timeout=<10>;
+               reset_watchdog_method=<1>; /* 0:sysfs,1:kernel */
+               reset_watchdog_time=<2>;
+               shutdown_timeout=<10>;
+               firmware_timeout=<6>;
+               suspend_timeout=<6>;
+               reg = <0x0 0xffd0f0d0 0x0 0x10>;
+               clock-names = "xtal";
+               clocks = <&xtal>;
+       };
+
        pinctrl_aobus: pinctrl@ff800014{
                compatible = "amlogic,meson-axg-aobus-pinctrl";
                #address-cells = <2>;