xref: /linux/Documentation/devicetree/bindings/timer/st,stih407-lpc (revision e5451c8f8330e03ad3cfa16048b4daf961af434f)
1*bea6356cSLee JonesSTMicroelectronics Low Power Controller (LPC) - Clocksource
2*bea6356cSLee Jones===========================================================
3*bea6356cSLee Jones
4*bea6356cSLee JonesLPC currently supports Watchdog OR Real Time Clock OR Clocksource
5*bea6356cSLee Jonesfunctionality.
6*bea6356cSLee Jones
7*bea6356cSLee Jones[See: ../watchdog/st_lpc_wdt.txt for Watchdog options]
8*bea6356cSLee Jones[See: ../rtc/rtc-st-lpc.txt for RTC options]
9*bea6356cSLee Jones
10*bea6356cSLee JonesRequired properties
11*bea6356cSLee Jones
12*bea6356cSLee Jones- compatible   : Must be: "st,stih407-lpc"
13*bea6356cSLee Jones- reg          : LPC registers base address + size
14*bea6356cSLee Jones- interrupts   : LPC interrupt line number and associated flags
15*bea6356cSLee Jones- clocks       : Clock used by LPC device (See: ../clock/clock-bindings.txt)
16*bea6356cSLee Jones- st,lpc-mode  : The LPC can run either one of three modes:
17*bea6356cSLee Jones                  ST_LPC_MODE_RTC    [0]
18*bea6356cSLee Jones                  ST_LPC_MODE_WDT    [1]
19*bea6356cSLee Jones                  ST_LPC_MODE_CLKSRC [2]
20*bea6356cSLee Jones		 One (and only one) mode must be selected.
21*bea6356cSLee Jones
22*bea6356cSLee JonesExample:
23*bea6356cSLee Jones       lpc@fde05000 {
24*bea6356cSLee Jones               compatible      = "st,stih407-lpc";
25*bea6356cSLee Jones               reg             = <0xfde05000 0x1000>;
26*bea6356cSLee Jones               clocks          = <&clk_s_d3_flexgen CLK_LPC_0>;
27*bea6356cSLee Jones               st,lpc-mode     = <ST_LPC_MODE_CLKSRC>;
28*bea6356cSLee Jones       };
29