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