1JZ4740 and similar SoCs real-time clock driver 2 3Required properties: 4 5- compatible: One of: 6 - "ingenic,jz4740-rtc" - for use with the JZ4740 SoC 7 - "ingenic,jz4780-rtc" - for use with the JZ4780 SoC 8- reg: Address range of rtc register set 9- interrupts: IRQ number for the alarm interrupt 10- clocks: phandle to the "rtc" clock 11- clock-names: must be "rtc" 12 13Optional properties: 14- system-power-controller: To use this component as the 15 system power controller 16- reset-pin-assert-time-ms: Reset pin low-level assertion 17 time after wakeup (default 60ms; range 0-125ms if RTC clock 18 at 32 kHz) 19- min-wakeup-pin-assert-time-ms: Minimum wakeup pin assertion 20 time (default 100ms; range 0-2s if RTC clock at 32 kHz) 21 22Example: 23 24rtc@10003000 { 25 compatible = "ingenic,jz4740-rtc"; 26 reg = <0x10003000 0x40>; 27 28 interrupt-parent = <&intc>; 29 interrupts = <32>; 30 31 clocks = <&rtc_clock>; 32 clock-names = "rtc"; 33 34 system-power-controller; 35 reset-pin-assert-time-ms = <60>; 36 min-wakeup-pin-assert-time-ms = <100>; 37}; 38