18c2ecf20Sopenharmony_ci* Amlogic Meson6, Meson8, Meson8b and Meson8m2 RTC
28c2ecf20Sopenharmony_ci
38c2ecf20Sopenharmony_ciRequired properties:
48c2ecf20Sopenharmony_ci- compatible: should be one of the following describing the hardware:
58c2ecf20Sopenharmony_ci	* "amlogic,meson6-rtc"
68c2ecf20Sopenharmony_ci	* "amlogic,meson8-rtc"
78c2ecf20Sopenharmony_ci	* "amlogic,meson8b-rtc"
88c2ecf20Sopenharmony_ci	* "amlogic,meson8m2-rtc"
98c2ecf20Sopenharmony_ci
108c2ecf20Sopenharmony_ci- reg: physical register space for the controller's memory mapped registers.
118c2ecf20Sopenharmony_ci- interrupts: the interrupt line of the RTC block.
128c2ecf20Sopenharmony_ci- clocks: reference to the external 32.768kHz crystal oscillator.
138c2ecf20Sopenharmony_ci- vdd-supply: reference to the power supply of the RTC block.
148c2ecf20Sopenharmony_ci- resets: reset controller reference to allow reset of the controller
158c2ecf20Sopenharmony_ci
168c2ecf20Sopenharmony_ciOptional properties for the battery-backed non-volatile memory:
178c2ecf20Sopenharmony_ci- #address-cells: should be 1 to address the battery-backed non-volatile memory
188c2ecf20Sopenharmony_ci- #size-cells: should be 1 to reference the battery-backed non-volatile memory
198c2ecf20Sopenharmony_ci
208c2ecf20Sopenharmony_ciOptional child nodes:
218c2ecf20Sopenharmony_ci- see ../nvmem/nvmem.txt
228c2ecf20Sopenharmony_ci
238c2ecf20Sopenharmony_ciExample:
248c2ecf20Sopenharmony_ci
258c2ecf20Sopenharmony_ci	rtc: rtc@740 {
268c2ecf20Sopenharmony_ci		compatible = "amlogic,meson6-rtc";
278c2ecf20Sopenharmony_ci		reg = <0x740 0x14>;
288c2ecf20Sopenharmony_ci		interrupts = <GIC_SPI 72 IRQ_TYPE_EDGE_RISING>;
298c2ecf20Sopenharmony_ci		clocks = <&rtc32k_xtal>;
308c2ecf20Sopenharmony_ci		vdd-supply = <&rtc_vdd>;
318c2ecf20Sopenharmony_ci		resets = <&reset RESET_RTC>;
328c2ecf20Sopenharmony_ci
338c2ecf20Sopenharmony_ci		#address-cells = <1>;
348c2ecf20Sopenharmony_ci		#size-cells = <1>;
358c2ecf20Sopenharmony_ci	};
36