1 # SPDX-License-Identifier: GPL-2.0
4 $id: http://devicetree.org/schemas/rtc/allwinner,sun6i-a31-rtc.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Allwinner A31 RTC Device Tree Bindings
10 - Chen-Yu Tsai <wens@csie.org>
11 - Maxime Ripard <mripard@kernel.org>
20 - allwinner,sun6i-a31-rtc
21 - allwinner,sun8i-a23-rtc
22 - allwinner,sun8i-h3-rtc
23 - allwinner,sun8i-r40-rtc
24 - allwinner,sun8i-v3-rtc
25 - allwinner,sun50i-h5-rtc
26 - allwinner,sun50i-h6-rtc
27 - allwinner,sun50i-h616-rtc
28 - allwinner,sun50i-r329-rtc
30 - const: allwinner,sun50i-a64-rtc
31 - const: allwinner,sun8i-h3-rtc
33 - const: allwinner,sun20i-d1-rtc
34 - const: allwinner,sun50i-r329-rtc
42 - description: RTC Alarm 0
43 - description: RTC Alarm 1
57 The RTC provides up to three clocks
58 - the Low Frequency Oscillator or LOSC, at index 0,
59 - the Low Frequency Oscillator External output (X32KFOUT in
60 the datasheet), at index 1,
61 - the Internal Oscillator, at index 2.
69 const: allwinner,sun6i-a31-rtc
82 - allwinner,sun8i-a23-rtc
83 - allwinner,sun8i-r40-rtc
84 - allwinner,sun8i-v3-rtc
97 - allwinner,sun8i-h3-rtc
98 - allwinner,sun50i-h5-rtc
99 - allwinner,sun50i-h6-rtc
111 const: allwinner,sun50i-h616-rtc
119 - description: Bus clock for register access
120 - description: 24 MHz oscillator
121 - description: 32 kHz clock from the CCU
139 const: allwinner,sun50i-r329-rtc
147 - description: Bus clock for register access
148 - description: 24 MHz oscillator
149 - description: AHB parent for internal SPI clock
150 - description: External 32768 Hz oscillator
170 - allwinner,sun8i-r40-rtc
171 - allwinner,sun50i-h616-rtc
172 - allwinner,sun50i-r329-rtc
192 additionalProperties: false
197 compatible = "allwinner,sun6i-a31-rtc";
198 reg = <0x01f00000 0x400>;
199 interrupts = <0 40 4>, <0 41 4>;
200 clock-output-names = "osc32k";
201 clocks = <&ext_osc32k>;