Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

doc: dt: add documentation for nxp,lpc1788-rtc

Document NXP LPC178x/18xx/408x/43xx bindings

Signed-off-by: Joachim Eastwood <manabian@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>

authored by

Joachim Eastwood and committed by
Alexandre Belloni
dcb9372b 045c6fdd

+21
+21
Documentation/devicetree/bindings/rtc/nxp,lpc1788-rtc.txt
··· 1 + NXP LPC1788 real-time clock 2 + 3 + The LPC1788 RTC provides calendar and clock functionality 4 + together with periodic tick and alarm interrupt support. 5 + 6 + Required properties: 7 + - compatible : must contain "nxp,lpc1788-rtc" 8 + - reg : Specifies base physical address and size of the registers. 9 + - interrupts : A single interrupt specifier. 10 + - clocks : Must contain clock specifiers for rtc and register clock 11 + - clock-names : Must contain "rtc" and "reg" 12 + See ../clocks/clock-bindings.txt for details. 13 + 14 + Example: 15 + rtc: rtc@40046000 { 16 + compatible = "nxp,lpc1788-rtc"; 17 + reg = <0x40046000 0x1000>; 18 + interrupts = <47>; 19 + clocks = <&creg_clk 0>, <&ccu1 CLK_CPU_BUS>; 20 + clock-names = "rtc", "reg"; 21 + };