Back to home page

OSCL-LXR

 
 

    


0001 * Amlogic Meson6, Meson8, Meson8b and Meson8m2 RTC
0002 
0003 Required properties:
0004 - compatible: should be one of the following describing the hardware:
0005         * "amlogic,meson6-rtc"
0006         * "amlogic,meson8-rtc"
0007         * "amlogic,meson8b-rtc"
0008         * "amlogic,meson8m2-rtc"
0009 
0010 - reg: physical register space for the controller's memory mapped registers.
0011 - interrupts: the interrupt line of the RTC block.
0012 - clocks: reference to the external 32.768kHz crystal oscillator.
0013 - vdd-supply: reference to the power supply of the RTC block.
0014 - resets: reset controller reference to allow reset of the controller
0015 
0016 Optional properties for the battery-backed non-volatile memory:
0017 - #address-cells: should be 1 to address the battery-backed non-volatile memory
0018 - #size-cells: should be 1 to reference the battery-backed non-volatile memory
0019 
0020 Optional child nodes:
0021 - see ../nvmem/nvmem.txt
0022 
0023 Example:
0024 
0025         rtc: rtc@740 {
0026                 compatible = "amlogic,meson6-rtc";
0027                 reg = <0x740 0x14>;
0028                 interrupts = <GIC_SPI 72 IRQ_TYPE_EDGE_RISING>;
0029                 clocks = <&rtc32k_xtal>;
0030                 vdd-supply = <&rtc_vdd>;
0031                 resets = <&reset RESET_RTC>;
0032 
0033                 #address-cells = <1>;
0034                 #size-cells = <1>;
0035         };