xref: /freebsd/sys/contrib/device-tree/Bindings/watchdog/arm,sp805.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel VadotARM AMBA Primecell SP805 Watchdog
2*c66ec88fSEmmanuel Vadot
3*c66ec88fSEmmanuel VadotSP805 WDT is a ARM Primecell Peripheral and has a standard-id register that
4*c66ec88fSEmmanuel Vadotcan be used to identify the peripheral type, vendor, and revision.
5*c66ec88fSEmmanuel VadotThis value can be used for driver matching.
6*c66ec88fSEmmanuel Vadot
7*c66ec88fSEmmanuel VadotAs SP805 WDT is a primecell IP, it follows the base bindings specified in
8*c66ec88fSEmmanuel Vadot'arm/primecell.txt'
9*c66ec88fSEmmanuel Vadot
10*c66ec88fSEmmanuel VadotRequired properties:
11*c66ec88fSEmmanuel Vadot- compatible:  Should be "arm,sp805" & "arm,primecell"
12*c66ec88fSEmmanuel Vadot- reg:         Should contain location and length for watchdog timer register
13*c66ec88fSEmmanuel Vadot- clocks:      Clocks driving the watchdog timer hardware. This list should be
14*c66ec88fSEmmanuel Vadot               2 clocks. With 2 clocks, the order is wdog_clk, apb_pclk
15*c66ec88fSEmmanuel Vadot               wdog_clk can be equal to or be a sub-multiple of the apb_pclk
16*c66ec88fSEmmanuel Vadot               frequency
17*c66ec88fSEmmanuel Vadot- clock-names: Shall be "wdog_clk" for first clock and "apb_pclk" for the
18*c66ec88fSEmmanuel Vadot               second one
19*c66ec88fSEmmanuel Vadot
20*c66ec88fSEmmanuel VadotOptional properties:
21*c66ec88fSEmmanuel Vadot- interrupts:  Should specify WDT interrupt number
22*c66ec88fSEmmanuel Vadot- timeout-sec: Should specify default WDT timeout in seconds. If unset, the
23*c66ec88fSEmmanuel Vadot               default timeout is determined by the driver
24*c66ec88fSEmmanuel Vadot
25*c66ec88fSEmmanuel VadotExample:
26*c66ec88fSEmmanuel Vadot	watchdog@66090000 {
27*c66ec88fSEmmanuel Vadot		compatible = "arm,sp805", "arm,primecell";
28*c66ec88fSEmmanuel Vadot		reg = <0x66090000 0x1000>;
29*c66ec88fSEmmanuel Vadot		interrupts = <GIC_SPI 406 IRQ_TYPE_LEVEL_HIGH>;
30*c66ec88fSEmmanuel Vadot		clocks = <&wdt_clk>, <&apb_pclk>;
31*c66ec88fSEmmanuel Vadot		clock-names = "wdog_clk", "apb_pclk";
32*c66ec88fSEmmanuel Vadot	};
33