rtc-cmos.txt 810 B

123456789101112131415161718192021222324252627
  1. Motorola mc146818 compatible RTC
  2. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3. Required properties:
  4. - compatible : "motorola,mc146818"
  5. - reg : should contain registers location and length.
  6. Optional properties:
  7. - interrupts : should contain interrupt.
  8. - ctrl-reg : Contains the initial value of the control register also
  9. called "Register B".
  10. - freq-reg : Contains the initial value of the frequency register also
  11. called "Register A".
  12. "Register A" and "B" are usually initialized by the firmware (BIOS for
  13. instance). If this is not done, it can be performed by the driver.
  14. ISA Example:
  15. rtc@70 {
  16. compatible = "motorola,mc146818";
  17. interrupts = <8 3>;
  18. interrupt-parent = <&ioapic1>;
  19. ctrl-reg = <2>;
  20. freq-reg = <0x26>;
  21. reg = <1 0x70 2>;
  22. };