MLK-13520-01 ARM: dts: Add 'timeout-sec' property for wdog node
authorBai Ping <ping.bai@nxp.com>
Mon, 28 Nov 2016 03:09:29 +0000 (11:09 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 19:52:41 +0000 (14:52 -0500)
Add 'timeout-sec' property for wdog node of i.MX7ULP.

Signed-off-by: Bai Ping <ping.bai@nxp.com>
arch/arm/boot/dts/imx7ulp.dtsi

index 900abad..db27ba8 100644 (file)
                        clocks = <&clks IMX7ULP_CLK_WDG1>;
                        assigned-clocks = <&clks IMX7ULP_CLK_WDG1>;
                        assigned-clocks-parents = <&clks IMX7ULP_CLK_FIRC>;
+                       /*
+                        * As the 1KHz LPO clock rate is not trimed,the actually clock
+                        * is about 667Hz, so the init timeout 60s should set 40*1000
+                        * in the TOVAL register.
+                        */
+                       timeout-sec = <40>;
                };
 
                wdog2: wdog@40430000 {
                        clocks = <&clks IMX7ULP_CLK_WDG2>;
                        assigned-clocks = <&clks IMX7ULP_CLK_WDG2>;
                        assigned-clocks-parents = <&clks IMX7ULP_CLK_FIRC>;
+                       timeout-sec = <40>;
                };
 
                clks: scg1@403E0000 {