1219820Sjeff// SPDX-License-Identifier: GPL-2.0
2219820Sjeff/*
3219820Sjeff * Device Tree Source for the r8a7743 SoC
4219820Sjeff *
5219820Sjeff * Copyright (C) 2016-2017 Cogent Embedded Inc.
6219820Sjeff */
7219820Sjeff
8219820Sjeff#include <dt-bindings/interrupt-controller/irq.h>
9219820Sjeff#include <dt-bindings/interrupt-controller/arm-gic.h>
10219820Sjeff#include <dt-bindings/clock/r8a7743-cpg-mssr.h>
11219820Sjeff#include <dt-bindings/power/r8a7743-sysc.h>
12219820Sjeff
13219820Sjeff/ {
14219820Sjeff	compatible = "renesas,r8a7743";
15219820Sjeff	#address-cells = <2>;
16219820Sjeff	#size-cells = <2>;
17219820Sjeff
18219820Sjeff	/*
19219820Sjeff	 * The external audio clocks are configured as 0 Hz fixed frequency
20219820Sjeff	 * clocks by default.
21219820Sjeff	 * Boards that provide audio clocks should override them.
22219820Sjeff	 */
23219820Sjeff	audio_clk_a: audio_clk_a {
24219820Sjeff		compatible = "fixed-clock";
25219820Sjeff		#clock-cells = <0>;
26219820Sjeff		clock-frequency = <0>;
27219820Sjeff	};
28219820Sjeff
29219820Sjeff	audio_clk_b: audio_clk_b {
30219820Sjeff		compatible = "fixed-clock";
31219820Sjeff		#clock-cells = <0>;
32219820Sjeff		clock-frequency = <0>;
33219820Sjeff	};
34219820Sjeff
35255932Salfred	audio_clk_c: audio_clk_c {
36255932Salfred		compatible = "fixed-clock";
37219820Sjeff		#clock-cells = <0>;
38255932Salfred		clock-frequency = <0>;
39219820Sjeff	};
40255932Salfred
41255932Salfred	/* External CAN clock */
42219820Sjeff	can_clk: can {
43219820Sjeff		compatible = "fixed-clock";
44219820Sjeff		#clock-cells = <0>;
45219820Sjeff		/* This value must be overridden by the board. */
46219820Sjeff		clock-frequency = <0>;
47219820Sjeff	};
48219820Sjeff
49219820Sjeff	cpus {
50255932Salfred		#address-cells = <1>;
51255932Salfred		#size-cells = <0>;
52255932Salfred
53255932Salfred		cpu0: cpu@0 {
54255932Salfred			device_type = "cpu";
55255932Salfred			compatible = "arm,cortex-a15";
56255932Salfred			reg = <0>;
57255932Salfred			clock-frequency = <1500000000>;
58255932Salfred			clocks = <&cpg CPG_CORE R8A7743_CLK_Z>;
59255932Salfred			clock-latency = <300000>; /* 300 us */
60255932Salfred			power-domains = <&sysc R8A7743_PD_CA15_CPU0>;
61255932Salfred			enable-method = "renesas,apmu";
62255932Salfred			next-level-cache = <&L2_CA15>;
63255932Salfred
64255932Salfred			/* kHz - uV - OPPs unknown yet */
65255932Salfred			operating-points = <1500000 1000000>,
66255932Salfred					   <1312500 1000000>,
67255932Salfred					   <1125000 1000000>,
68255932Salfred					   < 937500 1000000>,
69255932Salfred					   < 750000 1000000>,
70255932Salfred					   < 375000 1000000>;
71255932Salfred		};
72255932Salfred
73255932Salfred		cpu1: cpu@1 {
74255932Salfred			device_type = "cpu";
75255932Salfred			compatible = "arm,cortex-a15";
76255932Salfred			reg = <1>;
77255932Salfred			clock-frequency = <1500000000>;
78255932Salfred			clocks = <&cpg CPG_CORE R8A7743_CLK_Z>;
79255932Salfred			clock-latency = <300000>; /* 300 us */
80255932Salfred			power-domains = <&sysc R8A7743_PD_CA15_CPU1>;
81255932Salfred			enable-method = "renesas,apmu";
82255932Salfred			next-level-cache = <&L2_CA15>;
83255932Salfred
84255932Salfred			/* kHz - uV - OPPs unknown yet */
85255932Salfred			operating-points = <1500000 1000000>,
86255932Salfred					   <1312500 1000000>,
87255932Salfred					   <1125000 1000000>,
88255932Salfred					   < 937500 1000000>,
89255932Salfred					   < 750000 1000000>,
90255932Salfred					   < 375000 1000000>;
91255932Salfred		};
92255932Salfred
93255932Salfred		L2_CA15: cache-controller-0 {
94255932Salfred			compatible = "cache";
95255932Salfred			cache-unified;
96255932Salfred			cache-level = <2>;
97255932Salfred			power-domains = <&sysc R8A7743_PD_CA15_SCU>;
98255932Salfred		};
99255932Salfred	};
100255932Salfred
101255932Salfred	/* External root clock */
102255932Salfred	extal_clk: extal {
103255932Salfred		compatible = "fixed-clock";
104255932Salfred		#clock-cells = <0>;
105255932Salfred		/* This value must be overridden by the board. */
106219820Sjeff		clock-frequency = <0>;
107219820Sjeff	};
108219820Sjeff
109219820Sjeff	/* External PCIe clock - can be overridden by the board */
110219820Sjeff	pcie_bus_clk: pcie_bus {
111219820Sjeff		compatible = "fixed-clock";
112219820Sjeff		#clock-cells = <0>;
113219820Sjeff		clock-frequency = <0>;
114219820Sjeff	};
115219820Sjeff
116219820Sjeff	pmu {
117219820Sjeff		compatible = "arm,cortex-a15-pmu";
118219820Sjeff		interrupts-extended = <&gic GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>,
119219820Sjeff				      <&gic GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>;
120219820Sjeff		interrupt-affinity = <&cpu0>, <&cpu1>;
121219820Sjeff	};
122219820Sjeff
123219820Sjeff	/* External SCIF clock */
124219820Sjeff	scif_clk: scif {
125219820Sjeff		compatible = "fixed-clock";
126219820Sjeff		#clock-cells = <0>;
127219820Sjeff		/* This value must be overridden by the board. */
128219820Sjeff		clock-frequency = <0>;
129219820Sjeff	};
130219820Sjeff
131219820Sjeff	soc {
132255932Salfred		compatible = "simple-bus";
133219820Sjeff		interrupt-parent = <&gic>;
134255932Salfred
135219820Sjeff		#address-cells = <2>;
136255932Salfred		#size-cells = <2>;
137255932Salfred		ranges;
138255932Salfred
139219820Sjeff		rwdt: watchdog@e6020000 {
140219820Sjeff			compatible = "renesas,r8a7743-wdt",
141219820Sjeff				     "renesas,rcar-gen2-wdt";
142219820Sjeff			reg = <0 0xe6020000 0 0x0c>;
143219820Sjeff			interrupts = <GIC_SPI 140 IRQ_TYPE_LEVEL_HIGH>;
144219820Sjeff			clocks = <&cpg CPG_MOD 402>;
145219820Sjeff			power-domains = <&sysc R8A7743_PD_ALWAYS_ON>;
146219820Sjeff			resets = <&cpg 402>;
147219820Sjeff			status = "disabled";
148219820Sjeff		};
149219820Sjeff
150219820Sjeff		gpio0: gpio@e6050000 {
151219820Sjeff			compatible = "renesas,gpio-r8a7743",
152219820Sjeff				     "renesas,rcar-gen2-gpio";
153219820Sjeff			reg = <0 0xe6050000 0 0x50>;
154219820Sjeff			interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;
155219820Sjeff			#gpio-cells = <2>;
156219820Sjeff			gpio-controller;
157219820Sjeff			gpio-ranges = <&pfc 0 0 32>;
158219820Sjeff			#interrupt-cells = <2>;
159219820Sjeff			interrupt-controller;
160219820Sjeff			clocks = <&cpg CPG_MOD 912>;
161219820Sjeff			power-domains = <&sysc R8A7743_PD_ALWAYS_ON>;
162219820Sjeff			resets = <&cpg 912>;
163219820Sjeff		};
164219820Sjeff
165219820Sjeff		gpio1: gpio@e6051000 {
166219820Sjeff			compatible = "renesas,gpio-r8a7743",
167219820Sjeff				     "renesas,rcar-gen2-gpio";
168219820Sjeff			reg = <0 0xe6051000 0 0x50>;
169219820Sjeff			interrupts = <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>;
170219820Sjeff			#gpio-cells = <2>;
171255932Salfred			gpio-controller;
172255932Salfred			gpio-ranges = <&pfc 0 32 26>;
173255932Salfred			#interrupt-cells = <2>;
174255932Salfred			interrupt-controller;
175219820Sjeff			clocks = <&cpg CPG_MOD 911>;
176219820Sjeff			power-domains = <&sysc R8A7743_PD_ALWAYS_ON>;
177219820Sjeff			resets = <&cpg 911>;
178219820Sjeff		};
179219820Sjeff
180219820Sjeff		gpio2: gpio@e6052000 {
181219820Sjeff			compatible = "renesas,gpio-r8a7743",
182219820Sjeff				     "renesas,rcar-gen2-gpio";
183219820Sjeff			reg = <0 0xe6052000 0 0x50>;
184219820Sjeff			interrupts = <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>;
185219820Sjeff			#gpio-cells = <2>;
186219820Sjeff			gpio-controller;
187219820Sjeff			gpio-ranges = <&pfc 0 64 32>;
188219820Sjeff			#interrupt-cells = <2>;
189255932Salfred			interrupt-controller;
190219820Sjeff			clocks = <&cpg CPG_MOD 910>;
191219820Sjeff			power-domains = <&sysc R8A7743_PD_ALWAYS_ON>;
192219820Sjeff			resets = <&cpg 910>;
193219820Sjeff		};
194219820Sjeff
195219820Sjeff		gpio3: gpio@e6053000 {
196219820Sjeff			compatible = "renesas,gpio-r8a7743",
197219820Sjeff				     "renesas,rcar-gen2-gpio";
198219820Sjeff			reg = <0 0xe6053000 0 0x50>;
199219820Sjeff			interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>;
200219820Sjeff			#gpio-cells = <2>;
201219820Sjeff			gpio-controller;
202219820Sjeff			gpio-ranges = <&pfc 0 96 32>;
203219820Sjeff			#interrupt-cells = <2>;
204255932Salfred			interrupt-controller;
205219820Sjeff			clocks = <&cpg CPG_MOD 909>;
206219820Sjeff			power-domains = <&sysc R8A7743_PD_ALWAYS_ON>;
207219820Sjeff			resets = <&cpg 909>;
208255932Salfred		};
209219820Sjeff
210219820Sjeff		gpio4: gpio@e6054000 {
211219820Sjeff			compatible = "renesas,gpio-r8a7743",
212255932Salfred				     "renesas,rcar-gen2-gpio";
213255932Salfred			reg = <0 0xe6054000 0 0x50>;
214219820Sjeff			interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>;
215219820Sjeff			#gpio-cells = <2>;
216255932Salfred			gpio-controller;
217219820Sjeff			gpio-ranges = <&pfc 0 128 32>;
218255932Salfred			#interrupt-cells = <2>;
219255932Salfred			interrupt-controller;
220255932Salfred			clocks = <&cpg CPG_MOD 908>;
221255932Salfred			power-domains = <&sysc R8A7743_PD_ALWAYS_ON>;
222255932Salfred			resets = <&cpg 908>;
223219820Sjeff		};
224255932Salfred
225255932Salfred		gpio5: gpio@e6055000 {
226219820Sjeff			compatible = "renesas,gpio-r8a7743",
227219820Sjeff				     "renesas,rcar-gen2-gpio";
228255932Salfred			reg = <0 0xe6055000 0 0x50>;
229255932Salfred			interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>;
230255932Salfred			#gpio-cells = <2>;
231255932Salfred			gpio-controller;
232255932Salfred			gpio-ranges = <&pfc 0 160 32>;
233219820Sjeff			#interrupt-cells = <2>;
234255932Salfred			interrupt-controller;
235219820Sjeff			clocks = <&cpg CPG_MOD 907>;
236219820Sjeff			power-domains = <&sysc R8A7743_PD_ALWAYS_ON>;
237219820Sjeff			resets = <&cpg 907>;
238255932Salfred		};
239255932Salfred
240219820Sjeff		gpio6: gpio@e6055400 {
241255932Salfred			compatible = "renesas,gpio-r8a7743",
242255932Salfred				     "renesas,rcar-gen2-gpio";
243255932Salfred			reg = <0 0xe6055400 0 0x50>;
244255932Salfred			interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
245255932Salfred			#gpio-cells = <2>;
246255932Salfred			gpio-controller;
247255932Salfred			gpio-ranges = <&pfc 0 192 32>;
248255932Salfred			#interrupt-cells = <2>;
249255932Salfred			interrupt-controller;
250219820Sjeff			clocks = <&cpg CPG_MOD 905>;
251219820Sjeff			power-domains = <&sysc R8A7743_PD_ALWAYS_ON>;
252255932Salfred			resets = <&cpg 905>;
253255932Salfred		};
254255932Salfred
255255932Salfred		gpio7: gpio@e6055800 {
256255932Salfred			compatible = "renesas,gpio-r8a7743",
257255932Salfred				     "renesas,rcar-gen2-gpio";
258255932Salfred			reg = <0 0xe6055800 0 0x50>;
259255932Salfred			interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>;
260255932Salfred			#gpio-cells = <2>;
261255932Salfred			gpio-controller;
262255932Salfred			gpio-ranges = <&pfc 0 224 26>;
263255932Salfred			#interrupt-cells = <2>;
264255932Salfred			interrupt-controller;
265255932Salfred			clocks = <&cpg CPG_MOD 904>;
266255932Salfred			power-domains = <&sysc R8A7743_PD_ALWAYS_ON>;
267219820Sjeff			resets = <&cpg 904>;
268255932Salfred		};
269255932Salfred
270255932Salfred		pfc: pinctrl@e6060000 {
271255932Salfred			compatible = "renesas,pfc-r8a7743";
272255932Salfred			reg = <0 0xe6060000 0 0x250>;
273255932Salfred		};
274255932Salfred
275255932Salfred		tpu: pwm@e60f0000 {
276255932Salfred			compatible = "renesas,tpu-r8a7743", "renesas,tpu";
277255932Salfred			reg = <0 0xe60f0000 0 0x148>;
278255932Salfred			clocks = <&cpg CPG_MOD 304>;
279255932Salfred			power-domains = <&sysc R8A7743_PD_ALWAYS_ON>;
280255932Salfred			resets = <&cpg 304>;
281255932Salfred			#pwm-cells = <3>;
282255932Salfred			status = "disabled";
283255932Salfred		};
284255932Salfred
285255932Salfred		cpg: clock-controller@e6150000 {
286255932Salfred			compatible = "renesas,r8a7743-cpg-mssr";
287255932Salfred			reg = <0 0xe6150000 0 0x1000>;
288255932Salfred			clocks = <&extal_clk>, <&usb_extal_clk>;
289255932Salfred			clock-names = "extal", "usb_extal";
290255932Salfred			#clock-cells = <2>;
291255932Salfred			#power-domain-cells = <0>;
292255932Salfred			#reset-cells = <1>;
293255932Salfred		};
294255932Salfred
295255932Salfred		apmu@e6152000 {
296255932Salfred			compatible = "renesas,r8a7743-apmu", "renesas,apmu";
297255932Salfred			reg = <0 0xe6152000 0 0x188>;
298255932Salfred			cpus = <&cpu0>, <&cpu1>;
299219820Sjeff		};
300255932Salfred
301219820Sjeff		rst: reset-controller@e6160000 {
302255932Salfred			compatible = "renesas,r8a7743-rst";
303255932Salfred			reg = <0 0xe6160000 0 0x100>;
304255932Salfred		};
305255932Salfred
306255932Salfred		sysc: system-controller@e6180000 {
307255932Salfred			compatible = "renesas,r8a7743-sysc";
308255932Salfred			reg = <0 0xe6180000 0 0x200>;
309255932Salfred			#power-domain-cells = <1>;
310255932Salfred		};
311255932Salfred
312255932Salfred		irqc: interrupt-controller@e61c0000 {
313255932Salfred			compatible = "renesas,irqc-r8a7743", "renesas,irqc";
314255932Salfred			#interrupt-cells = <2>;
315255932Salfred			interrupt-controller;
316255932Salfred			reg = <0 0xe61c0000 0 0x200>;
317255932Salfred			interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>,
318255932Salfred				     <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>,
319255932Salfred				     <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>,
320255932Salfred				     <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>,
321255932Salfred				     <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>,
322255932Salfred				     <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>,
323255932Salfred				     <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>,
324255932Salfred				     <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>,
325255932Salfred				     <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>,
326255932Salfred				     <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>;
327255932Salfred			clocks = <&cpg CPG_MOD 407>;
328255932Salfred			power-domains = <&sysc R8A7743_PD_ALWAYS_ON>;
329255932Salfred			resets = <&cpg 407>;
330255932Salfred		};
331255932Salfred
332219820Sjeff		tmu0: timer@e61e0000 {
333219820Sjeff			compatible = "renesas,tmu-r8a7743", "renesas,tmu";
334219820Sjeff			reg = <0 0xe61e0000 0 0x30>;
335219820Sjeff			interrupts = <GIC_SPI 136 IRQ_TYPE_LEVEL_HIGH>,
336219820Sjeff				     <GIC_SPI 137 IRQ_TYPE_LEVEL_HIGH>,
337219820Sjeff				     <GIC_SPI 138 IRQ_TYPE_LEVEL_HIGH>;
338219820Sjeff			interrupt-names = "tuni0", "tuni1", "tuni2";
339255932Salfred			clocks = <&cpg CPG_MOD 125>;
340255932Salfred			clock-names = "fck";
341219820Sjeff			power-domains = <&sysc R8A7743_PD_ALWAYS_ON>;
342219820Sjeff			resets = <&cpg 125>;
343219820Sjeff			status = "disabled";
344219820Sjeff		};
345255932Salfred
346219820Sjeff		tmu1: timer@fff60000 {
347255932Salfred			compatible = "renesas,tmu-r8a7743", "renesas,tmu";
348219820Sjeff			reg = <0 0xfff60000 0 0x30>;
349219820Sjeff			interrupts = <GIC_SPI 128 IRQ_TYPE_LEVEL_HIGH>,
350219820Sjeff				     <GIC_SPI 129 IRQ_TYPE_LEVEL_HIGH>,
351219820Sjeff				     <GIC_SPI 130 IRQ_TYPE_LEVEL_HIGH>,
352219820Sjeff				     <GIC_SPI 147 IRQ_TYPE_LEVEL_HIGH>;
353219820Sjeff			interrupt-names = "tuni0", "tuni1", "tuni2", "ticpi2";
354219820Sjeff			clocks = <&cpg CPG_MOD 111>;
355219820Sjeff			clock-names = "fck";
356219820Sjeff			power-domains = <&sysc R8A7743_PD_ALWAYS_ON>;
357255932Salfred			resets = <&cpg 111>;
358219820Sjeff			status = "disabled";
359219820Sjeff		};
360219820Sjeff
361219820Sjeff		tmu2: timer@fff70000 {
362255932Salfred			compatible = "renesas,tmu-r8a7743", "renesas,tmu";
363255932Salfred			reg = <0 0xfff70000 0 0x30>;
364219820Sjeff			interrupts = <GIC_SPI 303 IRQ_TYPE_LEVEL_HIGH>,
365219820Sjeff				     <GIC_SPI 304 IRQ_TYPE_LEVEL_HIGH>,
366219820Sjeff				     <GIC_SPI 305 IRQ_TYPE_LEVEL_HIGH>,
367219820Sjeff				     <GIC_SPI 306 IRQ_TYPE_LEVEL_HIGH>;
368219820Sjeff			interrupt-names = "tuni0", "tuni1", "tuni2", "ticpi2";
369219820Sjeff			clocks = <&cpg CPG_MOD 122>;
370255932Salfred			clock-names = "fck";
371219820Sjeff			power-domains = <&sysc R8A7743_PD_ALWAYS_ON>;
372219820Sjeff			resets = <&cpg 122>;
373219820Sjeff			status = "disabled";
374219820Sjeff		};
375219820Sjeff
376255932Salfred		tmu3: timer@fff80000 {
377219820Sjeff			compatible = "renesas,tmu-r8a7743", "renesas,tmu";
378219820Sjeff			reg = <0 0xfff80000 0 0x30>;
379219820Sjeff			interrupts = <GIC_SPI 131 IRQ_TYPE_LEVEL_HIGH>,
380219820Sjeff				     <GIC_SPI 132 IRQ_TYPE_LEVEL_HIGH>,
381219820Sjeff				     <GIC_SPI 133 IRQ_TYPE_LEVEL_HIGH>;
382219820Sjeff			interrupt-names = "tuni0", "tuni1", "tuni2";
383255932Salfred			clocks = <&cpg CPG_MOD 121>;
384255932Salfred			clock-names = "fck";
385219820Sjeff			power-domains = <&sysc R8A7743_PD_ALWAYS_ON>;
386255932Salfred			resets = <&cpg 121>;
387255932Salfred			status = "disabled";
388255932Salfred		};
389255932Salfred
390255932Salfred		thermal: thermal@e61f0000 {
391255932Salfred			compatible = "renesas,thermal-r8a7743",
392255932Salfred				     "renesas,rcar-gen2-thermal";
393255932Salfred			reg = <0 0xe61f0000 0 0x10>, <0 0xe61f0100 0 0x38>;
394255932Salfred			interrupts = <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>;
395255932Salfred			clocks = <&cpg CPG_MOD 522>;
396255932Salfred			power-domains = <&sysc R8A7743_PD_ALWAYS_ON>;
397219820Sjeff			resets = <&cpg 522>;
398219820Sjeff			#thermal-sensor-cells = <0>;
399255932Salfred		};
400219820Sjeff
401255932Salfred		ipmmu_sy0: iommu@e6280000 {
402255932Salfred			compatible = "renesas,ipmmu-r8a7743",
403255932Salfred				     "renesas,ipmmu-vmsa";
404255932Salfred			reg = <0 0xe6280000 0 0x1000>;
405255932Salfred			interrupts = <GIC_SPI 223 IRQ_TYPE_LEVEL_HIGH>,
406255932Salfred				     <GIC_SPI 224 IRQ_TYPE_LEVEL_HIGH>;
407255932Salfred			#iommu-cells = <1>;
408255932Salfred			status = "disabled";
409219820Sjeff		};
410219820Sjeff
411255932Salfred		ipmmu_sy1: iommu@e6290000 {
412255932Salfred			compatible = "renesas,ipmmu-r8a7743",
413255932Salfred				     "renesas,ipmmu-vmsa";
414255932Salfred			reg = <0 0xe6290000 0 0x1000>;
415255932Salfred			interrupts = <GIC_SPI 225 IRQ_TYPE_LEVEL_HIGH>;
416255932Salfred			#iommu-cells = <1>;
417255932Salfred			status = "disabled";
418255932Salfred		};
419255932Salfred
420255932Salfred		ipmmu_ds: iommu@e6740000 {
421255932Salfred			compatible = "renesas,ipmmu-r8a7743",
422255932Salfred				     "renesas,ipmmu-vmsa";
423255932Salfred			reg = <0 0xe6740000 0 0x1000>;
424255932Salfred			interrupts = <GIC_SPI 198 IRQ_TYPE_LEVEL_HIGH>,
425255932Salfred				     <GIC_SPI 199 IRQ_TYPE_LEVEL_HIGH>;
426255932Salfred			#iommu-cells = <1>;
427255932Salfred			status = "disabled";
428255932Salfred		};
429255932Salfred
430255932Salfred		ipmmu_mp: iommu@ec680000 {
431255932Salfred			compatible = "renesas,ipmmu-r8a7743",
432255932Salfred				     "renesas,ipmmu-vmsa";
433255932Salfred			reg = <0 0xec680000 0 0x1000>;
434255932Salfred			interrupts = <GIC_SPI 226 IRQ_TYPE_LEVEL_HIGH>;
435255932Salfred			#iommu-cells = <1>;
436255932Salfred			status = "disabled";
437255932Salfred		};
438255932Salfred
439255932Salfred		ipmmu_mx: iommu@fe951000 {
440255932Salfred			compatible = "renesas,ipmmu-r8a7743",
441255932Salfred				     "renesas,ipmmu-vmsa";
442255932Salfred			reg = <0 0xfe951000 0 0x1000>;
443255932Salfred			interrupts = <GIC_SPI 222 IRQ_TYPE_LEVEL_HIGH>,
444255932Salfred				     <GIC_SPI 221 IRQ_TYPE_LEVEL_HIGH>;
445255932Salfred			#iommu-cells = <1>;
446255932Salfred			status = "disabled";
447255932Salfred		};
448255932Salfred
449255932Salfred		ipmmu_gp: iommu@e62a0000 {
450255932Salfred			compatible = "renesas,ipmmu-r8a7743",
451255932Salfred				     "renesas,ipmmu-vmsa";
452255932Salfred			reg = <0 0xe62a0000 0 0x1000>;
453255932Salfred			interrupts = <GIC_SPI 260 IRQ_TYPE_LEVEL_HIGH>,
454255932Salfred				     <GIC_SPI 261 IRQ_TYPE_LEVEL_HIGH>;
455255932Salfred			#iommu-cells = <1>;
456255932Salfred			status = "disabled";
457255932Salfred		};
458255932Salfred
459255932Salfred		icram0:	sram@e63a0000 {
460255932Salfred			compatible = "mmio-sram";
461255932Salfred			reg = <0 0xe63a0000 0 0x12000>;
462255932Salfred			#address-cells = <1>;
463255932Salfred			#size-cells = <1>;
464255932Salfred			ranges = <0 0 0xe63a0000 0x12000>;
465255932Salfred		};
466255932Salfred
467255932Salfred		icram1:	sram@e63c0000 {
468255932Salfred			compatible = "mmio-sram";
469255932Salfred			reg = <0 0xe63c0000 0 0x1000>;
470255932Salfred			#address-cells = <1>;
471255932Salfred			#size-cells = <1>;
472255932Salfred			ranges = <0 0 0xe63c0000 0x1000>;
473255932Salfred
474255932Salfred			smp-sram@0 {
475255932Salfred				compatible = "renesas,smp-sram";
476255932Salfred				reg = <0 0x100>;
477255932Salfred			};
478255932Salfred		};
479255932Salfred
480255932Salfred		icram2:	sram@e6300000 {
481255932Salfred			compatible = "mmio-sram";
482255932Salfred			reg = <0 0xe6300000 0 0x40000>;
483255932Salfred			#address-cells = <1>;
484255932Salfred			#size-cells = <1>;
485255932Salfred			ranges = <0 0 0xe6300000 0x40000>;
486255932Salfred		};
487255932Salfred
488255932Salfred		/* The memory map in the User's Manual maps the cores to
489255932Salfred		 * bus numbers
490255932Salfred		 */
491255932Salfred		i2c0: i2c@e6508000 {
492255932Salfred			#address-cells = <1>;
493255932Salfred			#size-cells = <0>;
494255932Salfred			compatible = "renesas,i2c-r8a7743",
495255932Salfred				     "renesas,rcar-gen2-i2c";
496255932Salfred			reg = <0 0xe6508000 0 0x40>;
497255932Salfred			interrupts = <GIC_SPI 287 IRQ_TYPE_LEVEL_HIGH>;
498255932Salfred			clocks = <&cpg CPG_MOD 931>;
499255932Salfred			power-domains = <&sysc R8A7743_PD_ALWAYS_ON>;
500255932Salfred			resets = <&cpg 931>;
501255932Salfred			i2c-scl-internal-delay-ns = <6>;
502255932Salfred			status = "disabled";
503255932Salfred		};
504255932Salfred
505255932Salfred		i2c1: i2c@e6518000 {
506255932Salfred			#address-cells = <1>;
507255932Salfred			#size-cells = <0>;
508255932Salfred			compatible = "renesas,i2c-r8a7743",
509255932Salfred				     "renesas,rcar-gen2-i2c";
510255932Salfred			reg = <0 0xe6518000 0 0x40>;
511255932Salfred			interrupts = <GIC_SPI 288 IRQ_TYPE_LEVEL_HIGH>;
512255932Salfred			clocks = <&cpg CPG_MOD 930>;
513255932Salfred			power-domains = <&sysc R8A7743_PD_ALWAYS_ON>;
514255932Salfred			resets = <&cpg 930>;
515255932Salfred			i2c-scl-internal-delay-ns = <6>;
516255932Salfred			status = "disabled";
517255932Salfred		};
518255932Salfred
519255932Salfred		i2c2: i2c@e6530000 {
520255932Salfred			#address-cells = <1>;
521255932Salfred			#size-cells = <0>;
522255932Salfred			compatible = "renesas,i2c-r8a7743",
523255932Salfred				     "renesas,rcar-gen2-i2c";
524255932Salfred			reg = <0 0xe6530000 0 0x40>;
525255932Salfred			interrupts = <GIC_SPI 286 IRQ_TYPE_LEVEL_HIGH>;
526255932Salfred			clocks = <&cpg CPG_MOD 929>;
527255932Salfred			power-domains = <&sysc R8A7743_PD_ALWAYS_ON>;
528255932Salfred			resets = <&cpg 929>;
529255932Salfred			i2c-scl-internal-delay-ns = <6>;
530255932Salfred			status = "disabled";
531255932Salfred		};
532255932Salfred
533255932Salfred		i2c3: i2c@e6540000 {
534255932Salfred			#address-cells = <1>;
535255932Salfred			#size-cells = <0>;
536255932Salfred			compatible = "renesas,i2c-r8a7743",
537255932Salfred				     "renesas,rcar-gen2-i2c";
538255932Salfred			reg = <0 0xe6540000 0 0x40>;
539255932Salfred			interrupts = <GIC_SPI 290 IRQ_TYPE_LEVEL_HIGH>;
540255932Salfred			clocks = <&cpg CPG_MOD 928>;
541255932Salfred			power-domains = <&sysc R8A7743_PD_ALWAYS_ON>;
542255932Salfred			resets = <&cpg 928>;
543255932Salfred			i2c-scl-internal-delay-ns = <6>;
544255932Salfred			status = "disabled";
545255932Salfred		};
546255932Salfred
547255932Salfred		i2c4: i2c@e6520000 {
548255932Salfred			#address-cells = <1>;
549255932Salfred			#size-cells = <0>;
550255932Salfred			compatible = "renesas,i2c-r8a7743",
551278886Shselasky				     "renesas,rcar-gen2-i2c";
552278886Shselasky			reg = <0 0xe6520000 0 0x40>;
553278886Shselasky			interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>;
554278886Shselasky			clocks = <&cpg CPG_MOD 927>;
555278886Shselasky			power-domains = <&sysc R8A7743_PD_ALWAYS_ON>;
556278886Shselasky			resets = <&cpg 927>;
557278886Shselasky			i2c-scl-internal-delay-ns = <6>;
558278886Shselasky			status = "disabled";
559278886Shselasky		};
560278886Shselasky
561278886Shselasky		i2c5: i2c@e6528000 {
562278886Shselasky			/* doesn't need pinmux */
563278886Shselasky			#address-cells = <1>;
564278886Shselasky			#size-cells = <0>;
565278886Shselasky			compatible = "renesas,i2c-r8a7743",
566278886Shselasky				     "renesas,rcar-gen2-i2c";
567278886Shselasky			reg = <0 0xe6528000 0 0x40>;
568278886Shselasky			interrupts = <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>;
569278886Shselasky			clocks = <&cpg CPG_MOD 925>;
570278886Shselasky			power-domains = <&sysc R8A7743_PD_ALWAYS_ON>;
571278886Shselasky			resets = <&cpg 925>;
572278886Shselasky			i2c-scl-internal-delay-ns = <110>;
573278886Shselasky			status = "disabled";
574255932Salfred		};
575255932Salfred
576255932Salfred		iic0: i2c@e6500000 {
577255932Salfred			#address-cells = <1>;
578255932Salfred			#size-cells = <0>;
579255932Salfred			compatible = "renesas,iic-r8a7743",
580255932Salfred				     "renesas,rcar-gen2-iic",
581255932Salfred				     "renesas,rmobile-iic";
582255932Salfred			reg = <0 0xe6500000 0 0x425>;
583255932Salfred			interrupts = <GIC_SPI 174 IRQ_TYPE_LEVEL_HIGH>;
584255932Salfred			clocks = <&cpg CPG_MOD 318>;
585255932Salfred			dmas = <&dmac0 0x61>, <&dmac0 0x62>,
586255932Salfred			       <&dmac1 0x61>, <&dmac1 0x62>;
587255932Salfred			dma-names = "tx", "rx", "tx", "rx";
588255932Salfred			power-domains = <&sysc R8A7743_PD_ALWAYS_ON>;
589255932Salfred			resets = <&cpg 318>;
590255932Salfred			status = "disabled";
591255932Salfred		};
592255932Salfred
593255932Salfred		iic1: i2c@e6510000 {
594255932Salfred			#address-cells = <1>;
595255932Salfred			#size-cells = <0>;
596255932Salfred			compatible = "renesas,iic-r8a7743",
597255932Salfred				     "renesas,rcar-gen2-iic",
598255932Salfred				     "renesas,rmobile-iic";
599255932Salfred			reg = <0 0xe6510000 0 0x425>;
600255932Salfred			interrupts = <GIC_SPI 175 IRQ_TYPE_LEVEL_HIGH>;
601255932Salfred			clocks = <&cpg CPG_MOD 323>;
602255932Salfred			dmas = <&dmac0 0x65>, <&dmac0 0x66>,
603255932Salfred			       <&dmac1 0x65>, <&dmac1 0x66>;
604255932Salfred			dma-names = "tx", "rx", "tx", "rx";
605255932Salfred			power-domains = <&sysc R8A7743_PD_ALWAYS_ON>;
606255932Salfred			resets = <&cpg 323>;
607255932Salfred			status = "disabled";
608255932Salfred		};
609255932Salfred
610255932Salfred		iic3: i2c@e60b0000 {
611255932Salfred			/* doesn't need pinmux */
612255932Salfred			#address-cells = <1>;
613255932Salfred			#size-cells = <0>;
614255932Salfred			compatible = "renesas,iic-r8a7743",
615255932Salfred				     "renesas,rcar-gen2-iic",
616255932Salfred				     "renesas,rmobile-iic";
617255932Salfred			reg = <0 0xe60b0000 0 0x425>;
618255932Salfred			interrupts = <GIC_SPI 173 IRQ_TYPE_LEVEL_HIGH>;
619255932Salfred			clocks = <&cpg CPG_MOD 926>;
620255932Salfred			dmas = <&dmac0 0x77>, <&dmac0 0x78>,
621255932Salfred			       <&dmac1 0x77>, <&dmac1 0x78>;
622255932Salfred			dma-names = "tx", "rx", "tx", "rx";
623255932Salfred			power-domains = <&sysc R8A7743_PD_ALWAYS_ON>;
624255932Salfred			resets = <&cpg 926>;
625255932Salfred			status = "disabled";
626255932Salfred		};
627255932Salfred
628255932Salfred		hsusb: usb@e6590000 {
629255932Salfred			compatible = "renesas,usbhs-r8a7743",
630255932Salfred				     "renesas,rcar-gen2-usbhs";
631255932Salfred			reg = <0 0xe6590000 0 0x100>;
632255932Salfred			interrupts = <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>;
633255932Salfred			clocks = <&cpg CPG_MOD 704>;
634255932Salfred			dmas = <&usb_dmac0 0>, <&usb_dmac0 1>,
635255932Salfred			       <&usb_dmac1 0>, <&usb_dmac1 1>;
636255932Salfred			dma-names = "ch0", "ch1", "ch2", "ch3";
637255932Salfred			power-domains = <&sysc R8A7743_PD_ALWAYS_ON>;
638255932Salfred			resets = <&cpg 704>;
639255932Salfred			renesas,buswait = <4>;
640255932Salfred			phys = <&usb0 1>;
641255932Salfred			phy-names = "usb";
642255932Salfred			status = "disabled";
643255932Salfred		};
644255932Salfred
645255932Salfred		usbphy: usb-phy-controller@e6590100 {
646255932Salfred			compatible = "renesas,usb-phy-r8a7743",
647255932Salfred				     "renesas,rcar-gen2-usb-phy";
648255932Salfred			reg = <0 0xe6590100 0 0x100>;
649255932Salfred			#address-cells = <1>;
650255932Salfred			#size-cells = <0>;
651255932Salfred			clocks = <&cpg CPG_MOD 704>;
652255932Salfred			clock-names = "usbhs";
653255932Salfred			power-domains = <&sysc R8A7743_PD_ALWAYS_ON>;
654255932Salfred			resets = <&cpg 704>;
655255932Salfred			status = "disabled";
656255932Salfred
657255932Salfred			usb0: usb-phy@0 {
658255932Salfred				reg = <0>;
659255932Salfred				#phy-cells = <1>;
660255932Salfred			};
661255932Salfred			usb2: usb-phy@2 {
662255932Salfred				reg = <2>;
663255932Salfred				#phy-cells = <1>;
664255932Salfred			};
665255932Salfred		};
666255932Salfred
667255932Salfred		usb_dmac0: dma-controller@e65a0000 {
668255932Salfred			compatible = "renesas,r8a7743-usb-dmac",
669255932Salfred				     "renesas,usb-dmac";
670255932Salfred			reg = <0 0xe65a0000 0 0x100>;
671255932Salfred			interrupts = <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>,
672255932Salfred				     <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>;
673255932Salfred			interrupt-names = "ch0", "ch1";
674255932Salfred			clocks = <&cpg CPG_MOD 330>;
675255932Salfred			power-domains = <&sysc R8A7743_PD_ALWAYS_ON>;
676255932Salfred			resets = <&cpg 330>;
677255932Salfred			#dma-cells = <1>;
678255932Salfred			dma-channels = <2>;
679255932Salfred		};
680255932Salfred
681255932Salfred		usb_dmac1: dma-controller@e65b0000 {
682255932Salfred			compatible = "renesas,r8a7743-usb-dmac",
683255932Salfred				     "renesas,usb-dmac";
684255932Salfred			reg = <0 0xe65b0000 0 0x100>;
685255932Salfred			interrupts = <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>,
686255932Salfred				     <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>;
687255932Salfred			interrupt-names = "ch0", "ch1";
688255932Salfred			clocks = <&cpg CPG_MOD 331>;
689255932Salfred			power-domains = <&sysc R8A7743_PD_ALWAYS_ON>;
690255932Salfred			resets = <&cpg 331>;
691255932Salfred			#dma-cells = <1>;
692255932Salfred			dma-channels = <2>;
693255932Salfred		};
694255932Salfred
695255932Salfred		dmac0: dma-controller@e6700000 {
696255932Salfred			compatible = "renesas,dmac-r8a7743",
697255932Salfred				     "renesas,rcar-dmac";
698255932Salfred			reg = <0 0xe6700000 0 0x20000>;
699255932Salfred			interrupts = <GIC_SPI 197 IRQ_TYPE_LEVEL_HIGH>,
700255932Salfred				     <GIC_SPI 200 IRQ_TYPE_LEVEL_HIGH>,
701219820Sjeff				     <GIC_SPI 201 IRQ_TYPE_LEVEL_HIGH>,
702255932Salfred				     <GIC_SPI 202 IRQ_TYPE_LEVEL_HIGH>,
703255932Salfred				     <GIC_SPI 203 IRQ_TYPE_LEVEL_HIGH>,
704219820Sjeff				     <GIC_SPI 204 IRQ_TYPE_LEVEL_HIGH>,
705219820Sjeff				     <GIC_SPI 205 IRQ_TYPE_LEVEL_HIGH>,
706219820Sjeff				     <GIC_SPI 206 IRQ_TYPE_LEVEL_HIGH>,
707219820Sjeff				     <GIC_SPI 207 IRQ_TYPE_LEVEL_HIGH>,
708219820Sjeff				     <GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH>,
709255932Salfred				     <GIC_SPI 209 IRQ_TYPE_LEVEL_HIGH>,
710255932Salfred				     <GIC_SPI 210 IRQ_TYPE_LEVEL_HIGH>,
711255932Salfred				     <GIC_SPI 211 IRQ_TYPE_LEVEL_HIGH>,
712255932Salfred				     <GIC_SPI 212 IRQ_TYPE_LEVEL_HIGH>,
713255932Salfred				     <GIC_SPI 213 IRQ_TYPE_LEVEL_HIGH>,
714255932Salfred				     <GIC_SPI 214 IRQ_TYPE_LEVEL_HIGH>;
715255932Salfred			interrupt-names = "error",
716255932Salfred					  "ch0", "ch1", "ch2", "ch3",
717255932Salfred					  "ch4", "ch5", "ch6", "ch7",
718255932Salfred					  "ch8", "ch9", "ch10", "ch11",
719255932Salfred					  "ch12", "ch13", "ch14";
720278886Shselasky			clocks = <&cpg CPG_MOD 219>;
721278886Shselasky			clock-names = "fck";
722255932Salfred			power-domains = <&sysc R8A7743_PD_ALWAYS_ON>;
723278886Shselasky			resets = <&cpg 219>;
724278886Shselasky			#dma-cells = <1>;
725255932Salfred			dma-channels = <15>;
726255932Salfred		};
727255932Salfred
728219820Sjeff		dmac1: dma-controller@e6720000 {
729219820Sjeff			compatible = "renesas,dmac-r8a7743",
730219820Sjeff				     "renesas,rcar-dmac";
731219820Sjeff			reg = <0 0xe6720000 0 0x20000>;
732219820Sjeff			interrupts = <GIC_SPI 220 IRQ_TYPE_LEVEL_HIGH>,
733219820Sjeff				     <GIC_SPI 216 IRQ_TYPE_LEVEL_HIGH>,
734219820Sjeff				     <GIC_SPI 217 IRQ_TYPE_LEVEL_HIGH>,
735219820Sjeff				     <GIC_SPI 218 IRQ_TYPE_LEVEL_HIGH>,
736219820Sjeff				     <GIC_SPI 219 IRQ_TYPE_LEVEL_HIGH>,
737219820Sjeff				     <GIC_SPI 308 IRQ_TYPE_LEVEL_HIGH>,
738219820Sjeff				     <GIC_SPI 309 IRQ_TYPE_LEVEL_HIGH>,
739219820Sjeff				     <GIC_SPI 310 IRQ_TYPE_LEVEL_HIGH>,
740219820Sjeff				     <GIC_SPI 311 IRQ_TYPE_LEVEL_HIGH>,
741219820Sjeff				     <GIC_SPI 312 IRQ_TYPE_LEVEL_HIGH>,
742219820Sjeff				     <GIC_SPI 313 IRQ_TYPE_LEVEL_HIGH>,
743255932Salfred				     <GIC_SPI 314 IRQ_TYPE_LEVEL_HIGH>,
744219820Sjeff				     <GIC_SPI 315 IRQ_TYPE_LEVEL_HIGH>,
745255932Salfred				     <GIC_SPI 316 IRQ_TYPE_LEVEL_HIGH>,
746219820Sjeff				     <GIC_SPI 317 IRQ_TYPE_LEVEL_HIGH>,
747219820Sjeff				     <GIC_SPI 318 IRQ_TYPE_LEVEL_HIGH>;
748219820Sjeff			interrupt-names = "error",
749219820Sjeff					  "ch0", "ch1", "ch2", "ch3",
750219820Sjeff					  "ch4", "ch5", "ch6", "ch7",
751219820Sjeff					  "ch8", "ch9", "ch10", "ch11",
752219820Sjeff					  "ch12", "ch13", "ch14";
753219820Sjeff			clocks = <&cpg CPG_MOD 218>;
754219820Sjeff			clock-names = "fck";
755219820Sjeff			power-domains = <&sysc R8A7743_PD_ALWAYS_ON>;
756219820Sjeff			resets = <&cpg 218>;
757219820Sjeff			#dma-cells = <1>;
758219820Sjeff			dma-channels = <15>;
759219820Sjeff		};
760219820Sjeff
761219820Sjeff		avb: ethernet@e6800000 {
762219820Sjeff			compatible = "renesas,etheravb-r8a7743",
763219820Sjeff				     "renesas,etheravb-rcar-gen2";
764219820Sjeff			reg = <0 0xe6800000 0 0x800>, <0 0xee0e8000 0 0x4000>;
765255932Salfred			interrupts = <GIC_SPI 163 IRQ_TYPE_LEVEL_HIGH>;
766255932Salfred			clocks = <&cpg CPG_MOD 812>;
767255932Salfred			clock-names = "fck";
768219820Sjeff			power-domains = <&sysc R8A7743_PD_ALWAYS_ON>;
769219820Sjeff			resets = <&cpg 812>;
770219820Sjeff			#address-cells = <1>;
771219820Sjeff			#size-cells = <0>;
772219820Sjeff			status = "disabled";
773255932Salfred		};
774255932Salfred
775255932Salfred		qspi: spi@e6b10000 {
776255932Salfred			compatible = "renesas,qspi-r8a7743", "renesas,qspi";
777255932Salfred			reg = <0 0xe6b10000 0 0x2c>;
778219820Sjeff			interrupts = <GIC_SPI 184 IRQ_TYPE_LEVEL_HIGH>;
779219820Sjeff			clocks = <&cpg CPG_MOD 917>;
780219820Sjeff			dmas = <&dmac0 0x17>, <&dmac0 0x18>,
781219820Sjeff			       <&dmac1 0x17>, <&dmac1 0x18>;
782219820Sjeff			dma-names = "tx", "rx", "tx", "rx";
783219820Sjeff			power-domains = <&sysc R8A7743_PD_ALWAYS_ON>;
784219820Sjeff			num-cs = <1>;
785219820Sjeff			#address-cells = <1>;
786219820Sjeff			#size-cells = <0>;
787219820Sjeff			resets = <&cpg 917>;
788219820Sjeff			status = "disabled";
789219820Sjeff		};
790219820Sjeff
791255932Salfred		scifa0: serial@e6c40000 {
792255932Salfred			compatible = "renesas,scifa-r8a7743",
793219820Sjeff				     "renesas,rcar-gen2-scifa", "renesas,scifa";
794255932Salfred			reg = <0 0xe6c40000 0 0x40>;
795255932Salfred			interrupts = <GIC_SPI 144 IRQ_TYPE_LEVEL_HIGH>;
796255932Salfred			clocks = <&cpg CPG_MOD 204>;
797255932Salfred			clock-names = "fck";
798255932Salfred			dmas = <&dmac0 0x21>, <&dmac0 0x22>,
799255932Salfred			       <&dmac1 0x21>, <&dmac1 0x22>;
800255932Salfred			dma-names = "tx", "rx", "tx", "rx";
801255932Salfred			power-domains = <&sysc R8A7743_PD_ALWAYS_ON>;
802255932Salfred			resets = <&cpg 204>;
803255932Salfred			status = "disabled";
804255932Salfred		};
805255932Salfred
806255932Salfred		scifa1: serial@e6c50000 {
807255932Salfred			compatible = "renesas,scifa-r8a7743",
808255932Salfred				     "renesas,rcar-gen2-scifa", "renesas,scifa";
809255932Salfred			reg = <0 0xe6c50000 0 0x40>;
810255932Salfred			interrupts = <GIC_SPI 145 IRQ_TYPE_LEVEL_HIGH>;
811255932Salfred			clocks = <&cpg CPG_MOD 203>;
812255932Salfred			clock-names = "fck";
813255932Salfred			dmas = <&dmac0 0x25>, <&dmac0 0x26>,
814255932Salfred			       <&dmac1 0x25>, <&dmac1 0x26>;
815255932Salfred			dma-names = "tx", "rx", "tx", "rx";
816255932Salfred			power-domains = <&sysc R8A7743_PD_ALWAYS_ON>;
817255932Salfred			resets = <&cpg 203>;
818255932Salfred			status = "disabled";
819255932Salfred		};
820255932Salfred
821255932Salfred		scifa2: serial@e6c60000 {
822255932Salfred			compatible = "renesas,scifa-r8a7743",
823255932Salfred				     "renesas,rcar-gen2-scifa", "renesas,scifa";
824255932Salfred			reg = <0 0xe6c60000 0 0x40>;
825255932Salfred			interrupts = <GIC_SPI 151 IRQ_TYPE_LEVEL_HIGH>;
826255932Salfred			clocks = <&cpg CPG_MOD 202>;
827255932Salfred			clock-names = "fck";
828255932Salfred			dmas = <&dmac0 0x27>, <&dmac0 0x28>,
829255932Salfred			       <&dmac1 0x27>, <&dmac1 0x28>;
830255932Salfred			dma-names = "tx", "rx", "tx", "rx";
831255932Salfred			power-domains = <&sysc R8A7743_PD_ALWAYS_ON>;
832255932Salfred			resets = <&cpg 202>;
833255932Salfred			status = "disabled";
834255932Salfred		};
835255932Salfred
836255932Salfred		scifa3: serial@e6c70000 {
837255932Salfred			compatible = "renesas,scifa-r8a7743",
838255932Salfred				     "renesas,rcar-gen2-scifa", "renesas,scifa";
839255932Salfred			reg = <0 0xe6c70000 0 0x40>;
840255932Salfred			interrupts = <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>;
841255932Salfred			clocks = <&cpg CPG_MOD 1106>;
842255932Salfred			clock-names = "fck";
843255932Salfred			dmas = <&dmac0 0x1b>, <&dmac0 0x1c>,
844255932Salfred			       <&dmac1 0x1b>, <&dmac1 0x1c>;
845255932Salfred			dma-names = "tx", "rx", "tx", "rx";
846255932Salfred			power-domains = <&sysc R8A7743_PD_ALWAYS_ON>;
847255932Salfred			resets = <&cpg 1106>;
848255932Salfred			status = "disabled";
849255932Salfred		};
850255932Salfred
851255932Salfred		scifa4: serial@e6c78000 {
852255932Salfred			compatible = "renesas,scifa-r8a7743",
853255932Salfred				     "renesas,rcar-gen2-scifa", "renesas,scifa";
854255932Salfred			reg = <0 0xe6c78000 0 0x40>;
855255932Salfred			interrupts = <GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>;
856255932Salfred			clocks = <&cpg CPG_MOD 1107>;
857255932Salfred			clock-names = "fck";
858255932Salfred			dmas = <&dmac0 0x1f>, <&dmac0 0x20>,
859255932Salfred			       <&dmac1 0x1f>, <&dmac1 0x20>;
860255932Salfred			dma-names = "tx", "rx", "tx", "rx";
861255932Salfred			power-domains = <&sysc R8A7743_PD_ALWAYS_ON>;
862255932Salfred			resets = <&cpg 1107>;
863255932Salfred			status = "disabled";
864255932Salfred		};
865255932Salfred
866255932Salfred		scifa5: serial@e6c80000 {
867255932Salfred			compatible = "renesas,scifa-r8a7743",
868255932Salfred				     "renesas,rcar-gen2-scifa", "renesas,scifa";
869255932Salfred			reg = <0 0xe6c80000 0 0x40>;
870255932Salfred			interrupts = <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>;
871255932Salfred			clocks = <&cpg CPG_MOD 1108>;
872255932Salfred			clock-names = "fck";
873255932Salfred			dmas = <&dmac0 0x23>, <&dmac0 0x24>,
874255932Salfred			       <&dmac1 0x23>, <&dmac1 0x24>;
875255932Salfred			dma-names = "tx", "rx", "tx", "rx";
876255932Salfred			power-domains = <&sysc R8A7743_PD_ALWAYS_ON>;
877255932Salfred			resets = <&cpg 1108>;
878255932Salfred			status = "disabled";
879255932Salfred		};
880255932Salfred
881255932Salfred		scifb0: serial@e6c20000 {
882255932Salfred			compatible = "renesas,scifb-r8a7743",
883255932Salfred				     "renesas,rcar-gen2-scifb", "renesas,scifb";
884255932Salfred			reg = <0 0xe6c20000 0 0x100>;
885255932Salfred			interrupts = <GIC_SPI 148 IRQ_TYPE_LEVEL_HIGH>;
886255932Salfred			clocks = <&cpg CPG_MOD 206>;
887255932Salfred			clock-names = "fck";
888255932Salfred			dmas = <&dmac0 0x3d>, <&dmac0 0x3e>,
889255932Salfred			       <&dmac1 0x3d>, <&dmac1 0x3e>;
890255932Salfred			dma-names = "tx", "rx", "tx", "rx";
891255932Salfred			power-domains = <&sysc R8A7743_PD_ALWAYS_ON>;
892255932Salfred			resets = <&cpg 206>;
893255932Salfred			status = "disabled";
894255932Salfred		};
895255932Salfred
896255932Salfred		scifb1: serial@e6c30000 {
897255932Salfred			compatible = "renesas,scifb-r8a7743",
898255932Salfred				     "renesas,rcar-gen2-scifb", "renesas,scifb";
899255932Salfred			reg = <0 0xe6c30000 0 0x100>;
900255932Salfred			interrupts = <GIC_SPI 149 IRQ_TYPE_LEVEL_HIGH>;
901255932Salfred			clocks = <&cpg CPG_MOD 207>;
902255932Salfred			clock-names = "fck";
903255932Salfred			dmas = <&dmac0 0x19>, <&dmac0 0x1a>,
904255932Salfred			       <&dmac1 0x19>, <&dmac1 0x1a>;
905255932Salfred			dma-names = "tx", "rx", "tx", "rx";
906255932Salfred			power-domains = <&sysc R8A7743_PD_ALWAYS_ON>;
907255932Salfred			resets = <&cpg 207>;
908255932Salfred			status = "disabled";
909255932Salfred		};
910255932Salfred
911255932Salfred		scifb2: serial@e6ce0000 {
912255932Salfred			compatible = "renesas,scifb-r8a7743",
913219820Sjeff				     "renesas,rcar-gen2-scifb", "renesas,scifb";
914219820Sjeff			reg = <0 0xe6ce0000 0 0x100>;
915255932Salfred			interrupts = <GIC_SPI 150 IRQ_TYPE_LEVEL_HIGH>;
916255932Salfred			clocks = <&cpg CPG_MOD 216>;
917219820Sjeff			clock-names = "fck";
918255932Salfred			dmas = <&dmac0 0x1d>, <&dmac0 0x1e>,
919255932Salfred			       <&dmac1 0x1d>, <&dmac1 0x1e>;
920255932Salfred			dma-names = "tx", "rx", "tx", "rx";
921255932Salfred			power-domains = <&sysc R8A7743_PD_ALWAYS_ON>;
922255932Salfred			resets = <&cpg 216>;
923255932Salfred			status = "disabled";
924255932Salfred		};
925255932Salfred
926255932Salfred		scif0: serial@e6e60000 {
927255932Salfred			compatible = "renesas,scif-r8a7743",
928255932Salfred				     "renesas,rcar-gen2-scif", "renesas,scif";
929255932Salfred			reg = <0 0xe6e60000 0 0x40>;
930255932Salfred			interrupts = <GIC_SPI 152 IRQ_TYPE_LEVEL_HIGH>;
931255932Salfred			clocks = <&cpg CPG_MOD 721>,
932255932Salfred				 <&cpg CPG_CORE R8A7743_CLK_ZS>, <&scif_clk>;
933255932Salfred			clock-names = "fck", "brg_int", "scif_clk";
934255932Salfred			dmas = <&dmac0 0x29>, <&dmac0 0x2a>,
935255932Salfred			       <&dmac1 0x29>, <&dmac1 0x2a>;
936255932Salfred			dma-names = "tx", "rx", "tx", "rx";
937255932Salfred			power-domains = <&sysc R8A7743_PD_ALWAYS_ON>;
938255932Salfred			resets = <&cpg 721>;
939219820Sjeff			status = "disabled";
940255932Salfred		};
941255932Salfred
942255932Salfred		scif1: serial@e6e68000 {
943255932Salfred			compatible = "renesas,scif-r8a7743",
944255932Salfred				     "renesas,rcar-gen2-scif", "renesas,scif";
945255932Salfred			reg = <0 0xe6e68000 0 0x40>;
946255932Salfred			interrupts = <GIC_SPI 153 IRQ_TYPE_LEVEL_HIGH>;
947255932Salfred			clocks = <&cpg CPG_MOD 720>,
948255932Salfred				 <&cpg CPG_CORE R8A7743_CLK_ZS>, <&scif_clk>;
949255932Salfred			clock-names = "fck", "brg_int", "scif_clk";
950255932Salfred			dmas = <&dmac0 0x2d>, <&dmac0 0x2e>,
951255932Salfred			       <&dmac1 0x2d>, <&dmac1 0x2e>;
952255932Salfred			dma-names = "tx", "rx", "tx", "rx";
953255932Salfred			power-domains = <&sysc R8A7743_PD_ALWAYS_ON>;
954219820Sjeff			resets = <&cpg 720>;
955219820Sjeff			status = "disabled";
956255932Salfred		};
957255932Salfred
958219820Sjeff		scif2: serial@e6e58000 {
959219820Sjeff			compatible = "renesas,scif-r8a7743",
960219820Sjeff				     "renesas,rcar-gen2-scif", "renesas,scif";
961255932Salfred			reg = <0 0xe6e58000 0 0x40>;
962219820Sjeff			interrupts = <GIC_SPI 22 IRQ_TYPE_LEVEL_HIGH>;
963219820Sjeff			clocks = <&cpg CPG_MOD 719>,
964219820Sjeff				 <&cpg CPG_CORE R8A7743_CLK_ZS>, <&scif_clk>;
965219820Sjeff			clock-names = "fck", "brg_int", "scif_clk";
966219820Sjeff			dmas = <&dmac0 0x2b>, <&dmac0 0x2c>,
967219820Sjeff			       <&dmac1 0x2b>, <&dmac1 0x2c>;
968255932Salfred			dma-names = "tx", "rx", "tx", "rx";
969278886Shselasky			power-domains = <&sysc R8A7743_PD_ALWAYS_ON>;
970255932Salfred			resets = <&cpg 719>;
971255932Salfred			status = "disabled";
972255932Salfred		};
973255932Salfred
974255932Salfred		scif3: serial@e6ea8000 {
975255932Salfred			compatible = "renesas,scif-r8a7743",
976255932Salfred				     "renesas,rcar-gen2-scif", "renesas,scif";
977255932Salfred			reg = <0 0xe6ea8000 0 0x40>;
978255932Salfred			interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>;
979255932Salfred			clocks = <&cpg CPG_MOD 718>,
980255932Salfred				 <&cpg CPG_CORE R8A7743_CLK_ZS>, <&scif_clk>;
981255932Salfred			clock-names = "fck", "brg_int", "scif_clk";
982255932Salfred			dmas = <&dmac0 0x2f>, <&dmac0 0x30>,
983255932Salfred			       <&dmac1 0x2f>, <&dmac1 0x30>;
984278886Shselasky			dma-names = "tx", "rx", "tx", "rx";
985255932Salfred			power-domains = <&sysc R8A7743_PD_ALWAYS_ON>;
986255932Salfred			resets = <&cpg 718>;
987255932Salfred			status = "disabled";
988255932Salfred		};
989255932Salfred
990255932Salfred		scif4: serial@e6ee0000 {
991255932Salfred			compatible = "renesas,scif-r8a7743",
992255932Salfred				     "renesas,rcar-gen2-scif", "renesas,scif";
993278886Shselasky			reg = <0 0xe6ee0000 0 0x40>;
994278886Shselasky			interrupts = <GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>;
995278886Shselasky			clocks = <&cpg CPG_MOD 715>,
996278886Shselasky				 <&cpg CPG_CORE R8A7743_CLK_ZS>, <&scif_clk>;
997278886Shselasky			clock-names = "fck", "brg_int", "scif_clk";
998255932Salfred			dmas = <&dmac0 0xfb>, <&dmac0 0xfc>,
999278886Shselasky			       <&dmac1 0xfb>, <&dmac1 0xfc>;
1000278886Shselasky			dma-names = "tx", "rx", "tx", "rx";
1001278886Shselasky			power-domains = <&sysc R8A7743_PD_ALWAYS_ON>;
1002278886Shselasky			resets = <&cpg 715>;
1003255932Salfred			status = "disabled";
1004255932Salfred		};
1005255932Salfred
1006219820Sjeff		scif5: serial@e6ee8000 {
1007255932Salfred			compatible = "renesas,scif-r8a7743",
1008255932Salfred				     "renesas,rcar-gen2-scif", "renesas,scif";
1009255932Salfred			reg = <0 0xe6ee8000 0 0x40>;
1010219820Sjeff			interrupts = <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>;
1011219820Sjeff			clocks = <&cpg CPG_MOD 714>,
1012255932Salfred				 <&cpg CPG_CORE R8A7743_CLK_ZS>, <&scif_clk>;
1013255932Salfred			clock-names = "fck", "brg_int", "scif_clk";
1014255932Salfred			dmas = <&dmac0 0xfd>, <&dmac0 0xfe>,
1015219820Sjeff			       <&dmac1 0xfd>, <&dmac1 0xfe>;
1016219820Sjeff			dma-names = "tx", "rx", "tx", "rx";
1017219820Sjeff			power-domains = <&sysc R8A7743_PD_ALWAYS_ON>;
1018219820Sjeff			resets = <&cpg 714>;
1019219820Sjeff			status = "disabled";
1020219820Sjeff		};
1021219820Sjeff
1022219820Sjeff		hscif0: serial@e62c0000 {
1023219820Sjeff			compatible = "renesas,hscif-r8a7743",
1024255932Salfred				     "renesas,rcar-gen2-hscif", "renesas,hscif";
1025219820Sjeff			reg = <0 0xe62c0000 0 0x60>;
1026219820Sjeff			interrupts = <GIC_SPI 154 IRQ_TYPE_LEVEL_HIGH>;
1027219820Sjeff			clocks = <&cpg CPG_MOD 717>,
1028219820Sjeff				 <&cpg CPG_CORE R8A7743_CLK_ZS>, <&scif_clk>;
1029219820Sjeff			clock-names = "fck", "brg_int", "scif_clk";
1030219820Sjeff			dmas = <&dmac0 0x39>, <&dmac0 0x3a>,
1031219820Sjeff			       <&dmac1 0x39>, <&dmac1 0x3a>;
1032219820Sjeff			dma-names = "tx", "rx", "tx", "rx";
1033255932Salfred			power-domains = <&sysc R8A7743_PD_ALWAYS_ON>;
1034219820Sjeff			resets = <&cpg 717>;
1035219820Sjeff			status = "disabled";
1036219820Sjeff		};
1037219820Sjeff
1038219820Sjeff		hscif1: serial@e62c8000 {
1039219820Sjeff			compatible = "renesas,hscif-r8a7743",
1040219820Sjeff				     "renesas,rcar-gen2-hscif", "renesas,hscif";
1041219820Sjeff			reg = <0 0xe62c8000 0 0x60>;
1042219820Sjeff			interrupts = <GIC_SPI 155 IRQ_TYPE_LEVEL_HIGH>;
1043255932Salfred			clocks = <&cpg CPG_MOD 716>,
1044255932Salfred				 <&cpg CPG_CORE R8A7743_CLK_ZS>, <&scif_clk>;
1045219820Sjeff			clock-names = "fck", "brg_int", "scif_clk";
1046219820Sjeff			dmas = <&dmac0 0x4d>, <&dmac0 0x4e>,
1047219820Sjeff			       <&dmac1 0x4d>, <&dmac1 0x4e>;
1048219820Sjeff			dma-names = "tx", "rx", "tx", "rx";
1049219820Sjeff			power-domains = <&sysc R8A7743_PD_ALWAYS_ON>;
1050219820Sjeff			resets = <&cpg 716>;
1051219820Sjeff			status = "disabled";
1052219820Sjeff		};
1053219820Sjeff
1054219820Sjeff		hscif2: serial@e62d0000 {
1055219820Sjeff			compatible = "renesas,hscif-r8a7743",
1056219820Sjeff				     "renesas,rcar-gen2-hscif", "renesas,hscif";
1057219820Sjeff			reg = <0 0xe62d0000 0 0x60>;
1058219820Sjeff			interrupts = <GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH>;
1059219820Sjeff			clocks = <&cpg CPG_MOD 713>,
1060219820Sjeff				 <&cpg CPG_CORE R8A7743_CLK_ZS>, <&scif_clk>;
1061219820Sjeff			clock-names = "fck", "brg_int", "scif_clk";
1062219820Sjeff			dmas = <&dmac0 0x3b>, <&dmac0 0x3c>,
1063219820Sjeff			       <&dmac1 0x3b>, <&dmac1 0x3c>;
1064219820Sjeff			dma-names = "tx", "rx", "tx", "rx";
1065219820Sjeff			power-domains = <&sysc R8A7743_PD_ALWAYS_ON>;
1066219820Sjeff			resets = <&cpg 713>;
1067219820Sjeff			status = "disabled";
1068219820Sjeff		};
1069219820Sjeff
1070219820Sjeff		msiof0: spi@e6e20000 {
1071219820Sjeff			compatible = "renesas,msiof-r8a7743",
1072219820Sjeff				     "renesas,rcar-gen2-msiof";
1073219820Sjeff			reg = <0 0xe6e20000 0 0x0064>;
1074219820Sjeff			interrupts = <GIC_SPI 156 IRQ_TYPE_LEVEL_HIGH>;
1075219820Sjeff			clocks = <&cpg CPG_MOD 000>;
1076219820Sjeff			dmas = <&dmac0 0x51>, <&dmac0 0x52>,
1077219820Sjeff			       <&dmac1 0x51>, <&dmac1 0x52>;
1078219820Sjeff			dma-names = "tx", "rx", "tx", "rx";
1079219820Sjeff			power-domains = <&sysc R8A7743_PD_ALWAYS_ON>;
1080219820Sjeff			#address-cells = <1>;
1081219820Sjeff			#size-cells = <0>;
1082219820Sjeff			resets = <&cpg 000>;
1083219820Sjeff			status = "disabled";
1084219820Sjeff		};
1085219820Sjeff
1086219820Sjeff		msiof1: spi@e6e10000 {
1087219820Sjeff			compatible = "renesas,msiof-r8a7743",
1088219820Sjeff				     "renesas,rcar-gen2-msiof";
1089219820Sjeff			reg = <0 0xe6e10000 0 0x0064>;
1090219820Sjeff			interrupts = <GIC_SPI 157 IRQ_TYPE_LEVEL_HIGH>;
1091219820Sjeff			clocks = <&cpg CPG_MOD 208>;
1092219820Sjeff			dmas = <&dmac0 0x55>, <&dmac0 0x56>,
1093219820Sjeff			       <&dmac1 0x55>, <&dmac1 0x56>;
1094219820Sjeff			dma-names = "tx", "rx", "tx", "rx";
1095219820Sjeff			power-domains = <&sysc R8A7743_PD_ALWAYS_ON>;
1096219820Sjeff			#address-cells = <1>;
1097219820Sjeff			#size-cells = <0>;
1098219820Sjeff			resets = <&cpg 208>;
1099219820Sjeff			status = "disabled";
1100219820Sjeff		};
1101219820Sjeff
1102255932Salfred		msiof2: spi@e6e00000 {
1103255932Salfred			compatible = "renesas,msiof-r8a7743",
1104255932Salfred				     "renesas,rcar-gen2-msiof";
1105255932Salfred			reg = <0 0xe6e00000 0 0x0064>;
1106255932Salfred			interrupts = <GIC_SPI 158 IRQ_TYPE_LEVEL_HIGH>;
1107255932Salfred			clocks = <&cpg CPG_MOD 205>;
1108255932Salfred			dmas = <&dmac0 0x41>, <&dmac0 0x42>,
1109272027Shselasky			       <&dmac1 0x41>, <&dmac1 0x42>;
1110255932Salfred			dma-names = "tx", "rx", "tx", "rx";
1111255932Salfred			power-domains = <&sysc R8A7743_PD_ALWAYS_ON>;
1112255932Salfred			#address-cells = <1>;
1113255932Salfred			#size-cells = <0>;
1114255932Salfred			resets = <&cpg 205>;
1115255932Salfred			status = "disabled";
1116255932Salfred		};
1117255932Salfred
1118255932Salfred		pwm0: pwm@e6e30000 {
1119255932Salfred			compatible = "renesas,pwm-r8a7743", "renesas,pwm-rcar";
1120255932Salfred			reg = <0 0xe6e30000 0 0x8>;
1121272027Shselasky			clocks = <&cpg CPG_MOD 523>;
1122255932Salfred			power-domains = <&sysc R8A7743_PD_ALWAYS_ON>;
1123255932Salfred			resets = <&cpg 523>;
1124255932Salfred			#pwm-cells = <2>;
1125255932Salfred			status = "disabled";
1126255932Salfred		};
1127255932Salfred
1128255932Salfred		pwm1: pwm@e6e31000 {
1129255932Salfred			compatible = "renesas,pwm-r8a7743", "renesas,pwm-rcar";
1130255932Salfred			reg = <0 0xe6e31000 0 0x8>;
1131255932Salfred			clocks = <&cpg CPG_MOD 523>;
1132255932Salfred			power-domains = <&sysc R8A7743_PD_ALWAYS_ON>;
1133255932Salfred			resets = <&cpg 523>;
1134255932Salfred			#pwm-cells = <2>;
1135255932Salfred			status = "disabled";
1136255932Salfred		};
1137255932Salfred
1138255932Salfred		pwm2: pwm@e6e32000 {
1139255932Salfred			compatible = "renesas,pwm-r8a7743", "renesas,pwm-rcar";
1140255932Salfred			reg = <0 0xe6e32000 0 0x8>;
1141255932Salfred			clocks = <&cpg CPG_MOD 523>;
1142255932Salfred			power-domains = <&sysc R8A7743_PD_ALWAYS_ON>;
1143255932Salfred			resets = <&cpg 523>;
1144255932Salfred			#pwm-cells = <2>;
1145255932Salfred			status = "disabled";
1146255932Salfred		};
1147255932Salfred
1148255932Salfred		pwm3: pwm@e6e33000 {
1149255932Salfred			compatible = "renesas,pwm-r8a7743", "renesas,pwm-rcar";
1150255932Salfred			reg = <0 0xe6e33000 0 0x8>;
1151255932Salfred			clocks = <&cpg CPG_MOD 523>;
1152255932Salfred			power-domains = <&sysc R8A7743_PD_ALWAYS_ON>;
1153255932Salfred			resets = <&cpg 523>;
1154255932Salfred			#pwm-cells = <2>;
1155255932Salfred			status = "disabled";
1156255932Salfred		};
1157255932Salfred
1158255932Salfred		pwm4: pwm@e6e34000 {
1159255932Salfred			compatible = "renesas,pwm-r8a7743", "renesas,pwm-rcar";
1160255932Salfred			reg = <0 0xe6e34000 0 0x8>;
1161255932Salfred			clocks = <&cpg CPG_MOD 523>;
1162255932Salfred			power-domains = <&sysc R8A7743_PD_ALWAYS_ON>;
1163255932Salfred			resets = <&cpg 523>;
1164255932Salfred			#pwm-cells = <2>;
1165255932Salfred			status = "disabled";
1166255932Salfred		};
1167255932Salfred
1168255932Salfred		pwm5: pwm@e6e35000 {
1169255932Salfred			compatible = "renesas,pwm-r8a7743", "renesas,pwm-rcar";
1170255932Salfred			reg = <0 0xe6e35000 0 0x8>;
1171255932Salfred			clocks = <&cpg CPG_MOD 523>;
1172255932Salfred			power-domains = <&sysc R8A7743_PD_ALWAYS_ON>;
1173255932Salfred			resets = <&cpg 523>;
1174255932Salfred			#pwm-cells = <2>;
1175255932Salfred			status = "disabled";
1176255932Salfred		};
1177255932Salfred
1178255932Salfred		pwm6: pwm@e6e36000 {
1179255932Salfred			compatible = "renesas,pwm-r8a7743", "renesas,pwm-rcar";
1180255932Salfred			reg = <0 0xe6e36000 0 0x8>;
1181255932Salfred			clocks = <&cpg CPG_MOD 523>;
1182255932Salfred			power-domains = <&sysc R8A7743_PD_ALWAYS_ON>;
1183255932Salfred			resets = <&cpg 523>;
1184255932Salfred			#pwm-cells = <2>;
1185255932Salfred			status = "disabled";
1186255932Salfred		};
1187255932Salfred
1188255932Salfred		can0: can@e6e80000 {
1189255932Salfred			compatible = "renesas,can-r8a7743",
1190255932Salfred				     "renesas,rcar-gen2-can";
1191255932Salfred			reg = <0 0xe6e80000 0 0x1000>;
1192255932Salfred			interrupts = <GIC_SPI 186 IRQ_TYPE_LEVEL_HIGH>;
1193255932Salfred			clocks = <&cpg CPG_MOD 916>,
1194255932Salfred				 <&cpg CPG_CORE R8A7743_CLK_RCAN>,
1195255932Salfred				 <&can_clk>;
1196255932Salfred			clock-names = "clkp1", "clkp2", "can_clk";
1197255932Salfred			power-domains = <&sysc R8A7743_PD_ALWAYS_ON>;
1198255932Salfred			resets = <&cpg 916>;
1199255932Salfred			status = "disabled";
1200255932Salfred		};
1201255932Salfred
1202255932Salfred		can1: can@e6e88000 {
1203255932Salfred			compatible = "renesas,can-r8a7743",
1204255932Salfred				     "renesas,rcar-gen2-can";
1205255932Salfred			reg = <0 0xe6e88000 0 0x1000>;
1206255932Salfred			interrupts = <GIC_SPI 187 IRQ_TYPE_LEVEL_HIGH>;
1207278886Shselasky			clocks = <&cpg CPG_MOD 915>,
1208278886Shselasky				 <&cpg CPG_CORE R8A7743_CLK_RCAN>,
1209278886Shselasky				 <&can_clk>;
1210278886Shselasky			clock-names = "clkp1", "clkp2", "can_clk";
1211278886Shselasky			power-domains = <&sysc R8A7743_PD_ALWAYS_ON>;
1212255932Salfred			resets = <&cpg 915>;
1213255932Salfred			status = "disabled";
1214255932Salfred		};
1215255932Salfred
1216255932Salfred		vin0: video@e6ef0000 {
1217255932Salfred			compatible = "renesas,vin-r8a7743",
1218255932Salfred				     "renesas,rcar-gen2-vin";
1219255932Salfred			reg = <0 0xe6ef0000 0 0x1000>;
1220255932Salfred			interrupts = <GIC_SPI 188 IRQ_TYPE_LEVEL_HIGH>;
1221255932Salfred			clocks = <&cpg CPG_MOD 811>;
1222255932Salfred			power-domains = <&sysc R8A7743_PD_ALWAYS_ON>;
1223255932Salfred			resets = <&cpg 811>;
1224272027Shselasky			status = "disabled";
1225255932Salfred		};
1226255932Salfred
1227255932Salfred		vin1: video@e6ef1000 {
1228255932Salfred			compatible = "renesas,vin-r8a7743",
1229255932Salfred				     "renesas,rcar-gen2-vin";
1230255932Salfred			reg = <0 0xe6ef1000 0 0x1000>;
1231255932Salfred			interrupts = <GIC_SPI 189 IRQ_TYPE_LEVEL_HIGH>;
1232255932Salfred			clocks = <&cpg CPG_MOD 810>;
1233255932Salfred			power-domains = <&sysc R8A7743_PD_ALWAYS_ON>;
1234255932Salfred			resets = <&cpg 810>;
1235255932Salfred			status = "disabled";
1236255932Salfred		};
1237255932Salfred
1238255932Salfred		vin2: video@e6ef2000 {
1239255932Salfred			compatible = "renesas,vin-r8a7743",
1240255932Salfred				     "renesas,rcar-gen2-vin";
1241255932Salfred			reg = <0 0xe6ef2000 0 0x1000>;
1242255932Salfred			interrupts = <GIC_SPI 190 IRQ_TYPE_LEVEL_HIGH>;
1243255932Salfred			clocks = <&cpg CPG_MOD 809>;
1244255932Salfred			power-domains = <&sysc R8A7743_PD_ALWAYS_ON>;
1245255932Salfred			resets = <&cpg 809>;
1246255932Salfred			status = "disabled";
1247255932Salfred		};
1248255932Salfred
1249255932Salfred		rcar_sound: sound@ec500000 {
1250255932Salfred			/*
1251255932Salfred			 * #sound-dai-cells is required if simple-card
1252255932Salfred			 *
1253255932Salfred			 * Single DAI : #sound-dai-cells = <0>;         <&rcar_sound>;
1254255932Salfred			 * Multi  DAI : #sound-dai-cells = <1>;         <&rcar_sound N>;
1255255932Salfred			 */
1256255932Salfred			compatible = "renesas,rcar_sound-r8a7743",
1257255932Salfred				     "renesas,rcar_sound-gen2";
1258255932Salfred			reg = <0 0xec500000 0 0x1000>, /* SCU */
1259255932Salfred			      <0 0xec5a0000 0 0x100>,  /* ADG */
1260255932Salfred			      <0 0xec540000 0 0x1000>, /* SSIU */
1261255932Salfred			      <0 0xec541000 0 0x280>,  /* SSI */
1262255932Salfred			      <0 0xec740000 0 0x200>;  /* Audio DMAC peri peri*/
1263255932Salfred			reg-names = "scu", "adg", "ssiu", "ssi", "audmapp";
1264255932Salfred
1265255932Salfred			clocks = <&cpg CPG_MOD 1005>,
1266255932Salfred				 <&cpg CPG_MOD 1006>, <&cpg CPG_MOD 1007>,
1267255932Salfred				 <&cpg CPG_MOD 1008>, <&cpg CPG_MOD 1009>,
1268255932Salfred				 <&cpg CPG_MOD 1010>, <&cpg CPG_MOD 1011>,
1269255932Salfred				 <&cpg CPG_MOD 1012>, <&cpg CPG_MOD 1013>,
1270255932Salfred				 <&cpg CPG_MOD 1014>, <&cpg CPG_MOD 1015>,
1271255932Salfred				 <&cpg CPG_MOD 1022>, <&cpg CPG_MOD 1023>,
1272255932Salfred				 <&cpg CPG_MOD 1024>, <&cpg CPG_MOD 1025>,
1273255932Salfred				 <&cpg CPG_MOD 1026>, <&cpg CPG_MOD 1027>,
1274255932Salfred				 <&cpg CPG_MOD 1028>, <&cpg CPG_MOD 1029>,
1275255932Salfred				 <&cpg CPG_MOD 1030>, <&cpg CPG_MOD 1031>,
1276255932Salfred				 <&cpg CPG_MOD 1021>, <&cpg CPG_MOD 1020>,
1277255932Salfred				 <&cpg CPG_MOD 1021>, <&cpg CPG_MOD 1020>,
1278255932Salfred				 <&cpg CPG_MOD 1019>, <&cpg CPG_MOD 1018>,
1279255932Salfred				 <&audio_clk_a>, <&audio_clk_b>, <&audio_clk_c>,
1280255932Salfred				 <&cpg CPG_CORE R8A7743_CLK_M2>;
1281255932Salfred			clock-names = "ssi-all",
1282255932Salfred				      "ssi.9", "ssi.8", "ssi.7", "ssi.6", "ssi.5",
1283255932Salfred				      "ssi.4", "ssi.3", "ssi.2", "ssi.1", "ssi.0",
1284255932Salfred				      "src.9", "src.8", "src.7", "src.6", "src.5",
1285255932Salfred				      "src.4", "src.3", "src.2", "src.1", "src.0",
1286255932Salfred				      "ctu.0", "ctu.1",
1287255932Salfred				      "mix.0", "mix.1",
1288255932Salfred				      "dvc.0", "dvc.1",
1289255932Salfred				      "clk_a", "clk_b", "clk_c", "clk_i";
1290255932Salfred			power-domains = <&sysc R8A7743_PD_ALWAYS_ON>;
1291255932Salfred			resets = <&cpg 1005>,
1292255932Salfred				 <&cpg 1006>, <&cpg 1007>, <&cpg 1008>, <&cpg 1009>,
1293255932Salfred				 <&cpg 1010>, <&cpg 1011>, <&cpg 1012>, <&cpg 1013>,
1294255932Salfred				 <&cpg 1014>, <&cpg 1015>;
1295255932Salfred			reset-names = "ssi-all",
1296255932Salfred				      "ssi.9", "ssi.8", "ssi.7", "ssi.6", "ssi.5",
1297255932Salfred				      "ssi.4", "ssi.3", "ssi.2", "ssi.1", "ssi.0";
1298255932Salfred			status = "disabled";
1299255932Salfred
1300255932Salfred			rcar_sound,dvc {
1301255932Salfred				dvc0: dvc-0 {
1302255932Salfred					dmas = <&audma1 0xbc>;
1303255932Salfred					dma-names = "tx";
1304255932Salfred				};
1305255932Salfred				dvc1: dvc-1 {
1306255932Salfred					dmas = <&audma1 0xbe>;
1307255932Salfred					dma-names = "tx";
1308255932Salfred				};
1309255932Salfred			};
1310255932Salfred
1311255932Salfred			rcar_sound,mix {
1312255932Salfred				mix0: mix-0 { };
1313255932Salfred				mix1: mix-1 { };
1314255932Salfred			};
1315255932Salfred
1316255932Salfred			rcar_sound,ctu {
1317255932Salfred				ctu00: ctu-0 { };
1318255932Salfred				ctu01: ctu-1 { };
1319255932Salfred				ctu02: ctu-2 { };
1320255932Salfred				ctu03: ctu-3 { };
1321255932Salfred				ctu10: ctu-4 { };
1322255932Salfred				ctu11: ctu-5 { };
1323255932Salfred				ctu12: ctu-6 { };
1324255932Salfred				ctu13: ctu-7 { };
1325255932Salfred			};
1326255932Salfred
1327255932Salfred			rcar_sound,src {
1328278886Shselasky				src0: src-0 {
1329278886Shselasky					interrupts = <GIC_SPI 352 IRQ_TYPE_LEVEL_HIGH>;
1330278886Shselasky					dmas = <&audma0 0x85>, <&audma1 0x9a>;
1331255932Salfred					dma-names = "rx", "tx";
1332255932Salfred				};
1333255932Salfred				src1: src-1 {
1334255932Salfred					interrupts = <GIC_SPI 353 IRQ_TYPE_LEVEL_HIGH>;
1335255932Salfred					dmas = <&audma0 0x87>, <&audma1 0x9c>;
1336255932Salfred					dma-names = "rx", "tx";
1337255932Salfred				};
1338255932Salfred				src2: src-2 {
1339255932Salfred					interrupts = <GIC_SPI 354 IRQ_TYPE_LEVEL_HIGH>;
1340255932Salfred					dmas = <&audma0 0x89>, <&audma1 0x9e>;
1341255932Salfred					dma-names = "rx", "tx";
1342255932Salfred				};
1343255932Salfred				src3: src-3 {
1344255932Salfred					interrupts = <GIC_SPI 355 IRQ_TYPE_LEVEL_HIGH>;
1345255932Salfred					dmas = <&audma0 0x8b>, <&audma1 0xa0>;
1346255932Salfred					dma-names = "rx", "tx";
1347255932Salfred				};
1348255932Salfred				src4: src-4 {
1349255932Salfred					interrupts = <GIC_SPI 356 IRQ_TYPE_LEVEL_HIGH>;
1350255932Salfred					dmas = <&audma0 0x8d>, <&audma1 0xb0>;
1351255932Salfred					dma-names = "rx", "tx";
1352255932Salfred				};
1353255932Salfred				src5: src-5 {
1354255932Salfred					interrupts = <GIC_SPI 357 IRQ_TYPE_LEVEL_HIGH>;
1355255932Salfred					dmas = <&audma0 0x8f>, <&audma1 0xb2>;
1356255932Salfred					dma-names = "rx", "tx";
1357255932Salfred				};
1358255932Salfred				src6: src-6 {
1359255932Salfred					interrupts = <GIC_SPI 358 IRQ_TYPE_LEVEL_HIGH>;
1360255932Salfred					dmas = <&audma0 0x91>, <&audma1 0xb4>;
1361255932Salfred					dma-names = "rx", "tx";
1362255932Salfred				};
1363255932Salfred				src7: src-7 {
1364255932Salfred					interrupts = <GIC_SPI 359 IRQ_TYPE_LEVEL_HIGH>;
1365255932Salfred					dmas = <&audma0 0x93>, <&audma1 0xb6>;
1366255932Salfred					dma-names = "rx", "tx";
1367255932Salfred				};
1368255932Salfred				src8: src-8 {
1369255932Salfred					interrupts = <GIC_SPI 360 IRQ_TYPE_LEVEL_HIGH>;
1370255932Salfred					dmas = <&audma0 0x95>, <&audma1 0xb8>;
1371255932Salfred					dma-names = "rx", "tx";
1372255932Salfred				};
1373255932Salfred				src9: src-9 {
1374255932Salfred					interrupts = <GIC_SPI 361 IRQ_TYPE_LEVEL_HIGH>;
1375255932Salfred					dmas = <&audma0 0x97>, <&audma1 0xba>;
1376255932Salfred					dma-names = "rx", "tx";
1377255932Salfred				};
1378255932Salfred			};
1379255932Salfred
1380255932Salfred			rcar_sound,ssi {
1381255932Salfred				ssi0: ssi-0 {
1382255932Salfred					interrupts = <GIC_SPI 370 IRQ_TYPE_LEVEL_HIGH>;
1383255932Salfred					dmas = <&audma0 0x01>, <&audma1 0x02>, <&audma0 0x15>, <&audma1 0x16>;
1384255932Salfred					dma-names = "rx", "tx", "rxu", "txu";
1385255932Salfred				};
1386255932Salfred				ssi1: ssi-1 {
1387255932Salfred					interrupts = <GIC_SPI 371 IRQ_TYPE_LEVEL_HIGH>;
1388255932Salfred					dmas = <&audma0 0x03>, <&audma1 0x04>, <&audma0 0x49>, <&audma1 0x4a>;
1389255932Salfred					dma-names = "rx", "tx", "rxu", "txu";
1390255932Salfred				};
1391255932Salfred				ssi2: ssi-2 {
1392255932Salfred					interrupts = <GIC_SPI 372 IRQ_TYPE_LEVEL_HIGH>;
1393255932Salfred					dmas = <&audma0 0x05>, <&audma1 0x06>, <&audma0 0x63>, <&audma1 0x64>;
1394255932Salfred					dma-names = "rx", "tx", "rxu", "txu";
1395255932Salfred				};
1396255932Salfred				ssi3: ssi-3 {
1397255932Salfred					interrupts = <GIC_SPI 373 IRQ_TYPE_LEVEL_HIGH>;
1398255932Salfred					dmas = <&audma0 0x07>, <&audma1 0x08>, <&audma0 0x6f>, <&audma1 0x70>;
1399255932Salfred					dma-names = "rx", "tx", "rxu", "txu";
1400255932Salfred				};
1401255932Salfred				ssi4: ssi-4 {
1402255932Salfred					interrupts = <GIC_SPI 374 IRQ_TYPE_LEVEL_HIGH>;
1403255932Salfred					dmas = <&audma0 0x09>, <&audma1 0x0a>, <&audma0 0x71>, <&audma1 0x72>;
1404255932Salfred					dma-names = "rx", "tx", "rxu", "txu";
1405255932Salfred				};
1406255932Salfred				ssi5: ssi-5 {
1407255932Salfred					interrupts = <GIC_SPI 375 IRQ_TYPE_LEVEL_HIGH>;
1408255932Salfred					dmas = <&audma0 0x0b>, <&audma1 0x0c>, <&audma0 0x73>, <&audma1 0x74>;
1409255932Salfred					dma-names = "rx", "tx", "rxu", "txu";
1410255932Salfred				};
1411255932Salfred				ssi6: ssi-6 {
1412255932Salfred					interrupts = <GIC_SPI 376 IRQ_TYPE_LEVEL_HIGH>;
1413255932Salfred					dmas = <&audma0 0x0d>, <&audma1 0x0e>, <&audma0 0x75>, <&audma1 0x76>;
1414255932Salfred					dma-names = "rx", "tx", "rxu", "txu";
1415255932Salfred				};
1416255932Salfred				ssi7: ssi-7 {
1417255932Salfred					interrupts = <GIC_SPI 377 IRQ_TYPE_LEVEL_HIGH>;
1418255932Salfred					dmas = <&audma0 0x0f>, <&audma1 0x10>, <&audma0 0x79>, <&audma1 0x7a>;
1419278886Shselasky					dma-names = "rx", "tx", "rxu", "txu";
1420278886Shselasky				};
1421255932Salfred				ssi8: ssi-8 {
1422278886Shselasky					interrupts = <GIC_SPI 378 IRQ_TYPE_LEVEL_HIGH>;
1423255932Salfred					dmas = <&audma0 0x11>, <&audma1 0x12>, <&audma0 0x7b>, <&audma1 0x7c>;
1424255932Salfred					dma-names = "rx", "tx", "rxu", "txu";
1425255932Salfred				};
1426255932Salfred				ssi9: ssi-9 {
1427255932Salfred					interrupts = <GIC_SPI 379 IRQ_TYPE_LEVEL_HIGH>;
1428255932Salfred					dmas = <&audma0 0x13>, <&audma1 0x14>, <&audma0 0x7d>, <&audma1 0x7e>;
1429255932Salfred					dma-names = "rx", "tx", "rxu", "txu";
1430255932Salfred				};
1431255932Salfred			};
1432255932Salfred		};
1433255932Salfred
1434255932Salfred		audma0: dma-controller@ec700000 {
1435255932Salfred			compatible = "renesas,dmac-r8a7743",
1436255932Salfred				     "renesas,rcar-dmac";
1437255932Salfred			reg = <0 0xec700000 0 0x10000>;
1438255932Salfred			interrupts = <GIC_SPI 346 IRQ_TYPE_LEVEL_HIGH>,
1439255932Salfred				     <GIC_SPI 320 IRQ_TYPE_LEVEL_HIGH>,
1440255932Salfred				     <GIC_SPI 321 IRQ_TYPE_LEVEL_HIGH>,
1441255932Salfred				     <GIC_SPI 322 IRQ_TYPE_LEVEL_HIGH>,
1442255932Salfred				     <GIC_SPI 323 IRQ_TYPE_LEVEL_HIGH>,
1443255932Salfred				     <GIC_SPI 324 IRQ_TYPE_LEVEL_HIGH>,
1444255932Salfred				     <GIC_SPI 325 IRQ_TYPE_LEVEL_HIGH>,
1445255932Salfred				     <GIC_SPI 326 IRQ_TYPE_LEVEL_HIGH>,
1446255932Salfred				     <GIC_SPI 327 IRQ_TYPE_LEVEL_HIGH>,
1447255932Salfred				     <GIC_SPI 328 IRQ_TYPE_LEVEL_HIGH>,
1448255932Salfred				     <GIC_SPI 329 IRQ_TYPE_LEVEL_HIGH>,
1449255932Salfred				     <GIC_SPI 330 IRQ_TYPE_LEVEL_HIGH>,
1450255932Salfred				     <GIC_SPI 331 IRQ_TYPE_LEVEL_HIGH>,
1451255932Salfred				     <GIC_SPI 332 IRQ_TYPE_LEVEL_HIGH>;
1452255932Salfred			interrupt-names = "error",
1453255932Salfred					  "ch0", "ch1", "ch2", "ch3",
1454255932Salfred					  "ch4", "ch5", "ch6", "ch7",
1455255932Salfred					  "ch8", "ch9", "ch10", "ch11",
1456255932Salfred					  "ch12";
1457255932Salfred			clocks = <&cpg CPG_MOD 502>;
1458255932Salfred			clock-names = "fck";
1459255932Salfred			power-domains = <&sysc R8A7743_PD_ALWAYS_ON>;
1460255932Salfred			resets = <&cpg 502>;
1461255932Salfred			#dma-cells = <1>;
1462255932Salfred			dma-channels = <13>;
1463255932Salfred		};
1464255932Salfred
1465255932Salfred		audma1: dma-controller@ec720000 {
1466255932Salfred			compatible = "renesas,dmac-r8a7743",
1467255932Salfred				     "renesas,rcar-dmac";
1468255932Salfred			reg = <0 0xec720000 0 0x10000>;
1469255932Salfred			interrupts = <GIC_SPI 347 IRQ_TYPE_LEVEL_HIGH>,
1470255932Salfred				     <GIC_SPI 333 IRQ_TYPE_LEVEL_HIGH>,
1471255932Salfred				     <GIC_SPI 334 IRQ_TYPE_LEVEL_HIGH>,
1472255932Salfred				     <GIC_SPI 335 IRQ_TYPE_LEVEL_HIGH>,
1473255932Salfred				     <GIC_SPI 336 IRQ_TYPE_LEVEL_HIGH>,
1474255932Salfred				     <GIC_SPI 337 IRQ_TYPE_LEVEL_HIGH>,
1475255932Salfred				     <GIC_SPI 338 IRQ_TYPE_LEVEL_HIGH>,
1476255932Salfred				     <GIC_SPI 339 IRQ_TYPE_LEVEL_HIGH>,
1477255932Salfred				     <GIC_SPI 340 IRQ_TYPE_LEVEL_HIGH>,
1478255932Salfred				     <GIC_SPI 341 IRQ_TYPE_LEVEL_HIGH>,
1479255932Salfred				     <GIC_SPI 342 IRQ_TYPE_LEVEL_HIGH>,
1480255932Salfred				     <GIC_SPI 343 IRQ_TYPE_LEVEL_HIGH>,
1481255932Salfred				     <GIC_SPI 344 IRQ_TYPE_LEVEL_HIGH>,
1482255932Salfred				     <GIC_SPI 345 IRQ_TYPE_LEVEL_HIGH>;
1483255932Salfred			interrupt-names = "error",
1484255932Salfred					  "ch0", "ch1", "ch2", "ch3",
1485255932Salfred					  "ch4", "ch5", "ch6", "ch7",
1486255932Salfred					  "ch8", "ch9", "ch10", "ch11",
1487255932Salfred					  "ch12";
1488255932Salfred			clocks = <&cpg CPG_MOD 501>;
1489255932Salfred			clock-names = "fck";
1490255932Salfred			power-domains = <&sysc R8A7743_PD_ALWAYS_ON>;
1491255932Salfred			resets = <&cpg 501>;
1492255932Salfred			#dma-cells = <1>;
1493255932Salfred			dma-channels = <13>;
1494255932Salfred		};
1495255932Salfred
1496255932Salfred		/*
1497255932Salfred		 * pci1 and xhci share the same phy, therefore only one of them
1498255932Salfred		 * can be active at any one time. If both of them are enabled,
1499255932Salfred		 * a race condition will determine who'll control the phy.
1500255932Salfred		 * A firmware file is needed by the xhci driver in order for
1501255932Salfred		 * USB 3.0 to work properly.
1502255932Salfred		 */
1503255932Salfred		xhci: usb@ee000000 {
1504255932Salfred			compatible = "renesas,xhci-r8a7743",
1505255932Salfred				     "renesas,rcar-gen2-xhci";
1506255932Salfred			reg = <0 0xee000000 0 0xc00>;
1507255932Salfred			interrupts = <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>;
1508255932Salfred			clocks = <&cpg CPG_MOD 328>;
1509255932Salfred			power-domains = <&sysc R8A7743_PD_ALWAYS_ON>;
1510255932Salfred			resets = <&cpg 328>;
1511255932Salfred			phys = <&usb2 1>;
1512255932Salfred			phy-names = "usb";
1513255932Salfred			status = "disabled";
1514255932Salfred		};
1515255932Salfred
1516255932Salfred		pci0: pci@ee090000 {
1517255932Salfred			compatible = "renesas,pci-r8a7743",
1518255932Salfred				     "renesas,pci-rcar-gen2";
1519255932Salfred			device_type = "pci";
1520255932Salfred			reg = <0 0xee090000 0 0xc00>,
1521255932Salfred			      <0 0xee080000 0 0x1100>;
1522255932Salfred			interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>;
1523255932Salfred			clocks = <&cpg CPG_MOD 703>;
1524255932Salfred			power-domains = <&sysc R8A7743_PD_ALWAYS_ON>;
1525255932Salfred			resets = <&cpg 703>;
1526255932Salfred			status = "disabled";
1527255932Salfred
1528255932Salfred			bus-range = <0 0>;
1529255932Salfred			#address-cells = <3>;
1530255932Salfred			#size-cells = <2>;
1531255932Salfred			#interrupt-cells = <1>;
1532255932Salfred			ranges = <0x02000000 0 0xee080000 0 0xee080000 0 0x00010000>;
1533255932Salfred			interrupt-map-mask = <0xf800 0 0 0x7>;
1534255932Salfred			interrupt-map = <0x0000 0 0 1 &gic GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>,
1535255932Salfred					<0x0800 0 0 1 &gic GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>,
1536255932Salfred					<0x1000 0 0 2 &gic GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>;
1537255932Salfred
1538255932Salfred			usb@1,0 {
1539255932Salfred				reg = <0x800 0 0 0 0>;
1540255932Salfred				phys = <&usb0 0>;
1541255932Salfred				phy-names = "usb";
1542255932Salfred			};
1543255932Salfred
1544255932Salfred			usb@2,0 {
1545255932Salfred				reg = <0x1000 0 0 0 0>;
1546255932Salfred				phys = <&usb0 0>;
1547255932Salfred				phy-names = "usb";
1548255932Salfred			};
1549278886Shselasky		};
1550278886Shselasky
1551278886Shselasky		pci1: pci@ee0d0000 {
1552278886Shselasky			compatible = "renesas,pci-r8a7743",
1553278886Shselasky				     "renesas,pci-rcar-gen2";
1554255932Salfred			device_type = "pci";
1555255932Salfred			reg = <0 0xee0d0000 0 0xc00>,
1556255932Salfred			      <0 0xee0c0000 0 0x1100>;
1557255932Salfred			interrupts = <GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>;
1558255932Salfred			clocks = <&cpg CPG_MOD 703>;
1559255932Salfred			power-domains = <&sysc R8A7743_PD_ALWAYS_ON>;
1560255932Salfred			resets = <&cpg 703>;
1561278886Shselasky			status = "disabled";
1562255932Salfred
1563255932Salfred			bus-range = <1 1>;
1564255932Salfred			#address-cells = <3>;
1565255932Salfred			#size-cells = <2>;
1566255932Salfred			#interrupt-cells = <1>;
1567255932Salfred			ranges = <0x02000000 0 0xee0c0000 0 0xee0c0000 0 0x00010000>;
1568255932Salfred			interrupt-map-mask = <0xf800 0 0 0x7>;
1569255932Salfred			interrupt-map = <0x0000 0 0 1 &gic GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>,
1570255932Salfred					<0x0800 0 0 1 &gic GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>,
1571255932Salfred					<0x1000 0 0 2 &gic GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>;
1572255932Salfred
1573255932Salfred			usb@1,0 {
1574255932Salfred				reg = <0x10800 0 0 0 0>;
1575255932Salfred				phys = <&usb2 0>;
1576255932Salfred				phy-names = "usb";
1577255932Salfred			};
1578255932Salfred
1579255932Salfred			usb@2,0 {
1580255932Salfred				reg = <0x11000 0 0 0 0>;
1581255932Salfred				phys = <&usb2 0>;
1582255932Salfred				phy-names = "usb";
1583255932Salfred			};
1584255932Salfred		};
1585255932Salfred
1586255932Salfred		sdhi0: mmc@ee100000 {
1587255932Salfred			compatible = "renesas,sdhi-r8a7743",
1588255932Salfred				     "renesas,rcar-gen2-sdhi";
1589255932Salfred			reg = <0 0xee100000 0 0x328>;
1590255932Salfred			interrupts = <GIC_SPI 165 IRQ_TYPE_LEVEL_HIGH>;
1591255932Salfred			clocks = <&cpg CPG_MOD 314>;
1592255932Salfred			dmas = <&dmac0 0xcd>, <&dmac0 0xce>,
1593255932Salfred			       <&dmac1 0xcd>, <&dmac1 0xce>;
1594255932Salfred			dma-names = "tx", "rx", "tx", "rx";
1595255932Salfred			max-frequency = <195000000>;
1596255932Salfred			power-domains = <&sysc R8A7743_PD_ALWAYS_ON>;
1597255932Salfred			resets = <&cpg 314>;
1598255932Salfred			status = "disabled";
1599255932Salfred		};
1600255932Salfred
1601255932Salfred		sdhi1: mmc@ee140000 {
1602255932Salfred			compatible = "renesas,sdhi-r8a7743",
1603255932Salfred				     "renesas,rcar-gen2-sdhi";
1604255932Salfred			reg = <0 0xee140000 0 0x100>;
1605255932Salfred			interrupts = <GIC_SPI 167 IRQ_TYPE_LEVEL_HIGH>;
1606278886Shselasky			clocks = <&cpg CPG_MOD 312>;
1607278886Shselasky			dmas = <&dmac0 0xc1>, <&dmac0 0xc2>,
1608278886Shselasky			       <&dmac1 0xc1>, <&dmac1 0xc2>;
1609278886Shselasky			dma-names = "tx", "rx", "tx", "rx";
1610278886Shselasky			max-frequency = <97500000>;
1611278886Shselasky			power-domains = <&sysc R8A7743_PD_ALWAYS_ON>;
1612255932Salfred			resets = <&cpg 312>;
1613255932Salfred			status = "disabled";
1614255932Salfred		};
1615255932Salfred
1616255932Salfred		sdhi2: mmc@ee160000 {
1617255932Salfred			compatible = "renesas,sdhi-r8a7743",
1618255932Salfred				     "renesas,rcar-gen2-sdhi";
1619255932Salfred			reg = <0 0xee160000 0 0x100>;
1620255932Salfred			interrupts = <GIC_SPI 168 IRQ_TYPE_LEVEL_HIGH>;
1621255932Salfred			clocks = <&cpg CPG_MOD 311>;
1622255932Salfred			dmas = <&dmac0 0xd3>, <&dmac0 0xd4>,
1623255932Salfred			       <&dmac1 0xd3>, <&dmac1 0xd4>;
1624278886Shselasky			dma-names = "tx", "rx", "tx", "rx";
1625278886Shselasky			max-frequency = <97500000>;
1626278886Shselasky			power-domains = <&sysc R8A7743_PD_ALWAYS_ON>;
1627278886Shselasky			resets = <&cpg 311>;
1628278886Shselasky			status = "disabled";
1629278886Shselasky		};
1630255932Salfred
1631255932Salfred		mmcif0: mmc@ee200000 {
1632255932Salfred			compatible = "renesas,mmcif-r8a7743",
1633255932Salfred				     "renesas,sh-mmcif";
1634255932Salfred			reg = <0 0xee200000 0 0x80>;
1635255932Salfred			interrupts = <GIC_SPI 169 IRQ_TYPE_LEVEL_HIGH>;
1636255932Salfred			clocks = <&cpg CPG_MOD 315>;
1637255932Salfred			dmas = <&dmac0 0xd1>, <&dmac0 0xd2>,
1638255932Salfred			       <&dmac1 0xd1>, <&dmac1 0xd2>;
1639255932Salfred			dma-names = "tx", "rx", "tx", "rx";
1640255932Salfred			power-domains = <&sysc R8A7743_PD_ALWAYS_ON>;
1641255932Salfred			resets = <&cpg 315>;
1642255932Salfred			reg-io-width = <4>;
1643255932Salfred			max-frequency = <97500000>;
1644255932Salfred			status = "disabled";
1645255932Salfred		};
1646255932Salfred
1647255932Salfred		ether: ethernet@ee700000 {
1648255932Salfred			compatible = "renesas,ether-r8a7743",
1649255932Salfred				     "renesas,rcar-gen2-ether";
1650255932Salfred			reg = <0 0xee700000 0 0x400>;
1651255932Salfred			interrupts = <GIC_SPI 162 IRQ_TYPE_LEVEL_HIGH>;
1652255932Salfred			clocks = <&cpg CPG_MOD 813>;
1653255932Salfred			power-domains = <&sysc R8A7743_PD_ALWAYS_ON>;
1654255932Salfred			resets = <&cpg 813>;
1655255932Salfred			phy-mode = "rmii";
1656255932Salfred			#address-cells = <1>;
1657255932Salfred			#size-cells = <0>;
1658255932Salfred			status = "disabled";
1659255932Salfred		};
1660255932Salfred
1661255932Salfred		gic: interrupt-controller@f1001000 {
1662255932Salfred			compatible = "arm,gic-400";
1663255932Salfred			#interrupt-cells = <3>;
1664255932Salfred			#address-cells = <0>;
1665255932Salfred			interrupt-controller;
1666255932Salfred			reg = <0 0xf1001000 0 0x1000>, <0 0xf1002000 0 0x2000>,
1667255932Salfred			      <0 0xf1004000 0 0x2000>, <0 0xf1006000 0 0x2000>;
1668255932Salfred			interrupts = <GIC_PPI 9 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_HIGH)>;
1669255932Salfred			clocks = <&cpg CPG_MOD 408>;
1670255932Salfred			clock-names = "clk";
1671255932Salfred			power-domains = <&sysc R8A7743_PD_ALWAYS_ON>;
1672255932Salfred			resets = <&cpg 408>;
1673255932Salfred		};
1674255932Salfred
1675255932Salfred		pciec: pcie@fe000000 {
1676255932Salfred			compatible = "renesas,pcie-r8a7743",
1677255932Salfred				     "renesas,pcie-rcar-gen2";
1678255932Salfred			reg = <0 0xfe000000 0 0x80000>;
1679255932Salfred			#address-cells = <3>;
1680255932Salfred			#size-cells = <2>;
1681255932Salfred			bus-range = <0x00 0xff>;
1682255932Salfred			device_type = "pci";
1683255932Salfred			ranges = <0x01000000 0 0x00000000 0 0xfe100000 0 0x00100000>,
1684255932Salfred				 <0x02000000 0 0xfe200000 0 0xfe200000 0 0x00200000>,
1685255932Salfred				 <0x02000000 0 0x30000000 0 0x30000000 0 0x08000000>,
1686255932Salfred				 <0x42000000 0 0x38000000 0 0x38000000 0 0x08000000>;
1687255932Salfred			/* Map all possible DDR as inbound ranges */
1688255932Salfred			dma-ranges = <0x42000000 0 0x40000000 0 0x40000000 0 0x80000000>,
1689255932Salfred				     <0x43000000 2 0x00000000 2 0x00000000 1 0x00000000>;
1690255932Salfred			interrupts = <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>,
1691255932Salfred				     <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>,
1692255932Salfred				     <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>;
1693255932Salfred			#interrupt-cells = <1>;
1694255932Salfred			interrupt-map-mask = <0 0 0 0>;
1695255932Salfred			interrupt-map = <0 0 0 0 &gic GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>;
1696255932Salfred			clocks = <&cpg CPG_MOD 319>, <&pcie_bus_clk>;
1697255932Salfred			clock-names = "pcie", "pcie_bus";
1698255932Salfred			power-domains = <&sysc R8A7743_PD_ALWAYS_ON>;
1699255932Salfred			resets = <&cpg 319>;
1700255932Salfred			status = "disabled";
1701255932Salfred		};
1702255932Salfred
1703255932Salfred		vsp@fe928000 {
1704255932Salfred			compatible = "renesas,vsp1";
1705255932Salfred			reg = <0 0xfe928000 0 0x8000>;
1706255932Salfred			interrupts = <GIC_SPI 267 IRQ_TYPE_LEVEL_HIGH>;
1707255932Salfred			clocks = <&cpg CPG_MOD 131>;
1708255932Salfred			power-domains = <&sysc R8A7743_PD_ALWAYS_ON>;
1709255932Salfred			resets = <&cpg 131>;
1710255932Salfred		};
1711255932Salfred
1712255932Salfred		vsp@fe930000 {
1713255932Salfred			compatible = "renesas,vsp1";
1714255932Salfred			reg = <0 0xfe930000 0 0x8000>;
1715255932Salfred			interrupts = <GIC_SPI 246 IRQ_TYPE_LEVEL_HIGH>;
1716255932Salfred			clocks = <&cpg CPG_MOD 128>;
1717255932Salfred			power-domains = <&sysc R8A7743_PD_ALWAYS_ON>;
1718278886Shselasky			resets = <&cpg 128>;
1719255932Salfred		};
1720255932Salfred
1721255932Salfred		vsp@fe938000 {
1722255932Salfred			compatible = "renesas,vsp1";
1723278886Shselasky			reg = <0 0xfe938000 0 0x8000>;
1724255932Salfred			interrupts = <GIC_SPI 247 IRQ_TYPE_LEVEL_HIGH>;
1725255932Salfred			clocks = <&cpg CPG_MOD 127>;
1726255932Salfred			power-domains = <&sysc R8A7743_PD_ALWAYS_ON>;
1727255932Salfred			resets = <&cpg 127>;
1728255932Salfred		};
1729255932Salfred
1730255932Salfred		du: display@feb00000 {
1731255932Salfred			compatible = "renesas,du-r8a7743";
1732255932Salfred			reg = <0 0xfeb00000 0 0x40000>;
1733255932Salfred			interrupts = <GIC_SPI 256 IRQ_TYPE_LEVEL_HIGH>,
1734255932Salfred				     <GIC_SPI 268 IRQ_TYPE_LEVEL_HIGH>;
1735255932Salfred			clocks = <&cpg CPG_MOD 724>, <&cpg CPG_MOD 723>;
1736255932Salfred			clock-names = "du.0", "du.1";
1737255932Salfred			resets = <&cpg 724>;
1738255932Salfred			reset-names = "du.0";
1739278886Shselasky			status = "disabled";
1740255932Salfred
1741255932Salfred			ports {
1742255932Salfred				#address-cells = <1>;
1743255932Salfred				#size-cells = <0>;
1744255932Salfred
1745255932Salfred				port@0 {
1746255932Salfred					reg = <0>;
1747255932Salfred					du_out_rgb: endpoint {
1748255932Salfred					};
1749255932Salfred				};
1750255932Salfred				port@1 {
1751255932Salfred					reg = <1>;
1752255932Salfred					du_out_lvds0: endpoint {
1753255932Salfred						remote-endpoint = <&lvds0_in>;
1754255932Salfred					};
1755255932Salfred				};
1756255932Salfred			};
1757255932Salfred		};
1758255932Salfred
1759255932Salfred		lvds0: lvds@feb90000 {
1760255932Salfred			compatible = "renesas,r8a7743-lvds";
1761255932Salfred			reg = <0 0xfeb90000 0 0x1c>;
1762255932Salfred			clocks = <&cpg CPG_MOD 726>;
1763255932Salfred			power-domains = <&sysc R8A7743_PD_ALWAYS_ON>;
1764255932Salfred			resets = <&cpg 726>;
1765255932Salfred			status = "disabled";
1766255932Salfred
1767255932Salfred			ports {
1768255932Salfred				#address-cells = <1>;
1769255932Salfred				#size-cells = <0>;
1770255932Salfred
1771255932Salfred				port@0 {
1772255932Salfred					reg = <0>;
1773255932Salfred					lvds0_in: endpoint {
1774255932Salfred						remote-endpoint = <&du_out_lvds0>;
1775255932Salfred					};
1776255932Salfred				};
1777255932Salfred				port@1 {
1778255932Salfred					reg = <1>;
1779255932Salfred					lvds0_out: endpoint {
1780255932Salfred					};
1781255932Salfred				};
1782255932Salfred			};
1783255932Salfred		};
1784255932Salfred
1785255932Salfred		prr: chipid@ff000044 {
1786255932Salfred			compatible = "renesas,prr";
1787255932Salfred			reg = <0 0xff000044 0 4>;
1788255932Salfred		};
1789255932Salfred
1790255932Salfred		cmt0: timer@ffca0000 {
1791255932Salfred			compatible = "renesas,r8a7743-cmt0",
1792255932Salfred				     "renesas,rcar-gen2-cmt0";
1793255932Salfred			reg = <0 0xffca0000 0 0x1004>;
1794255932Salfred			interrupts = <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
1795255932Salfred				     <GIC_SPI 143 IRQ_TYPE_LEVEL_HIGH>;
1796255932Salfred			clocks = <&cpg CPG_MOD 124>;
1797255932Salfred			clock-names = "fck";
1798255932Salfred			power-domains = <&sysc R8A7743_PD_ALWAYS_ON>;
1799255932Salfred			resets = <&cpg 124>;
1800255932Salfred			status = "disabled";
1801255932Salfred		};
1802255932Salfred
1803255932Salfred		cmt1: timer@e6130000 {
1804255932Salfred			compatible = "renesas,r8a7743-cmt1",
1805255932Salfred				     "renesas,rcar-gen2-cmt1";
1806255932Salfred			reg = <0 0xe6130000 0 0x1004>;
1807255932Salfred			interrupts = <GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>,
1808255932Salfred				     <GIC_SPI 121 IRQ_TYPE_LEVEL_HIGH>,
1809255932Salfred				     <GIC_SPI 122 IRQ_TYPE_LEVEL_HIGH>,
1810255932Salfred				     <GIC_SPI 123 IRQ_TYPE_LEVEL_HIGH>,
1811278886Shselasky				     <GIC_SPI 124 IRQ_TYPE_LEVEL_HIGH>,
1812278886Shselasky				     <GIC_SPI 125 IRQ_TYPE_LEVEL_HIGH>,
1813278886Shselasky				     <GIC_SPI 126 IRQ_TYPE_LEVEL_HIGH>,
1814278886Shselasky				     <GIC_SPI 127 IRQ_TYPE_LEVEL_HIGH>;
1815278886Shselasky			clocks = <&cpg CPG_MOD 329>;
1816255932Salfred			clock-names = "fck";
1817255932Salfred			power-domains = <&sysc R8A7743_PD_ALWAYS_ON>;
1818255932Salfred			resets = <&cpg 329>;
1819255932Salfred			status = "disabled";
1820255932Salfred		};
1821255932Salfred	};
1822255932Salfred
1823255932Salfred	thermal-zones {
1824255932Salfred		cpu_thermal: cpu-thermal {
1825255932Salfred			polling-delay-passive = <0>;
1826255932Salfred			polling-delay = <0>;
1827255932Salfred
1828255932Salfred			thermal-sensors = <&thermal>;
1829255932Salfred
1830255932Salfred			trips {
1831255932Salfred				cpu-crit {
1832255932Salfred					temperature = <95000>;
1833255932Salfred					hysteresis = <0>;
1834255932Salfred					type = "critical";
1835255932Salfred				};
1836255932Salfred			};
1837255932Salfred
1838255932Salfred			cooling-maps {
1839255932Salfred			};
1840255932Salfred		};
1841255932Salfred	};
1842255932Salfred
1843255932Salfred	timer {
1844255932Salfred		compatible = "arm,armv7-timer";
1845255932Salfred		interrupts-extended = <&gic GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>,
1846255932Salfred				      <&gic GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>,
1847255932Salfred				      <&gic GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>,
1848255932Salfred				      <&gic GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>;
1849255932Salfred	};
1850255932Salfred
1851255932Salfred	/* External USB clock - can be overridden by the board */
1852255932Salfred	usb_extal_clk: usb_extal {
1853255932Salfred		compatible = "fixed-clock";
1854255932Salfred		#clock-cells = <0>;
1855255932Salfred		clock-frequency = <48000000>;
1856255932Salfred	};
1857255932Salfred};
1858255932Salfred