sdk-hwV1.3/lichee/linux-4.9/Documentation/devicetree/bindings/rtc/sunxi-rtc.txt

20 lines
510 B
Plaintext

* sun4i/sun7i Real Time Clock
RTC controller for the Allwinner A10/A20
Required properties:
- compatible : Should be "allwinner,sun4i-a10-rtc" or "allwinner,sun7i-a20-rtc"
- reg: physical base address of the controller and length of memory mapped
region.
- interrupts: IRQ line for the RTC.
- auto_switch:if the property of auto_switch exists,enable auto switch function
Example:
rtc: rtc@01c20d00 {
compatible = "allwinner,sun4i-a10-rtc";
reg = <0x01c20d00 0x20>;
interrupts = <24>;
auto_switch;
};