blob: 2240eaec5ddb1cae15b3cfd606f88e64a851a21a [file] [log] [blame]
Samuel Holland26bc4e72020-10-24 10:21:55 -05001// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2// Copyright (C) 2016 ARM Ltd.
3// based on the Allwinner H3 dtsi:
4// Copyright (C) 2015 Jens Kuske <jenskuske@gmail.com>
Siarhei Siamashka26c50fb2016-03-29 17:29:10 +02005
Andre Przywara8d65e613e2017-05-24 10:34:56 +01006#include <dt-bindings/clock/sun50i-a64-ccu.h>
Andre Przywara5eb4bbe2022-09-11 00:04:41 +01007#include <dt-bindings/clock/sun6i-rtc.h>
Andre Przywara9607c052018-10-29 00:56:47 +00008#include <dt-bindings/clock/sun8i-de2.h>
Andre Przywarae187d582018-07-04 14:16:34 +01009#include <dt-bindings/clock/sun8i-r-ccu.h>
Siarhei Siamashka26c50fb2016-03-29 17:29:10 +020010#include <dt-bindings/interrupt-controller/arm-gic.h>
Andre Przywara8d65e613e2017-05-24 10:34:56 +010011#include <dt-bindings/reset/sun50i-a64-ccu.h>
Andre Przywara9607c052018-10-29 00:56:47 +000012#include <dt-bindings/reset/sun8i-de2.h>
13#include <dt-bindings/reset/sun8i-r-ccu.h>
Samuel Holland26bc4e72020-10-24 10:21:55 -050014#include <dt-bindings/thermal/thermal.h>
Siarhei Siamashka26c50fb2016-03-29 17:29:10 +020015
16/ {
Siarhei Siamashka26c50fb2016-03-29 17:29:10 +020017 interrupt-parent = <&gic>;
18 #address-cells = <1>;
19 #size-cells = <1>;
20
Andre Przywarae187d582018-07-04 14:16:34 +010021 chosen {
22 #address-cells = <1>;
23 #size-cells = <1>;
24 ranges;
25
Andre Przywarae187d582018-07-04 14:16:34 +010026 simplefb_lcd: framebuffer-lcd {
27 compatible = "allwinner,simple-framebuffer",
28 "simple-framebuffer";
29 allwinner,pipeline = "mixer0-lcd0";
30 clocks = <&ccu CLK_TCON0>,
Andre Przywara9607c052018-10-29 00:56:47 +000031 <&display_clocks CLK_MIXER0>;
Andre Przywarae187d582018-07-04 14:16:34 +010032 status = "disabled";
33 };
Andre Przywara9607c052018-10-29 00:56:47 +000034
35 simplefb_hdmi: framebuffer-hdmi {
36 compatible = "allwinner,simple-framebuffer",
37 "simple-framebuffer";
38 allwinner,pipeline = "mixer1-lcd1-hdmi";
39 clocks = <&display_clocks CLK_MIXER1>,
40 <&ccu CLK_TCON1>, <&ccu CLK_HDMI>;
41 status = "disabled";
42 };
Andre Przywarae187d582018-07-04 14:16:34 +010043 };
44
Siarhei Siamashka26c50fb2016-03-29 17:29:10 +020045 cpus {
46 #address-cells = <1>;
47 #size-cells = <0>;
48
Andre Przywara8d65e613e2017-05-24 10:34:56 +010049 cpu0: cpu@0 {
Samuel Holland26bc4e72020-10-24 10:21:55 -050050 compatible = "arm,cortex-a53";
Siarhei Siamashka26c50fb2016-03-29 17:29:10 +020051 device_type = "cpu";
52 reg = <0>;
53 enable-method = "psci";
Andre Przywara9607c052018-10-29 00:56:47 +000054 next-level-cache = <&L2>;
Andre Przywarafb675472021-04-17 22:55:19 +010055 clocks = <&ccu CLK_CPUX>;
Samuel Holland26bc4e72020-10-24 10:21:55 -050056 clock-names = "cpu";
57 #cooling-cells = <2>;
Siarhei Siamashka26c50fb2016-03-29 17:29:10 +020058 };
59
Andre Przywara8d65e613e2017-05-24 10:34:56 +010060 cpu1: cpu@1 {
Samuel Holland26bc4e72020-10-24 10:21:55 -050061 compatible = "arm,cortex-a53";
Siarhei Siamashka26c50fb2016-03-29 17:29:10 +020062 device_type = "cpu";
63 reg = <1>;
64 enable-method = "psci";
Andre Przywara9607c052018-10-29 00:56:47 +000065 next-level-cache = <&L2>;
Andre Przywarafb675472021-04-17 22:55:19 +010066 clocks = <&ccu CLK_CPUX>;
Samuel Holland26bc4e72020-10-24 10:21:55 -050067 clock-names = "cpu";
68 #cooling-cells = <2>;
Siarhei Siamashka26c50fb2016-03-29 17:29:10 +020069 };
70
Andre Przywara8d65e613e2017-05-24 10:34:56 +010071 cpu2: cpu@2 {
Samuel Holland26bc4e72020-10-24 10:21:55 -050072 compatible = "arm,cortex-a53";
Siarhei Siamashka26c50fb2016-03-29 17:29:10 +020073 device_type = "cpu";
74 reg = <2>;
75 enable-method = "psci";
Andre Przywara9607c052018-10-29 00:56:47 +000076 next-level-cache = <&L2>;
Andre Przywarafb675472021-04-17 22:55:19 +010077 clocks = <&ccu CLK_CPUX>;
Samuel Holland26bc4e72020-10-24 10:21:55 -050078 clock-names = "cpu";
79 #cooling-cells = <2>;
Siarhei Siamashka26c50fb2016-03-29 17:29:10 +020080 };
81
Andre Przywara8d65e613e2017-05-24 10:34:56 +010082 cpu3: cpu@3 {
Samuel Holland26bc4e72020-10-24 10:21:55 -050083 compatible = "arm,cortex-a53";
Siarhei Siamashka26c50fb2016-03-29 17:29:10 +020084 device_type = "cpu";
85 reg = <3>;
86 enable-method = "psci";
Andre Przywara9607c052018-10-29 00:56:47 +000087 next-level-cache = <&L2>;
Andre Przywarafb675472021-04-17 22:55:19 +010088 clocks = <&ccu CLK_CPUX>;
Samuel Holland26bc4e72020-10-24 10:21:55 -050089 clock-names = "cpu";
90 #cooling-cells = <2>;
Andre Przywara9607c052018-10-29 00:56:47 +000091 };
92
93 L2: l2-cache {
94 compatible = "cache";
95 cache-level = <2>;
Andre Przywara8780ada2023-10-19 15:51:39 +010096 cache-unified;
Siarhei Siamashka26c50fb2016-03-29 17:29:10 +020097 };
98 };
99
Andre Przywara9607c052018-10-29 00:56:47 +0000100 de: display-engine {
101 compatible = "allwinner,sun50i-a64-display-engine";
102 allwinner,pipelines = <&mixer0>,
103 <&mixer1>;
104 status = "disabled";
105 };
106
Samuel Holland43729b72022-04-27 15:31:30 -0500107 gpu_opp_table: opp-table-gpu {
108 compatible = "operating-points-v2";
109
110 opp-120000000 {
111 opp-hz = /bits/ 64 <120000000>;
112 };
113
114 opp-312000000 {
115 opp-hz = /bits/ 64 <312000000>;
116 };
117
118 opp-432000000 {
119 opp-hz = /bits/ 64 <432000000>;
120 };
121 };
122
Andre Przywara8d65e613e2017-05-24 10:34:56 +0100123 osc24M: osc24M_clk {
124 #clock-cells = <0>;
125 compatible = "fixed-clock";
126 clock-frequency = <24000000>;
127 clock-output-names = "osc24M";
Siarhei Siamashka26c50fb2016-03-29 17:29:10 +0200128 };
129
Andre Przywara8d65e613e2017-05-24 10:34:56 +0100130 osc32k: osc32k_clk {
131 #clock-cells = <0>;
132 compatible = "fixed-clock";
133 clock-frequency = <32768>;
Samuel Holland26bc4e72020-10-24 10:21:55 -0500134 clock-output-names = "ext-osc32k";
Siarhei Siamashka26c50fb2016-03-29 17:29:10 +0200135 };
136
Samuel Holland26bc4e72020-10-24 10:21:55 -0500137 pmu {
138 compatible = "arm,cortex-a53-pmu";
139 interrupts = <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>,
140 <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>,
141 <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>,
142 <GIC_SPI 119 IRQ_TYPE_LEVEL_HIGH>;
143 interrupt-affinity = <&cpu0>, <&cpu1>, <&cpu2>, <&cpu3>;
Andre Przywara8d65e613e2017-05-24 10:34:56 +0100144 };
Andre Przywara36748112016-05-04 22:15:33 +0100145
Andre Przywara8d65e613e2017-05-24 10:34:56 +0100146 psci {
147 compatible = "arm,psci-0.2";
148 method = "smc";
Andre Przywara36748112016-05-04 22:15:33 +0100149 };
150
Samuel Holland26bc4e72020-10-24 10:21:55 -0500151 sound: sound {
Samuel Holland43729b72022-04-27 15:31:30 -0500152 #address-cells = <1>;
153 #size-cells = <0>;
Andre Przywarae187d582018-07-04 14:16:34 +0100154 compatible = "simple-audio-card";
Samuel Holland26bc4e72020-10-24 10:21:55 -0500155 simple-audio-card,name = "sun50i-a64-audio";
Samuel Holland26bc4e72020-10-24 10:21:55 -0500156 simple-audio-card,aux-devs = <&codec_analog>;
157 simple-audio-card,routing =
Andre Przywarafb675472021-04-17 22:55:19 +0100158 "Left DAC", "DACL",
159 "Right DAC", "DACR",
160 "ADCL", "Left ADC",
161 "ADCR", "Right ADC";
Samuel Holland26bc4e72020-10-24 10:21:55 -0500162 status = "disabled";
Andre Przywarae187d582018-07-04 14:16:34 +0100163
Samuel Holland43729b72022-04-27 15:31:30 -0500164 simple-audio-card,dai-link@0 {
165 format = "i2s";
166 frame-master = <&link0_cpu>;
167 bitclock-master = <&link0_cpu>;
168 mclk-fs = <128>;
Andre Przywarae187d582018-07-04 14:16:34 +0100169
Samuel Holland43729b72022-04-27 15:31:30 -0500170 link0_cpu: cpu {
171 sound-dai = <&dai>;
172 };
173
174 link0_codec: codec {
175 sound-dai = <&codec 0>;
176 };
Andre Przywarae187d582018-07-04 14:16:34 +0100177 };
178 };
179
Siarhei Siamashka26c50fb2016-03-29 17:29:10 +0200180 timer {
181 compatible = "arm,armv8-timer";
Samuel Holland26bc4e72020-10-24 10:21:55 -0500182 allwinner,erratum-unknown1;
Andre Przywarafb675472021-04-17 22:55:19 +0100183 arm,no-tick-in-suspend;
Siarhei Siamashka26c50fb2016-03-29 17:29:10 +0200184 interrupts = <GIC_PPI 13
185 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>,
186 <GIC_PPI 14
187 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>,
188 <GIC_PPI 11
189 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>,
190 <GIC_PPI 10
191 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>;
192 };
193
Samuel Holland26bc4e72020-10-24 10:21:55 -0500194 thermal-zones {
195 cpu_thermal: cpu0-thermal {
196 /* milliseconds */
197 polling-delay-passive = <0>;
198 polling-delay = <0>;
199 thermal-sensors = <&ths 0>;
200
201 cooling-maps {
202 map0 {
203 trip = <&cpu_alert0>;
204 cooling-device = <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
205 <&cpu1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
206 <&cpu2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
207 <&cpu3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
208 };
209 map1 {
210 trip = <&cpu_alert1>;
211 cooling-device = <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
212 <&cpu1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
213 <&cpu2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
214 <&cpu3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
215 };
216 };
217
218 trips {
219 cpu_alert0: cpu_alert0 {
220 /* milliCelsius */
221 temperature = <75000>;
222 hysteresis = <2000>;
223 type = "passive";
224 };
225
226 cpu_alert1: cpu_alert1 {
227 /* milliCelsius */
228 temperature = <90000>;
229 hysteresis = <2000>;
230 type = "hot";
231 };
232
233 cpu_crit: cpu_crit {
234 /* milliCelsius */
235 temperature = <110000>;
236 hysteresis = <2000>;
237 type = "critical";
238 };
239 };
240 };
241
242 gpu0_thermal: gpu0-thermal {
243 /* milliseconds */
244 polling-delay-passive = <0>;
245 polling-delay = <0>;
246 thermal-sensors = <&ths 1>;
247 };
248
249 gpu1_thermal: gpu1-thermal {
250 /* milliseconds */
251 polling-delay-passive = <0>;
252 polling-delay = <0>;
253 thermal-sensors = <&ths 2>;
254 };
255 };
256
Siarhei Siamashka26c50fb2016-03-29 17:29:10 +0200257 soc {
258 compatible = "simple-bus";
259 #address-cells = <1>;
260 #size-cells = <1>;
261 ranges;
262
Samuel Holland26bc4e72020-10-24 10:21:55 -0500263 bus@1000000 {
Andre Przywara9607c052018-10-29 00:56:47 +0000264 compatible = "allwinner,sun50i-a64-de2";
265 reg = <0x1000000 0x400000>;
266 allwinner,sram = <&de2_sram 1>;
267 #address-cells = <1>;
268 #size-cells = <1>;
269 ranges = <0 0x1000000 0x400000>;
270
271 display_clocks: clock@0 {
272 compatible = "allwinner,sun50i-a64-de2-clk";
Samuel Holland26bc4e72020-10-24 10:21:55 -0500273 reg = <0x0 0x10000>;
274 clocks = <&ccu CLK_BUS_DE>,
275 <&ccu CLK_DE>;
276 clock-names = "bus",
277 "mod";
Andre Przywara9607c052018-10-29 00:56:47 +0000278 resets = <&ccu RST_BUS_DE>;
279 #clock-cells = <1>;
280 #reset-cells = <1>;
281 };
282
Samuel Holland26bc4e72020-10-24 10:21:55 -0500283 rotate: rotate@20000 {
284 compatible = "allwinner,sun50i-a64-de2-rotate",
285 "allwinner,sun8i-a83t-de2-rotate";
286 reg = <0x20000 0x10000>;
287 interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>;
288 clocks = <&display_clocks CLK_BUS_ROT>,
289 <&display_clocks CLK_ROT>;
290 clock-names = "bus",
291 "mod";
292 resets = <&display_clocks RST_ROT>;
293 };
294
Andre Przywara9607c052018-10-29 00:56:47 +0000295 mixer0: mixer@100000 {
296 compatible = "allwinner,sun50i-a64-de2-mixer-0";
297 reg = <0x100000 0x100000>;
298 clocks = <&display_clocks CLK_BUS_MIXER0>,
299 <&display_clocks CLK_MIXER0>;
300 clock-names = "bus",
301 "mod";
302 resets = <&display_clocks RST_MIXER0>;
303
304 ports {
305 #address-cells = <1>;
306 #size-cells = <0>;
307
308 mixer0_out: port@1 {
Samuel Holland26bc4e72020-10-24 10:21:55 -0500309 #address-cells = <1>;
310 #size-cells = <0>;
Andre Przywara9607c052018-10-29 00:56:47 +0000311 reg = <1>;
312
Samuel Holland26bc4e72020-10-24 10:21:55 -0500313 mixer0_out_tcon0: endpoint@0 {
314 reg = <0>;
Andre Przywara9607c052018-10-29 00:56:47 +0000315 remote-endpoint = <&tcon0_in_mixer0>;
316 };
Samuel Holland26bc4e72020-10-24 10:21:55 -0500317
318 mixer0_out_tcon1: endpoint@1 {
319 reg = <1>;
320 remote-endpoint = <&tcon1_in_mixer0>;
321 };
Andre Przywara9607c052018-10-29 00:56:47 +0000322 };
323 };
324 };
325
326 mixer1: mixer@200000 {
327 compatible = "allwinner,sun50i-a64-de2-mixer-1";
328 reg = <0x200000 0x100000>;
329 clocks = <&display_clocks CLK_BUS_MIXER1>,
330 <&display_clocks CLK_MIXER1>;
331 clock-names = "bus",
332 "mod";
333 resets = <&display_clocks RST_MIXER1>;
334
335 ports {
336 #address-cells = <1>;
337 #size-cells = <0>;
338
339 mixer1_out: port@1 {
Samuel Holland26bc4e72020-10-24 10:21:55 -0500340 #address-cells = <1>;
341 #size-cells = <0>;
Andre Przywara9607c052018-10-29 00:56:47 +0000342 reg = <1>;
343
Samuel Holland26bc4e72020-10-24 10:21:55 -0500344 mixer1_out_tcon0: endpoint@0 {
345 reg = <0>;
346 remote-endpoint = <&tcon0_in_mixer1>;
347 };
348
349 mixer1_out_tcon1: endpoint@1 {
350 reg = <1>;
Andre Przywara9607c052018-10-29 00:56:47 +0000351 remote-endpoint = <&tcon1_in_mixer1>;
352 };
353 };
354 };
355 };
356 };
357
Andre Przywarae187d582018-07-04 14:16:34 +0100358 syscon: syscon@1c00000 {
Samuel Holland26bc4e72020-10-24 10:21:55 -0500359 compatible = "allwinner,sun50i-a64-system-control";
Andre Przywarae187d582018-07-04 14:16:34 +0100360 reg = <0x01c00000 0x1000>;
Andre Przywara9607c052018-10-29 00:56:47 +0000361 #address-cells = <1>;
362 #size-cells = <1>;
363 ranges;
364
365 sram_c: sram@18000 {
366 compatible = "mmio-sram";
367 reg = <0x00018000 0x28000>;
368 #address-cells = <1>;
369 #size-cells = <1>;
370 ranges = <0 0x00018000 0x28000>;
371
372 de2_sram: sram-section@0 {
373 compatible = "allwinner,sun50i-a64-sram-c";
374 reg = <0x0000 0x28000>;
375 };
376 };
Samuel Holland26bc4e72020-10-24 10:21:55 -0500377
378 sram_c1: sram@1d00000 {
379 compatible = "mmio-sram";
380 reg = <0x01d00000 0x40000>;
381 #address-cells = <1>;
382 #size-cells = <1>;
383 ranges = <0 0x01d00000 0x40000>;
384
385 ve_sram: sram-section@0 {
386 compatible = "allwinner,sun50i-a64-sram-c1",
387 "allwinner,sun4i-a10-sram-c1";
388 reg = <0x000000 0x40000>;
389 };
390 };
Andre Przywarae187d582018-07-04 14:16:34 +0100391 };
392
393 dma: dma-controller@1c02000 {
394 compatible = "allwinner,sun50i-a64-dma";
395 reg = <0x01c02000 0x1000>;
396 interrupts = <GIC_SPI 50 IRQ_TYPE_LEVEL_HIGH>;
397 clocks = <&ccu CLK_BUS_DMA>;
398 dma-channels = <8>;
399 dma-requests = <27>;
400 resets = <&ccu RST_BUS_DMA>;
401 #dma-cells = <1>;
402 };
403
Andre Przywara9607c052018-10-29 00:56:47 +0000404 tcon0: lcd-controller@1c0c000 {
405 compatible = "allwinner,sun50i-a64-tcon-lcd",
406 "allwinner,sun8i-a83t-tcon-lcd";
407 reg = <0x01c0c000 0x1000>;
408 interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>;
409 clocks = <&ccu CLK_BUS_TCON0>, <&ccu CLK_TCON0>;
410 clock-names = "ahb", "tcon-ch0";
Andre Przywara8780ada2023-10-19 15:51:39 +0100411 clock-output-names = "tcon-data-clock";
Samuel Holland26bc4e72020-10-24 10:21:55 -0500412 #clock-cells = <0>;
Andre Przywara9607c052018-10-29 00:56:47 +0000413 resets = <&ccu RST_BUS_TCON0>, <&ccu RST_BUS_LVDS>;
414 reset-names = "lcd", "lvds";
415
416 ports {
417 #address-cells = <1>;
418 #size-cells = <0>;
419
420 tcon0_in: port@0 {
421 #address-cells = <1>;
422 #size-cells = <0>;
423 reg = <0>;
424
425 tcon0_in_mixer0: endpoint@0 {
426 reg = <0>;
427 remote-endpoint = <&mixer0_out_tcon0>;
428 };
Samuel Holland26bc4e72020-10-24 10:21:55 -0500429
430 tcon0_in_mixer1: endpoint@1 {
431 reg = <1>;
432 remote-endpoint = <&mixer1_out_tcon0>;
433 };
Andre Przywara9607c052018-10-29 00:56:47 +0000434 };
435
436 tcon0_out: port@1 {
437 #address-cells = <1>;
438 #size-cells = <0>;
439 reg = <1>;
Samuel Holland26bc4e72020-10-24 10:21:55 -0500440
441 tcon0_out_dsi: endpoint@1 {
442 reg = <1>;
443 remote-endpoint = <&dsi_in_tcon0>;
444 allwinner,tcon-channel = <1>;
445 };
Andre Przywara9607c052018-10-29 00:56:47 +0000446 };
447 };
448 };
449
450 tcon1: lcd-controller@1c0d000 {
451 compatible = "allwinner,sun50i-a64-tcon-tv",
452 "allwinner,sun8i-a83t-tcon-tv";
453 reg = <0x01c0d000 0x1000>;
454 interrupts = <GIC_SPI 87 IRQ_TYPE_LEVEL_HIGH>;
455 clocks = <&ccu CLK_BUS_TCON1>, <&ccu CLK_TCON1>;
456 clock-names = "ahb", "tcon-ch1";
457 resets = <&ccu RST_BUS_TCON1>;
458 reset-names = "lcd";
459
460 ports {
461 #address-cells = <1>;
462 #size-cells = <0>;
463
464 tcon1_in: port@0 {
Samuel Holland26bc4e72020-10-24 10:21:55 -0500465 #address-cells = <1>;
466 #size-cells = <0>;
Andre Przywara9607c052018-10-29 00:56:47 +0000467 reg = <0>;
468
Samuel Holland26bc4e72020-10-24 10:21:55 -0500469 tcon1_in_mixer0: endpoint@0 {
470 reg = <0>;
471 remote-endpoint = <&mixer0_out_tcon1>;
472 };
473
474 tcon1_in_mixer1: endpoint@1 {
475 reg = <1>;
Andre Przywara9607c052018-10-29 00:56:47 +0000476 remote-endpoint = <&mixer1_out_tcon1>;
477 };
478 };
479
480 tcon1_out: port@1 {
481 #address-cells = <1>;
482 #size-cells = <0>;
483 reg = <1>;
484
485 tcon1_out_hdmi: endpoint@1 {
486 reg = <1>;
487 remote-endpoint = <&hdmi_in_tcon1>;
488 };
489 };
490 };
491 };
492
Samuel Holland26bc4e72020-10-24 10:21:55 -0500493 video-codec@1c0e000 {
494 compatible = "allwinner,sun50i-a64-video-engine";
495 reg = <0x01c0e000 0x1000>;
496 clocks = <&ccu CLK_BUS_VE>, <&ccu CLK_VE>,
497 <&ccu CLK_DRAM_VE>;
498 clock-names = "ahb", "mod", "ram";
499 resets = <&ccu RST_BUS_VE>;
500 interrupts = <GIC_SPI 58 IRQ_TYPE_LEVEL_HIGH>;
501 allwinner,sram = <&ve_sram 1>;
502 };
503
Andre Przywara36748112016-05-04 22:15:33 +0100504 mmc0: mmc@1c0f000 {
Andre Przywara8d65e613e2017-05-24 10:34:56 +0100505 compatible = "allwinner,sun50i-a64-mmc";
Siarhei Siamashka26c50fb2016-03-29 17:29:10 +0200506 reg = <0x01c0f000 0x1000>;
Andre Przywara8d65e613e2017-05-24 10:34:56 +0100507 clocks = <&ccu CLK_BUS_MMC0>, <&ccu CLK_MMC0>;
508 clock-names = "ahb", "mmc";
509 resets = <&ccu RST_BUS_MMC0>;
Siarhei Siamashka26c50fb2016-03-29 17:29:10 +0200510 reset-names = "ahb";
511 interrupts = <GIC_SPI 60 IRQ_TYPE_LEVEL_HIGH>;
Andre Przywara8d65e613e2017-05-24 10:34:56 +0100512 max-frequency = <150000000>;
Siarhei Siamashka26c50fb2016-03-29 17:29:10 +0200513 status = "disabled";
514 #address-cells = <1>;
515 #size-cells = <0>;
516 };
517
Andre Przywara36748112016-05-04 22:15:33 +0100518 mmc1: mmc@1c10000 {
Andre Przywara8d65e613e2017-05-24 10:34:56 +0100519 compatible = "allwinner,sun50i-a64-mmc";
Siarhei Siamashka26c50fb2016-03-29 17:29:10 +0200520 reg = <0x01c10000 0x1000>;
Andre Przywara8d65e613e2017-05-24 10:34:56 +0100521 clocks = <&ccu CLK_BUS_MMC1>, <&ccu CLK_MMC1>;
522 clock-names = "ahb", "mmc";
523 resets = <&ccu RST_BUS_MMC1>;
Siarhei Siamashka26c50fb2016-03-29 17:29:10 +0200524 reset-names = "ahb";
525 interrupts = <GIC_SPI 61 IRQ_TYPE_LEVEL_HIGH>;
Andre Przywara8d65e613e2017-05-24 10:34:56 +0100526 max-frequency = <150000000>;
Siarhei Siamashka26c50fb2016-03-29 17:29:10 +0200527 status = "disabled";
528 #address-cells = <1>;
529 #size-cells = <0>;
530 };
531
Andre Przywara36748112016-05-04 22:15:33 +0100532 mmc2: mmc@1c11000 {
Andre Przywara8d65e613e2017-05-24 10:34:56 +0100533 compatible = "allwinner,sun50i-a64-emmc";
Siarhei Siamashka26c50fb2016-03-29 17:29:10 +0200534 reg = <0x01c11000 0x1000>;
Andre Przywara8d65e613e2017-05-24 10:34:56 +0100535 clocks = <&ccu CLK_BUS_MMC2>, <&ccu CLK_MMC2>;
536 clock-names = "ahb", "mmc";
537 resets = <&ccu RST_BUS_MMC2>;
Siarhei Siamashka26c50fb2016-03-29 17:29:10 +0200538 reset-names = "ahb";
539 interrupts = <GIC_SPI 62 IRQ_TYPE_LEVEL_HIGH>;
Andre Przywarafb675472021-04-17 22:55:19 +0100540 max-frequency = <150000000>;
Siarhei Siamashka26c50fb2016-03-29 17:29:10 +0200541 status = "disabled";
542 #address-cells = <1>;
543 #size-cells = <0>;
544 };
545
Andre Przywara9607c052018-10-29 00:56:47 +0000546 sid: eeprom@1c14000 {
547 compatible = "allwinner,sun50i-a64-sid";
548 reg = <0x1c14000 0x400>;
Samuel Holland26bc4e72020-10-24 10:21:55 -0500549 #address-cells = <1>;
550 #size-cells = <1>;
551
552 ths_calibration: thermal-sensor-calibration@34 {
553 reg = <0x34 0x8>;
554 };
555 };
556
557 crypto: crypto@1c15000 {
558 compatible = "allwinner,sun50i-a64-crypto";
559 reg = <0x01c15000 0x1000>;
560 interrupts = <GIC_SPI 94 IRQ_TYPE_LEVEL_HIGH>;
561 clocks = <&ccu CLK_BUS_CE>, <&ccu CLK_CE>;
562 clock-names = "bus", "mod";
563 resets = <&ccu RST_BUS_CE>;
564 };
565
566 msgbox: mailbox@1c17000 {
567 compatible = "allwinner,sun50i-a64-msgbox",
568 "allwinner,sun6i-a31-msgbox";
569 reg = <0x01c17000 0x1000>;
570 clocks = <&ccu CLK_BUS_MSGBOX>;
571 resets = <&ccu RST_BUS_MSGBOX>;
572 interrupts = <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>;
573 #mbox-cells = <1>;
Andre Przywara9607c052018-10-29 00:56:47 +0000574 };
575
Andre Przywarae187d582018-07-04 14:16:34 +0100576 usb_otg: usb@1c19000 {
Andre Przywara8d65e613e2017-05-24 10:34:56 +0100577 compatible = "allwinner,sun8i-a33-musb";
578 reg = <0x01c19000 0x0400>;
579 clocks = <&ccu CLK_BUS_OTG>;
580 resets = <&ccu RST_BUS_OTG>;
581 interrupts = <GIC_SPI 71 IRQ_TYPE_LEVEL_HIGH>;
582 interrupt-names = "mc";
583 phys = <&usbphy 0>;
584 phy-names = "usb";
585 extcon = <&usbphy 0>;
Samuel Holland26bc4e72020-10-24 10:21:55 -0500586 dr_mode = "otg";
Andre Przywara8d65e613e2017-05-24 10:34:56 +0100587 status = "disabled";
588 };
589
Andre Przywarae187d582018-07-04 14:16:34 +0100590 usbphy: phy@1c19400 {
Andre Przywara8d65e613e2017-05-24 10:34:56 +0100591 compatible = "allwinner,sun50i-a64-usb-phy";
592 reg = <0x01c19400 0x14>,
593 <0x01c1a800 0x4>,
594 <0x01c1b800 0x4>;
595 reg-names = "phy_ctrl",
596 "pmu0",
597 "pmu1";
598 clocks = <&ccu CLK_USB_PHY0>,
599 <&ccu CLK_USB_PHY1>;
600 clock-names = "usb0_phy",
601 "usb1_phy";
602 resets = <&ccu RST_USB_PHY0>,
603 <&ccu RST_USB_PHY1>;
604 reset-names = "usb0_reset",
605 "usb1_reset";
606 status = "disabled";
607 #phy-cells = <1>;
608 };
609
Andre Przywarae187d582018-07-04 14:16:34 +0100610 ehci0: usb@1c1a000 {
Jagan Tekid5612de2017-06-09 17:57:58 +0530611 compatible = "allwinner,sun50i-a64-ehci", "generic-ehci";
612 reg = <0x01c1a000 0x100>;
613 interrupts = <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>;
614 clocks = <&ccu CLK_BUS_OHCI0>,
615 <&ccu CLK_BUS_EHCI0>,
616 <&ccu CLK_USB_OHCI0>;
617 resets = <&ccu RST_BUS_OHCI0>,
618 <&ccu RST_BUS_EHCI0>;
Andre Przywarafb675472021-04-17 22:55:19 +0100619 phys = <&usbphy 0>;
620 phy-names = "usb";
Jagan Tekid5612de2017-06-09 17:57:58 +0530621 status = "disabled";
622 };
623
Andre Przywarae187d582018-07-04 14:16:34 +0100624 ohci0: usb@1c1a400 {
Jagan Tekid5612de2017-06-09 17:57:58 +0530625 compatible = "allwinner,sun50i-a64-ohci", "generic-ohci";
626 reg = <0x01c1a400 0x100>;
627 interrupts = <GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>;
628 clocks = <&ccu CLK_BUS_OHCI0>,
629 <&ccu CLK_USB_OHCI0>;
630 resets = <&ccu RST_BUS_OHCI0>;
Andre Przywarafb675472021-04-17 22:55:19 +0100631 phys = <&usbphy 0>;
632 phy-names = "usb";
Jagan Tekid5612de2017-06-09 17:57:58 +0530633 status = "disabled";
634 };
635
Andre Przywarae187d582018-07-04 14:16:34 +0100636 ehci1: usb@1c1b000 {
Andre Przywara8d65e613e2017-05-24 10:34:56 +0100637 compatible = "allwinner,sun50i-a64-ehci", "generic-ehci";
638 reg = <0x01c1b000 0x100>;
639 interrupts = <GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH>;
640 clocks = <&ccu CLK_BUS_OHCI1>,
641 <&ccu CLK_BUS_EHCI1>,
642 <&ccu CLK_USB_OHCI1>;
643 resets = <&ccu RST_BUS_OHCI1>,
644 <&ccu RST_BUS_EHCI1>;
645 phys = <&usbphy 1>;
646 phy-names = "usb";
647 status = "disabled";
648 };
649
Andre Przywarae187d582018-07-04 14:16:34 +0100650 ohci1: usb@1c1b400 {
Andre Przywara8d65e613e2017-05-24 10:34:56 +0100651 compatible = "allwinner,sun50i-a64-ohci", "generic-ohci";
652 reg = <0x01c1b400 0x100>;
653 interrupts = <GIC_SPI 75 IRQ_TYPE_LEVEL_HIGH>;
654 clocks = <&ccu CLK_BUS_OHCI1>,
655 <&ccu CLK_USB_OHCI1>;
656 resets = <&ccu RST_BUS_OHCI1>;
657 phys = <&usbphy 1>;
658 phy-names = "usb";
659 status = "disabled";
660 };
661
Andre Przywarae187d582018-07-04 14:16:34 +0100662 ccu: clock@1c20000 {
Andre Przywara8d65e613e2017-05-24 10:34:56 +0100663 compatible = "allwinner,sun50i-a64-ccu";
664 reg = <0x01c20000 0x400>;
Andre Przywara5eb4bbe2022-09-11 00:04:41 +0100665 clocks = <&osc24M>, <&rtc CLK_OSC32K>;
Andre Przywara8d65e613e2017-05-24 10:34:56 +0100666 clock-names = "hosc", "losc";
667 #clock-cells = <1>;
668 #reset-cells = <1>;
669 };
670
Andre Przywara36748112016-05-04 22:15:33 +0100671 pio: pinctrl@1c20800 {
672 compatible = "allwinner,sun50i-a64-pinctrl";
Siarhei Siamashka26c50fb2016-03-29 17:29:10 +0200673 reg = <0x01c20800 0x400>;
674 interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>,
675 <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>,
676 <GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH>;
Andre Przywara5eb4bbe2022-09-11 00:04:41 +0100677 clocks = <&ccu CLK_BUS_PIO>, <&osc24M>,
678 <&rtc CLK_OSC32K>;
Samuel Holland26bc4e72020-10-24 10:21:55 -0500679 clock-names = "apb", "hosc", "losc";
Siarhei Siamashka26c50fb2016-03-29 17:29:10 +0200680 gpio-controller;
681 #gpio-cells = <3>;
682 interrupt-controller;
Andre Przywara8d65e613e2017-05-24 10:34:56 +0100683 #interrupt-cells = <3>;
Andre Przywara36748112016-05-04 22:15:33 +0100684
Samuel Holland43729b72022-04-27 15:31:30 -0500685 /omit-if-no-ref/
686 aif2_pins: aif2-pins {
687 pins = "PB4", "PB5", "PB6", "PB7";
688 function = "aif2";
689 };
690
691 /omit-if-no-ref/
692 aif3_pins: aif3-pins {
693 pins = "PG10", "PG11", "PG12", "PG13";
694 function = "aif3";
695 };
696
Samuel Holland26bc4e72020-10-24 10:21:55 -0500697 csi_pins: csi-pins {
698 pins = "PE0", "PE2", "PE3", "PE4", "PE5", "PE6",
699 "PE7", "PE8", "PE9", "PE10", "PE11";
700 function = "csi";
701 };
702
703 /omit-if-no-ref/
704 csi_mclk_pin: csi-mclk-pin {
705 pins = "PE1";
706 function = "csi";
707 };
708
709 i2c0_pins: i2c0-pins {
Andre Przywarae187d582018-07-04 14:16:34 +0100710 pins = "PH0", "PH1";
711 function = "i2c0";
712 };
713
Samuel Holland26bc4e72020-10-24 10:21:55 -0500714 i2c1_pins: i2c1-pins {
Andre Przywara8d65e613e2017-05-24 10:34:56 +0100715 pins = "PH2", "PH3";
716 function = "i2c1";
Siarhei Siamashka26c50fb2016-03-29 17:29:10 +0200717 };
718
Samuel Holland26bc4e72020-10-24 10:21:55 -0500719 i2c2_pins: i2c2-pins {
720 pins = "PE14", "PE15";
721 function = "i2c2";
722 };
723
724 /omit-if-no-ref/
725 lcd_rgb666_pins: lcd-rgb666-pins {
726 pins = "PD0", "PD1", "PD2", "PD3", "PD4",
727 "PD5", "PD6", "PD7", "PD8", "PD9",
728 "PD10", "PD11", "PD12", "PD13",
729 "PD14", "PD15", "PD16", "PD17",
730 "PD18", "PD19", "PD20", "PD21";
731 function = "lcd0";
732 };
733
Andre Przywara8d65e613e2017-05-24 10:34:56 +0100734 mmc0_pins: mmc0-pins {
735 pins = "PF0", "PF1", "PF2", "PF3",
736 "PF4", "PF5";
737 function = "mmc0";
738 drive-strength = <30>;
739 bias-pull-up;
Siarhei Siamashka26c50fb2016-03-29 17:29:10 +0200740 };
Andre Przywara36748112016-05-04 22:15:33 +0100741
Andre Przywara8d65e613e2017-05-24 10:34:56 +0100742 mmc1_pins: mmc1-pins {
743 pins = "PG0", "PG1", "PG2", "PG3",
744 "PG4", "PG5";
745 function = "mmc1";
746 drive-strength = <30>;
747 bias-pull-up;
Andre Przywara36748112016-05-04 22:15:33 +0100748 };
749
Andre Przywara8d65e613e2017-05-24 10:34:56 +0100750 mmc2_pins: mmc2-pins {
Andre Przywara9607c052018-10-29 00:56:47 +0000751 pins = "PC5", "PC6", "PC8", "PC9",
Andre Przywara8d65e613e2017-05-24 10:34:56 +0100752 "PC10","PC11", "PC12", "PC13",
753 "PC14", "PC15", "PC16";
754 function = "mmc2";
755 drive-strength = <30>;
756 bias-pull-up;
Andre Przywara36748112016-05-04 22:15:33 +0100757 };
758
Andre Przywara9607c052018-10-29 00:56:47 +0000759 mmc2_ds_pin: mmc2-ds-pin {
760 pins = "PC1";
761 function = "mmc2";
762 drive-strength = <30>;
763 bias-pull-up;
764 };
765
Samuel Holland26bc4e72020-10-24 10:21:55 -0500766 pwm_pin: pwm-pin {
Andre Przywara9607c052018-10-29 00:56:47 +0000767 pins = "PD22";
768 function = "pwm";
769 };
770
Samuel Holland26bc4e72020-10-24 10:21:55 -0500771 rmii_pins: rmii-pins {
Andre Przywarae187d582018-07-04 14:16:34 +0100772 pins = "PD10", "PD11", "PD13", "PD14", "PD17",
773 "PD18", "PD19", "PD20", "PD22", "PD23";
774 function = "emac";
775 drive-strength = <40>;
776 };
777
Samuel Holland26bc4e72020-10-24 10:21:55 -0500778 rgmii_pins: rgmii-pins {
Andre Przywarae187d582018-07-04 14:16:34 +0100779 pins = "PD8", "PD9", "PD10", "PD11", "PD12",
780 "PD13", "PD15", "PD16", "PD17", "PD18",
781 "PD19", "PD20", "PD21", "PD22", "PD23";
782 function = "emac";
783 drive-strength = <40>;
784 };
785
Samuel Holland26bc4e72020-10-24 10:21:55 -0500786 spdif_tx_pin: spdif-tx-pin {
Andre Przywarae187d582018-07-04 14:16:34 +0100787 pins = "PH8";
788 function = "spdif";
789 };
790
Samuel Holland26bc4e72020-10-24 10:21:55 -0500791 spi0_pins: spi0-pins {
Andre Przywarae187d582018-07-04 14:16:34 +0100792 pins = "PC0", "PC1", "PC2", "PC3";
793 function = "spi0";
794 };
795
Samuel Holland26bc4e72020-10-24 10:21:55 -0500796 spi1_pins: spi1-pins {
Andre Przywarae187d582018-07-04 14:16:34 +0100797 pins = "PD0", "PD1", "PD2", "PD3";
798 function = "spi1";
799 };
800
Andre Przywara9607c052018-10-29 00:56:47 +0000801 uart0_pb_pins: uart0-pb-pins {
Andre Przywara8d65e613e2017-05-24 10:34:56 +0100802 pins = "PB8", "PB9";
803 function = "uart0";
Andre Przywara36748112016-05-04 22:15:33 +0100804 };
Amit Singh Tomard194c0e2016-07-06 17:59:44 +0530805
Samuel Holland26bc4e72020-10-24 10:21:55 -0500806 uart1_pins: uart1-pins {
Andre Przywara8d65e613e2017-05-24 10:34:56 +0100807 pins = "PG6", "PG7";
808 function = "uart1";
Amit Singh Tomard194c0e2016-07-06 17:59:44 +0530809 };
810
Samuel Holland26bc4e72020-10-24 10:21:55 -0500811 uart1_rts_cts_pins: uart1-rts-cts-pins {
Andre Przywara8d65e613e2017-05-24 10:34:56 +0100812 pins = "PG8", "PG9";
813 function = "uart1";
Amit Singh Tomard194c0e2016-07-06 17:59:44 +0530814 };
Andre Przywarae187d582018-07-04 14:16:34 +0100815
816 uart2_pins: uart2-pins {
817 pins = "PB0", "PB1";
818 function = "uart2";
819 };
820
821 uart3_pins: uart3-pins {
822 pins = "PD0", "PD1";
823 function = "uart3";
824 };
825
826 uart4_pins: uart4-pins {
827 pins = "PD2", "PD3";
828 function = "uart4";
829 };
830
831 uart4_rts_cts_pins: uart4-rts-cts-pins {
832 pins = "PD4", "PD5";
833 function = "uart4";
834 };
Siarhei Siamashka26c50fb2016-03-29 17:29:10 +0200835 };
836
Samuel Holland43729b72022-04-27 15:31:30 -0500837 timer@1c20c00 {
838 compatible = "allwinner,sun50i-a64-timer",
839 "allwinner,sun8i-a23-timer";
840 reg = <0x01c20c00 0xa0>;
841 interrupts = <GIC_SPI 18 IRQ_TYPE_LEVEL_HIGH>,
842 <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>;
843 clocks = <&osc24M>;
844 };
845
846 wdt0: watchdog@1c20ca0 {
847 compatible = "allwinner,sun50i-a64-wdt",
848 "allwinner,sun6i-a31-wdt";
849 reg = <0x01c20ca0 0x20>;
850 interrupts = <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>;
851 clocks = <&osc24M>;
852 };
853
Andre Przywarae187d582018-07-04 14:16:34 +0100854 spdif: spdif@1c21000 {
855 #sound-dai-cells = <0>;
856 compatible = "allwinner,sun50i-a64-spdif",
857 "allwinner,sun8i-h3-spdif";
858 reg = <0x01c21000 0x400>;
859 interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>;
860 clocks = <&ccu CLK_BUS_SPDIF>, <&ccu CLK_SPDIF>;
861 resets = <&ccu RST_BUS_SPDIF>;
862 clock-names = "apb", "spdif";
863 dmas = <&dma 2>;
864 dma-names = "tx";
865 pinctrl-names = "default";
866 pinctrl-0 = <&spdif_tx_pin>;
867 status = "disabled";
868 };
869
Samuel Holland26bc4e72020-10-24 10:21:55 -0500870 lradc: lradc@1c21800 {
871 compatible = "allwinner,sun50i-a64-lradc",
872 "allwinner,sun8i-a83t-r-lradc";
873 reg = <0x01c21800 0x400>;
874 interrupts = <GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>;
875 status = "disabled";
876 };
877
Andre Przywarae187d582018-07-04 14:16:34 +0100878 i2s0: i2s@1c22000 {
879 #sound-dai-cells = <0>;
880 compatible = "allwinner,sun50i-a64-i2s",
881 "allwinner,sun8i-h3-i2s";
882 reg = <0x01c22000 0x400>;
883 interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>;
884 clocks = <&ccu CLK_BUS_I2S0>, <&ccu CLK_I2S0>;
885 clock-names = "apb", "mod";
886 resets = <&ccu RST_BUS_I2S0>;
887 dma-names = "rx", "tx";
888 dmas = <&dma 3>, <&dma 3>;
889 status = "disabled";
890 };
891
892 i2s1: i2s@1c22400 {
893 #sound-dai-cells = <0>;
894 compatible = "allwinner,sun50i-a64-i2s",
895 "allwinner,sun8i-h3-i2s";
896 reg = <0x01c22400 0x400>;
897 interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>;
898 clocks = <&ccu CLK_BUS_I2S1>, <&ccu CLK_I2S1>;
899 clock-names = "apb", "mod";
900 resets = <&ccu RST_BUS_I2S1>;
901 dma-names = "rx", "tx";
902 dmas = <&dma 4>, <&dma 4>;
903 status = "disabled";
904 };
905
Andre Przywarafb675472021-04-17 22:55:19 +0100906 i2s2: i2s@1c22800 {
907 #sound-dai-cells = <0>;
908 compatible = "allwinner,sun50i-a64-i2s",
909 "allwinner,sun8i-h3-i2s";
910 reg = <0x01c22800 0x400>;
911 interrupts = <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>;
912 clocks = <&ccu CLK_BUS_I2S2>, <&ccu CLK_I2S2>;
913 clock-names = "apb", "mod";
914 resets = <&ccu RST_BUS_I2S2>;
915 dma-names = "rx", "tx";
916 dmas = <&dma 27>, <&dma 27>;
917 status = "disabled";
918 };
919
Samuel Holland26bc4e72020-10-24 10:21:55 -0500920 dai: dai@1c22c00 {
921 #sound-dai-cells = <0>;
922 compatible = "allwinner,sun50i-a64-codec-i2s";
923 reg = <0x01c22c00 0x200>;
924 interrupts = <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>;
925 clocks = <&ccu CLK_BUS_CODEC>, <&ccu CLK_AC_DIG>;
926 clock-names = "apb", "mod";
927 resets = <&ccu RST_BUS_CODEC>;
928 dmas = <&dma 15>, <&dma 15>;
929 dma-names = "rx", "tx";
930 status = "disabled";
931 };
932
933 codec: codec@1c22e00 {
Samuel Holland43729b72022-04-27 15:31:30 -0500934 #sound-dai-cells = <1>;
Andre Przywarafb675472021-04-17 22:55:19 +0100935 compatible = "allwinner,sun50i-a64-codec",
936 "allwinner,sun8i-a33-codec";
Samuel Holland26bc4e72020-10-24 10:21:55 -0500937 reg = <0x01c22e00 0x600>;
938 interrupts = <GIC_SPI 28 IRQ_TYPE_LEVEL_HIGH>;
939 clocks = <&ccu CLK_BUS_CODEC>, <&ccu CLK_AC_DIG>;
940 clock-names = "bus", "mod";
941 status = "disabled";
942 };
943
944 ths: thermal-sensor@1c25000 {
945 compatible = "allwinner,sun50i-a64-ths";
946 reg = <0x01c25000 0x100>;
947 clocks = <&ccu CLK_BUS_THS>, <&ccu CLK_THS>;
948 clock-names = "bus", "mod";
949 interrupts = <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>;
950 resets = <&ccu RST_BUS_THS>;
951 nvmem-cells = <&ths_calibration>;
952 nvmem-cell-names = "calibration";
953 #thermal-sensor-cells = <1>;
954 };
955
Andre Przywara36748112016-05-04 22:15:33 +0100956 uart0: serial@1c28000 {
Siarhei Siamashka26c50fb2016-03-29 17:29:10 +0200957 compatible = "snps,dw-apb-uart";
958 reg = <0x01c28000 0x400>;
959 interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>;
960 reg-shift = <2>;
961 reg-io-width = <4>;
Andre Przywarae187d582018-07-04 14:16:34 +0100962 clocks = <&ccu CLK_BUS_UART0>;
963 resets = <&ccu RST_BUS_UART0>;
Siarhei Siamashka26c50fb2016-03-29 17:29:10 +0200964 status = "disabled";
965 };
966
Andre Przywara36748112016-05-04 22:15:33 +0100967 uart1: serial@1c28400 {
Siarhei Siamashka26c50fb2016-03-29 17:29:10 +0200968 compatible = "snps,dw-apb-uart";
969 reg = <0x01c28400 0x400>;
970 interrupts = <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>;
971 reg-shift = <2>;
972 reg-io-width = <4>;
Andre Przywarae187d582018-07-04 14:16:34 +0100973 clocks = <&ccu CLK_BUS_UART1>;
974 resets = <&ccu RST_BUS_UART1>;
Siarhei Siamashka26c50fb2016-03-29 17:29:10 +0200975 status = "disabled";
976 };
977
Andre Przywara36748112016-05-04 22:15:33 +0100978 uart2: serial@1c28800 {
Siarhei Siamashka26c50fb2016-03-29 17:29:10 +0200979 compatible = "snps,dw-apb-uart";
980 reg = <0x01c28800 0x400>;
981 interrupts = <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>;
982 reg-shift = <2>;
983 reg-io-width = <4>;
Andre Przywarae187d582018-07-04 14:16:34 +0100984 clocks = <&ccu CLK_BUS_UART2>;
985 resets = <&ccu RST_BUS_UART2>;
Siarhei Siamashka26c50fb2016-03-29 17:29:10 +0200986 status = "disabled";
987 };
988
Andre Przywara36748112016-05-04 22:15:33 +0100989 uart3: serial@1c28c00 {
Siarhei Siamashka26c50fb2016-03-29 17:29:10 +0200990 compatible = "snps,dw-apb-uart";
991 reg = <0x01c28c00 0x400>;
992 interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>;
993 reg-shift = <2>;
994 reg-io-width = <4>;
Andre Przywarae187d582018-07-04 14:16:34 +0100995 clocks = <&ccu CLK_BUS_UART3>;
996 resets = <&ccu RST_BUS_UART3>;
Siarhei Siamashka26c50fb2016-03-29 17:29:10 +0200997 status = "disabled";
998 };
999
Andre Przywara36748112016-05-04 22:15:33 +01001000 uart4: serial@1c29000 {
Siarhei Siamashka26c50fb2016-03-29 17:29:10 +02001001 compatible = "snps,dw-apb-uart";
1002 reg = <0x01c29000 0x400>;
1003 interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;
1004 reg-shift = <2>;
1005 reg-io-width = <4>;
Andre Przywarae187d582018-07-04 14:16:34 +01001006 clocks = <&ccu CLK_BUS_UART4>;
1007 resets = <&ccu RST_BUS_UART4>;
Siarhei Siamashka26c50fb2016-03-29 17:29:10 +02001008 status = "disabled";
1009 };
1010
Andre Przywara36748112016-05-04 22:15:33 +01001011 i2c0: i2c@1c2ac00 {
1012 compatible = "allwinner,sun6i-a31-i2c";
1013 reg = <0x01c2ac00 0x400>;
1014 interrupts = <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>;
Andre Przywarae187d582018-07-04 14:16:34 +01001015 clocks = <&ccu CLK_BUS_I2C0>;
1016 resets = <&ccu RST_BUS_I2C0>;
Samuel Holland26bc4e72020-10-24 10:21:55 -05001017 pinctrl-names = "default";
1018 pinctrl-0 = <&i2c0_pins>;
Andre Przywara36748112016-05-04 22:15:33 +01001019 status = "disabled";
1020 #address-cells = <1>;
1021 #size-cells = <0>;
1022 };
Siarhei Siamashka26c50fb2016-03-29 17:29:10 +02001023
Andre Przywara36748112016-05-04 22:15:33 +01001024 i2c1: i2c@1c2b000 {
1025 compatible = "allwinner,sun6i-a31-i2c";
1026 reg = <0x01c2b000 0x400>;
1027 interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>;
Andre Przywarae187d582018-07-04 14:16:34 +01001028 clocks = <&ccu CLK_BUS_I2C1>;
1029 resets = <&ccu RST_BUS_I2C1>;
Samuel Holland26bc4e72020-10-24 10:21:55 -05001030 pinctrl-names = "default";
1031 pinctrl-0 = <&i2c1_pins>;
Andre Przywara36748112016-05-04 22:15:33 +01001032 status = "disabled";
1033 #address-cells = <1>;
1034 #size-cells = <0>;
1035 };
1036
1037 i2c2: i2c@1c2b400 {
1038 compatible = "allwinner,sun6i-a31-i2c";
1039 reg = <0x01c2b400 0x400>;
1040 interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>;
Andre Przywarae187d582018-07-04 14:16:34 +01001041 clocks = <&ccu CLK_BUS_I2C2>;
1042 resets = <&ccu RST_BUS_I2C2>;
Samuel Holland26bc4e72020-10-24 10:21:55 -05001043 pinctrl-names = "default";
1044 pinctrl-0 = <&i2c2_pins>;
Andre Przywarae187d582018-07-04 14:16:34 +01001045 status = "disabled";
1046 #address-cells = <1>;
1047 #size-cells = <0>;
1048 };
1049
Andre Przywarae187d582018-07-04 14:16:34 +01001050 spi0: spi@1c68000 {
1051 compatible = "allwinner,sun8i-h3-spi";
1052 reg = <0x01c68000 0x1000>;
1053 interrupts = <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>;
1054 clocks = <&ccu CLK_BUS_SPI0>, <&ccu CLK_SPI0>;
1055 clock-names = "ahb", "mod";
1056 dmas = <&dma 23>, <&dma 23>;
1057 dma-names = "rx", "tx";
1058 pinctrl-names = "default";
1059 pinctrl-0 = <&spi0_pins>;
1060 resets = <&ccu RST_BUS_SPI0>;
1061 status = "disabled";
1062 num-cs = <1>;
1063 #address-cells = <1>;
1064 #size-cells = <0>;
1065 };
1066
1067 spi1: spi@1c69000 {
1068 compatible = "allwinner,sun8i-h3-spi";
1069 reg = <0x01c69000 0x1000>;
1070 interrupts = <GIC_SPI 66 IRQ_TYPE_LEVEL_HIGH>;
1071 clocks = <&ccu CLK_BUS_SPI1>, <&ccu CLK_SPI1>;
1072 clock-names = "ahb", "mod";
1073 dmas = <&dma 24>, <&dma 24>;
1074 dma-names = "rx", "tx";
1075 pinctrl-names = "default";
1076 pinctrl-0 = <&spi1_pins>;
1077 resets = <&ccu RST_BUS_SPI1>;
Andre Przywara36748112016-05-04 22:15:33 +01001078 status = "disabled";
Andre Przywarae187d582018-07-04 14:16:34 +01001079 num-cs = <1>;
Andre Przywara36748112016-05-04 22:15:33 +01001080 #address-cells = <1>;
1081 #size-cells = <0>;
1082 };
Amit Singh Tomard194c0e2016-07-06 17:59:44 +05301083
Andre Przywarae187d582018-07-04 14:16:34 +01001084 emac: ethernet@1c30000 {
1085 compatible = "allwinner,sun50i-a64-emac";
1086 syscon = <&syscon>;
1087 reg = <0x01c30000 0x10000>;
1088 interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>;
1089 interrupt-names = "macirq";
1090 resets = <&ccu RST_BUS_EMAC>;
1091 reset-names = "stmmaceth";
1092 clocks = <&ccu CLK_BUS_EMAC>;
1093 clock-names = "stmmaceth";
1094 status = "disabled";
Andre Przywarae187d582018-07-04 14:16:34 +01001095
1096 mdio: mdio {
1097 compatible = "snps,dwmac-mdio";
1098 #address-cells = <1>;
1099 #size-cells = <0>;
1100 };
1101 };
1102
Samuel Holland26bc4e72020-10-24 10:21:55 -05001103 mali: gpu@1c40000 {
1104 compatible = "allwinner,sun50i-a64-mali", "arm,mali-400";
1105 reg = <0x01c40000 0x10000>;
1106 interrupts = <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>,
1107 <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>,
1108 <GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>,
1109 <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>,
1110 <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>,
1111 <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>,
1112 <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>;
1113 interrupt-names = "gp",
1114 "gpmmu",
1115 "pp0",
1116 "ppmmu0",
1117 "pp1",
1118 "ppmmu1",
1119 "pmu";
1120 clocks = <&ccu CLK_BUS_GPU>, <&ccu CLK_GPU>;
1121 clock-names = "bus", "core";
1122 resets = <&ccu RST_BUS_GPU>;
Samuel Holland43729b72022-04-27 15:31:30 -05001123 operating-points-v2 = <&gpu_opp_table>;
Samuel Holland26bc4e72020-10-24 10:21:55 -05001124 };
1125
Andre Przywara8d65e613e2017-05-24 10:34:56 +01001126 gic: interrupt-controller@1c81000 {
1127 compatible = "arm,gic-400";
1128 reg = <0x01c81000 0x1000>,
1129 <0x01c82000 0x2000>,
1130 <0x01c84000 0x2000>,
1131 <0x01c86000 0x2000>;
1132 interrupts = <GIC_PPI 9 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>;
1133 interrupt-controller;
1134 #interrupt-cells = <3>;
Amit Singh Tomard194c0e2016-07-06 17:59:44 +05301135 };
Amit Singh Tomarbd732d02016-10-21 02:24:30 +01001136
Andre Przywara9607c052018-10-29 00:56:47 +00001137 pwm: pwm@1c21400 {
1138 compatible = "allwinner,sun50i-a64-pwm",
1139 "allwinner,sun5i-a13-pwm";
1140 reg = <0x01c21400 0x400>;
1141 clocks = <&osc24M>;
1142 pinctrl-names = "default";
1143 pinctrl-0 = <&pwm_pin>;
1144 #pwm-cells = <3>;
1145 status = "disabled";
Samuel Holland26bc4e72020-10-24 10:21:55 -05001146 };
1147
1148 mbus: dram-controller@1c62000 {
1149 compatible = "allwinner,sun50i-a64-mbus";
Samuel Holland43729b72022-04-27 15:31:30 -05001150 reg = <0x01c62000 0x1000>,
1151 <0x01c63000 0x1000>;
1152 reg-names = "mbus", "dram";
1153 clocks = <&ccu CLK_MBUS>,
1154 <&ccu CLK_DRAM>,
1155 <&ccu CLK_BUS_DRAM>;
1156 clock-names = "mbus", "dram", "bus";
1157 interrupts = <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>;
Samuel Holland26bc4e72020-10-24 10:21:55 -05001158 #address-cells = <1>;
1159 #size-cells = <1>;
1160 dma-ranges = <0x00000000 0x40000000 0xc0000000>;
1161 #interconnect-cells = <1>;
1162 };
1163
1164 csi: csi@1cb0000 {
1165 compatible = "allwinner,sun50i-a64-csi";
1166 reg = <0x01cb0000 0x1000>;
1167 interrupts = <GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>;
1168 clocks = <&ccu CLK_BUS_CSI>,
1169 <&ccu CLK_CSI_SCLK>,
1170 <&ccu CLK_DRAM_CSI>;
1171 clock-names = "bus", "mod", "ram";
1172 resets = <&ccu RST_BUS_CSI>;
1173 pinctrl-names = "default";
1174 pinctrl-0 = <&csi_pins>;
1175 status = "disabled";
1176 };
1177
1178 dsi: dsi@1ca0000 {
1179 compatible = "allwinner,sun50i-a64-mipi-dsi";
1180 reg = <0x01ca0000 0x1000>;
1181 interrupts = <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>;
1182 clocks = <&ccu CLK_BUS_MIPI_DSI>;
1183 resets = <&ccu RST_BUS_MIPI_DSI>;
1184 phys = <&dphy>;
1185 phy-names = "dphy";
1186 status = "disabled";
1187 #address-cells = <1>;
1188 #size-cells = <0>;
1189
1190 port {
1191 dsi_in_tcon0: endpoint {
1192 remote-endpoint = <&tcon0_out_dsi>;
1193 };
1194 };
Andre Przywara9607c052018-10-29 00:56:47 +00001195 };
1196
Samuel Holland26bc4e72020-10-24 10:21:55 -05001197 dphy: d-phy@1ca1000 {
1198 compatible = "allwinner,sun50i-a64-mipi-dphy",
1199 "allwinner,sun6i-a31-mipi-dphy";
1200 reg = <0x01ca1000 0x1000>;
Andre Przywara3e435d12023-04-02 01:17:07 +01001201 interrupts = <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>;
Samuel Holland26bc4e72020-10-24 10:21:55 -05001202 clocks = <&ccu CLK_BUS_MIPI_DSI>,
1203 <&ccu CLK_DSI_DPHY>;
1204 clock-names = "bus", "mod";
1205 resets = <&ccu RST_BUS_MIPI_DSI>;
1206 status = "disabled";
1207 #phy-cells = <0>;
1208 };
1209
1210 deinterlace: deinterlace@1e00000 {
1211 compatible = "allwinner,sun50i-a64-deinterlace",
1212 "allwinner,sun8i-h3-deinterlace";
1213 reg = <0x01e00000 0x20000>;
1214 clocks = <&ccu CLK_BUS_DEINTERLACE>,
1215 <&ccu CLK_DEINTERLACE>,
1216 <&ccu CLK_DRAM_DEINTERLACE>;
1217 clock-names = "bus", "mod", "ram";
1218 resets = <&ccu RST_BUS_DEINTERLACE>;
1219 interrupts = <GIC_SPI 93 IRQ_TYPE_LEVEL_HIGH>;
1220 interconnects = <&mbus 9>;
1221 interconnect-names = "dma-mem";
1222 };
1223
Andre Przywara9607c052018-10-29 00:56:47 +00001224 hdmi: hdmi@1ee0000 {
1225 compatible = "allwinner,sun50i-a64-dw-hdmi",
1226 "allwinner,sun8i-a83t-dw-hdmi";
1227 reg = <0x01ee0000 0x10000>;
1228 reg-io-width = <1>;
1229 interrupts = <GIC_SPI 88 IRQ_TYPE_LEVEL_HIGH>;
1230 clocks = <&ccu CLK_BUS_HDMI>, <&ccu CLK_HDMI_DDC>,
Andre Przywara5eb4bbe2022-09-11 00:04:41 +01001231 <&ccu CLK_HDMI>, <&rtc CLK_OSC32K>;
Samuel Holland43729b72022-04-27 15:31:30 -05001232 clock-names = "iahb", "isfr", "tmds", "cec";
Andre Przywara9607c052018-10-29 00:56:47 +00001233 resets = <&ccu RST_BUS_HDMI1>;
1234 reset-names = "ctrl";
1235 phys = <&hdmi_phy>;
Samuel Holland26bc4e72020-10-24 10:21:55 -05001236 phy-names = "phy";
Andre Przywara9607c052018-10-29 00:56:47 +00001237 status = "disabled";
1238
1239 ports {
1240 #address-cells = <1>;
1241 #size-cells = <0>;
1242
1243 hdmi_in: port@0 {
1244 reg = <0>;
1245
1246 hdmi_in_tcon1: endpoint {
1247 remote-endpoint = <&tcon1_out_hdmi>;
1248 };
1249 };
1250
1251 hdmi_out: port@1 {
1252 reg = <1>;
1253 };
1254 };
1255 };
1256
1257 hdmi_phy: hdmi-phy@1ef0000 {
1258 compatible = "allwinner,sun50i-a64-hdmi-phy";
1259 reg = <0x01ef0000 0x10000>;
1260 clocks = <&ccu CLK_BUS_HDMI>, <&ccu CLK_HDMI_DDC>,
Samuel Holland26bc4e72020-10-24 10:21:55 -05001261 <&ccu CLK_PLL_VIDEO0>;
Andre Przywara9607c052018-10-29 00:56:47 +00001262 clock-names = "bus", "mod", "pll-0";
1263 resets = <&ccu RST_BUS_HDMI0>;
1264 reset-names = "phy";
1265 #phy-cells = <0>;
1266 };
1267
Andre Przywara8d65e613e2017-05-24 10:34:56 +01001268 rtc: rtc@1f00000 {
Samuel Holland26bc4e72020-10-24 10:21:55 -05001269 compatible = "allwinner,sun50i-a64-rtc",
1270 "allwinner,sun8i-h3-rtc";
1271 reg = <0x01f00000 0x400>;
Andre Przywara8d65e613e2017-05-24 10:34:56 +01001272 interrupts = <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>,
1273 <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>;
Samuel Holland26bc4e72020-10-24 10:21:55 -05001274 clock-output-names = "osc32k", "osc32k-out", "iosc";
Andre Przywara9607c052018-10-29 00:56:47 +00001275 clocks = <&osc32k>;
1276 #clock-cells = <1>;
Amit Singh Tomarbd732d02016-10-21 02:24:30 +01001277 };
1278
Andre Przywarae187d582018-07-04 14:16:34 +01001279 r_intc: interrupt-controller@1f00c00 {
1280 compatible = "allwinner,sun50i-a64-r-intc",
1281 "allwinner,sun6i-a31-r-intc";
1282 interrupt-controller;
1283 #interrupt-cells = <2>;
1284 reg = <0x01f00c00 0x400>;
1285 interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>;
1286 };
1287
Andre Przywara8d65e613e2017-05-24 10:34:56 +01001288 r_ccu: clock@1f01400 {
1289 compatible = "allwinner,sun50i-a64-r-ccu";
1290 reg = <0x01f01400 0x100>;
Andre Przywara5eb4bbe2022-09-11 00:04:41 +01001291 clocks = <&osc24M>, <&rtc CLK_OSC32K>, <&rtc CLK_IOSC>,
Samuel Holland26bc4e72020-10-24 10:21:55 -05001292 <&ccu CLK_PLL_PERIPH0>;
Andre Przywarae187d582018-07-04 14:16:34 +01001293 clock-names = "hosc", "losc", "iosc", "pll-periph";
Andre Przywara8d65e613e2017-05-24 10:34:56 +01001294 #clock-cells = <1>;
1295 #reset-cells = <1>;
Amit Singh Tomarbd732d02016-10-21 02:24:30 +01001296 };
1297
Samuel Holland26bc4e72020-10-24 10:21:55 -05001298 codec_analog: codec-analog@1f015c0 {
1299 compatible = "allwinner,sun50i-a64-codec-analog";
1300 reg = <0x01f015c0 0x4>;
1301 status = "disabled";
1302 };
1303
Andre Przywara9607c052018-10-29 00:56:47 +00001304 r_i2c: i2c@1f02400 {
1305 compatible = "allwinner,sun50i-a64-i2c",
1306 "allwinner,sun6i-a31-i2c";
1307 reg = <0x01f02400 0x400>;
1308 interrupts = <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>;
1309 clocks = <&r_ccu CLK_APB0_I2C>;
1310 resets = <&r_ccu RST_APB0_I2C>;
1311 status = "disabled";
1312 #address-cells = <1>;
1313 #size-cells = <0>;
1314 };
1315
Samuel Holland26bc4e72020-10-24 10:21:55 -05001316 r_ir: ir@1f02000 {
1317 compatible = "allwinner,sun50i-a64-ir",
1318 "allwinner,sun6i-a31-ir";
1319 reg = <0x01f02000 0x400>;
1320 clocks = <&r_ccu CLK_APB0_IR>, <&r_ccu CLK_IR>;
1321 clock-names = "apb", "ir";
1322 resets = <&r_ccu RST_APB0_IR>;
1323 interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
1324 pinctrl-names = "default";
1325 pinctrl-0 = <&r_ir_rx_pin>;
1326 status = "disabled";
1327 };
1328
Andre Przywara9607c052018-10-29 00:56:47 +00001329 r_pwm: pwm@1f03800 {
1330 compatible = "allwinner,sun50i-a64-pwm",
1331 "allwinner,sun5i-a13-pwm";
1332 reg = <0x01f03800 0x400>;
1333 clocks = <&osc24M>;
1334 pinctrl-names = "default";
1335 pinctrl-0 = <&r_pwm_pin>;
1336 #pwm-cells = <3>;
1337 status = "disabled";
1338 };
1339
Andre Przywarae187d582018-07-04 14:16:34 +01001340 r_pio: pinctrl@1f02c00 {
Andre Przywara8d65e613e2017-05-24 10:34:56 +01001341 compatible = "allwinner,sun50i-a64-r-pinctrl";
1342 reg = <0x01f02c00 0x400>;
1343 interrupts = <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>;
Andre Przywarae187d582018-07-04 14:16:34 +01001344 clocks = <&r_ccu CLK_APB0_PIO>, <&osc24M>, <&osc32k>;
Andre Przywara8d65e613e2017-05-24 10:34:56 +01001345 clock-names = "apb", "hosc", "losc";
1346 gpio-controller;
1347 #gpio-cells = <3>;
1348 interrupt-controller;
1349 #interrupt-cells = <3>;
Andre Przywarae187d582018-07-04 14:16:34 +01001350
Andre Przywara9607c052018-10-29 00:56:47 +00001351 r_i2c_pl89_pins: r-i2c-pl89-pins {
1352 pins = "PL8", "PL9";
1353 function = "s_i2c";
1354 };
1355
Samuel Holland26bc4e72020-10-24 10:21:55 -05001356 r_ir_rx_pin: r-ir-rx-pin {
1357 pins = "PL11";
1358 function = "s_cir_rx";
1359 };
1360
1361 r_pwm_pin: r-pwm-pin {
Andre Przywara9607c052018-10-29 00:56:47 +00001362 pins = "PL10";
1363 function = "s_pwm";
1364 };
1365
Samuel Holland26bc4e72020-10-24 10:21:55 -05001366 r_rsb_pins: r-rsb-pins {
Andre Przywarae187d582018-07-04 14:16:34 +01001367 pins = "PL0", "PL1";
1368 function = "s_rsb";
1369 };
1370 };
1371
1372 r_rsb: rsb@1f03400 {
1373 compatible = "allwinner,sun8i-a23-rsb";
1374 reg = <0x01f03400 0x400>;
1375 interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>;
1376 clocks = <&r_ccu 6>;
1377 clock-frequency = <3000000>;
1378 resets = <&r_ccu 2>;
1379 pinctrl-names = "default";
1380 pinctrl-0 = <&r_rsb_pins>;
1381 status = "disabled";
1382 #address-cells = <1>;
1383 #size-cells = <0>;
1384 };
Siarhei Siamashka26c50fb2016-03-29 17:29:10 +02001385 };
1386};