rtc-mt7622.txt 689 B

123456789101112131415161718192021
  1. Device-Tree bindings for MediaTek SoC based RTC
  2. Required properties:
  3. - compatible : Should be
  4. "mediatek,mt7622-rtc", "mediatek,soc-rtc" : for MT7622 SoC
  5. - reg : Specifies base physical address and size of the registers;
  6. - interrupts : Should contain the interrupt for RTC alarm;
  7. - clocks : Specifies list of clock specifiers, corresponding to
  8. entries in clock-names property;
  9. - clock-names : Should contain "rtc" entries
  10. Example:
  11. rtc: rtc@10212800 {
  12. compatible = "mediatek,mt7622-rtc",
  13. "mediatek,soc-rtc";
  14. reg = <0 0x10212800 0 0x200>;
  15. interrupts = <GIC_SPI 129 IRQ_TYPE_LEVEL_LOW>;
  16. clocks = <&topckgen CLK_TOP_RTC>;
  17. clock-names = "rtc";
  18. };