]> git.kernelconcepts.de Git - karo-tx-linux.git/blob - Documentation/devicetree/bindings/watchdog/st_lpc_wdt.txt
Merge tag 'fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rusty...
[karo-tx-linux.git] / Documentation / devicetree / bindings / watchdog / st_lpc_wdt.txt
1 STMicroelectronics Low Power Controller (LPC) - Watchdog
2 ========================================================
3
4 LPC currently supports Watchdog OR Real Time Clock OR Clocksource
5 functionality.
6
7 [See: ../rtc/rtc-st-lpc.txt for RTC options]
8 [See: ../timer/st,stih407-lpc for Clocksource options]
9
10 Required properties
11
12 - compatible    : Must be one of: "st,stih407-lpc" "st,stih416-lpc"
13                                   "st,stih415-lpc" "st,stid127-lpc"
14 - reg           : LPC registers base address + size
15 - interrupts    : LPC interrupt line number and associated flags
16 - clocks        : Clock used by LPC device (See: ../clock/clock-bindings.txt)
17 - st,lpc-mode   : The LPC can run either one of three modes:
18                   ST_LPC_MODE_RTC    [0]
19                   ST_LPC_MODE_WDT    [1]
20                   ST_LPC_MODE_CLKSRC [2]
21                  One (and only one) mode must be selected.
22
23 Required properties [watchdog mode]
24
25 - st,syscfg     : Phandle to syscfg node used to enable watchdog and configure
26                   CPU reset type.
27 - timeout-sec   : Watchdog timeout in seconds
28
29 Optional properties [watchdog mode]
30
31 - st,warm-reset : If present reset type will be 'warm' - if not it will be cold
32
33 Example:
34         lpc@fde05000 {
35                 compatible      = "st,stih407-lpc";
36                 reg             = <0xfde05000 0x1000>;
37                 clocks          = <&clk_s_d3_flexgen CLK_LPC_0>;
38                 st,syscfg       = <&syscfg_core>;
39                 timeout-sec     = <120>;
40                 st,lpc-mode     = <ST_LPC_MODE_WDT>;
41                 st,warm-reset;
42         };