mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
9765d2d943
This patch introduces the driver for the RTC in the Allwinner A31 and A23 SoCs. Unlike the RTC found in A10/A20 SoCs, which was part of the timer, the RTC in A31/A23 are a separate hardware block, which also contain a few controls for the RTC block hardware (a regulator and RTC block GPIO pin latches), while also having separate interrupts for the alarms. The hardware is different enough to make a different driver for it. Signed-off-by: Chen-Yu Tsai <wens@csie.org> Reviewed-by: Varka Bhadram <varkabhadram@gmail.com> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
18 lines
432 B
Plaintext
18 lines
432 B
Plaintext
* sun6i Real Time Clock
|
|
|
|
RTC controller for the Allwinner A31
|
|
|
|
Required properties:
|
|
- compatible : Should be "allwinner,sun6i-a31-rtc"
|
|
- reg : physical base address of the controller and length of
|
|
memory mapped region.
|
|
- interrupts : IRQ lines for the RTC alarm 0 and alarm 1, in that order.
|
|
|
|
Example:
|
|
|
|
rtc: rtc@01f00000 {
|
|
compatible = "allwinner,sun6i-a31-rtc";
|
|
reg = <0x01f00000 0x54>;
|
|
interrupts = <0 40 4>, <0 41 4>;
|
|
};
|