Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c74a06dc authored by Lee Jones's avatar Lee Jones
Browse files

rtc: bindings: Supply knowledge of a third supported device - clocksource



Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
parent 742e4097
Loading
Loading
Loading
Loading
+9 −6
Original line number Original line Diff line number Diff line
STMicroelectronics Low Power Controller (LPC) - RTC
STMicroelectronics Low Power Controller (LPC) - RTC
===================================================
===================================================


LPC currently supports Watchdog OR Real Time Clock functionality.
LPC currently supports Watchdog OR Real Time Clock OR Clocksource
functionality.


[See: ../watchdog/st_lpc_wdt.txt for Watchdog options]
[See: ../watchdog/st_lpc_wdt.txt for Watchdog options]
[See: ../timer/st,stih407-lpc for Clocksource options]


Required properties
Required properties


- compatible 	: Must be one of: "st,stih407-lpc" "st,stih416-lpc"
- compatible 	: Must be: "st,stih407-lpc"
				  "st,stih415-lpc" "st,stid127-lpc"
- reg		: LPC registers base address + size
- reg		: LPC registers base address + size
- interrupts    : LPC interrupt line number and associated flags
- interrupts    : LPC interrupt line number and associated flags
- clocks	: Clock used by LPC device (See: ../clock/clock-bindings.txt)
- clocks	: Clock used by LPC device (See: ../clock/clock-bindings.txt)
- st,lpc-mode	: The LPC can run either one of two modes ST_LPC_MODE_RTC [0] or
- st,lpc-mode	: The LPC can run either one of three modes:
		  ST_LPC_MODE_WDT [1].  One (and only one) mode must be
                  ST_LPC_MODE_RTC    [0]
		  selected.
                  ST_LPC_MODE_WDT    [1]
                  ST_LPC_MODE_CLKSRC [2]
		 One (and only one) mode must be selected.


Example:
Example:
	lpc@fde05000 {
	lpc@fde05000 {