spi: fsl: use platform_get_irq() instead of of_irq_to_resource()
[sfrench/cifs-2.6.git] / Documentation / devicetree / bindings / watchdog / samsung-wdt.txt
1 * Samsung's Watchdog Timer Controller
2
3 The Samsung's Watchdog controller is used for resuming system operation
4 after a preset amount of time during which the WDT reset event has not
5 occurred.
6
7 Required properties:
8 - compatible : should be one among the following
9         - "samsung,s3c2410-wdt" for S3C2410
10         - "samsung,s3c6410-wdt" for S3C6410, S5PV210 and Exynos4
11         - "samsung,exynos5250-wdt" for Exynos5250
12         - "samsung,exynos5420-wdt" for Exynos5420
13         - "samsung,exynos7-wdt" for Exynos7
14
15 - reg : base physical address of the controller and length of memory mapped
16         region.
17 - interrupts : interrupt number to the cpu.
18 - samsung,syscon-phandle : reference to syscon node (This property required only
19         in case of compatible being "samsung,exynos5250-wdt" or "samsung,exynos5420-wdt".
20         In case of Exynos5250 and 5420 this property points to syscon node holding the PMU
21         base address)
22
23 Optional properties:
24 - timeout-sec : contains the watchdog timeout in seconds.
25
26 Example:
27
28 watchdog@101d0000 {
29         compatible = "samsung,exynos5250-wdt";
30         reg = <0x101D0000 0x100>;
31         interrupts = <0 42 0>;
32         clocks = <&clock 336>;
33         clock-names = "watchdog";
34         samsung,syscon-phandle = <&pmu_syscon>;
35 };