1 STMicroelectronics Low Power Controller (LPC) 1 STMicroelectronics Low Power Controller (LPC) - Clocksource 2 ============================================== 2 =========================================================== 3 3 4 LPC currently supports Watchdog OR Real Time C 4 LPC currently supports Watchdog OR Real Time Clock OR Clocksource 5 functionality. 5 functionality. 6 6 7 [See: ../watchdog/st_lpc_wdt.txt for Watchdog 7 [See: ../watchdog/st_lpc_wdt.txt for Watchdog options] 8 [See: ../rtc/rtc-st-lpc.txt for RTC options] 8 [See: ../rtc/rtc-st-lpc.txt for RTC options] 9 9 10 Required properties 10 Required properties 11 11 12 - compatible : Must be: "st,stih407-lpc" 12 - compatible : Must be: "st,stih407-lpc" 13 - reg : LPC registers base address + 13 - reg : LPC registers base address + size 14 - interrupts : LPC interrupt line number and 14 - interrupts : LPC interrupt line number and associated flags 15 - clocks : Clock used by LPC device (See 15 - clocks : Clock used by LPC device (See: ../clock/clock-bindings.txt) 16 - st,lpc-mode : The LPC can run either one of 16 - st,lpc-mode : The LPC can run either one of three modes: 17 ST_LPC_MODE_RTC [0] 17 ST_LPC_MODE_RTC [0] 18 ST_LPC_MODE_WDT [1] 18 ST_LPC_MODE_WDT [1] 19 ST_LPC_MODE_CLKSRC [2] 19 ST_LPC_MODE_CLKSRC [2] 20 One (and only one) mode must 20 One (and only one) mode must be selected. 21 21 22 Example: 22 Example: 23 lpc@fde05000 { 23 lpc@fde05000 { 24 compatible = "st,stih407-l 24 compatible = "st,stih407-lpc"; 25 reg = <0xfde05000 0 25 reg = <0xfde05000 0x1000>; 26 clocks = <&clk_s_d3_fl 26 clocks = <&clk_s_d3_flexgen CLK_LPC_0>; 27 st,lpc-mode = <ST_LPC_MODE_ 27 st,lpc-mode = <ST_LPC_MODE_CLKSRC>; 28 }; 28 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.