xref: /linux/Documentation/devicetree/bindings/rtc/cdns,rtc.txt (revision 597473720f4dc69749542bfcfed4a927a43d935e)
1*1e47704eSJan KotasCadence Real Time Clock
2*1e47704eSJan Kotas
3*1e47704eSJan KotasThe Cadence RTC controller with date, time and alarm capabilities.
4*1e47704eSJan KotasThe alarm may wake the system from low-power state.
5*1e47704eSJan Kotas
6*1e47704eSJan KotasRequired properties:
7*1e47704eSJan Kotas- compatible: Should be "cdns,rtc-r109v3"
8*1e47704eSJan Kotas- reg: Specifies base physical address and size of the register area.
9*1e47704eSJan Kotas- interrupts: A single interrupt specifier.
10*1e47704eSJan Kotas- clocks: Must contain two entries:
11*1e47704eSJan Kotas	- pclk: APB registers clock
12*1e47704eSJan Kotas	- ref_clk: reference 1Hz or 100Hz clock, depending on IP configuration
13*1e47704eSJan Kotas	See ../clocks/clock-bindings.txt for details.
14*1e47704eSJan Kotas
15*1e47704eSJan KotasExample:
16*1e47704eSJan Kotas        rtc0: rtc@fd080000 {
17*1e47704eSJan Kotas        	compatible = "cdns,rtc-r109v3";
18*1e47704eSJan Kotas        	reg = <0xfd080000 0x1000>;
19*1e47704eSJan Kotas
20*1e47704eSJan Kotas        	clock-names = "pclk", "ref_clk";
21*1e47704eSJan Kotas        	clocks = <&sysclock>, <&refclock>;
22*1e47704eSJan Kotas
23*1e47704eSJan Kotas        	interrupt-parent = <&gic>;
24*1e47704eSJan Kotas        	interrupts = <0 6 IRQ_TYPE_LEVEL_HIGH>;
25*1e47704eSJan Kotas        };
26