Back to home page

OSCL-LXR

 
 

    


0001 Cadence Real Time Clock
0002 
0003 The Cadence RTC controller with date, time and alarm capabilities.
0004 The alarm may wake the system from low-power state.
0005 
0006 Required properties:
0007 - compatible: Should be "cdns,rtc-r109v3"
0008 - reg: Specifies base physical address and size of the register area.
0009 - interrupts: A single interrupt specifier.
0010 - clocks: Must contain two entries:
0011         - pclk: APB registers clock
0012         - ref_clk: reference 1Hz or 100Hz clock, depending on IP configuration
0013         See ../clocks/clock-bindings.txt for details.
0014 
0015 Example:
0016         rtc0: rtc@fd080000 {
0017                 compatible = "cdns,rtc-r109v3";
0018                 reg = <0xfd080000 0x1000>;
0019 
0020                 clock-names = "pclk", "ref_clk";
0021                 clocks = <&sysclock>, <&refclock>;
0022 
0023                 interrupt-parent = <&gic>;
0024                 interrupts = <0 6 IRQ_TYPE_LEVEL_HIGH>;
0025         };