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>
19 - const: allwinner,sun6i-a31-rtc
20 - const: allwinner,sun8i-a23-rtc
21 - const: allwinner,sun8i-h3-rtc
22 - const: allwinner,sun8i-r40-rtc
23 - const: allwinner,sun8i-v3-rtc
24 - const: allwinner,sun50i-h5-rtc
26 - const: allwinner,sun50i-a64-rtc
27 - const: allwinner,sun8i-h3-rtc
28 - const: allwinner,sun50i-h6-rtc
37 - description: RTC Alarm 0
38 - description: RTC Alarm 1
47 The RTC provides up to three clocks
48 - the Low Frequency Oscillator or LOSC, at index 0,
49 - the Low Frequency Oscillator External output (X32KFOUT in
50 the datasheet), at index 1,
51 - the Internal Oscillator, at index 2.
59 const: allwinner,sun6i-a31-rtc
72 - allwinner,sun8i-a23-rtc
73 - allwinner,sun8i-r40-rtc
74 - allwinner,sun8i-v3-rtc
87 - allwinner,sun8i-h3-rtc
88 - allwinner,sun50i-h5-rtc
100 const: allwinner,sun50i-h6-rtc
112 const: allwinner,sun8i-r40-rtc
134 additionalProperties: false
139 compatible = "allwinner,sun6i-a31-rtc";
140 reg = <0x01f00000 0x400>;
141 interrupts = <0 40 4>, <0 41 4>;
142 clock-output-names = "osc32k";
143 clocks = <&ext_osc32k>;