Back to home page

OSCL-LXR

 
 

    


0001 * APM X-Gene Real Time Clock
0002 
0003 RTC controller for the APM X-Gene Real Time Clock
0004 
0005 Required properties:
0006 - compatible : Should be "apm,xgene-rtc"
0007 - reg: physical base address of the controller and length of memory mapped
0008   region.
0009 - interrupts: IRQ line for the RTC.
0010 - #clock-cells: Should be 1.
0011 - clocks: Reference to the clock entry.
0012 
0013 Example:
0014 
0015 rtcclk: rtcclk {
0016         compatible = "fixed-clock";
0017         #clock-cells = <1>;
0018         clock-frequency = <100000000>;
0019         clock-output-names = "rtcclk";
0020 };
0021 
0022 rtc: rtc@10510000 {
0023         compatible = "apm,xgene-rtc";
0024         reg = <0x0 0x10510000 0x0 0x400>;
0025         interrupts = <0x0 0x46 0x4>;
0026         #clock-cells = <1>;
0027         clocks = <&rtcclk 0>;
0028 };