Back to home page

OSCL-LXR

 
 

    


0001 STMicroelectronics Low Power Controller (LPC) - RTC
0002 ===================================================
0003 
0004 LPC currently supports Watchdog OR Real Time Clock OR Clocksource
0005 functionality.
0006 
0007 [See: ../watchdog/st_lpc_wdt.txt for Watchdog options]
0008 [See: ../timer/st,stih407-lpc for Clocksource options]
0009 
0010 Required properties
0011 
0012 - compatible    : Must be: "st,stih407-lpc"
0013 - reg           : LPC registers base address + size
0014 - interrupts    : LPC interrupt line number and associated flags
0015 - clocks        : Clock used by LPC device (See: ../clock/clock-bindings.txt)
0016 - st,lpc-mode   : The LPC can run either one of three modes:
0017                   ST_LPC_MODE_RTC    [0]
0018                   ST_LPC_MODE_WDT    [1]
0019                   ST_LPC_MODE_CLKSRC [2]
0020                  One (and only one) mode must be selected.
0021 
0022 Example:
0023         lpc@fde05000 {
0024                 compatible      = "st,stih407-lpc";
0025                 reg             = <0xfde05000 0x1000>;
0026                 clocks          = <&clk_s_d3_flexgen CLK_LPC_0>;
0027                 st,lpc-mode     = <ST_LPC_MODE_RTC>;
0028         };