Back to home page

OSCL-LXR

 
 

    


0001  Motorola mc146818 compatible RTC
0002 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
0003 
0004 Required properties:
0005   - compatible : "motorola,mc146818"
0006   - reg : should contain registers location and length.
0007 
0008 Optional properties:
0009   - interrupts : should contain interrupt.
0010   - ctrl-reg : Contains the initial value of the control register also
0011     called "Register B".
0012   - freq-reg : Contains the initial value of the frequency register also
0013     called "Regsiter A".
0014 
0015 "Register A" and "B" are usually initialized by the firmware (BIOS for
0016 instance). If this is not done, it can be performed by the driver.
0017 
0018 ISA Example:
0019 
0020         rtc@70 {
0021                  compatible = "motorola,mc146818";
0022                  interrupts = <8 3>;
0023                  interrupt-parent = <&ioapic1>;
0024                  ctrl-reg = <2>;
0025                  freq-reg = <0x26>;
0026                  reg = <1 0x70 2>;
0027          };