Merge tag 'printk-for-5.5' of git://git.kernel.org/pub/scm/linux/kernel/git/pmladek...
[linux-2.6-microblaze.git] / Documentation / devicetree / bindings / rtc / rtc-meson-vrtc.txt
1 * Amlogic Virtual RTC (VRTC)
2
3 This is a Linux interface to an RTC managed by firmware, hence it's
4 virtual from a Linux perspective.  The interface is 1 register where
5 an alarm time (in seconds) is to be written.
6
7 Required properties:
8 - compatible: should be "amlogic,meson-vrtc"
9 - reg: physical address for the alarm register
10
11 The alarm register is a simple scratch register shared between the
12 application processors (AP) and the secure co-processor (SCP.)  When
13 the AP suspends, the SCP will use the value of this register to
14 program an always-on timer before going sleep. When the timer expires,
15 the SCP will wake up and will then wake the AP.
16
17 Example:
18
19         vrtc: rtc@0a8 {
20                 compatible = "amlogic,meson-vrtc";
21                 reg = <0x0 0x000a8 0x0 0x4>;
22         };