1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/rtc/amlogic,meson-vrtc.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Amlogic Virtual RTC (VRTC)
10 - Neil Armstrong <neil.armstrong@linaro.org>
13 This is a Linux interface to an RTC managed by firmware, hence it's
14 virtual from a Linux perspective. The interface is 1 register where
15 an alarm time (in seconds) is to be written.
16 The alarm register is a simple scratch register shared between the
17 application processors (AP) and the secure co-processor (SCP.) When
18 the AP suspends, the SCP will use the value of this register to
19 program an always-on timer before going sleep. When the timer expires,
20 the SCP will wake up and will then wake the AP.
37 additionalProperties: false
42 compatible = "amlogic,meson-vrtc";