0001 TI Real Time Clock
0002
0003 Required properties:
0004 - compatible:
0005 - "ti,da830-rtc" - for RTC IP used similar to that on DA8xx SoC family.
0006 - "ti,am3352-rtc" - for RTC IP used similar to that on AM335x SoC family.
0007 This RTC IP has special WAKE-EN Register to enable
0008 Wakeup generation for event Alarm. It can also be
0009 used to control an external PMIC via the
0010 pmic_power_en pin.
0011 - "ti,am4372-rtc" - for RTC IP used similar to that on AM437X SoC family.
0012 - reg: Address range of rtc register set
0013 - interrupts: rtc timer, alarm interrupts in order
0014
0015 Optional properties:
0016 - system-power-controller: whether the rtc is controlling the system power
0017 through pmic_power_en
0018 - clocks: Any internal or external clocks feeding in to rtc
0019 - clock-names: Corresponding names of the clocks
0020 - pinctrl-0: a phandle pointing to the pin settings for the device
0021 - pinctrl-names: should be "default"
0022
0023 Optional subnodes:
0024 - generic pinctrl node
0025
0026 Required pinctrl subnodes properties:
0027 - pins - Names of ext_wakeup pins to configure
0028
0029 Optional pinctrl subnodes properties:
0030 - input-enable - Enables ext_wakeup
0031 - ti,active-high - Set input active high (by default active low)
0032
0033 Example:
0034
0035 rtc@1c23000 {
0036 compatible = "ti,da830-rtc";
0037 reg = <0x23000 0x1000>;
0038 interrupts = <19
0039 19>;
0040 interrupt-parent = <&intc>;
0041 system-power-controller;
0042 clocks = <&clk_32k_rtc>, <&clk_32768_ck>;
0043 clock-names = "ext-clk", "int-clk";
0044
0045 pinctrl-0 = <&ext_wakeup>;
0046 pinctrl-names = "default";
0047
0048 ext_wakeup: ext-wakeup {
0049 pins = "ext_wakeup0";
0050 input-enable;
0051 ti,active-high;
0052 };
0053 };