xref: /freebsd/sys/contrib/device-tree/Bindings/rtc/nvidia,tegra20-rtc.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel VadotNVIDIA Tegra20 real-time clock
2*c66ec88fSEmmanuel Vadot
3*c66ec88fSEmmanuel VadotThe Tegra RTC maintains seconds and milliseconds counters, and five alarm
4*c66ec88fSEmmanuel Vadotregisters. The alarms and other interrupts may wake the system from low-power
5*c66ec88fSEmmanuel Vadotstate.
6*c66ec88fSEmmanuel Vadot
7*c66ec88fSEmmanuel VadotRequired properties:
8*c66ec88fSEmmanuel Vadot
9*c66ec88fSEmmanuel Vadot- compatible : For Tegra20, must contain "nvidia,tegra20-rtc".  Otherwise,
10*c66ec88fSEmmanuel Vadot  must contain '"nvidia,<chip>-rtc", "nvidia,tegra20-rtc"', where <chip>
11*c66ec88fSEmmanuel Vadot  can be tegra30, tegra114, tegra124, or tegra132.
12*c66ec88fSEmmanuel Vadot- reg : Specifies base physical address and size of the registers.
13*c66ec88fSEmmanuel Vadot- interrupts : A single interrupt specifier.
14*c66ec88fSEmmanuel Vadot- clocks : Must contain one entry, for the module clock.
15*c66ec88fSEmmanuel Vadot  See ../clocks/clock-bindings.txt for details.
16*c66ec88fSEmmanuel Vadot
17*c66ec88fSEmmanuel VadotExample:
18*c66ec88fSEmmanuel Vadot
19*c66ec88fSEmmanuel Vadottimer {
20*c66ec88fSEmmanuel Vadot	compatible = "nvidia,tegra20-rtc";
21*c66ec88fSEmmanuel Vadot	reg = <0x7000e000 0x100>;
22*c66ec88fSEmmanuel Vadot	interrupts = <0 2 0x04>;
23*c66ec88fSEmmanuel Vadot	clocks = <&tegra_car 4>;
24*c66ec88fSEmmanuel Vadot};
25