]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blame - Documentation/devicetree/bindings/rtc/sun6i-rtc.txt
Merge tag 'perf-urgent-for-mingo-4.14-20170928' of git://git.kernel.org/pub/scm/linux...
[mirror_ubuntu-bionic-kernel.git] / Documentation / devicetree / bindings / rtc / sun6i-rtc.txt
CommitLineData
9765d2d9
CYT
1* sun6i Real Time Clock
2
3RTC controller for the Allwinner A31
4
5Required properties:
6- compatible : Should be "allwinner,sun6i-a31-rtc"
7- reg : physical base address of the controller and length of
8 memory mapped region.
9- interrupts : IRQ lines for the RTC alarm 0 and alarm 1, in that order.
10
3855c2c3
MR
11Required properties for new device trees
12- clocks : phandle to the 32kHz external oscillator
17ecd246 13- clock-output-names : names of the LOSC and its external output clocks created
3855c2c3
MR
14- #clock-cells : must be equals to 1. The RTC provides two clocks: the
15 LOSC and its external output, with index 0 and 1
16 respectively.
17
9765d2d9
CYT
18Example:
19
20rtc: rtc@01f00000 {
21 compatible = "allwinner,sun6i-a31-rtc";
22 reg = <0x01f00000 0x54>;
23 interrupts = <0 40 4>, <0 41 4>;
17ecd246 24 clock-output-names = "osc32k", "osc32k-out";
3855c2c3
MR
25 clocks = <&ext_osc32k>;
26 #clock-cells = <1>;
9765d2d9 27};