162306a36Sopenharmony_ciTI Real Time Clock
262306a36Sopenharmony_ci
362306a36Sopenharmony_ciRequired properties:
462306a36Sopenharmony_ci- compatible:
562306a36Sopenharmony_ci	- "ti,da830-rtc"  - for RTC IP used similar to that on DA8xx SoC family.
662306a36Sopenharmony_ci	- "ti,am3352-rtc" - for RTC IP used similar to that on AM335x SoC family.
762306a36Sopenharmony_ci			    This RTC IP has special WAKE-EN Register to enable
862306a36Sopenharmony_ci			    Wakeup generation for event Alarm. It can also be
962306a36Sopenharmony_ci			    used to control an external PMIC via the
1062306a36Sopenharmony_ci			    pmic_power_en pin.
1162306a36Sopenharmony_ci	- "ti,am4372-rtc" - for RTC IP used similar to that on AM437X SoC family.
1262306a36Sopenharmony_ci- reg: Address range of rtc register set
1362306a36Sopenharmony_ci- interrupts: rtc timer, alarm interrupts in order
1462306a36Sopenharmony_ci
1562306a36Sopenharmony_ciOptional properties:
1662306a36Sopenharmony_ci- system-power-controller: whether the rtc is controlling the system power
1762306a36Sopenharmony_ci  through pmic_power_en
1862306a36Sopenharmony_ci- clocks: Any internal or external clocks feeding in to rtc
1962306a36Sopenharmony_ci- clock-names: Corresponding names of the clocks
2062306a36Sopenharmony_ci- pinctrl-0: a phandle pointing to the pin settings for the device
2162306a36Sopenharmony_ci- pinctrl-names: should be "default"
2262306a36Sopenharmony_ci
2362306a36Sopenharmony_ciOptional subnodes:
2462306a36Sopenharmony_ci- generic pinctrl node
2562306a36Sopenharmony_ci
2662306a36Sopenharmony_ciRequired pinctrl subnodes properties:
2762306a36Sopenharmony_ci- pins - Names of ext_wakeup pins to configure
2862306a36Sopenharmony_ci
2962306a36Sopenharmony_ciOptional pinctrl subnodes properties:
3062306a36Sopenharmony_ci- input-enable - Enables ext_wakeup
3162306a36Sopenharmony_ci- ti,active-high - Set input active high (by default active low)
3262306a36Sopenharmony_ci
3362306a36Sopenharmony_ciExample:
3462306a36Sopenharmony_ci
3562306a36Sopenharmony_cirtc@1c23000 {
3662306a36Sopenharmony_ci	compatible = "ti,da830-rtc";
3762306a36Sopenharmony_ci	reg = <0x23000 0x1000>;
3862306a36Sopenharmony_ci	interrupts = <19
3962306a36Sopenharmony_ci		      19>;
4062306a36Sopenharmony_ci	interrupt-parent = <&intc>;
4162306a36Sopenharmony_ci	system-power-controller;
4262306a36Sopenharmony_ci	clocks = <&clk_32k_rtc>, <&clk_32768_ck>;
4362306a36Sopenharmony_ci	clock-names = "ext-clk", "int-clk";
4462306a36Sopenharmony_ci
4562306a36Sopenharmony_ci	pinctrl-0 = <&ext_wakeup>;
4662306a36Sopenharmony_ci	pinctrl-names = "default";
4762306a36Sopenharmony_ci
4862306a36Sopenharmony_ci	ext_wakeup: ext-wakeup {
4962306a36Sopenharmony_ci		pins = "ext_wakeup0";
5062306a36Sopenharmony_ci		input-enable;
5162306a36Sopenharmony_ci		ti,active-high;
5262306a36Sopenharmony_ci	};
5362306a36Sopenharmony_ci};
54