Linux-libre 5.3.12-gnu
[librecmc/linux-libre.git] / Documentation / devicetree / bindings / watchdog / arm,sp805.txt
1 ARM AMBA Primecell SP805 Watchdog
2
3 SP805 WDT is a ARM Primecell Peripheral and has a standard-id register that
4 can be used to identify the peripheral type, vendor, and revision.
5 This value can be used for driver matching.
6
7 As SP805 WDT is a primecell IP, it follows the base bindings specified in
8 'arm/primecell.txt'
9
10 Required properties:
11 - compatible:  Should be "arm,sp805" & "arm,primecell"
12 - reg:         Should contain location and length for watchdog timer register
13 - clocks:      Clocks driving the watchdog timer hardware. This list should be
14                2 clocks. With 2 clocks, the order is wdog_clk, apb_pclk
15                wdog_clk can be equal to or be a sub-multiple of the apb_pclk
16                frequency
17 - clock-names: Shall be "wdog_clk" for first clock and "apb_pclk" for the
18                second one
19
20 Optional properties:
21 - interrupts:  Should specify WDT interrupt number
22 - timeout-sec: Should specify default WDT timeout in seconds. If unset, the
23                default timeout is determined by the driver
24
25 Example:
26         watchdog@66090000 {
27                 compatible = "arm,sp805", "arm,primecell";
28                 reg = <0x66090000 0x1000>;
29                 interrupts = <GIC_SPI 406 IRQ_TYPE_LEVEL_HIGH>;
30                 clocks = <&wdt_clk>, <&apb_pclk>;
31                 clock-names = "wdog_clk", "apb_pclk";
32         };