rtc-cmos.txt 859 B

12345678910111213141516171819202122232425262728
  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. - interrupt-parent : interrupt source phandle.
  9. - ctrl-reg : Contains the initial value of the control register also
  10. called "Register B".
  11. - freq-reg : Contains the initial value of the frequency register also
  12. called "Regsiter A".
  13. "Register A" and "B" are usually initialized by the firmware (BIOS for
  14. instance). If this is not done, it can be performed by the driver.
  15. ISA Example:
  16. rtc@70 {
  17. compatible = "motorola,mc146818";
  18. interrupts = <8 3>;
  19. interrupt-parent = <&ioapic1>;
  20. ctrl-reg = <2>;
  21. freq-reg = <0x26>;
  22. reg = <1 0x70 2>;
  23. };