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