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
36 - description: RTC Alarm 0
37 - description: RTC Alarm 1
46 The RTC provides up to three clocks
47 - the Low Frequency Oscillator or LOSC, at index 0,
48 - the Low Frequency Oscillator External output (X32KFOUT in
49 the datasheet), at index 1,
50 - the Internal Oscillator, at index 2.
58 const: allwinner,sun6i-a31-rtc
71 - allwinner,sun8i-a23-rtc
72 - allwinner,sun8i-r40-rtc
73 - allwinner,sun8i-v3-rtc
86 - allwinner,sun8i-h3-rtc
87 - allwinner,sun50i-h5-rtc
99 const: allwinner,sun50i-h6-rtc
111 const: allwinner,sun8i-r40-rtc
132 additionalProperties: false
137 compatible = "allwinner,sun6i-a31-rtc";
138 reg = <0x01f00000 0x400>;
139 interrupts = <0 40 4>, <0 41 4>;
140 clock-output-names = "osc32k";
141 clocks = <&ext_osc32k>;