xref: /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/rtc/alphascale,asm9260-rtc.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun* Alphascale asm9260 SoC Real Time Clock
2*4882a593Smuzhiyun
3*4882a593SmuzhiyunRequired properties:
4*4882a593Smuzhiyun- compatible: Should be "alphascale,asm9260-rtc"
5*4882a593Smuzhiyun- reg: Physical base address of the controller and length
6*4882a593Smuzhiyun       of memory mapped region.
7*4882a593Smuzhiyun- interrupts: IRQ line for the RTC.
8*4882a593Smuzhiyun- clocks: Reference to the clock entry.
9*4882a593Smuzhiyun- clock-names: should contain:
10*4882a593Smuzhiyun  * "ahb" for the SoC RTC clock
11*4882a593Smuzhiyun
12*4882a593SmuzhiyunExample:
13*4882a593Smuzhiyunrtc0: rtc@800a0000 {
14*4882a593Smuzhiyun	compatible = "alphascale,asm9260-rtc";
15*4882a593Smuzhiyun	reg = <0x800a0000 0x100>;
16*4882a593Smuzhiyun	clocks = <&acc CLKID_AHB_RTC>;
17*4882a593Smuzhiyun	clock-names = "ahb";
18*4882a593Smuzhiyun	interrupts = <2>;
19*4882a593Smuzhiyun};
20