1 # SPDX-License-Identifier: (GPL-2.0-only OR BS 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 %YAML 1.2 2 %YAML 1.2 3 --- 3 --- 4 $id: http://devicetree.org/schemas/rtc/amlogic 4 $id: http://devicetree.org/schemas/rtc/amlogic,meson-vrtc.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: Amlogic Virtual RTC (VRTC) 7 title: Amlogic Virtual RTC (VRTC) 8 8 9 maintainers: 9 maintainers: 10 - Neil Armstrong <neil.armstrong@linaro.org> 10 - Neil Armstrong <neil.armstrong@linaro.org> 11 11 12 description: | 12 description: | 13 This is a Linux interface to an RTC managed 13 This is a Linux interface to an RTC managed by firmware, hence it's 14 virtual from a Linux perspective. The inter 14 virtual from a Linux perspective. The interface is 1 register where 15 an alarm time (in seconds) is to be written. 15 an alarm time (in seconds) is to be written. 16 The alarm register is a simple scratch regis 16 The alarm register is a simple scratch register shared between the 17 application processors (AP) and the secure c 17 application processors (AP) and the secure co-processor (SCP.) When 18 the AP suspends, the SCP will use the value 18 the AP suspends, the SCP will use the value of this register to 19 program an always-on timer before going slee 19 program an always-on timer before going sleep. When the timer expires, 20 the SCP will wake up and will then wake the 20 the SCP will wake up and will then wake the AP. 21 21 22 allOf: 22 allOf: 23 - $ref: rtc.yaml# 23 - $ref: rtc.yaml# 24 24 25 properties: 25 properties: 26 compatible: 26 compatible: 27 enum: 27 enum: 28 - amlogic,meson-vrtc 28 - amlogic,meson-vrtc 29 29 30 reg: 30 reg: 31 maxItems: 1 31 maxItems: 1 32 32 33 required: 33 required: 34 - compatible 34 - compatible 35 - reg 35 - reg 36 36 37 additionalProperties: false 37 additionalProperties: false 38 38 39 examples: 39 examples: 40 - | 40 - | 41 rtc@a8 { 41 rtc@a8 { 42 compatible = "amlogic,meson-vrtc"; 42 compatible = "amlogic,meson-vrtc"; 43 reg = <0x000a8 0x4>; 43 reg = <0x000a8 0x4>; 44 }; 44 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.