xref: /freebsd-src/sys/contrib/device-tree/src/arm/allwinner/sun8i-r40.dtsi (revision 84943d6f38e936ac3b7a3947ca26eeb27a39f938)
1f126890aSEmmanuel Vadot/*
2f126890aSEmmanuel Vadot * Copyright 2017 Chen-Yu Tsai <wens@csie.org>
3f126890aSEmmanuel Vadot * Copyright 2017 Icenowy Zheng <icenowy@aosc.io>
4f126890aSEmmanuel Vadot *
5f126890aSEmmanuel Vadot * This file is dual-licensed: you can use it either under the terms
6f126890aSEmmanuel Vadot * of the GPL or the X11 license, at your option. Note that this dual
7f126890aSEmmanuel Vadot * licensing only applies to this file, and not this project as a
8f126890aSEmmanuel Vadot * whole.
9f126890aSEmmanuel Vadot *
10f126890aSEmmanuel Vadot *  a) This file is free software; you can redistribute it and/or
11f126890aSEmmanuel Vadot *     modify it under the terms of the GNU General Public License as
12f126890aSEmmanuel Vadot *     published by the Free Software Foundation; either version 2 of the
13f126890aSEmmanuel Vadot *     License, or (at your option) any later version.
14f126890aSEmmanuel Vadot *
15f126890aSEmmanuel Vadot *     This file is distributed in the hope that it will be useful,
16f126890aSEmmanuel Vadot *     but WITHOUT ANY WARRANTY; without even the implied warranty of
17f126890aSEmmanuel Vadot *     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18f126890aSEmmanuel Vadot *     GNU General Public License for more details.
19f126890aSEmmanuel Vadot *
20f126890aSEmmanuel Vadot * Or, alternatively,
21f126890aSEmmanuel Vadot *
22f126890aSEmmanuel Vadot *  b) Permission is hereby granted, free of charge, to any person
23f126890aSEmmanuel Vadot *     obtaining a copy of this software and associated documentation
24f126890aSEmmanuel Vadot *     files (the "Software"), to deal in the Software without
25f126890aSEmmanuel Vadot *     restriction, including without limitation the rights to use,
26f126890aSEmmanuel Vadot *     copy, modify, merge, publish, distribute, sublicense, and/or
27f126890aSEmmanuel Vadot *     sell copies of the Software, and to permit persons to whom the
28f126890aSEmmanuel Vadot *     Software is furnished to do so, subject to the following
29f126890aSEmmanuel Vadot *     conditions:
30f126890aSEmmanuel Vadot *
31f126890aSEmmanuel Vadot *     The above copyright notice and this permission notice shall be
32f126890aSEmmanuel Vadot *     included in all copies or substantial portions of the Software.
33f126890aSEmmanuel Vadot *
34f126890aSEmmanuel Vadot *     THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
35f126890aSEmmanuel Vadot *     EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
36f126890aSEmmanuel Vadot *     OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
37f126890aSEmmanuel Vadot *     NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
38f126890aSEmmanuel Vadot *     HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
39f126890aSEmmanuel Vadot *     WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
40f126890aSEmmanuel Vadot *     FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
41f126890aSEmmanuel Vadot *     OTHER DEALINGS IN THE SOFTWARE.
42f126890aSEmmanuel Vadot */
43f126890aSEmmanuel Vadot
44f126890aSEmmanuel Vadot#include <dt-bindings/interrupt-controller/arm-gic.h>
45f126890aSEmmanuel Vadot#include <dt-bindings/clock/sun6i-rtc.h>
46f126890aSEmmanuel Vadot#include <dt-bindings/clock/sun8i-de2.h>
47f126890aSEmmanuel Vadot#include <dt-bindings/clock/sun8i-r40-ccu.h>
48f126890aSEmmanuel Vadot#include <dt-bindings/clock/sun8i-tcon-top.h>
49f126890aSEmmanuel Vadot#include <dt-bindings/reset/sun8i-r40-ccu.h>
50f126890aSEmmanuel Vadot#include <dt-bindings/reset/sun8i-de2.h>
51f126890aSEmmanuel Vadot#include <dt-bindings/thermal/thermal.h>
52f126890aSEmmanuel Vadot
53f126890aSEmmanuel Vadot/ {
54f126890aSEmmanuel Vadot	#address-cells = <1>;
55f126890aSEmmanuel Vadot	#size-cells = <1>;
56f126890aSEmmanuel Vadot	interrupt-parent = <&gic>;
57f126890aSEmmanuel Vadot
58f126890aSEmmanuel Vadot	clocks {
59f126890aSEmmanuel Vadot		#address-cells = <1>;
60f126890aSEmmanuel Vadot		#size-cells = <1>;
61f126890aSEmmanuel Vadot		ranges;
62f126890aSEmmanuel Vadot
63f126890aSEmmanuel Vadot		osc24M: osc24M {
64f126890aSEmmanuel Vadot			#clock-cells = <0>;
65f126890aSEmmanuel Vadot			compatible = "fixed-clock";
66f126890aSEmmanuel Vadot			clock-frequency = <24000000>;
67f126890aSEmmanuel Vadot			clock-accuracy = <50000>;
68f126890aSEmmanuel Vadot			clock-output-names = "osc24M";
69f126890aSEmmanuel Vadot		};
70f126890aSEmmanuel Vadot
71f126890aSEmmanuel Vadot		osc32k: osc32k {
72f126890aSEmmanuel Vadot			#clock-cells = <0>;
73f126890aSEmmanuel Vadot			compatible = "fixed-clock";
74f126890aSEmmanuel Vadot			clock-frequency = <32768>;
75f126890aSEmmanuel Vadot			clock-accuracy = <20000>;
76f126890aSEmmanuel Vadot			clock-output-names = "ext-osc32k";
77f126890aSEmmanuel Vadot		};
78f126890aSEmmanuel Vadot	};
79f126890aSEmmanuel Vadot
80f126890aSEmmanuel Vadot	cpus {
81f126890aSEmmanuel Vadot		#address-cells = <1>;
82f126890aSEmmanuel Vadot		#size-cells = <0>;
83f126890aSEmmanuel Vadot
84f126890aSEmmanuel Vadot		cpu0: cpu@0 {
85f126890aSEmmanuel Vadot			compatible = "arm,cortex-a7";
86f126890aSEmmanuel Vadot			device_type = "cpu";
87f126890aSEmmanuel Vadot			reg = <0>;
88f126890aSEmmanuel Vadot			clocks = <&ccu CLK_CPU>;
89f126890aSEmmanuel Vadot			clock-names = "cpu";
90f126890aSEmmanuel Vadot			#cooling-cells = <2>;
91f126890aSEmmanuel Vadot		};
92f126890aSEmmanuel Vadot
93f126890aSEmmanuel Vadot		cpu1: cpu@1 {
94f126890aSEmmanuel Vadot			compatible = "arm,cortex-a7";
95f126890aSEmmanuel Vadot			device_type = "cpu";
96f126890aSEmmanuel Vadot			reg = <1>;
97f126890aSEmmanuel Vadot			clocks = <&ccu CLK_CPU>;
98f126890aSEmmanuel Vadot			clock-names = "cpu";
99f126890aSEmmanuel Vadot			#cooling-cells = <2>;
100f126890aSEmmanuel Vadot		};
101f126890aSEmmanuel Vadot
102f126890aSEmmanuel Vadot		cpu2: cpu@2 {
103f126890aSEmmanuel Vadot			compatible = "arm,cortex-a7";
104f126890aSEmmanuel Vadot			device_type = "cpu";
105f126890aSEmmanuel Vadot			reg = <2>;
106f126890aSEmmanuel Vadot			clocks = <&ccu CLK_CPU>;
107f126890aSEmmanuel Vadot			clock-names = "cpu";
108f126890aSEmmanuel Vadot			#cooling-cells = <2>;
109f126890aSEmmanuel Vadot		};
110f126890aSEmmanuel Vadot
111f126890aSEmmanuel Vadot		cpu3: cpu@3 {
112f126890aSEmmanuel Vadot			compatible = "arm,cortex-a7";
113f126890aSEmmanuel Vadot			device_type = "cpu";
114f126890aSEmmanuel Vadot			reg = <3>;
115f126890aSEmmanuel Vadot			clocks = <&ccu CLK_CPU>;
116f126890aSEmmanuel Vadot			clock-names = "cpu";
117f126890aSEmmanuel Vadot			#cooling-cells = <2>;
118f126890aSEmmanuel Vadot		};
119f126890aSEmmanuel Vadot	};
120f126890aSEmmanuel Vadot
121f126890aSEmmanuel Vadot	de: display-engine {
122f126890aSEmmanuel Vadot		compatible = "allwinner,sun8i-r40-display-engine";
123f126890aSEmmanuel Vadot		allwinner,pipelines = <&mixer0>, <&mixer1>;
124f126890aSEmmanuel Vadot		status = "disabled";
125f126890aSEmmanuel Vadot	};
126f126890aSEmmanuel Vadot
127f126890aSEmmanuel Vadot	thermal-zones {
128f126890aSEmmanuel Vadot		cpu_thermal: cpu0-thermal {
129f126890aSEmmanuel Vadot			/* milliseconds */
130f126890aSEmmanuel Vadot			polling-delay-passive = <0>;
131f126890aSEmmanuel Vadot			polling-delay = <0>;
132f126890aSEmmanuel Vadot			thermal-sensors = <&ths 0>;
133f126890aSEmmanuel Vadot
134f126890aSEmmanuel Vadot			trips {
135f126890aSEmmanuel Vadot				cpu_hot_trip: cpu-hot {
136f126890aSEmmanuel Vadot					temperature = <80000>;
137f126890aSEmmanuel Vadot					hysteresis = <2000>;
138f126890aSEmmanuel Vadot					type = "passive";
139f126890aSEmmanuel Vadot				};
140f126890aSEmmanuel Vadot
141f126890aSEmmanuel Vadot				cpu_very_hot_trip: cpu-very-hot {
142f126890aSEmmanuel Vadot					temperature = <115000>;
143f126890aSEmmanuel Vadot					hysteresis = <0>;
144f126890aSEmmanuel Vadot					type = "critical";
145f126890aSEmmanuel Vadot				};
146f126890aSEmmanuel Vadot			};
147f126890aSEmmanuel Vadot
148f126890aSEmmanuel Vadot			cooling-maps {
149f126890aSEmmanuel Vadot				cpu-hot-limit {
150f126890aSEmmanuel Vadot					trip = <&cpu_hot_trip>;
151f126890aSEmmanuel Vadot					cooling-device = <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
152f126890aSEmmanuel Vadot							 <&cpu1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
153f126890aSEmmanuel Vadot							 <&cpu2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
154f126890aSEmmanuel Vadot							 <&cpu3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
155f126890aSEmmanuel Vadot				};
156f126890aSEmmanuel Vadot			};
157f126890aSEmmanuel Vadot		};
158f126890aSEmmanuel Vadot
159f126890aSEmmanuel Vadot		gpu_thermal: gpu-thermal {
160f126890aSEmmanuel Vadot			/* milliseconds */
161f126890aSEmmanuel Vadot			polling-delay-passive = <0>;
162f126890aSEmmanuel Vadot			polling-delay = <0>;
163f126890aSEmmanuel Vadot			thermal-sensors = <&ths 1>;
164f126890aSEmmanuel Vadot		};
165f126890aSEmmanuel Vadot	};
166f126890aSEmmanuel Vadot
167f126890aSEmmanuel Vadot	soc {
168f126890aSEmmanuel Vadot		compatible = "simple-bus";
169f126890aSEmmanuel Vadot		#address-cells = <1>;
170f126890aSEmmanuel Vadot		#size-cells = <1>;
171f126890aSEmmanuel Vadot		ranges;
172f126890aSEmmanuel Vadot
173f126890aSEmmanuel Vadot		display_clocks: clock@1000000 {
174f126890aSEmmanuel Vadot			compatible = "allwinner,sun8i-r40-de2-clk",
175f126890aSEmmanuel Vadot				     "allwinner,sun8i-h3-de2-clk";
176f126890aSEmmanuel Vadot			reg = <0x01000000 0x10000>;
177f126890aSEmmanuel Vadot			clocks = <&ccu CLK_BUS_DE>,
178f126890aSEmmanuel Vadot				 <&ccu CLK_DE>;
179f126890aSEmmanuel Vadot			clock-names = "bus",
180f126890aSEmmanuel Vadot				      "mod";
181f126890aSEmmanuel Vadot			resets = <&ccu RST_BUS_DE>;
182f126890aSEmmanuel Vadot			#clock-cells = <1>;
183f126890aSEmmanuel Vadot			#reset-cells = <1>;
184f126890aSEmmanuel Vadot		};
185f126890aSEmmanuel Vadot
186f126890aSEmmanuel Vadot		mixer0: mixer@1100000 {
187f126890aSEmmanuel Vadot			compatible = "allwinner,sun8i-r40-de2-mixer-0";
188f126890aSEmmanuel Vadot			reg = <0x01100000 0x100000>;
189f126890aSEmmanuel Vadot			clocks = <&display_clocks CLK_BUS_MIXER0>,
190f126890aSEmmanuel Vadot				 <&display_clocks CLK_MIXER0>;
191f126890aSEmmanuel Vadot			clock-names = "bus",
192f126890aSEmmanuel Vadot				      "mod";
193f126890aSEmmanuel Vadot			resets = <&display_clocks RST_MIXER0>;
194f126890aSEmmanuel Vadot
195f126890aSEmmanuel Vadot			ports {
196f126890aSEmmanuel Vadot				#address-cells = <1>;
197f126890aSEmmanuel Vadot				#size-cells = <0>;
198f126890aSEmmanuel Vadot
199f126890aSEmmanuel Vadot				mixer0_out: port@1 {
200f126890aSEmmanuel Vadot					reg = <1>;
201f126890aSEmmanuel Vadot					mixer0_out_tcon_top: endpoint {
202f126890aSEmmanuel Vadot						remote-endpoint = <&tcon_top_mixer0_in_mixer0>;
203f126890aSEmmanuel Vadot					};
204f126890aSEmmanuel Vadot				};
205f126890aSEmmanuel Vadot			};
206f126890aSEmmanuel Vadot		};
207f126890aSEmmanuel Vadot
208f126890aSEmmanuel Vadot		mixer1: mixer@1200000 {
209f126890aSEmmanuel Vadot			compatible = "allwinner,sun8i-r40-de2-mixer-1";
210f126890aSEmmanuel Vadot			reg = <0x01200000 0x100000>;
211f126890aSEmmanuel Vadot			clocks = <&display_clocks CLK_BUS_MIXER1>,
212f126890aSEmmanuel Vadot				 <&display_clocks CLK_MIXER1>;
213f126890aSEmmanuel Vadot			clock-names = "bus",
214f126890aSEmmanuel Vadot				      "mod";
215f126890aSEmmanuel Vadot			resets = <&display_clocks RST_WB>;
216f126890aSEmmanuel Vadot
217f126890aSEmmanuel Vadot			ports {
218f126890aSEmmanuel Vadot				#address-cells = <1>;
219f126890aSEmmanuel Vadot				#size-cells = <0>;
220f126890aSEmmanuel Vadot
221f126890aSEmmanuel Vadot				mixer1_out: port@1 {
222f126890aSEmmanuel Vadot					reg = <1>;
223f126890aSEmmanuel Vadot					mixer1_out_tcon_top: endpoint {
224f126890aSEmmanuel Vadot						remote-endpoint = <&tcon_top_mixer1_in_mixer1>;
225f126890aSEmmanuel Vadot					};
226f126890aSEmmanuel Vadot				};
227f126890aSEmmanuel Vadot			};
228f126890aSEmmanuel Vadot		};
229f126890aSEmmanuel Vadot
230f126890aSEmmanuel Vadot		deinterlace: deinterlace@1400000 {
231f126890aSEmmanuel Vadot			compatible = "allwinner,sun8i-r40-deinterlace",
232f126890aSEmmanuel Vadot				     "allwinner,sun8i-h3-deinterlace";
233f126890aSEmmanuel Vadot			reg = <0x01400000 0x20000>;
234f126890aSEmmanuel Vadot			clocks = <&ccu CLK_BUS_DEINTERLACE>,
235f126890aSEmmanuel Vadot				 <&ccu CLK_DEINTERLACE>,
236f126890aSEmmanuel Vadot				 /*
237f126890aSEmmanuel Vadot				  * NOTE: Contrary to what datasheet claims,
238f126890aSEmmanuel Vadot				  * DRAM deinterlace gate doesn't exist and
239f126890aSEmmanuel Vadot				  * it's shared with CSI1.
240f126890aSEmmanuel Vadot				  */
241f126890aSEmmanuel Vadot				 <&ccu CLK_DRAM_CSI1>;
242f126890aSEmmanuel Vadot			clock-names = "bus", "mod", "ram";
243f126890aSEmmanuel Vadot			resets = <&ccu RST_BUS_DEINTERLACE>;
244f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 93 IRQ_TYPE_LEVEL_HIGH>;
245f126890aSEmmanuel Vadot			interconnects = <&mbus 9>;
246f126890aSEmmanuel Vadot			interconnect-names = "dma-mem";
247f126890aSEmmanuel Vadot		};
248f126890aSEmmanuel Vadot
249f126890aSEmmanuel Vadot		syscon: system-control@1c00000 {
250f126890aSEmmanuel Vadot			compatible = "allwinner,sun8i-r40-system-control",
251f126890aSEmmanuel Vadot				     "allwinner,sun4i-a10-system-control";
252f126890aSEmmanuel Vadot			reg = <0x01c00000 0x30>;
253f126890aSEmmanuel Vadot			#address-cells = <1>;
254f126890aSEmmanuel Vadot			#size-cells = <1>;
255f126890aSEmmanuel Vadot			ranges;
256f126890aSEmmanuel Vadot
257f126890aSEmmanuel Vadot			sram_c: sram@1d00000 {
258f126890aSEmmanuel Vadot				compatible = "mmio-sram";
259f126890aSEmmanuel Vadot				reg = <0x01d00000 0xd0000>;
260f126890aSEmmanuel Vadot				#address-cells = <1>;
261f126890aSEmmanuel Vadot				#size-cells = <1>;
262f126890aSEmmanuel Vadot				ranges = <0 0x01d00000 0xd0000>;
263f126890aSEmmanuel Vadot
264f126890aSEmmanuel Vadot				ve_sram: sram-section@0 {
265f126890aSEmmanuel Vadot					compatible = "allwinner,sun8i-r40-sram-c1",
266f126890aSEmmanuel Vadot						     "allwinner,sun4i-a10-sram-c1";
267f126890aSEmmanuel Vadot					reg = <0x000000 0x80000>;
268f126890aSEmmanuel Vadot				};
269f126890aSEmmanuel Vadot			};
270f126890aSEmmanuel Vadot		};
271f126890aSEmmanuel Vadot
272f126890aSEmmanuel Vadot		nmi_intc: interrupt-controller@1c00030 {
273f126890aSEmmanuel Vadot			compatible = "allwinner,sun7i-a20-sc-nmi";
274f126890aSEmmanuel Vadot			interrupt-controller;
275f126890aSEmmanuel Vadot			#interrupt-cells = <2>;
276f126890aSEmmanuel Vadot			reg = <0x01c00030 0x0c>;
277f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>;
278f126890aSEmmanuel Vadot		};
279f126890aSEmmanuel Vadot
280f126890aSEmmanuel Vadot		dma: dma-controller@1c02000 {
281f126890aSEmmanuel Vadot			compatible = "allwinner,sun8i-r40-dma",
282f126890aSEmmanuel Vadot				     "allwinner,sun50i-a64-dma";
283f126890aSEmmanuel Vadot			reg = <0x01c02000 0x1000>;
284f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 27 IRQ_TYPE_LEVEL_HIGH>;
285f126890aSEmmanuel Vadot			clocks = <&ccu CLK_BUS_DMA>;
286f126890aSEmmanuel Vadot			dma-channels = <16>;
287f126890aSEmmanuel Vadot			dma-requests = <31>;
288f126890aSEmmanuel Vadot			resets = <&ccu RST_BUS_DMA>;
289f126890aSEmmanuel Vadot			#dma-cells = <1>;
290f126890aSEmmanuel Vadot		};
291f126890aSEmmanuel Vadot
292f126890aSEmmanuel Vadot		spi0: spi@1c05000 {
293f126890aSEmmanuel Vadot			compatible = "allwinner,sun8i-r40-spi",
294f126890aSEmmanuel Vadot				     "allwinner,sun8i-h3-spi";
295f126890aSEmmanuel Vadot			reg = <0x01c05000 0x1000>;
296f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
297f126890aSEmmanuel Vadot			clocks = <&ccu CLK_BUS_SPI0>, <&ccu CLK_SPI0>;
298f126890aSEmmanuel Vadot			clock-names = "ahb", "mod";
299f126890aSEmmanuel Vadot			resets = <&ccu RST_BUS_SPI0>;
300f126890aSEmmanuel Vadot			status = "disabled";
301f126890aSEmmanuel Vadot			#address-cells = <1>;
302f126890aSEmmanuel Vadot			#size-cells = <0>;
303f126890aSEmmanuel Vadot		};
304f126890aSEmmanuel Vadot
305f126890aSEmmanuel Vadot		spi1: spi@1c06000 {
306f126890aSEmmanuel Vadot			compatible = "allwinner,sun8i-r40-spi",
307f126890aSEmmanuel Vadot				     "allwinner,sun8i-h3-spi";
308f126890aSEmmanuel Vadot			reg = <0x01c06000 0x1000>;
309f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>;
310f126890aSEmmanuel Vadot			clocks = <&ccu CLK_BUS_SPI1>, <&ccu CLK_SPI1>;
311f126890aSEmmanuel Vadot			clock-names = "ahb", "mod";
312f126890aSEmmanuel Vadot			resets = <&ccu RST_BUS_SPI1>;
313f126890aSEmmanuel Vadot			status = "disabled";
314f126890aSEmmanuel Vadot			#address-cells = <1>;
315f126890aSEmmanuel Vadot			#size-cells = <0>;
316f126890aSEmmanuel Vadot		};
317f126890aSEmmanuel Vadot
318f126890aSEmmanuel Vadot		csi0: csi@1c09000 {
319f126890aSEmmanuel Vadot			compatible = "allwinner,sun8i-r40-csi0",
320f126890aSEmmanuel Vadot				     "allwinner,sun7i-a20-csi0";
321f126890aSEmmanuel Vadot			reg = <0x01c09000 0x1000>;
322f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>;
323f126890aSEmmanuel Vadot			clocks = <&ccu CLK_BUS_CSI0>, <&ccu CLK_CSI_SCLK>,
324f126890aSEmmanuel Vadot				 <&ccu CLK_DRAM_CSI0>;
325f126890aSEmmanuel Vadot			clock-names = "bus", "isp", "ram";
326f126890aSEmmanuel Vadot			resets = <&ccu RST_BUS_CSI0>;
327f126890aSEmmanuel Vadot			interconnects = <&mbus 5>;
328f126890aSEmmanuel Vadot			interconnect-names = "dma-mem";
329f126890aSEmmanuel Vadot			status = "disabled";
330f126890aSEmmanuel Vadot		};
331f126890aSEmmanuel Vadot
332f126890aSEmmanuel Vadot		video-codec@1c0e000 {
333f126890aSEmmanuel Vadot			compatible = "allwinner,sun8i-r40-video-engine";
334f126890aSEmmanuel Vadot			reg = <0x01c0e000 0x1000>;
335f126890aSEmmanuel Vadot			clocks = <&ccu CLK_BUS_VE>, <&ccu CLK_VE>,
336f126890aSEmmanuel Vadot			<&ccu CLK_DRAM_VE>;
337f126890aSEmmanuel Vadot			clock-names = "ahb", "mod", "ram";
338f126890aSEmmanuel Vadot			resets = <&ccu RST_BUS_VE>;
339f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH>;
340f126890aSEmmanuel Vadot			allwinner,sram = <&ve_sram 1>;
341*84943d6fSEmmanuel Vadot			interconnects = <&mbus 4>;
342*84943d6fSEmmanuel Vadot			interconnect-names = "dma-mem";
343f126890aSEmmanuel Vadot		};
344f126890aSEmmanuel Vadot
345f126890aSEmmanuel Vadot		mmc0: mmc@1c0f000 {
346f126890aSEmmanuel Vadot			compatible = "allwinner,sun8i-r40-mmc",
347f126890aSEmmanuel Vadot				     "allwinner,sun50i-a64-mmc";
348f126890aSEmmanuel Vadot			reg = <0x01c0f000 0x1000>;
349f126890aSEmmanuel Vadot			clocks = <&ccu CLK_BUS_MMC0>, <&ccu CLK_MMC0>;
350f126890aSEmmanuel Vadot			clock-names = "ahb", "mmc";
351f126890aSEmmanuel Vadot			resets = <&ccu RST_BUS_MMC0>;
352f126890aSEmmanuel Vadot			reset-names = "ahb";
353f126890aSEmmanuel Vadot			pinctrl-0 = <&mmc0_pins>;
354f126890aSEmmanuel Vadot			pinctrl-names = "default";
355f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>;
356f126890aSEmmanuel Vadot			status = "disabled";
357f126890aSEmmanuel Vadot			#address-cells = <1>;
358f126890aSEmmanuel Vadot			#size-cells = <0>;
359f126890aSEmmanuel Vadot		};
360f126890aSEmmanuel Vadot
361f126890aSEmmanuel Vadot		mmc1: mmc@1c10000 {
362f126890aSEmmanuel Vadot			compatible = "allwinner,sun8i-r40-mmc",
363f126890aSEmmanuel Vadot				     "allwinner,sun50i-a64-mmc";
364f126890aSEmmanuel Vadot			reg = <0x01c10000 0x1000>;
365f126890aSEmmanuel Vadot			clocks = <&ccu CLK_BUS_MMC1>, <&ccu CLK_MMC1>;
366f126890aSEmmanuel Vadot			clock-names = "ahb", "mmc";
367f126890aSEmmanuel Vadot			resets = <&ccu RST_BUS_MMC1>;
368f126890aSEmmanuel Vadot			reset-names = "ahb";
369f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>;
370f126890aSEmmanuel Vadot			status = "disabled";
371f126890aSEmmanuel Vadot			#address-cells = <1>;
372f126890aSEmmanuel Vadot			#size-cells = <0>;
373f126890aSEmmanuel Vadot		};
374f126890aSEmmanuel Vadot
375f126890aSEmmanuel Vadot		mmc2: mmc@1c11000 {
376f126890aSEmmanuel Vadot			compatible = "allwinner,sun8i-r40-emmc",
377f126890aSEmmanuel Vadot				     "allwinner,sun50i-a64-emmc";
378f126890aSEmmanuel Vadot			reg = <0x01c11000 0x1000>;
379f126890aSEmmanuel Vadot			clocks = <&ccu CLK_BUS_MMC2>, <&ccu CLK_MMC2>;
380f126890aSEmmanuel Vadot			clock-names = "ahb", "mmc";
381f126890aSEmmanuel Vadot			resets = <&ccu RST_BUS_MMC2>;
382f126890aSEmmanuel Vadot			reset-names = "ahb";
383f126890aSEmmanuel Vadot			pinctrl-0 = <&mmc2_pins>;
384f126890aSEmmanuel Vadot			pinctrl-names = "default";
385f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>;
386f126890aSEmmanuel Vadot			status = "disabled";
387f126890aSEmmanuel Vadot			#address-cells = <1>;
388f126890aSEmmanuel Vadot			#size-cells = <0>;
389f126890aSEmmanuel Vadot		};
390f126890aSEmmanuel Vadot
391f126890aSEmmanuel Vadot		mmc3: mmc@1c12000 {
392f126890aSEmmanuel Vadot			compatible = "allwinner,sun8i-r40-mmc",
393f126890aSEmmanuel Vadot				     "allwinner,sun50i-a64-mmc";
394f126890aSEmmanuel Vadot			reg = <0x01c12000 0x1000>;
395f126890aSEmmanuel Vadot			clocks = <&ccu CLK_BUS_MMC3>, <&ccu CLK_MMC3>;
396f126890aSEmmanuel Vadot			clock-names = "ahb", "mmc";
397f126890aSEmmanuel Vadot			resets = <&ccu RST_BUS_MMC3>;
398f126890aSEmmanuel Vadot			reset-names = "ahb";
399f126890aSEmmanuel Vadot			pinctrl-0 = <&mmc3_pins>;
400f126890aSEmmanuel Vadot			pinctrl-names = "default";
401f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>;
402f126890aSEmmanuel Vadot			status = "disabled";
403f126890aSEmmanuel Vadot			#address-cells = <1>;
404f126890aSEmmanuel Vadot			#size-cells = <0>;
405f126890aSEmmanuel Vadot		};
406f126890aSEmmanuel Vadot
407f126890aSEmmanuel Vadot		usbphy: phy@1c13400 {
408f126890aSEmmanuel Vadot			compatible = "allwinner,sun8i-r40-usb-phy";
409f126890aSEmmanuel Vadot			reg = <0x01c13400 0x14>,
410f126890aSEmmanuel Vadot			      <0x01c14800 0x4>,
411f126890aSEmmanuel Vadot			      <0x01c19800 0x4>,
412f126890aSEmmanuel Vadot			      <0x01c1c800 0x4>;
413f126890aSEmmanuel Vadot			reg-names = "phy_ctrl",
414f126890aSEmmanuel Vadot				    "pmu0",
415f126890aSEmmanuel Vadot				    "pmu1",
416f126890aSEmmanuel Vadot				    "pmu2";
417f126890aSEmmanuel Vadot			clocks = <&ccu CLK_USB_PHY0>,
418f126890aSEmmanuel Vadot				 <&ccu CLK_USB_PHY1>,
419f126890aSEmmanuel Vadot				 <&ccu CLK_USB_PHY2>;
420f126890aSEmmanuel Vadot			clock-names = "usb0_phy",
421f126890aSEmmanuel Vadot				      "usb1_phy",
422f126890aSEmmanuel Vadot				      "usb2_phy";
423f126890aSEmmanuel Vadot			resets = <&ccu RST_USB_PHY0>,
424f126890aSEmmanuel Vadot				 <&ccu RST_USB_PHY1>,
425f126890aSEmmanuel Vadot				 <&ccu RST_USB_PHY2>;
426f126890aSEmmanuel Vadot			reset-names = "usb0_reset",
427f126890aSEmmanuel Vadot				      "usb1_reset",
428f126890aSEmmanuel Vadot				      "usb2_reset";
429f126890aSEmmanuel Vadot			status = "disabled";
430f126890aSEmmanuel Vadot			#phy-cells = <1>;
431f126890aSEmmanuel Vadot		};
432f126890aSEmmanuel Vadot
433f126890aSEmmanuel Vadot		crypto: crypto@1c15000 {
434f126890aSEmmanuel Vadot			compatible = "allwinner,sun8i-r40-crypto";
435f126890aSEmmanuel Vadot			reg = <0x01c15000 0x1000>;
436f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 94 IRQ_TYPE_LEVEL_HIGH>;
437f126890aSEmmanuel Vadot			clocks = <&ccu CLK_BUS_CE>, <&ccu CLK_CE>;
438f126890aSEmmanuel Vadot			clock-names = "bus", "mod";
439f126890aSEmmanuel Vadot			resets = <&ccu RST_BUS_CE>;
440f126890aSEmmanuel Vadot		};
441f126890aSEmmanuel Vadot
442f126890aSEmmanuel Vadot		spi2: spi@1c17000 {
443f126890aSEmmanuel Vadot			compatible = "allwinner,sun8i-r40-spi",
444f126890aSEmmanuel Vadot				     "allwinner,sun8i-h3-spi";
445f126890aSEmmanuel Vadot			reg = <0x01c17000 0x1000>;
446f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>;
447f126890aSEmmanuel Vadot			clocks = <&ccu CLK_BUS_SPI2>, <&ccu CLK_SPI2>;
448f126890aSEmmanuel Vadot			clock-names = "ahb", "mod";
449f126890aSEmmanuel Vadot			resets = <&ccu RST_BUS_SPI2>;
450f126890aSEmmanuel Vadot			status = "disabled";
451f126890aSEmmanuel Vadot			#address-cells = <1>;
452f126890aSEmmanuel Vadot			#size-cells = <0>;
453f126890aSEmmanuel Vadot		};
454f126890aSEmmanuel Vadot
455f126890aSEmmanuel Vadot		ahci: sata@1c18000 {
456f126890aSEmmanuel Vadot			compatible = "allwinner,sun8i-r40-ahci";
457f126890aSEmmanuel Vadot			reg = <0x01c18000 0x1000>;
458f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>;
459f126890aSEmmanuel Vadot			clocks = <&ccu CLK_BUS_SATA>, <&ccu CLK_SATA>;
460f126890aSEmmanuel Vadot			resets = <&ccu RST_BUS_SATA>;
461f126890aSEmmanuel Vadot			reset-names = "ahci";
462f126890aSEmmanuel Vadot			status = "disabled";
463f126890aSEmmanuel Vadot		};
464f126890aSEmmanuel Vadot
465f126890aSEmmanuel Vadot		ehci1: usb@1c19000 {
466f126890aSEmmanuel Vadot			compatible = "allwinner,sun8i-r40-ehci", "generic-ehci";
467f126890aSEmmanuel Vadot			reg = <0x01c19000 0x100>;
468f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 76 IRQ_TYPE_LEVEL_HIGH>;
469f126890aSEmmanuel Vadot			clocks = <&ccu CLK_BUS_EHCI1>;
470f126890aSEmmanuel Vadot			resets = <&ccu RST_BUS_EHCI1>;
471f126890aSEmmanuel Vadot			phys = <&usbphy 1>;
472f126890aSEmmanuel Vadot			phy-names = "usb";
473f126890aSEmmanuel Vadot			status = "disabled";
474f126890aSEmmanuel Vadot		};
475f126890aSEmmanuel Vadot
476f126890aSEmmanuel Vadot		ohci1: usb@1c19400 {
477f126890aSEmmanuel Vadot			compatible = "allwinner,sun8i-r40-ohci", "generic-ohci";
478f126890aSEmmanuel Vadot			reg = <0x01c19400 0x100>;
479f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 64 IRQ_TYPE_LEVEL_HIGH>;
480f126890aSEmmanuel Vadot			clocks = <&ccu CLK_BUS_OHCI1>,
481f126890aSEmmanuel Vadot				 <&ccu CLK_USB_OHCI1>;
482f126890aSEmmanuel Vadot			resets = <&ccu RST_BUS_OHCI1>;
483f126890aSEmmanuel Vadot			phys = <&usbphy 1>;
484f126890aSEmmanuel Vadot			phy-names = "usb";
485f126890aSEmmanuel Vadot			status = "disabled";
486f126890aSEmmanuel Vadot		};
487f126890aSEmmanuel Vadot
488f126890aSEmmanuel Vadot		ehci2: usb@1c1c000 {
489f126890aSEmmanuel Vadot			compatible = "allwinner,sun8i-r40-ehci", "generic-ehci";
490f126890aSEmmanuel Vadot			reg = <0x01c1c000 0x100>;
491f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 78 IRQ_TYPE_LEVEL_HIGH>;
492f126890aSEmmanuel Vadot			clocks = <&ccu CLK_BUS_EHCI2>;
493f126890aSEmmanuel Vadot			resets = <&ccu RST_BUS_EHCI2>;
494f126890aSEmmanuel Vadot			phys = <&usbphy 2>;
495f126890aSEmmanuel Vadot			phy-names = "usb";
496f126890aSEmmanuel Vadot			status = "disabled";
497f126890aSEmmanuel Vadot		};
498f126890aSEmmanuel Vadot
499f126890aSEmmanuel Vadot		ohci2: usb@1c1c400 {
500f126890aSEmmanuel Vadot			compatible = "allwinner,sun8i-r40-ohci", "generic-ohci";
501f126890aSEmmanuel Vadot			reg = <0x01c1c400 0x100>;
502f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>;
503f126890aSEmmanuel Vadot			clocks = <&ccu CLK_BUS_OHCI2>,
504f126890aSEmmanuel Vadot				 <&ccu CLK_USB_OHCI2>;
505f126890aSEmmanuel Vadot			resets = <&ccu RST_BUS_OHCI2>;
506f126890aSEmmanuel Vadot			phys = <&usbphy 2>;
507f126890aSEmmanuel Vadot			phy-names = "usb";
508f126890aSEmmanuel Vadot			status = "disabled";
509f126890aSEmmanuel Vadot		};
510f126890aSEmmanuel Vadot
511f126890aSEmmanuel Vadot		spi3: spi@1c1f000 {
512f126890aSEmmanuel Vadot			compatible = "allwinner,sun8i-r40-spi",
513f126890aSEmmanuel Vadot				     "allwinner,sun8i-h3-spi";
514f126890aSEmmanuel Vadot			reg = <0x01c1f000 0x1000>;
515f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 50 IRQ_TYPE_LEVEL_HIGH>;
516f126890aSEmmanuel Vadot			clocks = <&ccu CLK_BUS_SPI3>, <&ccu CLK_SPI3>;
517f126890aSEmmanuel Vadot			clock-names = "ahb", "mod";
518f126890aSEmmanuel Vadot			resets = <&ccu RST_BUS_SPI3>;
519f126890aSEmmanuel Vadot			status = "disabled";
520f126890aSEmmanuel Vadot			#address-cells = <1>;
521f126890aSEmmanuel Vadot			#size-cells = <0>;
522f126890aSEmmanuel Vadot		};
523f126890aSEmmanuel Vadot
524f126890aSEmmanuel Vadot		ccu: clock@1c20000 {
525f126890aSEmmanuel Vadot			compatible = "allwinner,sun8i-r40-ccu";
526f126890aSEmmanuel Vadot			reg = <0x01c20000 0x400>;
527f126890aSEmmanuel Vadot			clocks = <&osc24M>, <&rtc CLK_OSC32K>;
528f126890aSEmmanuel Vadot			clock-names = "hosc", "losc";
529f126890aSEmmanuel Vadot			#clock-cells = <1>;
530f126890aSEmmanuel Vadot			#reset-cells = <1>;
531f126890aSEmmanuel Vadot		};
532f126890aSEmmanuel Vadot
533f126890aSEmmanuel Vadot		rtc: rtc@1c20400 {
534f126890aSEmmanuel Vadot			compatible = "allwinner,sun8i-r40-rtc";
535f126890aSEmmanuel Vadot			reg = <0x01c20400 0x400>;
536f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>;
537f126890aSEmmanuel Vadot			clock-output-names = "osc32k", "osc32k-out";
538f126890aSEmmanuel Vadot			clocks = <&osc32k>;
539f126890aSEmmanuel Vadot			#clock-cells = <1>;
540f126890aSEmmanuel Vadot		};
541f126890aSEmmanuel Vadot
542f126890aSEmmanuel Vadot		pio: pinctrl@1c20800 {
543f126890aSEmmanuel Vadot			compatible = "allwinner,sun8i-r40-pinctrl";
544f126890aSEmmanuel Vadot			reg = <0x01c20800 0x400>;
545f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 28 IRQ_TYPE_LEVEL_HIGH>;
546f126890aSEmmanuel Vadot			clocks = <&ccu CLK_BUS_PIO>, <&osc24M>,
547f126890aSEmmanuel Vadot				 <&rtc CLK_OSC32K>;
548f126890aSEmmanuel Vadot			clock-names = "apb", "hosc", "losc";
549f126890aSEmmanuel Vadot			gpio-controller;
550f126890aSEmmanuel Vadot			interrupt-controller;
551f126890aSEmmanuel Vadot			#interrupt-cells = <3>;
552f126890aSEmmanuel Vadot			#gpio-cells = <3>;
553f126890aSEmmanuel Vadot
554f126890aSEmmanuel Vadot			can_ph_pins: can-ph-pins {
555f126890aSEmmanuel Vadot				pins = "PH20", "PH21";
556f126890aSEmmanuel Vadot				function = "can";
557f126890aSEmmanuel Vadot			};
558f126890aSEmmanuel Vadot
559f126890aSEmmanuel Vadot			can_pa_pins: can-pa-pins {
560f126890aSEmmanuel Vadot				pins = "PA16", "PA17";
561f126890aSEmmanuel Vadot				function = "can";
562f126890aSEmmanuel Vadot			};
563f126890aSEmmanuel Vadot
564f126890aSEmmanuel Vadot			clk_out_a_pin: clk-out-a-pin {
565f126890aSEmmanuel Vadot				pins = "PI12";
566f126890aSEmmanuel Vadot				function = "clk_out_a";
567f126890aSEmmanuel Vadot			};
568f126890aSEmmanuel Vadot
569f126890aSEmmanuel Vadot			/omit-if-no-ref/
570f126890aSEmmanuel Vadot			csi0_8bits_pins: csi0-8bits-pins {
571f126890aSEmmanuel Vadot				pins = "PE0", "PE2", "PE3", "PE4", "PE5",
572f126890aSEmmanuel Vadot				       "PE6", "PE7", "PE8", "PE9", "PE10",
573f126890aSEmmanuel Vadot				       "PE11";
574f126890aSEmmanuel Vadot				function = "csi0";
575f126890aSEmmanuel Vadot			};
576f126890aSEmmanuel Vadot
577f126890aSEmmanuel Vadot			/omit-if-no-ref/
578f126890aSEmmanuel Vadot			csi0_mclk_pin: csi0-mclk-pin {
579f126890aSEmmanuel Vadot				pins = "PE1";
580f126890aSEmmanuel Vadot				function = "csi0";
581f126890aSEmmanuel Vadot			};
582f126890aSEmmanuel Vadot
583f126890aSEmmanuel Vadot			gmac_rgmii_pins: gmac-rgmii-pins {
584f126890aSEmmanuel Vadot				pins = "PA0", "PA1", "PA2", "PA3",
585f126890aSEmmanuel Vadot				       "PA4", "PA5", "PA6", "PA7",
586f126890aSEmmanuel Vadot				       "PA8", "PA10", "PA11", "PA12",
587f126890aSEmmanuel Vadot				       "PA13", "PA15", "PA16";
588f126890aSEmmanuel Vadot				function = "gmac";
589f126890aSEmmanuel Vadot				/*
590f126890aSEmmanuel Vadot				 * data lines in RGMII mode use DDR mode
591f126890aSEmmanuel Vadot				 * and need a higher signal drive strength
592f126890aSEmmanuel Vadot				 */
593f126890aSEmmanuel Vadot				drive-strength = <40>;
594f126890aSEmmanuel Vadot			};
595f126890aSEmmanuel Vadot
596f126890aSEmmanuel Vadot			i2c0_pins: i2c0-pins {
597f126890aSEmmanuel Vadot				pins = "PB0", "PB1";
598f126890aSEmmanuel Vadot				function = "i2c0";
599f126890aSEmmanuel Vadot			};
600f126890aSEmmanuel Vadot
601f126890aSEmmanuel Vadot			i2c1_pins: i2c1-pins {
602f126890aSEmmanuel Vadot				pins = "PB18", "PB19";
603f126890aSEmmanuel Vadot				function = "i2c1";
604f126890aSEmmanuel Vadot			};
605f126890aSEmmanuel Vadot
606f126890aSEmmanuel Vadot			i2c2_pins: i2c2-pins {
607f126890aSEmmanuel Vadot				pins = "PB20", "PB21";
608f126890aSEmmanuel Vadot				function = "i2c2";
609f126890aSEmmanuel Vadot			};
610f126890aSEmmanuel Vadot
611f126890aSEmmanuel Vadot			i2c3_pins: i2c3-pins {
612f126890aSEmmanuel Vadot				pins = "PI0", "PI1";
613f126890aSEmmanuel Vadot				function = "i2c3";
614f126890aSEmmanuel Vadot			};
615f126890aSEmmanuel Vadot
616f126890aSEmmanuel Vadot			i2c4_pins: i2c4-pins {
617f126890aSEmmanuel Vadot				pins = "PI2", "PI3";
618f126890aSEmmanuel Vadot				function = "i2c4";
619f126890aSEmmanuel Vadot			};
620f126890aSEmmanuel Vadot
621f126890aSEmmanuel Vadot			ir0_pins: ir0-pins {
622f126890aSEmmanuel Vadot				pins = "PB4";
623f126890aSEmmanuel Vadot				function = "ir0";
624f126890aSEmmanuel Vadot			};
625f126890aSEmmanuel Vadot
626f126890aSEmmanuel Vadot			ir1_pins: ir1-pins {
627f126890aSEmmanuel Vadot				pins = "PB23";
628f126890aSEmmanuel Vadot				function = "ir1";
629f126890aSEmmanuel Vadot			};
630f126890aSEmmanuel Vadot
631f126890aSEmmanuel Vadot			mmc0_pins: mmc0-pins {
632f126890aSEmmanuel Vadot				pins = "PF0", "PF1", "PF2",
633f126890aSEmmanuel Vadot				       "PF3", "PF4", "PF5";
634f126890aSEmmanuel Vadot				function = "mmc0";
635f126890aSEmmanuel Vadot				drive-strength = <30>;
636f126890aSEmmanuel Vadot				bias-pull-up;
637f126890aSEmmanuel Vadot			};
638f126890aSEmmanuel Vadot
639f126890aSEmmanuel Vadot			mmc1_pg_pins: mmc1-pg-pins {
640f126890aSEmmanuel Vadot				pins = "PG0", "PG1", "PG2",
641f126890aSEmmanuel Vadot				       "PG3", "PG4", "PG5";
642f126890aSEmmanuel Vadot				function = "mmc1";
643f126890aSEmmanuel Vadot				drive-strength = <30>;
644f126890aSEmmanuel Vadot				bias-pull-up;
645f126890aSEmmanuel Vadot			};
646f126890aSEmmanuel Vadot
647f126890aSEmmanuel Vadot			mmc2_pins: mmc2-pins {
648f126890aSEmmanuel Vadot				pins = "PC5", "PC6", "PC7", "PC8", "PC9",
649f126890aSEmmanuel Vadot				       "PC10", "PC11", "PC12", "PC13", "PC14",
650f126890aSEmmanuel Vadot				       "PC15", "PC24";
651f126890aSEmmanuel Vadot				function = "mmc2";
652f126890aSEmmanuel Vadot				drive-strength = <30>;
653f126890aSEmmanuel Vadot				bias-pull-up;
654f126890aSEmmanuel Vadot			};
655f126890aSEmmanuel Vadot
656f126890aSEmmanuel Vadot			/omit-if-no-ref/
657f126890aSEmmanuel Vadot			mmc3_pins: mmc3-pins {
658f126890aSEmmanuel Vadot				pins = "PI4", "PI5", "PI6",
659f126890aSEmmanuel Vadot				       "PI7", "PI8", "PI9";
660f126890aSEmmanuel Vadot				function = "mmc3";
661f126890aSEmmanuel Vadot				drive-strength = <30>;
662f126890aSEmmanuel Vadot				bias-pull-up;
663f126890aSEmmanuel Vadot			};
664f126890aSEmmanuel Vadot
665f126890aSEmmanuel Vadot			/omit-if-no-ref/
666f126890aSEmmanuel Vadot			spi0_pc_pins: spi0-pc-pins {
667f126890aSEmmanuel Vadot				pins = "PC0", "PC1", "PC2";
668f126890aSEmmanuel Vadot				function = "spi0";
669f126890aSEmmanuel Vadot			};
670f126890aSEmmanuel Vadot
671f126890aSEmmanuel Vadot			/omit-if-no-ref/
672f126890aSEmmanuel Vadot			spi0_cs0_pc_pin: spi0-cs0-pc-pin {
673f126890aSEmmanuel Vadot				pins = "PC23";
674f126890aSEmmanuel Vadot				function = "spi0";
675f126890aSEmmanuel Vadot			};
676f126890aSEmmanuel Vadot
677f126890aSEmmanuel Vadot			/omit-if-no-ref/
678f126890aSEmmanuel Vadot			spi1_pi_pins: spi1-pi-pins {
679f126890aSEmmanuel Vadot				pins = "PI17", "PI18", "PI19";
680f126890aSEmmanuel Vadot				function = "spi1";
681f126890aSEmmanuel Vadot			};
682f126890aSEmmanuel Vadot
683f126890aSEmmanuel Vadot			/omit-if-no-ref/
684f126890aSEmmanuel Vadot			spi1_cs0_pi_pin: spi1-cs0-pi-pin {
685f126890aSEmmanuel Vadot				pins = "PI16";
686f126890aSEmmanuel Vadot				function = "spi1";
687f126890aSEmmanuel Vadot			};
688f126890aSEmmanuel Vadot
689f126890aSEmmanuel Vadot			/omit-if-no-ref/
690f126890aSEmmanuel Vadot			spi1_cs1_pi_pin: spi1-cs1-pi-pin {
691f126890aSEmmanuel Vadot				pins = "PI15";
692f126890aSEmmanuel Vadot				function = "spi1";
693f126890aSEmmanuel Vadot			};
694f126890aSEmmanuel Vadot
695f126890aSEmmanuel Vadot			/omit-if-no-ref/
696f126890aSEmmanuel Vadot			uart0_pb_pins: uart0-pb-pins {
697f126890aSEmmanuel Vadot				pins = "PB22", "PB23";
698f126890aSEmmanuel Vadot				function = "uart0";
699f126890aSEmmanuel Vadot			};
700f126890aSEmmanuel Vadot
701f126890aSEmmanuel Vadot			/omit-if-no-ref/
702f126890aSEmmanuel Vadot			uart2_pi_pins: uart2-pi-pins {
703f126890aSEmmanuel Vadot				pins = "PI18", "PI19";
704f126890aSEmmanuel Vadot				function = "uart2";
705f126890aSEmmanuel Vadot			};
706f126890aSEmmanuel Vadot
707f126890aSEmmanuel Vadot			/omit-if-no-ref/
708f126890aSEmmanuel Vadot			uart2_rts_cts_pi_pins: uart2-rts-cts-pi-pins{
709f126890aSEmmanuel Vadot				pins = "PI16", "PI17";
710f126890aSEmmanuel Vadot				function = "uart2";
711f126890aSEmmanuel Vadot			};
712f126890aSEmmanuel Vadot
713f126890aSEmmanuel Vadot			/omit-if-no-ref/
714f126890aSEmmanuel Vadot			uart3_pg_pins: uart3-pg-pins {
715f126890aSEmmanuel Vadot				pins = "PG6", "PG7";
716f126890aSEmmanuel Vadot				function = "uart3";
717f126890aSEmmanuel Vadot			};
718f126890aSEmmanuel Vadot
719f126890aSEmmanuel Vadot			/omit-if-no-ref/
720f126890aSEmmanuel Vadot			uart3_rts_cts_pg_pins: uart3-rts-cts-pg-pins {
721f126890aSEmmanuel Vadot				pins = "PG8", "PG9";
722f126890aSEmmanuel Vadot				function = "uart3";
723f126890aSEmmanuel Vadot			};
724f126890aSEmmanuel Vadot
725f126890aSEmmanuel Vadot			/omit-if-no-ref/
726f126890aSEmmanuel Vadot			uart4_pg_pins: uart4-pg-pins {
727f126890aSEmmanuel Vadot				pins = "PG10", "PG11";
728f126890aSEmmanuel Vadot				function = "uart4";
729f126890aSEmmanuel Vadot			};
730f126890aSEmmanuel Vadot
731f126890aSEmmanuel Vadot			/omit-if-no-ref/
732f126890aSEmmanuel Vadot			uart5_ph_pins: uart5-ph-pins {
733f126890aSEmmanuel Vadot				pins = "PH6", "PH7";
734f126890aSEmmanuel Vadot				function = "uart5";
735f126890aSEmmanuel Vadot			};
736f126890aSEmmanuel Vadot
737f126890aSEmmanuel Vadot			/omit-if-no-ref/
738f126890aSEmmanuel Vadot			uart7_pi_pins: uart7-pi-pins {
739f126890aSEmmanuel Vadot				pins = "PI20", "PI21";
740f126890aSEmmanuel Vadot				function = "uart7";
741f126890aSEmmanuel Vadot			};
742f126890aSEmmanuel Vadot		};
743f126890aSEmmanuel Vadot
744f126890aSEmmanuel Vadot		timer@1c20c00 {
745f126890aSEmmanuel Vadot			compatible = "allwinner,sun4i-a10-timer";
746f126890aSEmmanuel Vadot			reg = <0x01c20c00 0x90>;
747f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 22 IRQ_TYPE_LEVEL_HIGH>,
748f126890aSEmmanuel Vadot				     <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>,
749f126890aSEmmanuel Vadot				     <GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>,
750f126890aSEmmanuel Vadot				     <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>,
751f126890aSEmmanuel Vadot				     <GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>,
752f126890aSEmmanuel Vadot				     <GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH>;
753f126890aSEmmanuel Vadot			clocks = <&osc24M>;
754f126890aSEmmanuel Vadot		};
755f126890aSEmmanuel Vadot
756f126890aSEmmanuel Vadot		wdt: watchdog@1c20c90 {
757f126890aSEmmanuel Vadot			compatible = "allwinner,sun4i-a10-wdt";
758f126890aSEmmanuel Vadot			reg = <0x01c20c90 0x10>;
759f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>;
760f126890aSEmmanuel Vadot			clocks = <&osc24M>;
761f126890aSEmmanuel Vadot		};
762f126890aSEmmanuel Vadot
763f126890aSEmmanuel Vadot		ir0: ir@1c21800 {
764f126890aSEmmanuel Vadot			compatible = "allwinner,sun8i-r40-ir",
765f126890aSEmmanuel Vadot				     "allwinner,sun6i-a31-ir";
766f126890aSEmmanuel Vadot			reg = <0x01c21800 0x400>;
767f126890aSEmmanuel Vadot			pinctrl-0 = <&ir0_pins>;
768f126890aSEmmanuel Vadot			pinctrl-names = "default";
769f126890aSEmmanuel Vadot			clocks = <&ccu CLK_BUS_IR0>, <&ccu CLK_IR0>;
770f126890aSEmmanuel Vadot			clock-names = "apb", "ir";
771f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>;
772f126890aSEmmanuel Vadot			resets = <&ccu RST_BUS_IR0>;
773f126890aSEmmanuel Vadot			status = "disabled";
774f126890aSEmmanuel Vadot		};
775f126890aSEmmanuel Vadot
776f126890aSEmmanuel Vadot		ir1: ir@1c21c00 {
777f126890aSEmmanuel Vadot			compatible = "allwinner,sun8i-r40-ir",
778f126890aSEmmanuel Vadot				     "allwinner,sun6i-a31-ir";
779f126890aSEmmanuel Vadot			reg = <0x01c21c00 0x400>;
780f126890aSEmmanuel Vadot			pinctrl-0 = <&ir1_pins>;
781f126890aSEmmanuel Vadot			pinctrl-names = "default";
782f126890aSEmmanuel Vadot			clocks = <&ccu CLK_BUS_IR1>, <&ccu CLK_IR1>;
783f126890aSEmmanuel Vadot			clock-names = "apb", "ir";
784f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>;
785f126890aSEmmanuel Vadot			resets = <&ccu RST_BUS_IR1>;
786f126890aSEmmanuel Vadot			status = "disabled";
787f126890aSEmmanuel Vadot		};
788f126890aSEmmanuel Vadot
789f126890aSEmmanuel Vadot		i2s0: i2s@1c22000 {
790f126890aSEmmanuel Vadot			#sound-dai-cells = <0>;
791f126890aSEmmanuel Vadot			compatible = "allwinner,sun8i-r40-i2s",
792f126890aSEmmanuel Vadot				     "allwinner,sun8i-h3-i2s";
793f126890aSEmmanuel Vadot			reg = <0x01c22000 0x400>;
794f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>;
795f126890aSEmmanuel Vadot			clocks = <&ccu CLK_BUS_I2S0>, <&ccu CLK_I2S0>;
796f126890aSEmmanuel Vadot			clock-names = "apb", "mod";
797f126890aSEmmanuel Vadot			resets = <&ccu RST_BUS_I2S0>;
798f126890aSEmmanuel Vadot			dmas = <&dma 3>, <&dma 3>;
799f126890aSEmmanuel Vadot			dma-names = "rx", "tx";
800f126890aSEmmanuel Vadot		};
801f126890aSEmmanuel Vadot
802f126890aSEmmanuel Vadot		i2s1: i2s@1c22400 {
803f126890aSEmmanuel Vadot			#sound-dai-cells = <0>;
804f126890aSEmmanuel Vadot			compatible = "allwinner,sun8i-r40-i2s",
805f126890aSEmmanuel Vadot				     "allwinner,sun8i-h3-i2s";
806f126890aSEmmanuel Vadot			reg = <0x01c22400 0x400>;
807f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 87 IRQ_TYPE_LEVEL_HIGH>;
808f126890aSEmmanuel Vadot			clocks = <&ccu CLK_BUS_I2S1>, <&ccu CLK_I2S1>;
809f126890aSEmmanuel Vadot			clock-names = "apb", "mod";
810f126890aSEmmanuel Vadot			resets = <&ccu RST_BUS_I2S1>;
811f126890aSEmmanuel Vadot			dmas = <&dma 4>, <&dma 4>;
812f126890aSEmmanuel Vadot			dma-names = "rx", "tx";
813f126890aSEmmanuel Vadot		};
814f126890aSEmmanuel Vadot
815f126890aSEmmanuel Vadot		i2s2: i2s@1c22800 {
816f126890aSEmmanuel Vadot			#sound-dai-cells = <0>;
817f126890aSEmmanuel Vadot			compatible = "allwinner,sun8i-r40-i2s",
818f126890aSEmmanuel Vadot				     "allwinner,sun8i-h3-i2s";
819f126890aSEmmanuel Vadot			reg = <0x01c22800 0x400>;
820f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 90 IRQ_TYPE_LEVEL_HIGH>;
821f126890aSEmmanuel Vadot			clocks = <&ccu CLK_BUS_I2S2>, <&ccu CLK_I2S2>;
822f126890aSEmmanuel Vadot			clock-names = "apb", "mod";
823f126890aSEmmanuel Vadot			resets = <&ccu RST_BUS_I2S2>;
824f126890aSEmmanuel Vadot			dmas = <&dma 6>, <&dma 6>;
825f126890aSEmmanuel Vadot			dma-names = "rx", "tx";
826f126890aSEmmanuel Vadot		};
827f126890aSEmmanuel Vadot
828f126890aSEmmanuel Vadot		ths: thermal-sensor@1c24c00 {
829f126890aSEmmanuel Vadot			compatible = "allwinner,sun8i-r40-ths";
830f126890aSEmmanuel Vadot			reg = <0x01c24c00 0x100>;
831f126890aSEmmanuel Vadot			clocks = <&ccu CLK_BUS_THS>, <&ccu CLK_THS>;
832f126890aSEmmanuel Vadot			clock-names = "bus", "mod";
833f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>;
834f126890aSEmmanuel Vadot			resets = <&ccu RST_BUS_THS>;
835f126890aSEmmanuel Vadot			/* TODO: add nvmem-cells for calibration */
836f126890aSEmmanuel Vadot			#thermal-sensor-cells = <1>;
837f126890aSEmmanuel Vadot		};
838f126890aSEmmanuel Vadot
839f126890aSEmmanuel Vadot		uart0: serial@1c28000 {
840f126890aSEmmanuel Vadot			compatible = "snps,dw-apb-uart";
841f126890aSEmmanuel Vadot			reg = <0x01c28000 0x400>;
842f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>;
843f126890aSEmmanuel Vadot			reg-shift = <2>;
844f126890aSEmmanuel Vadot			reg-io-width = <4>;
845f126890aSEmmanuel Vadot			clocks = <&ccu CLK_BUS_UART0>;
846f126890aSEmmanuel Vadot			resets = <&ccu RST_BUS_UART0>;
847f126890aSEmmanuel Vadot			status = "disabled";
848f126890aSEmmanuel Vadot		};
849f126890aSEmmanuel Vadot
850f126890aSEmmanuel Vadot		uart1: serial@1c28400 {
851f126890aSEmmanuel Vadot			compatible = "snps,dw-apb-uart";
852f126890aSEmmanuel Vadot			reg = <0x01c28400 0x400>;
853f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>;
854f126890aSEmmanuel Vadot			reg-shift = <2>;
855f126890aSEmmanuel Vadot			reg-io-width = <4>;
856f126890aSEmmanuel Vadot			clocks = <&ccu CLK_BUS_UART1>;
857f126890aSEmmanuel Vadot			resets = <&ccu RST_BUS_UART1>;
858f126890aSEmmanuel Vadot			status = "disabled";
859f126890aSEmmanuel Vadot		};
860f126890aSEmmanuel Vadot
861f126890aSEmmanuel Vadot		uart2: serial@1c28800 {
862f126890aSEmmanuel Vadot			compatible = "snps,dw-apb-uart";
863f126890aSEmmanuel Vadot			reg = <0x01c28800 0x400>;
864f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>;
865f126890aSEmmanuel Vadot			reg-shift = <2>;
866f126890aSEmmanuel Vadot			reg-io-width = <4>;
867f126890aSEmmanuel Vadot			clocks = <&ccu CLK_BUS_UART2>;
868f126890aSEmmanuel Vadot			resets = <&ccu RST_BUS_UART2>;
869f126890aSEmmanuel Vadot			status = "disabled";
870f126890aSEmmanuel Vadot		};
871f126890aSEmmanuel Vadot
872f126890aSEmmanuel Vadot		uart3: serial@1c28c00 {
873f126890aSEmmanuel Vadot			compatible = "snps,dw-apb-uart";
874f126890aSEmmanuel Vadot			reg = <0x01c28c00 0x400>;
875f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;
876f126890aSEmmanuel Vadot			reg-shift = <2>;
877f126890aSEmmanuel Vadot			reg-io-width = <4>;
878f126890aSEmmanuel Vadot			clocks = <&ccu CLK_BUS_UART3>;
879f126890aSEmmanuel Vadot			resets = <&ccu RST_BUS_UART3>;
880f126890aSEmmanuel Vadot			status = "disabled";
881f126890aSEmmanuel Vadot		};
882f126890aSEmmanuel Vadot
883f126890aSEmmanuel Vadot		uart4: serial@1c29000 {
884f126890aSEmmanuel Vadot			compatible = "snps,dw-apb-uart";
885f126890aSEmmanuel Vadot			reg = <0x01c29000 0x400>;
886f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>;
887f126890aSEmmanuel Vadot			reg-shift = <2>;
888f126890aSEmmanuel Vadot			reg-io-width = <4>;
889f126890aSEmmanuel Vadot			clocks = <&ccu CLK_BUS_UART4>;
890f126890aSEmmanuel Vadot			resets = <&ccu RST_BUS_UART4>;
891f126890aSEmmanuel Vadot			status = "disabled";
892f126890aSEmmanuel Vadot		};
893f126890aSEmmanuel Vadot
894f126890aSEmmanuel Vadot		uart5: serial@1c29400 {
895f126890aSEmmanuel Vadot			compatible = "snps,dw-apb-uart";
896f126890aSEmmanuel Vadot			reg = <0x01c29400 0x400>;
897f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 18 IRQ_TYPE_LEVEL_HIGH>;
898f126890aSEmmanuel Vadot			reg-shift = <2>;
899f126890aSEmmanuel Vadot			reg-io-width = <4>;
900f126890aSEmmanuel Vadot			clocks = <&ccu CLK_BUS_UART5>;
901f126890aSEmmanuel Vadot			resets = <&ccu RST_BUS_UART5>;
902f126890aSEmmanuel Vadot			status = "disabled";
903f126890aSEmmanuel Vadot		};
904f126890aSEmmanuel Vadot
905f126890aSEmmanuel Vadot		uart6: serial@1c29800 {
906f126890aSEmmanuel Vadot			compatible = "snps,dw-apb-uart";
907f126890aSEmmanuel Vadot			reg = <0x01c29800 0x400>;
908f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>;
909f126890aSEmmanuel Vadot			reg-shift = <2>;
910f126890aSEmmanuel Vadot			reg-io-width = <4>;
911f126890aSEmmanuel Vadot			clocks = <&ccu CLK_BUS_UART6>;
912f126890aSEmmanuel Vadot			resets = <&ccu RST_BUS_UART6>;
913f126890aSEmmanuel Vadot			status = "disabled";
914f126890aSEmmanuel Vadot		};
915f126890aSEmmanuel Vadot
916f126890aSEmmanuel Vadot		uart7: serial@1c29c00 {
917f126890aSEmmanuel Vadot			compatible = "snps,dw-apb-uart";
918f126890aSEmmanuel Vadot			reg = <0x01c29c00 0x400>;
919f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>;
920f126890aSEmmanuel Vadot			reg-shift = <2>;
921f126890aSEmmanuel Vadot			reg-io-width = <4>;
922f126890aSEmmanuel Vadot			clocks = <&ccu CLK_BUS_UART7>;
923f126890aSEmmanuel Vadot			resets = <&ccu RST_BUS_UART7>;
924f126890aSEmmanuel Vadot			status = "disabled";
925f126890aSEmmanuel Vadot		};
926f126890aSEmmanuel Vadot
927f126890aSEmmanuel Vadot		i2c0: i2c@1c2ac00 {
928f126890aSEmmanuel Vadot			compatible = "allwinner,sun6i-a31-i2c";
929f126890aSEmmanuel Vadot			reg = <0x01c2ac00 0x400>;
930f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>;
931f126890aSEmmanuel Vadot			clocks = <&ccu CLK_BUS_I2C0>;
932f126890aSEmmanuel Vadot			resets = <&ccu RST_BUS_I2C0>;
933f126890aSEmmanuel Vadot			pinctrl-0 = <&i2c0_pins>;
934f126890aSEmmanuel Vadot			pinctrl-names = "default";
935f126890aSEmmanuel Vadot			status = "disabled";
936f126890aSEmmanuel Vadot			#address-cells = <1>;
937f126890aSEmmanuel Vadot			#size-cells = <0>;
938f126890aSEmmanuel Vadot		};
939f126890aSEmmanuel Vadot
940f126890aSEmmanuel Vadot		i2c1: i2c@1c2b000 {
941f126890aSEmmanuel Vadot			compatible = "allwinner,sun6i-a31-i2c";
942f126890aSEmmanuel Vadot			reg = <0x01c2b000 0x400>;
943f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>;
944f126890aSEmmanuel Vadot			clocks = <&ccu CLK_BUS_I2C1>;
945f126890aSEmmanuel Vadot			resets = <&ccu RST_BUS_I2C1>;
946f126890aSEmmanuel Vadot			pinctrl-0 = <&i2c1_pins>;
947f126890aSEmmanuel Vadot			pinctrl-names = "default";
948f126890aSEmmanuel Vadot			status = "disabled";
949f126890aSEmmanuel Vadot			#address-cells = <1>;
950f126890aSEmmanuel Vadot			#size-cells = <0>;
951f126890aSEmmanuel Vadot		};
952f126890aSEmmanuel Vadot
953f126890aSEmmanuel Vadot		i2c2: i2c@1c2b400 {
954f126890aSEmmanuel Vadot			compatible = "allwinner,sun6i-a31-i2c";
955f126890aSEmmanuel Vadot			reg = <0x01c2b400 0x400>;
956f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>;
957f126890aSEmmanuel Vadot			clocks = <&ccu CLK_BUS_I2C2>;
958f126890aSEmmanuel Vadot			resets = <&ccu RST_BUS_I2C2>;
959f126890aSEmmanuel Vadot			pinctrl-0 = <&i2c2_pins>;
960f126890aSEmmanuel Vadot			pinctrl-names = "default";
961f126890aSEmmanuel Vadot			status = "disabled";
962f126890aSEmmanuel Vadot			#address-cells = <1>;
963f126890aSEmmanuel Vadot			#size-cells = <0>;
964f126890aSEmmanuel Vadot		};
965f126890aSEmmanuel Vadot
966f126890aSEmmanuel Vadot		i2c3: i2c@1c2b800 {
967f126890aSEmmanuel Vadot			compatible = "allwinner,sun6i-a31-i2c";
968f126890aSEmmanuel Vadot			reg = <0x01c2b800 0x400>;
969f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 88 IRQ_TYPE_LEVEL_HIGH>;
970f126890aSEmmanuel Vadot			clocks = <&ccu CLK_BUS_I2C3>;
971f126890aSEmmanuel Vadot			resets = <&ccu RST_BUS_I2C3>;
972f126890aSEmmanuel Vadot			pinctrl-0 = <&i2c3_pins>;
973f126890aSEmmanuel Vadot			pinctrl-names = "default";
974f126890aSEmmanuel Vadot			status = "disabled";
975f126890aSEmmanuel Vadot			#address-cells = <1>;
976f126890aSEmmanuel Vadot			#size-cells = <0>;
977f126890aSEmmanuel Vadot		};
978f126890aSEmmanuel Vadot
979f126890aSEmmanuel Vadot		can0: can@1c2bc00 {
980f126890aSEmmanuel Vadot			compatible = "allwinner,sun8i-r40-can";
981f126890aSEmmanuel Vadot			reg = <0x01c2bc00 0x400>;
982f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>;
983f126890aSEmmanuel Vadot			clocks = <&ccu CLK_BUS_CAN>;
984f126890aSEmmanuel Vadot			resets = <&ccu RST_BUS_CAN>;
985f126890aSEmmanuel Vadot			status = "disabled";
986f126890aSEmmanuel Vadot		};
987f126890aSEmmanuel Vadot
988f126890aSEmmanuel Vadot		i2c4: i2c@1c2c000 {
989f126890aSEmmanuel Vadot			compatible = "allwinner,sun6i-a31-i2c";
990f126890aSEmmanuel Vadot			reg = <0x01c2c000 0x400>;
991f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>;
992f126890aSEmmanuel Vadot			clocks = <&ccu CLK_BUS_I2C4>;
993f126890aSEmmanuel Vadot			resets = <&ccu RST_BUS_I2C4>;
994f126890aSEmmanuel Vadot			pinctrl-0 = <&i2c4_pins>;
995f126890aSEmmanuel Vadot			pinctrl-names = "default";
996f126890aSEmmanuel Vadot			status = "disabled";
997f126890aSEmmanuel Vadot			#address-cells = <1>;
998f126890aSEmmanuel Vadot			#size-cells = <0>;
999f126890aSEmmanuel Vadot		};
1000f126890aSEmmanuel Vadot
1001f126890aSEmmanuel Vadot		mali: gpu@1c40000 {
1002f126890aSEmmanuel Vadot			compatible = "allwinner,sun8i-r40-mali", "arm,mali-400";
1003f126890aSEmmanuel Vadot			reg = <0x01c40000 0x10000>;
1004f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>,
1005f126890aSEmmanuel Vadot				     <GIC_SPI 70 IRQ_TYPE_LEVEL_HIGH>,
1006f126890aSEmmanuel Vadot				     <GIC_SPI 71 IRQ_TYPE_LEVEL_HIGH>,
1007f126890aSEmmanuel Vadot				     <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>,
1008f126890aSEmmanuel Vadot				     <GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH>,
1009f126890aSEmmanuel Vadot				     <GIC_SPI 75 IRQ_TYPE_LEVEL_HIGH>,
1010f126890aSEmmanuel Vadot				     <GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>;
1011f126890aSEmmanuel Vadot			interrupt-names = "gp",
1012f126890aSEmmanuel Vadot					  "gpmmu",
1013f126890aSEmmanuel Vadot					  "pp0",
1014f126890aSEmmanuel Vadot					  "ppmmu0",
1015f126890aSEmmanuel Vadot					  "pp1",
1016f126890aSEmmanuel Vadot					  "ppmmu1",
1017f126890aSEmmanuel Vadot					  "pmu";
1018f126890aSEmmanuel Vadot			clocks = <&ccu CLK_BUS_GPU>, <&ccu CLK_GPU>;
1019f126890aSEmmanuel Vadot			clock-names = "bus", "core";
1020f126890aSEmmanuel Vadot			resets = <&ccu RST_BUS_GPU>;
1021f126890aSEmmanuel Vadot		};
1022f126890aSEmmanuel Vadot
1023f126890aSEmmanuel Vadot		gmac: ethernet@1c50000 {
1024f126890aSEmmanuel Vadot			compatible = "allwinner,sun8i-r40-gmac";
1025f126890aSEmmanuel Vadot			syscon = <&ccu>;
1026f126890aSEmmanuel Vadot			reg = <0x01c50000 0x10000>;
1027f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>;
1028f126890aSEmmanuel Vadot			interrupt-names = "macirq";
1029f126890aSEmmanuel Vadot			resets = <&ccu RST_BUS_GMAC>;
1030f126890aSEmmanuel Vadot			reset-names = "stmmaceth";
1031f126890aSEmmanuel Vadot			clocks = <&ccu CLK_BUS_GMAC>;
1032f126890aSEmmanuel Vadot			clock-names = "stmmaceth";
1033f126890aSEmmanuel Vadot			status = "disabled";
1034f126890aSEmmanuel Vadot
1035f126890aSEmmanuel Vadot			gmac_mdio: mdio {
1036f126890aSEmmanuel Vadot				compatible = "snps,dwmac-mdio";
1037f126890aSEmmanuel Vadot				#address-cells = <1>;
1038f126890aSEmmanuel Vadot				#size-cells = <0>;
1039f126890aSEmmanuel Vadot			};
1040f126890aSEmmanuel Vadot		};
1041f126890aSEmmanuel Vadot
1042f126890aSEmmanuel Vadot		mbus: dram-controller@1c62000 {
1043f126890aSEmmanuel Vadot			compatible = "allwinner,sun8i-r40-mbus";
1044f126890aSEmmanuel Vadot			reg = <0x01c62000 0x1000>;
1045f126890aSEmmanuel Vadot			clocks = <&ccu 155>;
1046f126890aSEmmanuel Vadot			#address-cells = <1>;
1047f126890aSEmmanuel Vadot			#size-cells = <1>;
1048f126890aSEmmanuel Vadot			dma-ranges = <0x00000000 0x40000000 0x80000000>;
1049f126890aSEmmanuel Vadot			#interconnect-cells = <1>;
1050f126890aSEmmanuel Vadot		};
1051f126890aSEmmanuel Vadot
1052f126890aSEmmanuel Vadot		tcon_top: tcon-top@1c70000 {
1053f126890aSEmmanuel Vadot			compatible = "allwinner,sun8i-r40-tcon-top";
1054f126890aSEmmanuel Vadot			reg = <0x01c70000 0x1000>;
1055f126890aSEmmanuel Vadot			clocks = <&ccu CLK_BUS_TCON_TOP>,
1056f126890aSEmmanuel Vadot				 <&ccu CLK_TCON_TV0>,
1057f126890aSEmmanuel Vadot				 <&ccu CLK_TVE0>,
1058f126890aSEmmanuel Vadot				 <&ccu CLK_TCON_TV1>,
1059f126890aSEmmanuel Vadot				 <&ccu CLK_TVE1>,
1060f126890aSEmmanuel Vadot				 <&ccu CLK_DSI_DPHY>;
1061f126890aSEmmanuel Vadot			clock-names = "bus",
1062f126890aSEmmanuel Vadot				      "tcon-tv0",
1063f126890aSEmmanuel Vadot				      "tve0",
1064f126890aSEmmanuel Vadot				      "tcon-tv1",
1065f126890aSEmmanuel Vadot				      "tve1",
1066f126890aSEmmanuel Vadot				      "dsi";
1067f126890aSEmmanuel Vadot			clock-output-names = "tcon-top-tv0",
1068f126890aSEmmanuel Vadot					     "tcon-top-tv1",
1069f126890aSEmmanuel Vadot					     "tcon-top-dsi";
1070f126890aSEmmanuel Vadot			resets = <&ccu RST_BUS_TCON_TOP>;
1071f126890aSEmmanuel Vadot			#clock-cells = <1>;
1072f126890aSEmmanuel Vadot
1073f126890aSEmmanuel Vadot			ports {
1074f126890aSEmmanuel Vadot				#address-cells = <1>;
1075f126890aSEmmanuel Vadot				#size-cells = <0>;
1076f126890aSEmmanuel Vadot
1077f126890aSEmmanuel Vadot				tcon_top_mixer0_in: port@0 {
1078f126890aSEmmanuel Vadot					reg = <0>;
1079f126890aSEmmanuel Vadot
1080f126890aSEmmanuel Vadot					tcon_top_mixer0_in_mixer0: endpoint {
1081f126890aSEmmanuel Vadot						remote-endpoint = <&mixer0_out_tcon_top>;
1082f126890aSEmmanuel Vadot					};
1083f126890aSEmmanuel Vadot				};
1084f126890aSEmmanuel Vadot
1085f126890aSEmmanuel Vadot				tcon_top_mixer0_out: port@1 {
1086f126890aSEmmanuel Vadot					#address-cells = <1>;
1087f126890aSEmmanuel Vadot					#size-cells = <0>;
1088f126890aSEmmanuel Vadot					reg = <1>;
1089f126890aSEmmanuel Vadot
1090f126890aSEmmanuel Vadot					tcon_top_mixer0_out_tcon_lcd0: endpoint@0 {
1091f126890aSEmmanuel Vadot						reg = <0>;
1092f126890aSEmmanuel Vadot					};
1093f126890aSEmmanuel Vadot
1094f126890aSEmmanuel Vadot					tcon_top_mixer0_out_tcon_lcd1: endpoint@1 {
1095f126890aSEmmanuel Vadot						reg = <1>;
1096f126890aSEmmanuel Vadot					};
1097f126890aSEmmanuel Vadot
1098f126890aSEmmanuel Vadot					tcon_top_mixer0_out_tcon_tv0: endpoint@2 {
1099f126890aSEmmanuel Vadot						reg = <2>;
1100f126890aSEmmanuel Vadot						remote-endpoint = <&tcon_tv0_in_tcon_top_mixer0>;
1101f126890aSEmmanuel Vadot					};
1102f126890aSEmmanuel Vadot
1103f126890aSEmmanuel Vadot					tcon_top_mixer0_out_tcon_tv1: endpoint@3 {
1104f126890aSEmmanuel Vadot						reg = <3>;
1105f126890aSEmmanuel Vadot						remote-endpoint = <&tcon_tv1_in_tcon_top_mixer0>;
1106f126890aSEmmanuel Vadot					};
1107f126890aSEmmanuel Vadot				};
1108f126890aSEmmanuel Vadot
1109f126890aSEmmanuel Vadot				tcon_top_mixer1_in: port@2 {
1110f126890aSEmmanuel Vadot					#address-cells = <1>;
1111f126890aSEmmanuel Vadot					#size-cells = <0>;
1112f126890aSEmmanuel Vadot					reg = <2>;
1113f126890aSEmmanuel Vadot
1114f126890aSEmmanuel Vadot					tcon_top_mixer1_in_mixer1: endpoint@1 {
1115f126890aSEmmanuel Vadot						reg = <1>;
1116f126890aSEmmanuel Vadot						remote-endpoint = <&mixer1_out_tcon_top>;
1117f126890aSEmmanuel Vadot					};
1118f126890aSEmmanuel Vadot				};
1119f126890aSEmmanuel Vadot
1120f126890aSEmmanuel Vadot				tcon_top_mixer1_out: port@3 {
1121f126890aSEmmanuel Vadot					#address-cells = <1>;
1122f126890aSEmmanuel Vadot					#size-cells = <0>;
1123f126890aSEmmanuel Vadot					reg = <3>;
1124f126890aSEmmanuel Vadot
1125f126890aSEmmanuel Vadot					tcon_top_mixer1_out_tcon_lcd0: endpoint@0 {
1126f126890aSEmmanuel Vadot						reg = <0>;
1127f126890aSEmmanuel Vadot					};
1128f126890aSEmmanuel Vadot
1129f126890aSEmmanuel Vadot					tcon_top_mixer1_out_tcon_lcd1: endpoint@1 {
1130f126890aSEmmanuel Vadot						reg = <1>;
1131f126890aSEmmanuel Vadot					};
1132f126890aSEmmanuel Vadot
1133f126890aSEmmanuel Vadot					tcon_top_mixer1_out_tcon_tv0: endpoint@2 {
1134f126890aSEmmanuel Vadot						reg = <2>;
1135f126890aSEmmanuel Vadot						remote-endpoint = <&tcon_tv0_in_tcon_top_mixer1>;
1136f126890aSEmmanuel Vadot					};
1137f126890aSEmmanuel Vadot
1138f126890aSEmmanuel Vadot					tcon_top_mixer1_out_tcon_tv1: endpoint@3 {
1139f126890aSEmmanuel Vadot						reg = <3>;
1140f126890aSEmmanuel Vadot						remote-endpoint = <&tcon_tv1_in_tcon_top_mixer1>;
1141f126890aSEmmanuel Vadot					};
1142f126890aSEmmanuel Vadot				};
1143f126890aSEmmanuel Vadot
1144f126890aSEmmanuel Vadot				tcon_top_hdmi_in: port@4 {
1145f126890aSEmmanuel Vadot					#address-cells = <1>;
1146f126890aSEmmanuel Vadot					#size-cells = <0>;
1147f126890aSEmmanuel Vadot					reg = <4>;
1148f126890aSEmmanuel Vadot
1149f126890aSEmmanuel Vadot					tcon_top_hdmi_in_tcon_tv0: endpoint@0 {
1150f126890aSEmmanuel Vadot						reg = <0>;
1151f126890aSEmmanuel Vadot						remote-endpoint = <&tcon_tv0_out_tcon_top>;
1152f126890aSEmmanuel Vadot					};
1153f126890aSEmmanuel Vadot
1154f126890aSEmmanuel Vadot					tcon_top_hdmi_in_tcon_tv1: endpoint@1 {
1155f126890aSEmmanuel Vadot						reg = <1>;
1156f126890aSEmmanuel Vadot						remote-endpoint = <&tcon_tv1_out_tcon_top>;
1157f126890aSEmmanuel Vadot					};
1158f126890aSEmmanuel Vadot				};
1159f126890aSEmmanuel Vadot
1160f126890aSEmmanuel Vadot				tcon_top_hdmi_out: port@5 {
1161f126890aSEmmanuel Vadot					reg = <5>;
1162f126890aSEmmanuel Vadot
1163f126890aSEmmanuel Vadot					tcon_top_hdmi_out_hdmi: endpoint {
1164f126890aSEmmanuel Vadot						remote-endpoint = <&hdmi_in_tcon_top>;
1165f126890aSEmmanuel Vadot					};
1166f126890aSEmmanuel Vadot				};
1167f126890aSEmmanuel Vadot			};
1168f126890aSEmmanuel Vadot		};
1169f126890aSEmmanuel Vadot
1170f126890aSEmmanuel Vadot		tcon_tv0: lcd-controller@1c73000 {
1171f126890aSEmmanuel Vadot			compatible = "allwinner,sun8i-r40-tcon-tv";
1172f126890aSEmmanuel Vadot			reg = <0x01c73000 0x1000>;
1173f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 51 IRQ_TYPE_LEVEL_HIGH>;
1174f126890aSEmmanuel Vadot			clocks = <&ccu CLK_BUS_TCON_TV0>, <&tcon_top CLK_TCON_TOP_TV0>;
1175f126890aSEmmanuel Vadot			clock-names = "ahb", "tcon-ch1";
1176f126890aSEmmanuel Vadot			resets = <&ccu RST_BUS_TCON_TV0>;
1177f126890aSEmmanuel Vadot			reset-names = "lcd";
1178f126890aSEmmanuel Vadot			status = "disabled";
1179f126890aSEmmanuel Vadot
1180f126890aSEmmanuel Vadot			ports {
1181f126890aSEmmanuel Vadot				#address-cells = <1>;
1182f126890aSEmmanuel Vadot				#size-cells = <0>;
1183f126890aSEmmanuel Vadot
1184f126890aSEmmanuel Vadot				tcon_tv0_in: port@0 {
1185f126890aSEmmanuel Vadot					#address-cells = <1>;
1186f126890aSEmmanuel Vadot					#size-cells = <0>;
1187f126890aSEmmanuel Vadot					reg = <0>;
1188f126890aSEmmanuel Vadot
1189f126890aSEmmanuel Vadot					tcon_tv0_in_tcon_top_mixer0: endpoint@0 {
1190f126890aSEmmanuel Vadot						reg = <0>;
1191f126890aSEmmanuel Vadot						remote-endpoint = <&tcon_top_mixer0_out_tcon_tv0>;
1192f126890aSEmmanuel Vadot					};
1193f126890aSEmmanuel Vadot
1194f126890aSEmmanuel Vadot					tcon_tv0_in_tcon_top_mixer1: endpoint@1 {
1195f126890aSEmmanuel Vadot						reg = <1>;
1196f126890aSEmmanuel Vadot						remote-endpoint = <&tcon_top_mixer1_out_tcon_tv0>;
1197f126890aSEmmanuel Vadot					};
1198f126890aSEmmanuel Vadot				};
1199f126890aSEmmanuel Vadot
1200f126890aSEmmanuel Vadot				tcon_tv0_out: port@1 {
1201f126890aSEmmanuel Vadot					#address-cells = <1>;
1202f126890aSEmmanuel Vadot					#size-cells = <0>;
1203f126890aSEmmanuel Vadot					reg = <1>;
1204f126890aSEmmanuel Vadot
1205f126890aSEmmanuel Vadot					tcon_tv0_out_tcon_top: endpoint@1 {
1206f126890aSEmmanuel Vadot						reg = <1>;
1207f126890aSEmmanuel Vadot						remote-endpoint = <&tcon_top_hdmi_in_tcon_tv0>;
1208f126890aSEmmanuel Vadot					};
1209f126890aSEmmanuel Vadot				};
1210f126890aSEmmanuel Vadot			};
1211f126890aSEmmanuel Vadot		};
1212f126890aSEmmanuel Vadot
1213f126890aSEmmanuel Vadot		tcon_tv1: lcd-controller@1c74000 {
1214f126890aSEmmanuel Vadot			compatible = "allwinner,sun8i-r40-tcon-tv";
1215f126890aSEmmanuel Vadot			reg = <0x01c74000 0x1000>;
1216f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 52 IRQ_TYPE_LEVEL_HIGH>;
1217f126890aSEmmanuel Vadot			clocks = <&ccu CLK_BUS_TCON_TV1>, <&tcon_top CLK_TCON_TOP_TV1>;
1218f126890aSEmmanuel Vadot			clock-names = "ahb", "tcon-ch1";
1219f126890aSEmmanuel Vadot			resets = <&ccu RST_BUS_TCON_TV1>;
1220f126890aSEmmanuel Vadot			reset-names = "lcd";
1221f126890aSEmmanuel Vadot			status = "disabled";
1222f126890aSEmmanuel Vadot
1223f126890aSEmmanuel Vadot			ports {
1224f126890aSEmmanuel Vadot				#address-cells = <1>;
1225f126890aSEmmanuel Vadot				#size-cells = <0>;
1226f126890aSEmmanuel Vadot
1227f126890aSEmmanuel Vadot				tcon_tv1_in: port@0 {
1228f126890aSEmmanuel Vadot					#address-cells = <1>;
1229f126890aSEmmanuel Vadot					#size-cells = <0>;
1230f126890aSEmmanuel Vadot					reg = <0>;
1231f126890aSEmmanuel Vadot
1232f126890aSEmmanuel Vadot					tcon_tv1_in_tcon_top_mixer0: endpoint@0 {
1233f126890aSEmmanuel Vadot						reg = <0>;
1234f126890aSEmmanuel Vadot						remote-endpoint = <&tcon_top_mixer0_out_tcon_tv1>;
1235f126890aSEmmanuel Vadot					};
1236f126890aSEmmanuel Vadot
1237f126890aSEmmanuel Vadot					tcon_tv1_in_tcon_top_mixer1: endpoint@1 {
1238f126890aSEmmanuel Vadot						reg = <1>;
1239f126890aSEmmanuel Vadot						remote-endpoint = <&tcon_top_mixer1_out_tcon_tv1>;
1240f126890aSEmmanuel Vadot					};
1241f126890aSEmmanuel Vadot				};
1242f126890aSEmmanuel Vadot
1243f126890aSEmmanuel Vadot				tcon_tv1_out: port@1 {
1244f126890aSEmmanuel Vadot					#address-cells = <1>;
1245f126890aSEmmanuel Vadot					#size-cells = <0>;
1246f126890aSEmmanuel Vadot					reg = <1>;
1247f126890aSEmmanuel Vadot
1248f126890aSEmmanuel Vadot					tcon_tv1_out_tcon_top: endpoint@1 {
1249f126890aSEmmanuel Vadot						reg = <1>;
1250f126890aSEmmanuel Vadot						remote-endpoint = <&tcon_top_hdmi_in_tcon_tv1>;
1251f126890aSEmmanuel Vadot					};
1252f126890aSEmmanuel Vadot				};
1253f126890aSEmmanuel Vadot			};
1254f126890aSEmmanuel Vadot		};
1255f126890aSEmmanuel Vadot
1256f126890aSEmmanuel Vadot		gic: interrupt-controller@1c81000 {
1257f126890aSEmmanuel Vadot			compatible = "arm,gic-400";
1258f126890aSEmmanuel Vadot			reg = <0x01c81000 0x1000>,
1259f126890aSEmmanuel Vadot			      <0x01c82000 0x2000>,
1260f126890aSEmmanuel Vadot			      <0x01c84000 0x2000>,
1261f126890aSEmmanuel Vadot			      <0x01c86000 0x2000>;
1262f126890aSEmmanuel Vadot			interrupt-controller;
1263f126890aSEmmanuel Vadot			#interrupt-cells = <3>;
1264f126890aSEmmanuel Vadot			interrupts = <GIC_PPI 9 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>;
1265f126890aSEmmanuel Vadot		};
1266f126890aSEmmanuel Vadot
1267f126890aSEmmanuel Vadot		hdmi: hdmi@1ee0000 {
1268f126890aSEmmanuel Vadot			compatible = "allwinner,sun8i-r40-dw-hdmi",
1269f126890aSEmmanuel Vadot				     "allwinner,sun8i-a83t-dw-hdmi";
1270f126890aSEmmanuel Vadot			reg = <0x01ee0000 0x10000>;
1271f126890aSEmmanuel Vadot			reg-io-width = <1>;
1272f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 58 IRQ_TYPE_LEVEL_HIGH>;
1273f126890aSEmmanuel Vadot			clocks = <&ccu CLK_BUS_HDMI0>, <&ccu CLK_HDMI_SLOW>,
1274f126890aSEmmanuel Vadot				 <&ccu CLK_HDMI>, <&rtc CLK_OSC32K>;
1275f126890aSEmmanuel Vadot			clock-names = "iahb", "isfr", "tmds", "cec";
1276f126890aSEmmanuel Vadot			resets = <&ccu RST_BUS_HDMI1>;
1277f126890aSEmmanuel Vadot			reset-names = "ctrl";
1278f126890aSEmmanuel Vadot			phys = <&hdmi_phy>;
1279f126890aSEmmanuel Vadot			phy-names = "phy";
1280f126890aSEmmanuel Vadot			status = "disabled";
1281f126890aSEmmanuel Vadot
1282f126890aSEmmanuel Vadot			ports {
1283f126890aSEmmanuel Vadot				#address-cells = <1>;
1284f126890aSEmmanuel Vadot				#size-cells = <0>;
1285f126890aSEmmanuel Vadot
1286f126890aSEmmanuel Vadot				hdmi_in: port@0 {
1287f126890aSEmmanuel Vadot					reg = <0>;
1288f126890aSEmmanuel Vadot
1289f126890aSEmmanuel Vadot					hdmi_in_tcon_top: endpoint {
1290f126890aSEmmanuel Vadot						remote-endpoint = <&tcon_top_hdmi_out_hdmi>;
1291f126890aSEmmanuel Vadot					};
1292f126890aSEmmanuel Vadot				};
1293f126890aSEmmanuel Vadot
1294f126890aSEmmanuel Vadot				hdmi_out: port@1 {
1295f126890aSEmmanuel Vadot					reg = <1>;
1296f126890aSEmmanuel Vadot				};
1297f126890aSEmmanuel Vadot			};
1298f126890aSEmmanuel Vadot		};
1299f126890aSEmmanuel Vadot
1300f126890aSEmmanuel Vadot		hdmi_phy: hdmi-phy@1ef0000 {
1301f126890aSEmmanuel Vadot			compatible = "allwinner,sun8i-r40-hdmi-phy";
1302f126890aSEmmanuel Vadot			reg = <0x01ef0000 0x10000>;
1303f126890aSEmmanuel Vadot			clocks = <&ccu CLK_BUS_HDMI1>, <&ccu CLK_HDMI_SLOW>,
1304f126890aSEmmanuel Vadot				 <&ccu CLK_PLL_VIDEO0>, <&ccu CLK_PLL_VIDEO1>;
1305f126890aSEmmanuel Vadot			clock-names = "bus", "mod", "pll-0", "pll-1";
1306f126890aSEmmanuel Vadot			resets = <&ccu RST_BUS_HDMI0>;
1307f126890aSEmmanuel Vadot			reset-names = "phy";
1308f126890aSEmmanuel Vadot			#phy-cells = <0>;
1309f126890aSEmmanuel Vadot		};
1310f126890aSEmmanuel Vadot	};
1311f126890aSEmmanuel Vadot
1312f126890aSEmmanuel Vadot	pmu {
1313f126890aSEmmanuel Vadot		compatible = "arm,cortex-a7-pmu";
1314f126890aSEmmanuel Vadot		interrupts = <GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>,
1315f126890aSEmmanuel Vadot			     <GIC_SPI 121 IRQ_TYPE_LEVEL_HIGH>,
1316f126890aSEmmanuel Vadot			     <GIC_SPI 122 IRQ_TYPE_LEVEL_HIGH>,
1317f126890aSEmmanuel Vadot			     <GIC_SPI 123 IRQ_TYPE_LEVEL_HIGH>;
1318f126890aSEmmanuel Vadot		interrupt-affinity = <&cpu0>, <&cpu1>, <&cpu2>, <&cpu3>;
1319f126890aSEmmanuel Vadot	};
1320f126890aSEmmanuel Vadot
1321f126890aSEmmanuel Vadot	timer {
1322f126890aSEmmanuel Vadot		compatible = "arm,armv7-timer";
1323f126890aSEmmanuel Vadot		interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
1324f126890aSEmmanuel Vadot			     <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
1325f126890aSEmmanuel Vadot			     <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
1326f126890aSEmmanuel Vadot			     <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>;
1327f126890aSEmmanuel Vadot	};
1328f126890aSEmmanuel Vadot};
1329