xref: /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/watchdog/marvel.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun* Marvell Orion Watchdog Time
2*4882a593Smuzhiyun
3*4882a593SmuzhiyunRequired Properties:
4*4882a593Smuzhiyun
5*4882a593Smuzhiyun- Compatibility : "marvell,orion-wdt"
6*4882a593Smuzhiyun		  "marvell,armada-370-wdt"
7*4882a593Smuzhiyun		  "marvell,armada-xp-wdt"
8*4882a593Smuzhiyun		  "marvell,armada-375-wdt"
9*4882a593Smuzhiyun		  "marvell,armada-380-wdt"
10*4882a593Smuzhiyun
11*4882a593Smuzhiyun- reg		: Should contain two entries: first one with the
12*4882a593Smuzhiyun		  timer control address, second one with the
13*4882a593Smuzhiyun		  rstout enable address.
14*4882a593Smuzhiyun
15*4882a593SmuzhiyunFor "marvell,armada-375-wdt" and "marvell,armada-380-wdt":
16*4882a593Smuzhiyun
17*4882a593Smuzhiyun- reg		: A third entry is mandatory and should contain the
18*4882a593Smuzhiyun                  shared mask/unmask RSTOUT address.
19*4882a593Smuzhiyun
20*4882a593SmuzhiyunClocks required for compatibles = "marvell,orion-wdt",
21*4882a593Smuzhiyun				  "marvell,armada-370-wdt":
22*4882a593Smuzhiyun- clocks : Must contain a single entry describing the clock input
23*4882a593Smuzhiyun
24*4882a593SmuzhiyunClocks required for compatibles = "marvell,armada-xp-wdt"
25*4882a593Smuzhiyun				  "marvell,armada-375-wdt"
26*4882a593Smuzhiyun				  "marvell,armada-380-wdt":
27*4882a593Smuzhiyun- clocks : Must contain an entry for each entry in clock-names.
28*4882a593Smuzhiyun- clock-names : Must include the following entries:
29*4882a593Smuzhiyun  "nbclk" (L2/coherency fabric clock),
30*4882a593Smuzhiyun  "fixed" (Reference 25 MHz fixed-clock).
31*4882a593Smuzhiyun
32*4882a593SmuzhiyunOptional properties:
33*4882a593Smuzhiyun
34*4882a593Smuzhiyun- interrupts	: Contains the IRQ for watchdog expiration
35*4882a593Smuzhiyun- timeout-sec	: Contains the watchdog timeout in seconds
36*4882a593Smuzhiyun
37*4882a593SmuzhiyunExample:
38*4882a593Smuzhiyun
39*4882a593Smuzhiyun	wdt@20300 {
40*4882a593Smuzhiyun		compatible = "marvell,orion-wdt";
41*4882a593Smuzhiyun		reg = <0x20300 0x28>, <0x20108 0x4>;
42*4882a593Smuzhiyun		interrupts = <3>;
43*4882a593Smuzhiyun		timeout-sec = <10>;
44*4882a593Smuzhiyun		clocks = <&gate_clk 7>;
45*4882a593Smuzhiyun	};
46