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
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
81 - allwinner,sun8i-a23-rtc
82 - allwinner,sun8i-r40-rtc
83 - allwinner,sun8i-v3-rtc
96 - allwinner,sun8i-h3-rtc
97 - allwinner,sun50i-h5-rtc
98 - allwinner,sun50i-h6-rtc
109 const: allwinner,sun50i-h616-rtc
115 - description: Bus clock for register access
116 - description: 24 MHz oscillator
117 - description: 32 kHz clock from the CCU
133 const: allwinner,sun50i-r329-rtc
140 - description: Bus clock for register access
141 - description: 24 MHz oscillator
142 - description: AHB parent for internal SPI clock
143 - description: External 32768 Hz oscillator
162 - allwinner,sun8i-r40-rtc
163 - allwinner,sun50i-h616-rtc
164 - allwinner,sun50i-r329-rtc
182 additionalProperties: false
187 compatible = "allwinner,sun6i-a31-rtc";
188 reg = <0x01f00000 0x400>;
189 interrupts = <0 40 4>, <0 41 4>;
190 clock-output-names = "osc32k";
191 clocks = <&ext_osc32k>;