18c2ecf20Sopenharmony_ciSTMicroelectronics Low Power Controller (LPC) - Clocksource
28c2ecf20Sopenharmony_ci===========================================================
38c2ecf20Sopenharmony_ci
48c2ecf20Sopenharmony_ciLPC currently supports Watchdog OR Real Time Clock OR Clocksource
58c2ecf20Sopenharmony_cifunctionality.
68c2ecf20Sopenharmony_ci
78c2ecf20Sopenharmony_ci[See: ../watchdog/st_lpc_wdt.txt for Watchdog options]
88c2ecf20Sopenharmony_ci[See: ../rtc/rtc-st-lpc.txt for RTC options]
98c2ecf20Sopenharmony_ci
108c2ecf20Sopenharmony_ciRequired properties
118c2ecf20Sopenharmony_ci
128c2ecf20Sopenharmony_ci- compatible   : Must be: "st,stih407-lpc"
138c2ecf20Sopenharmony_ci- reg          : LPC registers base address + size
148c2ecf20Sopenharmony_ci- interrupts   : LPC interrupt line number and associated flags
158c2ecf20Sopenharmony_ci- clocks       : Clock used by LPC device (See: ../clock/clock-bindings.txt)
168c2ecf20Sopenharmony_ci- st,lpc-mode  : The LPC can run either one of three modes:
178c2ecf20Sopenharmony_ci                  ST_LPC_MODE_RTC    [0]
188c2ecf20Sopenharmony_ci                  ST_LPC_MODE_WDT    [1]
198c2ecf20Sopenharmony_ci                  ST_LPC_MODE_CLKSRC [2]
208c2ecf20Sopenharmony_ci		 One (and only one) mode must be selected.
218c2ecf20Sopenharmony_ci
228c2ecf20Sopenharmony_ciExample:
238c2ecf20Sopenharmony_ci       lpc@fde05000 {
248c2ecf20Sopenharmony_ci               compatible      = "st,stih407-lpc";
258c2ecf20Sopenharmony_ci               reg             = <0xfde05000 0x1000>;
268c2ecf20Sopenharmony_ci               clocks          = <&clk_s_d3_flexgen CLK_LPC_0>;
278c2ecf20Sopenharmony_ci               st,lpc-mode     = <ST_LPC_MODE_CLKSRC>;
288c2ecf20Sopenharmony_ci       };
29