0001 * Amlogic Virtual RTC (VRTC)
0002
0003 This is a Linux interface to an RTC managed by firmware, hence it's
0004 virtual from a Linux perspective. The interface is 1 register where
0005 an alarm time (in seconds) is to be written.
0006
0007 Required properties:
0008 - compatible: should be "amlogic,meson-vrtc"
0009 - reg: physical address for the alarm register
0010
0011 The alarm register is a simple scratch register shared between the
0012 application processors (AP) and the secure co-processor (SCP.) When
0013 the AP suspends, the SCP will use the value of this register to
0014 program an always-on timer before going sleep. When the timer expires,
0015 the SCP will wake up and will then wake the AP.
0016
0017 Example:
0018
0019 vrtc: rtc@0a8 {
0020 compatible = "amlogic,meson-vrtc";
0021 reg = <0x0 0x000a8 0x0 0x4>;
0022 };