162306a36Sopenharmony_ciSTMicroelectronics Low Power Controller (LPC) - Clocksource
262306a36Sopenharmony_ci===========================================================
362306a36Sopenharmony_ci
462306a36Sopenharmony_ciLPC currently supports Watchdog OR Real Time Clock OR Clocksource
562306a36Sopenharmony_cifunctionality.
662306a36Sopenharmony_ci
762306a36Sopenharmony_ci[See: ../watchdog/st_lpc_wdt.txt for Watchdog options]
862306a36Sopenharmony_ci[See: ../rtc/rtc-st-lpc.txt for RTC options]
962306a36Sopenharmony_ci
1062306a36Sopenharmony_ciRequired properties
1162306a36Sopenharmony_ci
1262306a36Sopenharmony_ci- compatible   : Must be: "st,stih407-lpc"
1362306a36Sopenharmony_ci- reg          : LPC registers base address + size
1462306a36Sopenharmony_ci- interrupts   : LPC interrupt line number and associated flags
1562306a36Sopenharmony_ci- clocks       : Clock used by LPC device (See: ../clock/clock-bindings.txt)
1662306a36Sopenharmony_ci- st,lpc-mode  : The LPC can run either one of three modes:
1762306a36Sopenharmony_ci                  ST_LPC_MODE_RTC    [0]
1862306a36Sopenharmony_ci                  ST_LPC_MODE_WDT    [1]
1962306a36Sopenharmony_ci                  ST_LPC_MODE_CLKSRC [2]
2062306a36Sopenharmony_ci		 One (and only one) mode must be selected.
2162306a36Sopenharmony_ci
2262306a36Sopenharmony_ciExample:
2362306a36Sopenharmony_ci       lpc@fde05000 {
2462306a36Sopenharmony_ci               compatible      = "st,stih407-lpc";
2562306a36Sopenharmony_ci               reg             = <0xfde05000 0x1000>;
2662306a36Sopenharmony_ci               clocks          = <&clk_s_d3_flexgen CLK_LPC_0>;
2762306a36Sopenharmony_ci               st,lpc-mode     = <ST_LPC_MODE_CLKSRC>;
2862306a36Sopenharmony_ci       };
29