Back to home page

OSCL-LXR

 
 

    


0001 Device-Tree bindings for MediaTek SoC based RTC
0002 
0003 Required properties:
0004 - compatible        : Should be
0005                         "mediatek,mt7622-rtc", "mediatek,soc-rtc" : for MT7622 SoC
0006 - reg               : Specifies base physical address and size of the registers;
0007 - interrupts        : Should contain the interrupt for RTC alarm;
0008 - clocks            : Specifies list of clock specifiers, corresponding to
0009                       entries in clock-names property;
0010 - clock-names       : Should contain "rtc" entries
0011 
0012 Example:
0013 
0014 rtc: rtc@10212800 {
0015         compatible = "mediatek,mt7622-rtc",
0016                      "mediatek,soc-rtc";
0017         reg = <0 0x10212800 0 0x200>;
0018         interrupts = <GIC_SPI 129 IRQ_TYPE_LEVEL_LOW>;
0019         clocks = <&topckgen CLK_TOP_RTC>;
0020         clock-names = "rtc";
0021 };