Commit | Line | Data |
---|---|---|
191891c0 HK |
1 | Zynq Watchdog Device Tree Bindings |
2 | ------------------------------------------- | |
3 | ||
4 | Required properties: | |
5 | - compatible : Should be "cdns,wdt-r1p2". | |
6 | - clocks : This is pclk (APB clock). | |
7 | - interrupts : This is wd_irq - watchdog timeout interrupt. | |
8 | - interrupt-parent : Must be core interrupt controller. | |
9 | ||
10 | Optional properties | |
11 | - reset-on-timeout : If this property exists, then a reset is done | |
12 | when watchdog times out. | |
13 | - timeout-sec : Watchdog timeout value (in seconds). | |
14 | ||
15 | Example: | |
16 | watchdog@f8005000 { | |
17 | compatible = "cdns,wdt-r1p2"; | |
18 | clocks = <&clkc 45>; | |
19 | interrupt-parent = <&intc>; | |
20 | interrupts = <0 9 1>; | |
21 | reg = <0xf8005000 0x1000>; | |
22 | reset-on-timeout; | |
23 | timeout-sec = <10>; | |
24 | }; |