1*c66ec88fSEmmanuel Vadot* Amlogic Meson6, Meson8, Meson8b and Meson8m2 RTC 2*c66ec88fSEmmanuel Vadot 3*c66ec88fSEmmanuel VadotRequired properties: 4*c66ec88fSEmmanuel Vadot- compatible: should be one of the following describing the hardware: 5*c66ec88fSEmmanuel Vadot * "amlogic,meson6-rtc" 6*c66ec88fSEmmanuel Vadot * "amlogic,meson8-rtc" 7*c66ec88fSEmmanuel Vadot * "amlogic,meson8b-rtc" 8*c66ec88fSEmmanuel Vadot * "amlogic,meson8m2-rtc" 9*c66ec88fSEmmanuel Vadot 10*c66ec88fSEmmanuel Vadot- reg: physical register space for the controller's memory mapped registers. 11*c66ec88fSEmmanuel Vadot- interrupts: the interrupt line of the RTC block. 12*c66ec88fSEmmanuel Vadot- clocks: reference to the external 32.768kHz crystal oscillator. 13*c66ec88fSEmmanuel Vadot- vdd-supply: reference to the power supply of the RTC block. 14*c66ec88fSEmmanuel Vadot- resets: reset controller reference to allow reset of the controller 15*c66ec88fSEmmanuel Vadot 16*c66ec88fSEmmanuel VadotOptional properties for the battery-backed non-volatile memory: 17*c66ec88fSEmmanuel Vadot- #address-cells: should be 1 to address the battery-backed non-volatile memory 18*c66ec88fSEmmanuel Vadot- #size-cells: should be 1 to reference the battery-backed non-volatile memory 19*c66ec88fSEmmanuel Vadot 20*c66ec88fSEmmanuel VadotOptional child nodes: 21*c66ec88fSEmmanuel Vadot- see ../nvmem/nvmem.txt 22*c66ec88fSEmmanuel Vadot 23*c66ec88fSEmmanuel VadotExample: 24*c66ec88fSEmmanuel Vadot 25*c66ec88fSEmmanuel Vadot rtc: rtc@740 { 26*c66ec88fSEmmanuel Vadot compatible = "amlogic,meson6-rtc"; 27*c66ec88fSEmmanuel Vadot reg = <0x740 0x14>; 28*c66ec88fSEmmanuel Vadot interrupts = <GIC_SPI 72 IRQ_TYPE_EDGE_RISING>; 29*c66ec88fSEmmanuel Vadot clocks = <&rtc32k_xtal>; 30*c66ec88fSEmmanuel Vadot vdd-supply = <&rtc_vdd>; 31*c66ec88fSEmmanuel Vadot resets = <&reset RESET_RTC>; 32*c66ec88fSEmmanuel Vadot 33*c66ec88fSEmmanuel Vadot #address-cells = <1>; 34*c66ec88fSEmmanuel Vadot #size-cells = <1>; 35*c66ec88fSEmmanuel Vadot }; 36