Thomas Abraham | 9487a9c | 2011-06-22 15:24:32 +0530 | [diff] [blame] | 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 |
Masanari Iida | f21ccfa | 2013-01-14 15:14:56 +0900 | [diff] [blame] | 5 | occurred. |
Thomas Abraham | 9487a9c | 2011-06-22 15:24:32 +0530 | [diff] [blame] | 6 | |
| 7 | Required properties: |
Leela Krishna Amudala | 4f1f653 | 2013-12-06 11:17:47 +0530 | [diff] [blame] | 8 | - compatible : should be one among the following |
| 9 | (a) "samsung,s3c2410-wdt" for Exynos4 and previous SoCs |
| 10 | (b) "samsung,exynos5250-wdt" for Exynos5250 |
| 11 | (c) "samsung,exynos5420-wdt" for Exynos5420 |
| 12 | |
Thomas Abraham | 9487a9c | 2011-06-22 15:24:32 +0530 | [diff] [blame] | 13 | - reg : base physical address of the controller and length of memory mapped |
| 14 | region. |
| 15 | - interrupts : interrupt number to the cpu. |
Leela Krishna Amudala | 4f1f653 | 2013-12-06 11:17:47 +0530 | [diff] [blame] | 16 | - samsung,syscon-phandle : reference to syscon node (This property required only |
| 17 | in case of compatible being "samsung,exynos5250-wdt" or "samsung,exynos5420-wdt". |
| 18 | In case of Exynos5250 and 5420 this property points to syscon node holding the PMU |
| 19 | base address) |
Fabio Porcedda | c1fd5f6 | 2013-02-14 09:14:25 +0100 | [diff] [blame] | 20 | |
| 21 | Optional properties: |
| 22 | - timeout-sec : contains the watchdog timeout in seconds. |
Leela Krishna Amudala | 4f1f653 | 2013-12-06 11:17:47 +0530 | [diff] [blame] | 23 | |
| 24 | Example: |
| 25 | |
| 26 | watchdog@101D0000 { |
| 27 | compatible = "samsung,exynos5250-wdt"; |
| 28 | reg = <0x101D0000 0x100>; |
| 29 | interrupts = <0 42 0>; |
| 30 | clocks = <&clock 336>; |
| 31 | clock-names = "watchdog"; |
| 32 | samsung,syscon-phandle = <&pmu_syscon>; |
| 33 | }; |