xref: /freebsd/sys/contrib/device-tree/Bindings/rtc/xgene-rtc.txt (revision 5ca8e32633c4ffbbcd6762e5888b6a4ba0708c6c)
1* APM X-Gene Real Time Clock
2
3RTC controller for the APM X-Gene Real Time Clock
4
5Required 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
13Example:
14
15rtcclk: rtcclk {
16	compatible = "fixed-clock";
17	#clock-cells = <1>;
18	clock-frequency = <100000000>;
19	clock-output-names = "rtcclk";
20};
21
22rtc: 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};
29