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

devicetree: bindings: rtc: add bindings for xilinx zynqmp rtc

adds file for description on device node bindings for RTC
found on Xilinx Zynq Ultrascale+ MPSoC.

Signed-off-by: Suneel Garapati <suneel.garapati@xilinx.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>

authored by

Suneel Garapati and committed by
Alexandre Belloni
12ece40d a038c3aa

+25
+25
Documentation/devicetree/bindings/rtc/xlnx-rtc.txt
··· 1 + * Xilinx Zynq Ultrascale+ MPSoC Real Time Clock 2 + 3 + RTC controller for the Xilinx Zynq MPSoC Real Time Clock 4 + Separate IRQ lines for seconds and alarm 5 + 6 + Required properties: 7 + - compatible: Should be "xlnx,zynqmp-rtc" 8 + - reg: Physical base address of the controller and length 9 + of memory mapped region. 10 + - interrupts: IRQ lines for the RTC. 11 + - interrupt-names: interrupt line names eg. "sec" "alarm" 12 + 13 + Optional: 14 + - calibration: calibration value for 1 sec period which will 15 + be programmed directly to calibration register 16 + 17 + Example: 18 + rtc: rtc@ffa60000 { 19 + compatible = "xlnx,zynqmp-rtc"; 20 + reg = <0x0 0xffa60000 0x100>; 21 + interrupt-parent = <&gic>; 22 + interrupts = <0 26 4>, <0 27 4>; 23 + interrupt-names = "alarm", "sec"; 24 + calibration = <0x198233>; 25 + };