mirror of
https://github.com/torvalds/linux.git
synced 2024-12-24 20:01:55 +00:00
fff51e771e
rtc can either be supplied from internal 32k clock or external crystal generated 32k clock. Internal clock is SOC specific and the external clock is board dependent. Adding the corresponding nodes. Signed-off-by: Keerthy <j-keerthy@ti.com> Acked-by: Tony Lindgren <tony@atomide.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
34 lines
1.1 KiB
Plaintext
34 lines
1.1 KiB
Plaintext
TI Real Time Clock
|
|
|
|
Required properties:
|
|
- compatible:
|
|
- "ti,da830-rtc" - for RTC IP used similar to that on DA8xx SoC family.
|
|
- "ti,am3352-rtc" - for RTC IP used similar to that on AM335x SoC family.
|
|
This RTC IP has special WAKE-EN Register to enable
|
|
Wakeup generation for event Alarm. It can also be
|
|
used to control an external PMIC via the
|
|
pmic_power_en pin.
|
|
- "ti,am4372-rtc" - for RTC IP used similar to that on AM437X SoC family.
|
|
- reg: Address range of rtc register set
|
|
- interrupts: rtc timer, alarm interrupts in order
|
|
- interrupt-parent: phandle for the interrupt controller
|
|
|
|
Optional properties:
|
|
- system-power-controller: whether the rtc is controlling the system power
|
|
through pmic_power_en
|
|
- clocks: Any internal or external clocks feeding in to rtc
|
|
- clock-names: Corresponding names of the clocks
|
|
|
|
Example:
|
|
|
|
rtc@1c23000 {
|
|
compatible = "ti,da830-rtc";
|
|
reg = <0x23000 0x1000>;
|
|
interrupts = <19
|
|
19>;
|
|
interrupt-parent = <&intc>;
|
|
system-power-controller;
|
|
clocks = <&clk_32k_rtc>, <&clk_32768_ck>;
|
|
clock-names = "ext-clk", "int-clk";
|
|
};
|