1*4882a593SmuzhiyunTI Real Time Clock 2*4882a593Smuzhiyun 3*4882a593SmuzhiyunRequired properties: 4*4882a593Smuzhiyun- compatible: 5*4882a593Smuzhiyun - "ti,da830-rtc" - for RTC IP used similar to that on DA8xx SoC family. 6*4882a593Smuzhiyun - "ti,am3352-rtc" - for RTC IP used similar to that on AM335x SoC family. 7*4882a593Smuzhiyun This RTC IP has special WAKE-EN Register to enable 8*4882a593Smuzhiyun Wakeup generation for event Alarm. It can also be 9*4882a593Smuzhiyun used to control an external PMIC via the 10*4882a593Smuzhiyun pmic_power_en pin. 11*4882a593Smuzhiyun - "ti,am4372-rtc" - for RTC IP used similar to that on AM437X SoC family. 12*4882a593Smuzhiyun- reg: Address range of rtc register set 13*4882a593Smuzhiyun- interrupts: rtc timer, alarm interrupts in order 14*4882a593Smuzhiyun 15*4882a593SmuzhiyunOptional properties: 16*4882a593Smuzhiyun- system-power-controller: whether the rtc is controlling the system power 17*4882a593Smuzhiyun through pmic_power_en 18*4882a593Smuzhiyun- clocks: Any internal or external clocks feeding in to rtc 19*4882a593Smuzhiyun- clock-names: Corresponding names of the clocks 20*4882a593Smuzhiyun- pinctrl-0: a phandle pointing to the pin settings for the device 21*4882a593Smuzhiyun- pinctrl-names: should be "default" 22*4882a593Smuzhiyun 23*4882a593SmuzhiyunOptional subnodes: 24*4882a593Smuzhiyun- generic pinctrl node 25*4882a593Smuzhiyun 26*4882a593SmuzhiyunRequired pinctrl subnodes properties: 27*4882a593Smuzhiyun- pins - Names of ext_wakeup pins to configure 28*4882a593Smuzhiyun 29*4882a593SmuzhiyunOptional pinctrl subnodes properties: 30*4882a593Smuzhiyun- input-enable - Enables ext_wakeup 31*4882a593Smuzhiyun- ti,active-high - Set input active high (by default active low) 32*4882a593Smuzhiyun 33*4882a593SmuzhiyunExample: 34*4882a593Smuzhiyun 35*4882a593Smuzhiyunrtc@1c23000 { 36*4882a593Smuzhiyun compatible = "ti,da830-rtc"; 37*4882a593Smuzhiyun reg = <0x23000 0x1000>; 38*4882a593Smuzhiyun interrupts = <19 39*4882a593Smuzhiyun 19>; 40*4882a593Smuzhiyun interrupt-parent = <&intc>; 41*4882a593Smuzhiyun system-power-controller; 42*4882a593Smuzhiyun clocks = <&clk_32k_rtc>, <&clk_32768_ck>; 43*4882a593Smuzhiyun clock-names = "ext-clk", "int-clk"; 44*4882a593Smuzhiyun 45*4882a593Smuzhiyun pinctrl-0 = <&ext_wakeup>; 46*4882a593Smuzhiyun pinctrl-names = "default"; 47*4882a593Smuzhiyun 48*4882a593Smuzhiyun ext_wakeup: ext-wakeup { 49*4882a593Smuzhiyun pins = "ext_wakeup0"; 50*4882a593Smuzhiyun input-enable; 51*4882a593Smuzhiyun ti,active-high; 52*4882a593Smuzhiyun }; 53*4882a593Smuzhiyun}; 54