xref: /freebsd/sys/contrib/device-tree/Bindings/watchdog/sprd-wdt.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel VadotSpreadtrum SoCs Watchdog timer
2*c66ec88fSEmmanuel Vadot
3*c66ec88fSEmmanuel VadotRequired properties:
4*c66ec88fSEmmanuel Vadot- compatible : Should be "sprd,sp9860-wdt".
5*c66ec88fSEmmanuel Vadot- reg : Specifies base physical address and size of the registers.
6*c66ec88fSEmmanuel Vadot- interrupts : Exactly one interrupt specifier.
7*c66ec88fSEmmanuel Vadot- timeout-sec : Contain the default watchdog timeout in seconds.
8*c66ec88fSEmmanuel Vadot- clock-names : Contain the input clock names.
9*c66ec88fSEmmanuel Vadot- clocks : Phandles to input clocks.
10*c66ec88fSEmmanuel Vadot
11*c66ec88fSEmmanuel VadotExample:
12*c66ec88fSEmmanuel Vadot	watchdog: watchdog@40310000 {
13*c66ec88fSEmmanuel Vadot		compatible = "sprd,sp9860-wdt";
14*c66ec88fSEmmanuel Vadot		reg = <0 0x40310000 0 0x1000>;
15*c66ec88fSEmmanuel Vadot		interrupts = <GIC_SPI 61 IRQ_TYPE_LEVEL_HIGH>;
16*c66ec88fSEmmanuel Vadot		timeout-sec = <12>;
17*c66ec88fSEmmanuel Vadot		clock-names = "enable", "rtc_enable";
18*c66ec88fSEmmanuel Vadot		clocks = <&clk_aon_apb_gates1 8>, <&clk_aon_apb_rtc_gates 9>;
19*c66ec88fSEmmanuel Vadot	};
20