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

Documentation/devicetree/bindings: add documentation for the APM X-Gene SoC RTC DTS binding

Signed-off-by: Rameshwar Prasad Sahu <rsahu@apm.com>
Signed-off-by: Loc Ho <lho@apm.com>
Cc: Jon Masters <jcm@redhat.com>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Will Deacon <will.deacon@arm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by

Loc Ho and committed by
Linus Torvalds
c3811711 ee1d9014

+28
+28
Documentation/devicetree/bindings/rtc/xgene-rtc.txt
··· 1 + * APM X-Gene Real Time Clock 2 + 3 + RTC controller for the APM X-Gene Real Time Clock 4 + 5 + Required properties: 6 + - compatible : Should be "apm,xgene-rtc" 7 + - reg: physical base address of the controller and length of memory mapped 8 + region. 9 + - interrupts: IRQ line for the RTC. 10 + - #clock-cells: Should be 1. 11 + - clocks: Reference to the clock entry. 12 + 13 + Example: 14 + 15 + rtcclk: rtcclk { 16 + compatible = "fixed-clock"; 17 + #clock-cells = <1>; 18 + clock-frequency = <100000000>; 19 + clock-output-names = "rtcclk"; 20 + }; 21 + 22 + rtc: rtc@10510000 { 23 + compatible = "apm,xgene-rtc"; 24 + reg = <0x0 0x10510000 0x0 0x400>; 25 + interrupts = <0x0 0x46 0x4>; 26 + #clock-cells = <1>; 27 + clocks = <&rtcclk 0>; 28 + };