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