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