xref: /linux/arch/arm64/boot/dts/renesas/r8a77970.dtsi (revision 3cd0bd7d92bb54dc224e23dcb2cc319ff83b7b73)
141f4345aSSergei Shtylyov/*
241f4345aSSergei Shtylyov * Device Tree Source for the r8a77970 SoC
341f4345aSSergei Shtylyov *
441f4345aSSergei Shtylyov * Copyright (C) 2016-2017 Renesas Electronics Corp.
541f4345aSSergei Shtylyov * Copyright (C) 2017 Cogent Embedded, Inc.
641f4345aSSergei Shtylyov *
741f4345aSSergei Shtylyov * This file is licensed under the terms of the GNU General Public License
841f4345aSSergei Shtylyov * version 2.  This program is licensed "as is" without any warranty of any
941f4345aSSergei Shtylyov * kind, whether express or implied.
1041f4345aSSergei Shtylyov */
1141f4345aSSergei Shtylyov
12e221dab0SSergei Shtylyov#include <dt-bindings/clock/r8a77970-cpg-mssr.h>
13830241c1SSimon Horman#include <dt-bindings/interrupt-controller/arm-gic.h>
14830241c1SSimon Horman#include <dt-bindings/interrupt-controller/irq.h>
15ce3b52a1SSimon Horman#include <dt-bindings/power/r8a77970-sysc.h>
1641f4345aSSergei Shtylyov
1741f4345aSSergei Shtylyov/ {
1841f4345aSSergei Shtylyov	compatible = "renesas,r8a77970";
1941f4345aSSergei Shtylyov	#address-cells = <2>;
2041f4345aSSergei Shtylyov	#size-cells = <2>;
2141f4345aSSergei Shtylyov
22cbfa278eSSergei Shtylyov	aliases {
23cbfa278eSSergei Shtylyov		i2c0 = &i2c0;
24cbfa278eSSergei Shtylyov		i2c1 = &i2c1;
25cbfa278eSSergei Shtylyov		i2c2 = &i2c2;
26cbfa278eSSergei Shtylyov		i2c3 = &i2c3;
27cbfa278eSSergei Shtylyov		i2c4 = &i2c4;
28cbfa278eSSergei Shtylyov	};
29cbfa278eSSergei Shtylyov
3041f4345aSSergei Shtylyov	cpus {
3141f4345aSSergei Shtylyov		#address-cells = <1>;
3241f4345aSSergei Shtylyov		#size-cells = <0>;
3341f4345aSSergei Shtylyov
3441f4345aSSergei Shtylyov		a53_0: cpu@0 {
3541f4345aSSergei Shtylyov			device_type = "cpu";
3641f4345aSSergei Shtylyov			compatible = "arm,cortex-a53", "arm,armv8";
3741f4345aSSergei Shtylyov			reg = <0>;
38e221dab0SSergei Shtylyov			clocks = <&cpg CPG_CORE R8A77970_CLK_Z2>;
398aba250dSSergei Shtylyov			power-domains = <&sysc R8A77970_PD_CA53_CPU0>;
4041f4345aSSergei Shtylyov			next-level-cache = <&L2_CA53>;
4141f4345aSSergei Shtylyov			enable-method = "psci";
4241f4345aSSergei Shtylyov		};
4341f4345aSSergei Shtylyov
4441f4345aSSergei Shtylyov		L2_CA53: cache-controller {
4541f4345aSSergei Shtylyov			compatible = "cache";
468aba250dSSergei Shtylyov			power-domains = <&sysc R8A77970_PD_CA53_SCU>;
4741f4345aSSergei Shtylyov			cache-unified;
4841f4345aSSergei Shtylyov			cache-level = <2>;
4941f4345aSSergei Shtylyov		};
5041f4345aSSergei Shtylyov	};
5141f4345aSSergei Shtylyov
5241f4345aSSergei Shtylyov	extal_clk: extal {
5341f4345aSSergei Shtylyov		compatible = "fixed-clock";
5441f4345aSSergei Shtylyov		#clock-cells = <0>;
5541f4345aSSergei Shtylyov		/* This value must be overridden by the board */
5641f4345aSSergei Shtylyov		clock-frequency = <0>;
5741f4345aSSergei Shtylyov	};
5841f4345aSSergei Shtylyov
5941f4345aSSergei Shtylyov	extalr_clk: extalr {
6041f4345aSSergei Shtylyov		compatible = "fixed-clock";
6141f4345aSSergei Shtylyov		#clock-cells = <0>;
6241f4345aSSergei Shtylyov		/* This value must be overridden by the board */
6341f4345aSSergei Shtylyov		clock-frequency = <0>;
6441f4345aSSergei Shtylyov	};
6541f4345aSSergei Shtylyov
66c7a99343SGeert Uytterhoeven	psci {
67c7a99343SGeert Uytterhoeven		compatible = "arm,psci-1.0", "arm,psci-0.2";
68c7a99343SGeert Uytterhoeven		method = "smc";
69c7a99343SGeert Uytterhoeven	};
70c7a99343SGeert Uytterhoeven
7138dbb6fcSSergei Shtylyov	/* External SCIF clock - to be overridden by boards that provide it */
7238dbb6fcSSergei Shtylyov	scif_clk: scif {
7338dbb6fcSSergei Shtylyov		compatible = "fixed-clock";
7438dbb6fcSSergei Shtylyov		#clock-cells = <0>;
7538dbb6fcSSergei Shtylyov		clock-frequency = <0>;
7638dbb6fcSSergei Shtylyov	};
7738dbb6fcSSergei Shtylyov
7841f4345aSSergei Shtylyov	soc {
7941f4345aSSergei Shtylyov		compatible = "simple-bus";
8041f4345aSSergei Shtylyov		interrupt-parent = <&gic>;
8141f4345aSSergei Shtylyov
8241f4345aSSergei Shtylyov		#address-cells = <2>;
8341f4345aSSergei Shtylyov		#size-cells = <2>;
8441f4345aSSergei Shtylyov		ranges;
8541f4345aSSergei Shtylyov
8641f4345aSSergei Shtylyov		gic: interrupt-controller@f1010000 {
8741f4345aSSergei Shtylyov			compatible = "arm,gic-400";
8841f4345aSSergei Shtylyov			#interrupt-cells = <3>;
8941f4345aSSergei Shtylyov			#address-cells = <0>;
9041f4345aSSergei Shtylyov			interrupt-controller;
9141f4345aSSergei Shtylyov			reg = <0 0xf1010000 0 0x1000>,
9241f4345aSSergei Shtylyov			      <0 0xf1020000 0 0x20000>,
9341f4345aSSergei Shtylyov			      <0 0xf1040000 0 0x20000>,
9441f4345aSSergei Shtylyov			      <0 0xf1060000 0 0x20000>;
9541f4345aSSergei Shtylyov			interrupts = <GIC_PPI 9	(GIC_CPU_MASK_SIMPLE(1) |
9641f4345aSSergei Shtylyov				      IRQ_TYPE_LEVEL_HIGH)>;
9741f4345aSSergei Shtylyov			clocks = <&cpg CPG_MOD 408>;
9841f4345aSSergei Shtylyov			clock-names = "clk";
998aba250dSSergei Shtylyov			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
10041f4345aSSergei Shtylyov			resets = <&cpg 408>;
10141f4345aSSergei Shtylyov		};
10241f4345aSSergei Shtylyov
103206d082eSGeert Uytterhoeven		rwdt: watchdog@e6020000 {
104206d082eSGeert Uytterhoeven			compatible = "renesas,r8a77970-wdt",
105206d082eSGeert Uytterhoeven				     "renesas,rcar-gen3-wdt";
106206d082eSGeert Uytterhoeven			reg = <0 0xe6020000 0 0x0c>;
107206d082eSGeert Uytterhoeven			clocks = <&cpg CPG_MOD 402>;
1088aba250dSSergei Shtylyov			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
109206d082eSGeert Uytterhoeven			resets = <&cpg 402>;
110206d082eSGeert Uytterhoeven			status = "disabled";
111206d082eSGeert Uytterhoeven		};
112206d082eSGeert Uytterhoeven
11341f4345aSSergei Shtylyov		cpg: clock-controller@e6150000 {
11441f4345aSSergei Shtylyov			compatible = "renesas,r8a77970-cpg-mssr";
11541f4345aSSergei Shtylyov			reg = <0 0xe6150000 0 0x1000>;
11641f4345aSSergei Shtylyov			clocks = <&extal_clk>, <&extalr_clk>;
11741f4345aSSergei Shtylyov			clock-names = "extal", "extalr";
11841f4345aSSergei Shtylyov			#clock-cells = <2>;
11941f4345aSSergei Shtylyov			#power-domain-cells = <0>;
12041f4345aSSergei Shtylyov			#reset-cells = <1>;
12141f4345aSSergei Shtylyov		};
12241f4345aSSergei Shtylyov
12341f4345aSSergei Shtylyov		rst: reset-controller@e6160000 {
12441f4345aSSergei Shtylyov			compatible = "renesas,r8a77970-rst";
12541f4345aSSergei Shtylyov			reg = <0 0xe6160000 0 0x200>;
12641f4345aSSergei Shtylyov		};
12741f4345aSSergei Shtylyov
12841f4345aSSergei Shtylyov		sysc: system-controller@e6180000 {
12941f4345aSSergei Shtylyov			compatible = "renesas,r8a77970-sysc";
13041f4345aSSergei Shtylyov			reg = <0 0xe6180000 0 0x440>;
13141f4345aSSergei Shtylyov			#power-domain-cells = <1>;
13241f4345aSSergei Shtylyov		};
13341f4345aSSergei Shtylyov
134ce3b52a1SSimon Horman		ipmmu_vi0: mmu@febd0000 {
135ce3b52a1SSimon Horman			compatible = "renesas,ipmmu-r8a77970";
136ce3b52a1SSimon Horman			reg = <0 0xfebd0000 0 0x1000>;
137ce3b52a1SSimon Horman			renesas,ipmmu-main = <&ipmmu_mm 9>;
138ce3b52a1SSimon Horman			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
139ce3b52a1SSimon Horman			#iommu-cells = <1>;
140ce3b52a1SSimon Horman			status = "disabled";
141ce3b52a1SSimon Horman		};
142ce3b52a1SSimon Horman
143ce3b52a1SSimon Horman		ipmmu_ir: mmu@ff8b0000 {
144ce3b52a1SSimon Horman			compatible = "renesas,ipmmu-r8a77970";
145ce3b52a1SSimon Horman			reg = <0 0xff8b0000 0 0x1000>;
146ce3b52a1SSimon Horman			renesas,ipmmu-main = <&ipmmu_mm 3>;
147ce3b52a1SSimon Horman			power-domains = <&sysc R8A77970_PD_A3IR>;
148ce3b52a1SSimon Horman			#iommu-cells = <1>;
149ce3b52a1SSimon Horman			status = "disabled";
150ce3b52a1SSimon Horman		};
151ce3b52a1SSimon Horman
152ce3b52a1SSimon Horman		ipmmu_rt: mmu@ffc80000 {
153ce3b52a1SSimon Horman			compatible = "renesas,ipmmu-r8a77970";
154ce3b52a1SSimon Horman			reg = <0 0xffc80000 0 0x1000>;
155ce3b52a1SSimon Horman			renesas,ipmmu-main = <&ipmmu_mm 7>;
156ce3b52a1SSimon Horman			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
157ce3b52a1SSimon Horman			#iommu-cells = <1>;
158ce3b52a1SSimon Horman		};
159ce3b52a1SSimon Horman
160ce3b52a1SSimon Horman		ipmmu_ds1: mmu@e7740000 {
161ce3b52a1SSimon Horman			compatible = "renesas,ipmmu-r8a77970";
162ce3b52a1SSimon Horman			reg = <0 0xe7740000 0 0x1000>;
163d2b860cbSMagnus Damm			renesas,ipmmu-main = <&ipmmu_mm 0>;
164ce3b52a1SSimon Horman			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
165ce3b52a1SSimon Horman			#iommu-cells = <1>;
166ce3b52a1SSimon Horman		};
167ce3b52a1SSimon Horman
168ce3b52a1SSimon Horman		ipmmu_mm: mmu@e67b0000 {
169ce3b52a1SSimon Horman			compatible = "renesas,ipmmu-r8a77970";
170ce3b52a1SSimon Horman			reg = <0 0xe67b0000 0 0x1000>;
171ce3b52a1SSimon Horman			interrupts = <GIC_SPI 196 IRQ_TYPE_LEVEL_HIGH>,
172ce3b52a1SSimon Horman				     <GIC_SPI 197 IRQ_TYPE_LEVEL_HIGH>;
173ce3b52a1SSimon Horman			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
174ce3b52a1SSimon Horman			#iommu-cells = <1>;
175ce3b52a1SSimon Horman		};
176ce3b52a1SSimon Horman
17715981babSSergei Shtylyov		pfc: pin-controller@e6060000 {
17815981babSSergei Shtylyov			compatible = "renesas,pfc-r8a77970";
17915981babSSergei Shtylyov			reg = <0 0xe6060000 0 0x504>;
18015981babSSergei Shtylyov		};
18115981babSSergei Shtylyov
1829618b2cbSSergei Shtylyov		gpio0: gpio@e6050000 {
1839618b2cbSSergei Shtylyov			compatible = "renesas,gpio-r8a77970",
1849618b2cbSSergei Shtylyov				     "renesas,rcar-gen3-gpio";
1859618b2cbSSergei Shtylyov			reg = <0 0xe6050000 0 0x50>;
1869618b2cbSSergei Shtylyov			interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;
1879618b2cbSSergei Shtylyov			#gpio-cells = <2>;
1889618b2cbSSergei Shtylyov			gpio-controller;
1899618b2cbSSergei Shtylyov			gpio-ranges = <&pfc 0 0 22>;
1909618b2cbSSergei Shtylyov			#interrupt-cells = <2>;
1919618b2cbSSergei Shtylyov			interrupt-controller;
1929618b2cbSSergei Shtylyov			clocks = <&cpg CPG_MOD 912>;
1939618b2cbSSergei Shtylyov			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
1949618b2cbSSergei Shtylyov			resets = <&cpg 912>;
1959618b2cbSSergei Shtylyov		};
1969618b2cbSSergei Shtylyov
1979618b2cbSSergei Shtylyov		gpio1: gpio@e6051000 {
1989618b2cbSSergei Shtylyov			compatible = "renesas,gpio-r8a77970",
1999618b2cbSSergei Shtylyov				     "renesas,rcar-gen3-gpio";
2009618b2cbSSergei Shtylyov			reg = <0 0xe6051000 0 0x50>;
2019618b2cbSSergei Shtylyov			interrupts = <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>;
2029618b2cbSSergei Shtylyov			#gpio-cells = <2>;
2039618b2cbSSergei Shtylyov			gpio-controller;
2049618b2cbSSergei Shtylyov			gpio-ranges = <&pfc 0 32 28>;
2059618b2cbSSergei Shtylyov			#interrupt-cells = <2>;
2069618b2cbSSergei Shtylyov			interrupt-controller;
2079618b2cbSSergei Shtylyov			clocks = <&cpg CPG_MOD 911>;
2089618b2cbSSergei Shtylyov			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
2099618b2cbSSergei Shtylyov			resets = <&cpg 911>;
2109618b2cbSSergei Shtylyov		};
2119618b2cbSSergei Shtylyov
2129618b2cbSSergei Shtylyov		gpio2: gpio@e6052000 {
2139618b2cbSSergei Shtylyov			compatible = "renesas,gpio-r8a77970",
2149618b2cbSSergei Shtylyov				     "renesas,rcar-gen3-gpio";
2159618b2cbSSergei Shtylyov			reg = <0 0xe6052000 0 0x50>;
2169618b2cbSSergei Shtylyov			interrupts = <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>;
2179618b2cbSSergei Shtylyov			#gpio-cells = <2>;
2189618b2cbSSergei Shtylyov			gpio-controller;
2199618b2cbSSergei Shtylyov			gpio-ranges = <&pfc 0 64 17>;
2209618b2cbSSergei Shtylyov			#interrupt-cells = <2>;
2219618b2cbSSergei Shtylyov			interrupt-controller;
2229618b2cbSSergei Shtylyov			clocks = <&cpg CPG_MOD 910>;
2239618b2cbSSergei Shtylyov			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
2249618b2cbSSergei Shtylyov			resets = <&cpg 910>;
2259618b2cbSSergei Shtylyov		};
2269618b2cbSSergei Shtylyov
2279618b2cbSSergei Shtylyov		gpio3: gpio@e6053000 {
2289618b2cbSSergei Shtylyov			compatible = "renesas,gpio-r8a77970",
2299618b2cbSSergei Shtylyov				     "renesas,rcar-gen3-gpio";
2309618b2cbSSergei Shtylyov			reg = <0 0xe6053000 0 0x50>;
2319618b2cbSSergei Shtylyov			interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>;
2329618b2cbSSergei Shtylyov			#gpio-cells = <2>;
2339618b2cbSSergei Shtylyov			gpio-controller;
2349618b2cbSSergei Shtylyov			gpio-ranges = <&pfc 0 96 17>;
2359618b2cbSSergei Shtylyov			#interrupt-cells = <2>;
2369618b2cbSSergei Shtylyov			interrupt-controller;
2379618b2cbSSergei Shtylyov			clocks = <&cpg CPG_MOD 909>;
2389618b2cbSSergei Shtylyov			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
2399618b2cbSSergei Shtylyov			resets = <&cpg 909>;
2409618b2cbSSergei Shtylyov		};
2419618b2cbSSergei Shtylyov
2429618b2cbSSergei Shtylyov		gpio4: gpio@e6054000 {
2439618b2cbSSergei Shtylyov			compatible = "renesas,gpio-r8a77970",
2449618b2cbSSergei Shtylyov				     "renesas,rcar-gen3-gpio";
2459618b2cbSSergei Shtylyov			reg = <0 0xe6054000 0 0x50>;
2469618b2cbSSergei Shtylyov			interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>;
2479618b2cbSSergei Shtylyov			#gpio-cells = <2>;
2489618b2cbSSergei Shtylyov			gpio-controller;
2499618b2cbSSergei Shtylyov			gpio-ranges = <&pfc 0 128 6>;
2509618b2cbSSergei Shtylyov			#interrupt-cells = <2>;
2519618b2cbSSergei Shtylyov			interrupt-controller;
2529618b2cbSSergei Shtylyov			clocks = <&cpg CPG_MOD 908>;
2539618b2cbSSergei Shtylyov			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
2549618b2cbSSergei Shtylyov			resets = <&cpg 908>;
2559618b2cbSSergei Shtylyov		};
2569618b2cbSSergei Shtylyov
2579618b2cbSSergei Shtylyov		gpio5: gpio@e6055000 {
2589618b2cbSSergei Shtylyov			compatible = "renesas,gpio-r8a77970",
2599618b2cbSSergei Shtylyov				     "renesas,rcar-gen3-gpio";
2609618b2cbSSergei Shtylyov			reg = <0 0xe6055000 0 0x50>;
2619618b2cbSSergei Shtylyov			interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>;
2629618b2cbSSergei Shtylyov			#gpio-cells = <2>;
2639618b2cbSSergei Shtylyov			gpio-controller;
2649618b2cbSSergei Shtylyov			gpio-ranges = <&pfc 0 160 15>;
2659618b2cbSSergei Shtylyov			#interrupt-cells = <2>;
2669618b2cbSSergei Shtylyov			interrupt-controller;
2679618b2cbSSergei Shtylyov			clocks = <&cpg CPG_MOD 907>;
2689618b2cbSSergei Shtylyov			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
2699618b2cbSSergei Shtylyov			resets = <&cpg 907>;
2709618b2cbSSergei Shtylyov		};
2719618b2cbSSergei Shtylyov
272c6a7fd98SGeert Uytterhoeven		intc_ex: interrupt-controller@e61c0000 {
273c6a7fd98SGeert Uytterhoeven			compatible = "renesas,intc-ex-r8a77970", "renesas,irqc";
274c6a7fd98SGeert Uytterhoeven			#interrupt-cells = <2>;
275c6a7fd98SGeert Uytterhoeven			interrupt-controller;
276c6a7fd98SGeert Uytterhoeven			reg = <0 0xe61c0000 0 0x200>;
277c6a7fd98SGeert Uytterhoeven			interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH
278c6a7fd98SGeert Uytterhoeven				      GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH
279c6a7fd98SGeert Uytterhoeven				      GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH
280c6a7fd98SGeert Uytterhoeven				      GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH
281c6a7fd98SGeert Uytterhoeven				      GIC_SPI 18 IRQ_TYPE_LEVEL_HIGH
282c6a7fd98SGeert Uytterhoeven				      GIC_SPI 161 IRQ_TYPE_LEVEL_HIGH>;
283c6a7fd98SGeert Uytterhoeven			clocks = <&cpg CPG_MOD 407>;
2848aba250dSSergei Shtylyov			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
285c6a7fd98SGeert Uytterhoeven			resets = <&cpg 407>;
286c6a7fd98SGeert Uytterhoeven		};
287c6a7fd98SGeert Uytterhoeven
28841f4345aSSergei Shtylyov		prr: chipid@fff00044 {
28941f4345aSSergei Shtylyov			compatible = "renesas,prr";
29041f4345aSSergei Shtylyov			reg = <0 0xfff00044 0 4>;
29141f4345aSSergei Shtylyov		};
292bd746e70SSergei Shtylyov
293bd746e70SSergei Shtylyov		dmac1: dma-controller@e7300000 {
294bd746e70SSergei Shtylyov			compatible = "renesas,dmac-r8a77970",
295bd746e70SSergei Shtylyov				     "renesas,rcar-dmac";
296bd746e70SSergei Shtylyov			reg = <0 0xe7300000 0 0x10000>;
297bd746e70SSergei Shtylyov			interrupts = <GIC_SPI 220 IRQ_TYPE_LEVEL_HIGH
298bd746e70SSergei Shtylyov				      GIC_SPI 216 IRQ_TYPE_LEVEL_HIGH
299bd746e70SSergei Shtylyov				      GIC_SPI 217 IRQ_TYPE_LEVEL_HIGH
300bd746e70SSergei Shtylyov				      GIC_SPI 218 IRQ_TYPE_LEVEL_HIGH
301bd746e70SSergei Shtylyov				      GIC_SPI 219 IRQ_TYPE_LEVEL_HIGH
302bd746e70SSergei Shtylyov				      GIC_SPI 308 IRQ_TYPE_LEVEL_HIGH
303bd746e70SSergei Shtylyov				      GIC_SPI 309 IRQ_TYPE_LEVEL_HIGH
304bd746e70SSergei Shtylyov				      GIC_SPI 310 IRQ_TYPE_LEVEL_HIGH
305bd746e70SSergei Shtylyov				      GIC_SPI 311 IRQ_TYPE_LEVEL_HIGH>;
306bd746e70SSergei Shtylyov			interrupt-names = "error",
307bd746e70SSergei Shtylyov					  "ch0", "ch1", "ch2", "ch3",
308bd746e70SSergei Shtylyov					  "ch4", "ch5", "ch6", "ch7";
309bd746e70SSergei Shtylyov			clocks = <&cpg CPG_MOD 218>;
310bd746e70SSergei Shtylyov			clock-names = "fck";
3118aba250dSSergei Shtylyov			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
312bd746e70SSergei Shtylyov			resets = <&cpg 218>;
313bd746e70SSergei Shtylyov			#dma-cells = <1>;
314bd746e70SSergei Shtylyov			dma-channels = <8>;
3150071fcd1SSimon Horman			iommus = <&ipmmu_ds1 0>, <&ipmmu_ds1 1>,
3160071fcd1SSimon Horman			       <&ipmmu_ds1 2>, <&ipmmu_ds1 3>,
3170071fcd1SSimon Horman			       <&ipmmu_ds1 4>, <&ipmmu_ds1 5>,
3180071fcd1SSimon Horman			       <&ipmmu_ds1 6>, <&ipmmu_ds1 7>;
319bd746e70SSergei Shtylyov		};
320bd746e70SSergei Shtylyov
321bd746e70SSergei Shtylyov		dmac2: dma-controller@e7310000 {
322bd746e70SSergei Shtylyov			compatible = "renesas,dmac-r8a77970",
323bd746e70SSergei Shtylyov				     "renesas,rcar-dmac";
324bd746e70SSergei Shtylyov			reg = <0 0xe7310000 0 0x10000>;
325bd746e70SSergei Shtylyov			interrupts = <GIC_SPI 307 IRQ_TYPE_LEVEL_HIGH
326bd746e70SSergei Shtylyov				      GIC_SPI 312 IRQ_TYPE_LEVEL_HIGH
327bd746e70SSergei Shtylyov				      GIC_SPI 313 IRQ_TYPE_LEVEL_HIGH
328bd746e70SSergei Shtylyov				      GIC_SPI 314 IRQ_TYPE_LEVEL_HIGH
329bd746e70SSergei Shtylyov				      GIC_SPI 315 IRQ_TYPE_LEVEL_HIGH
330bd746e70SSergei Shtylyov				      GIC_SPI 316 IRQ_TYPE_LEVEL_HIGH
331bd746e70SSergei Shtylyov				      GIC_SPI 317 IRQ_TYPE_LEVEL_HIGH
332bd746e70SSergei Shtylyov				      GIC_SPI 318 IRQ_TYPE_LEVEL_HIGH
333bd746e70SSergei Shtylyov				      GIC_SPI 319 IRQ_TYPE_LEVEL_HIGH>;
334bd746e70SSergei Shtylyov			interrupt-names = "error",
335bd746e70SSergei Shtylyov					  "ch0", "ch1", "ch2", "ch3",
336bd746e70SSergei Shtylyov					  "ch4", "ch5", "ch6", "ch7";
337bd746e70SSergei Shtylyov			clocks = <&cpg CPG_MOD 217>;
338bd746e70SSergei Shtylyov			clock-names = "fck";
3398aba250dSSergei Shtylyov			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
340bd746e70SSergei Shtylyov			resets = <&cpg 217>;
341bd746e70SSergei Shtylyov			#dma-cells = <1>;
342bd746e70SSergei Shtylyov			dma-channels = <8>;
3430071fcd1SSimon Horman			iommus = <&ipmmu_ds1 16>, <&ipmmu_ds1 17>,
3440071fcd1SSimon Horman			       <&ipmmu_ds1 18>, <&ipmmu_ds1 19>,
3450071fcd1SSimon Horman			       <&ipmmu_ds1 20>, <&ipmmu_ds1 21>,
3460071fcd1SSimon Horman			       <&ipmmu_ds1 22>, <&ipmmu_ds1 23>;
347bd746e70SSergei Shtylyov		};
34838dbb6fcSSergei Shtylyov
349cbfa278eSSergei Shtylyov		i2c0: i2c@e6500000 {
350cbfa278eSSergei Shtylyov			compatible = "renesas,i2c-r8a77970",
351cbfa278eSSergei Shtylyov				     "renesas,rcar-gen3-i2c";
352cbfa278eSSergei Shtylyov			reg = <0 0xe6500000 0 0x40>;
353cbfa278eSSergei Shtylyov			interrupts = <GIC_SPI 287 IRQ_TYPE_LEVEL_HIGH>;
354cbfa278eSSergei Shtylyov			clocks = <&cpg CPG_MOD 931>;
355cbfa278eSSergei Shtylyov			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
356cbfa278eSSergei Shtylyov			resets = <&cpg 931>;
357cbfa278eSSergei Shtylyov			dmas = <&dmac1 0x91>, <&dmac1 0x90>,
358cbfa278eSSergei Shtylyov			       <&dmac2 0x91>, <&dmac2 0x90>;
359cbfa278eSSergei Shtylyov			dma-names = "tx", "rx", "tx", "rx";
360cbfa278eSSergei Shtylyov			i2c-scl-internal-delay-ns = <6>;
361cbfa278eSSergei Shtylyov			#address-cells = <1>;
362cbfa278eSSergei Shtylyov			#size-cells = <0>;
363cbfa278eSSergei Shtylyov			status = "disabled";
364cbfa278eSSergei Shtylyov		};
365cbfa278eSSergei Shtylyov
366cbfa278eSSergei Shtylyov		i2c1: i2c@e6508000 {
367cbfa278eSSergei Shtylyov			compatible = "renesas,i2c-r8a77970",
368cbfa278eSSergei Shtylyov				     "renesas,rcar-gen3-i2c";
369cbfa278eSSergei Shtylyov			reg = <0 0xe6508000 0 0x40>;
370cbfa278eSSergei Shtylyov			interrupts = <GIC_SPI 288 IRQ_TYPE_LEVEL_HIGH>;
371cbfa278eSSergei Shtylyov			clocks = <&cpg CPG_MOD 930>;
372cbfa278eSSergei Shtylyov			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
373cbfa278eSSergei Shtylyov			resets = <&cpg 930>;
374cbfa278eSSergei Shtylyov			dmas = <&dmac1 0x93>, <&dmac1 0x92>,
375cbfa278eSSergei Shtylyov			       <&dmac2 0x93>, <&dmac2 0x92>;
376cbfa278eSSergei Shtylyov			dma-names = "tx", "rx", "tx", "rx";
377cbfa278eSSergei Shtylyov			i2c-scl-internal-delay-ns = <6>;
378cbfa278eSSergei Shtylyov			#address-cells = <1>;
379cbfa278eSSergei Shtylyov			#size-cells = <0>;
380cbfa278eSSergei Shtylyov			status = "disabled";
381cbfa278eSSergei Shtylyov		};
382cbfa278eSSergei Shtylyov
383cbfa278eSSergei Shtylyov		i2c2: i2c@e6510000 {
384cbfa278eSSergei Shtylyov			compatible = "renesas,i2c-r8a77970",
385cbfa278eSSergei Shtylyov				     "renesas,rcar-gen3-i2c";
386cbfa278eSSergei Shtylyov			reg = <0 0xe6510000 0 0x40>;
387cbfa278eSSergei Shtylyov			interrupts = <GIC_SPI 286 IRQ_TYPE_LEVEL_HIGH>;
388cbfa278eSSergei Shtylyov			clocks = <&cpg CPG_MOD 929>;
389cbfa278eSSergei Shtylyov			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
390cbfa278eSSergei Shtylyov			resets = <&cpg 929>;
391cbfa278eSSergei Shtylyov			dmas = <&dmac1 0x95>, <&dmac1 0x94>,
392cbfa278eSSergei Shtylyov			       <&dmac2 0x95>, <&dmac2 0x94>;
393cbfa278eSSergei Shtylyov			dma-names = "tx", "rx", "tx", "rx";
394cbfa278eSSergei Shtylyov			i2c-scl-internal-delay-ns = <6>;
395cbfa278eSSergei Shtylyov			#address-cells = <1>;
396cbfa278eSSergei Shtylyov			#size-cells = <0>;
397cbfa278eSSergei Shtylyov			status = "disabled";
398cbfa278eSSergei Shtylyov		};
399cbfa278eSSergei Shtylyov
400cbfa278eSSergei Shtylyov		i2c3: i2c@e66d0000 {
401cbfa278eSSergei Shtylyov			compatible = "renesas,i2c-r8a77970",
402cbfa278eSSergei Shtylyov				     "renesas,rcar-gen3-i2c";
403cbfa278eSSergei Shtylyov			reg = <0 0xe66d0000 0 0x40>;
404cbfa278eSSergei Shtylyov			interrupts = <GIC_SPI 290 IRQ_TYPE_LEVEL_HIGH>;
405cbfa278eSSergei Shtylyov			clocks = <&cpg CPG_MOD 928>;
406cbfa278eSSergei Shtylyov			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
407cbfa278eSSergei Shtylyov			resets = <&cpg 928>;
408cbfa278eSSergei Shtylyov			dmas = <&dmac1 0x97>, <&dmac1 0x96>,
409cbfa278eSSergei Shtylyov			       <&dmac2 0x97>, <&dmac2 0x96>;
410cbfa278eSSergei Shtylyov			dma-names = "tx", "rx", "tx", "rx";
411cbfa278eSSergei Shtylyov			i2c-scl-internal-delay-ns = <6>;
412cbfa278eSSergei Shtylyov			#address-cells = <1>;
413cbfa278eSSergei Shtylyov			#size-cells = <0>;
414cbfa278eSSergei Shtylyov			status = "disabled";
415cbfa278eSSergei Shtylyov		};
416cbfa278eSSergei Shtylyov
417cbfa278eSSergei Shtylyov		i2c4: i2c@e66d8000 {
418cbfa278eSSergei Shtylyov			compatible = "renesas,i2c-r8a77970",
419cbfa278eSSergei Shtylyov				     "renesas,rcar-gen3-i2c";
420cbfa278eSSergei Shtylyov			reg = <0 0xe66d8000 0 0x40>;
421cbfa278eSSergei Shtylyov			interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>;
422cbfa278eSSergei Shtylyov			clocks = <&cpg CPG_MOD 927>;
423cbfa278eSSergei Shtylyov			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
424cbfa278eSSergei Shtylyov			resets = <&cpg 927>;
425cbfa278eSSergei Shtylyov			dmas = <&dmac1 0x99>, <&dmac1 0x98>,
426cbfa278eSSergei Shtylyov			       <&dmac2 0x99>, <&dmac2 0x98>;
427cbfa278eSSergei Shtylyov			dma-names = "tx", "rx", "tx", "rx";
428cbfa278eSSergei Shtylyov			i2c-scl-internal-delay-ns = <6>;
429cbfa278eSSergei Shtylyov			#address-cells = <1>;
430cbfa278eSSergei Shtylyov			#size-cells = <0>;
431cbfa278eSSergei Shtylyov			status = "disabled";
432cbfa278eSSergei Shtylyov		};
433cbfa278eSSergei Shtylyov
43438dbb6fcSSergei Shtylyov		hscif0: serial@e6540000 {
43538dbb6fcSSergei Shtylyov			compatible = "renesas,hscif-r8a77970",
43638dbb6fcSSergei Shtylyov				     "renesas,rcar-gen3-hscif",
43738dbb6fcSSergei Shtylyov				     "renesas,hscif";
43838dbb6fcSSergei Shtylyov			reg = <0 0xe6540000 0 96>;
43938dbb6fcSSergei Shtylyov			interrupts = <GIC_SPI 154 IRQ_TYPE_LEVEL_HIGH>;
44038dbb6fcSSergei Shtylyov			clocks = <&cpg CPG_MOD 520>,
441e221dab0SSergei Shtylyov				 <&cpg CPG_CORE R8A77970_CLK_S2D1>,
44238dbb6fcSSergei Shtylyov				 <&scif_clk>;
44338dbb6fcSSergei Shtylyov			clock-names = "fck", "brg_int", "scif_clk";
44438dbb6fcSSergei Shtylyov			dmas = <&dmac1 0x31>, <&dmac1 0x30>,
44538dbb6fcSSergei Shtylyov			       <&dmac2 0x31>, <&dmac2 0x30>;
44638dbb6fcSSergei Shtylyov			dma-names = "tx", "rx", "tx", "rx";
4478aba250dSSergei Shtylyov			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
44838dbb6fcSSergei Shtylyov			resets = <&cpg 520>;
44938dbb6fcSSergei Shtylyov			status = "disabled";
45038dbb6fcSSergei Shtylyov		};
45138dbb6fcSSergei Shtylyov
45238dbb6fcSSergei Shtylyov		hscif1: serial@e6550000 {
45338dbb6fcSSergei Shtylyov			compatible = "renesas,hscif-r8a77970",
45438dbb6fcSSergei Shtylyov				     "renesas,rcar-gen3-hscif",
45538dbb6fcSSergei Shtylyov				     "renesas,hscif";
45638dbb6fcSSergei Shtylyov			reg = <0 0xe6550000 0 96>;
45738dbb6fcSSergei Shtylyov			interrupts = <GIC_SPI 155 IRQ_TYPE_LEVEL_HIGH>;
45838dbb6fcSSergei Shtylyov			clocks = <&cpg CPG_MOD 519>,
459e221dab0SSergei Shtylyov				 <&cpg CPG_CORE R8A77970_CLK_S2D1>,
46038dbb6fcSSergei Shtylyov				 <&scif_clk>;
46138dbb6fcSSergei Shtylyov			clock-names = "fck", "brg_int", "scif_clk";
46238dbb6fcSSergei Shtylyov			dmas = <&dmac1 0x33>, <&dmac1 0x32>,
46338dbb6fcSSergei Shtylyov			       <&dmac2 0x33>, <&dmac2 0x32>;
46438dbb6fcSSergei Shtylyov			dma-names = "tx", "rx", "tx", "rx";
4658aba250dSSergei Shtylyov			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
46638dbb6fcSSergei Shtylyov			resets = <&cpg 519>;
46738dbb6fcSSergei Shtylyov			status = "disabled";
46838dbb6fcSSergei Shtylyov		};
46938dbb6fcSSergei Shtylyov
47038dbb6fcSSergei Shtylyov		hscif2: serial@e6560000 {
47138dbb6fcSSergei Shtylyov			compatible = "renesas,hscif-r8a77970",
47238dbb6fcSSergei Shtylyov				     "renesas,rcar-gen3-hscif",
47338dbb6fcSSergei Shtylyov				     "renesas,hscif";
47438dbb6fcSSergei Shtylyov			reg = <0 0xe6560000 0 96>;
47538dbb6fcSSergei Shtylyov			interrupts = <GIC_SPI 144 IRQ_TYPE_LEVEL_HIGH>;
47638dbb6fcSSergei Shtylyov			clocks = <&cpg CPG_MOD 518>,
477e221dab0SSergei Shtylyov				 <&cpg CPG_CORE R8A77970_CLK_S2D1>,
47838dbb6fcSSergei Shtylyov				 <&scif_clk>;
47938dbb6fcSSergei Shtylyov			clock-names = "fck", "brg_int", "scif_clk";
48038dbb6fcSSergei Shtylyov			dmas = <&dmac1 0x35>, <&dmac1 0x34>,
48138dbb6fcSSergei Shtylyov			       <&dmac2 0x35>, <&dmac2 0x34>;
48238dbb6fcSSergei Shtylyov			dma-names = "tx", "rx", "tx", "rx";
4838aba250dSSergei Shtylyov			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
48438dbb6fcSSergei Shtylyov			resets = <&cpg 518>;
48538dbb6fcSSergei Shtylyov			status = "disabled";
48638dbb6fcSSergei Shtylyov		};
48738dbb6fcSSergei Shtylyov
48838dbb6fcSSergei Shtylyov		hscif3: serial@e66a0000 {
48938dbb6fcSSergei Shtylyov			compatible = "renesas,hscif-r8a77970",
49038dbb6fcSSergei Shtylyov				     "renesas,rcar-gen3-hscif", "renesas,hscif";
49138dbb6fcSSergei Shtylyov			reg = <0 0xe66a0000 0 96>;
49238dbb6fcSSergei Shtylyov			interrupts = <GIC_SPI 145 IRQ_TYPE_LEVEL_HIGH>;
49338dbb6fcSSergei Shtylyov			clocks = <&cpg CPG_MOD 517>,
494e221dab0SSergei Shtylyov				 <&cpg CPG_CORE R8A77970_CLK_S2D1>,
49538dbb6fcSSergei Shtylyov				 <&scif_clk>;
49638dbb6fcSSergei Shtylyov			clock-names = "fck", "brg_int", "scif_clk";
49738dbb6fcSSergei Shtylyov			dmas = <&dmac1 0x37>, <&dmac1 0x36>,
49838dbb6fcSSergei Shtylyov			       <&dmac2 0x37>, <&dmac2 0x36>;
49938dbb6fcSSergei Shtylyov			dma-names = "tx", "rx", "tx", "rx";
5008aba250dSSergei Shtylyov			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
50138dbb6fcSSergei Shtylyov			resets = <&cpg 517>;
50238dbb6fcSSergei Shtylyov			status = "disabled";
50338dbb6fcSSergei Shtylyov		};
50438dbb6fcSSergei Shtylyov
50538dbb6fcSSergei Shtylyov		scif0: serial@e6e60000 {
50638dbb6fcSSergei Shtylyov			compatible = "renesas,scif-r8a77970",
50738dbb6fcSSergei Shtylyov				     "renesas,rcar-gen3-scif",
50838dbb6fcSSergei Shtylyov				     "renesas,scif";
50938dbb6fcSSergei Shtylyov			reg = <0 0xe6e60000 0 64>;
51038dbb6fcSSergei Shtylyov			interrupts = <GIC_SPI 152 IRQ_TYPE_LEVEL_HIGH>;
51138dbb6fcSSergei Shtylyov			clocks = <&cpg CPG_MOD 207>,
512e221dab0SSergei Shtylyov				 <&cpg CPG_CORE R8A77970_CLK_S2D1>,
51338dbb6fcSSergei Shtylyov				 <&scif_clk>;
51438dbb6fcSSergei Shtylyov			clock-names = "fck", "brg_int", "scif_clk";
51538dbb6fcSSergei Shtylyov			dmas = <&dmac1 0x51>, <&dmac1 0x50>,
51638dbb6fcSSergei Shtylyov			       <&dmac2 0x51>, <&dmac2 0x50>;
51738dbb6fcSSergei Shtylyov			dma-names = "tx", "rx", "tx", "rx";
5188aba250dSSergei Shtylyov			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
51938dbb6fcSSergei Shtylyov			resets = <&cpg 207>;
52038dbb6fcSSergei Shtylyov			status = "disabled";
52138dbb6fcSSergei Shtylyov		};
52238dbb6fcSSergei Shtylyov
52338dbb6fcSSergei Shtylyov		scif1: serial@e6e68000 {
52438dbb6fcSSergei Shtylyov			compatible = "renesas,scif-r8a77970",
52538dbb6fcSSergei Shtylyov				     "renesas,rcar-gen3-scif",
52638dbb6fcSSergei Shtylyov				     "renesas,scif";
52738dbb6fcSSergei Shtylyov			reg = <0 0xe6e68000 0 64>;
52838dbb6fcSSergei Shtylyov			interrupts = <GIC_SPI 153 IRQ_TYPE_LEVEL_HIGH>;
52938dbb6fcSSergei Shtylyov			clocks = <&cpg CPG_MOD 206>,
530e221dab0SSergei Shtylyov				 <&cpg CPG_CORE R8A77970_CLK_S2D1>,
53138dbb6fcSSergei Shtylyov				 <&scif_clk>;
53238dbb6fcSSergei Shtylyov			clock-names = "fck", "brg_int", "scif_clk";
53338dbb6fcSSergei Shtylyov			dmas = <&dmac1 0x53>, <&dmac1 0x52>,
53438dbb6fcSSergei Shtylyov			       <&dmac2 0x53>, <&dmac2 0x52>;
53538dbb6fcSSergei Shtylyov			dma-names = "tx", "rx", "tx", "rx";
5368aba250dSSergei Shtylyov			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
53738dbb6fcSSergei Shtylyov			resets = <&cpg 206>;
53838dbb6fcSSergei Shtylyov			status = "disabled";
53938dbb6fcSSergei Shtylyov		};
54038dbb6fcSSergei Shtylyov
54138dbb6fcSSergei Shtylyov		scif3: serial@e6c50000 {
54238dbb6fcSSergei Shtylyov			compatible = "renesas,scif-r8a77970",
54338dbb6fcSSergei Shtylyov				     "renesas,rcar-gen3-scif",
54438dbb6fcSSergei Shtylyov				     "renesas,scif";
54538dbb6fcSSergei Shtylyov			reg = <0 0xe6c50000 0 64>;
54638dbb6fcSSergei Shtylyov			interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>;
54738dbb6fcSSergei Shtylyov			clocks = <&cpg CPG_MOD 204>,
548e221dab0SSergei Shtylyov				 <&cpg CPG_CORE R8A77970_CLK_S2D1>,
54938dbb6fcSSergei Shtylyov				 <&scif_clk>;
55038dbb6fcSSergei Shtylyov			clock-names = "fck", "brg_int", "scif_clk";
55138dbb6fcSSergei Shtylyov			dmas = <&dmac1 0x57>, <&dmac1 0x56>,
55238dbb6fcSSergei Shtylyov			       <&dmac2 0x57>, <&dmac2 0x56>;
55338dbb6fcSSergei Shtylyov			dma-names = "tx", "rx", "tx", "rx";
5548aba250dSSergei Shtylyov			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
55538dbb6fcSSergei Shtylyov			resets = <&cpg 204>;
55638dbb6fcSSergei Shtylyov			status = "disabled";
55738dbb6fcSSergei Shtylyov		};
55838dbb6fcSSergei Shtylyov
55938dbb6fcSSergei Shtylyov		scif4: serial@e6c40000 {
56038dbb6fcSSergei Shtylyov			compatible = "renesas,scif-r8a77970",
56138dbb6fcSSergei Shtylyov				     "renesas,rcar-gen3-scif", "renesas,scif";
56238dbb6fcSSergei Shtylyov			reg = <0 0xe6c40000 0 64>;
56338dbb6fcSSergei Shtylyov			interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>;
56438dbb6fcSSergei Shtylyov			clocks = <&cpg CPG_MOD 203>,
565e221dab0SSergei Shtylyov				 <&cpg CPG_CORE R8A77970_CLK_S2D1>,
56638dbb6fcSSergei Shtylyov				 <&scif_clk>;
56738dbb6fcSSergei Shtylyov			clock-names = "fck", "brg_int", "scif_clk";
56838dbb6fcSSergei Shtylyov			dmas = <&dmac1 0x59>, <&dmac1 0x58>,
56938dbb6fcSSergei Shtylyov			       <&dmac2 0x59>, <&dmac2 0x58>;
57038dbb6fcSSergei Shtylyov			dma-names = "tx", "rx", "tx", "rx";
5718aba250dSSergei Shtylyov			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
57238dbb6fcSSergei Shtylyov			resets = <&cpg 203>;
57338dbb6fcSSergei Shtylyov			status = "disabled";
57438dbb6fcSSergei Shtylyov		};
575bea2ab13SSergei Shtylyov
576bea2ab13SSergei Shtylyov		avb: ethernet@e6800000 {
577bea2ab13SSergei Shtylyov			compatible = "renesas,etheravb-r8a77970",
578bea2ab13SSergei Shtylyov				     "renesas,etheravb-rcar-gen3";
579d0d2ad1fSGeert Uytterhoeven			reg = <0 0xe6800000 0 0x800>;
580bea2ab13SSergei Shtylyov			interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>,
581bea2ab13SSergei Shtylyov				     <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>,
582bea2ab13SSergei Shtylyov				     <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>,
583bea2ab13SSergei Shtylyov				     <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>,
584bea2ab13SSergei Shtylyov				     <GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>,
585bea2ab13SSergei Shtylyov				     <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>,
586bea2ab13SSergei Shtylyov				     <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>,
587bea2ab13SSergei Shtylyov				     <GIC_SPI 46 IRQ_TYPE_LEVEL_HIGH>,
588bea2ab13SSergei Shtylyov				     <GIC_SPI 47 IRQ_TYPE_LEVEL_HIGH>,
589bea2ab13SSergei Shtylyov				     <GIC_SPI 48 IRQ_TYPE_LEVEL_HIGH>,
590bea2ab13SSergei Shtylyov				     <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>,
591bea2ab13SSergei Shtylyov				     <GIC_SPI 50 IRQ_TYPE_LEVEL_HIGH>,
592bea2ab13SSergei Shtylyov				     <GIC_SPI 51 IRQ_TYPE_LEVEL_HIGH>,
593bea2ab13SSergei Shtylyov				     <GIC_SPI 52 IRQ_TYPE_LEVEL_HIGH>,
594bea2ab13SSergei Shtylyov				     <GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH>,
595bea2ab13SSergei Shtylyov				     <GIC_SPI 54 IRQ_TYPE_LEVEL_HIGH>,
596bea2ab13SSergei Shtylyov				     <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>,
597bea2ab13SSergei Shtylyov				     <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>,
598bea2ab13SSergei Shtylyov				     <GIC_SPI 57 IRQ_TYPE_LEVEL_HIGH>,
599bea2ab13SSergei Shtylyov				     <GIC_SPI 58 IRQ_TYPE_LEVEL_HIGH>,
600bea2ab13SSergei Shtylyov				     <GIC_SPI 59 IRQ_TYPE_LEVEL_HIGH>,
601bea2ab13SSergei Shtylyov				     <GIC_SPI 60 IRQ_TYPE_LEVEL_HIGH>,
602bea2ab13SSergei Shtylyov				     <GIC_SPI 61 IRQ_TYPE_LEVEL_HIGH>,
603bea2ab13SSergei Shtylyov				     <GIC_SPI 62 IRQ_TYPE_LEVEL_HIGH>,
604bea2ab13SSergei Shtylyov				     <GIC_SPI 63 IRQ_TYPE_LEVEL_HIGH>;
605bea2ab13SSergei Shtylyov			interrupt-names = "ch0", "ch1", "ch2", "ch3",
606bea2ab13SSergei Shtylyov					  "ch4", "ch5", "ch6", "ch7",
607bea2ab13SSergei Shtylyov					  "ch8", "ch9", "ch10", "ch11",
608bea2ab13SSergei Shtylyov					  "ch12", "ch13", "ch14", "ch15",
609bea2ab13SSergei Shtylyov					  "ch16", "ch17", "ch18", "ch19",
610bea2ab13SSergei Shtylyov					  "ch20", "ch21", "ch22", "ch23",
611bea2ab13SSergei Shtylyov					  "ch24";
612bea2ab13SSergei Shtylyov			clocks = <&cpg CPG_MOD 812>;
6138aba250dSSergei Shtylyov			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
614bea2ab13SSergei Shtylyov			resets = <&cpg 812>;
61595c969d1SJacopo Mondi			phy-mode = "rgmii";
6160639be57SSimon Horman			iommus = <&ipmmu_rt 3>;
617bea2ab13SSergei Shtylyov			#address-cells = <1>;
618bea2ab13SSergei Shtylyov			#size-cells = <0>;
619bea2ab13SSergei Shtylyov		};
620faa5c317SSergei Shtylyov
621faa5c317SSergei Shtylyov		fcpvd0: fcp@fea27000 {
622faa5c317SSergei Shtylyov			compatible = "renesas,fcpv";
623faa5c317SSergei Shtylyov			reg = <0 0xfea27000 0 0x200>;
624faa5c317SSergei Shtylyov			clocks = <&cpg CPG_MOD 603>;
625faa5c317SSergei Shtylyov			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
626faa5c317SSergei Shtylyov			resets = <&cpg 603>;
627faa5c317SSergei Shtylyov		};
628b4f92030SSergei Shtylyov
629b4f92030SSergei Shtylyov		vspd0: vsp@fea20000 {
630b4f92030SSergei Shtylyov			compatible = "renesas,vsp2";
631b4f92030SSergei Shtylyov			reg = <0 0xfea20000 0 0x8000>;
632b4f92030SSergei Shtylyov			interrupts = <GIC_SPI 169 IRQ_TYPE_LEVEL_HIGH>;
633b4f92030SSergei Shtylyov			clocks = <&cpg CPG_MOD 623>;
634b4f92030SSergei Shtylyov			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
635b4f92030SSergei Shtylyov			resets = <&cpg 623>;
636b4f92030SSergei Shtylyov			renesas,fcp = <&fcpvd0>;
637b4f92030SSergei Shtylyov		};
638f66598b9SSergei Shtylyov
639f66598b9SSergei Shtylyov		du: display@feb00000 {
640f66598b9SSergei Shtylyov			compatible = "renesas,du-r8a77970";
641f66598b9SSergei Shtylyov			reg = <0 0xfeb00000 0 0x80000>;
642f66598b9SSergei Shtylyov			interrupts = <GIC_SPI 256 IRQ_TYPE_LEVEL_HIGH>;
643f66598b9SSergei Shtylyov			clocks = <&cpg CPG_MOD 724>;
644f66598b9SSergei Shtylyov			clock-names = "du.0";
645f66598b9SSergei Shtylyov			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
646f66598b9SSergei Shtylyov			resets = <&cpg 724>;
647f66598b9SSergei Shtylyov			vsps = <&vspd0>;
648f66598b9SSergei Shtylyov			status = "disabled";
649f66598b9SSergei Shtylyov
650f66598b9SSergei Shtylyov			ports {
651f66598b9SSergei Shtylyov				#address-cells = <1>;
652f66598b9SSergei Shtylyov				#size-cells = <0>;
653f66598b9SSergei Shtylyov
654f66598b9SSergei Shtylyov				port@0 {
655f66598b9SSergei Shtylyov					reg = <0>;
656f66598b9SSergei Shtylyov					du_out_rgb: endpoint {
657f66598b9SSergei Shtylyov					};
658f66598b9SSergei Shtylyov				};
659f66598b9SSergei Shtylyov
660f66598b9SSergei Shtylyov				port@1 {
661f66598b9SSergei Shtylyov					reg = <1>;
662f66598b9SSergei Shtylyov					du_out_lvds0: endpoint {
663*3cd0bd7dSSergei Shtylyov						remote-endpoint = <&lvds0_in>;
664*3cd0bd7dSSergei Shtylyov					};
665*3cd0bd7dSSergei Shtylyov				};
666*3cd0bd7dSSergei Shtylyov			};
667*3cd0bd7dSSergei Shtylyov		};
668*3cd0bd7dSSergei Shtylyov
669*3cd0bd7dSSergei Shtylyov		lvds0: lvds-encoder@feb90000 {
670*3cd0bd7dSSergei Shtylyov			compatible = "renesas,r8a77970-lvds";
671*3cd0bd7dSSergei Shtylyov			reg = <0 0xfeb90000 0 0x14>;
672*3cd0bd7dSSergei Shtylyov			clocks = <&cpg CPG_MOD 727>;
673*3cd0bd7dSSergei Shtylyov			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
674*3cd0bd7dSSergei Shtylyov			resets = <&cpg 727>;
675*3cd0bd7dSSergei Shtylyov			status = "disabled";
676*3cd0bd7dSSergei Shtylyov
677*3cd0bd7dSSergei Shtylyov			ports {
678*3cd0bd7dSSergei Shtylyov				#address-cells = <1>;
679*3cd0bd7dSSergei Shtylyov				#size-cells = <0>;
680*3cd0bd7dSSergei Shtylyov
681*3cd0bd7dSSergei Shtylyov				port@0 {
682*3cd0bd7dSSergei Shtylyov					reg = <0>;
683*3cd0bd7dSSergei Shtylyov					lvds0_in: endpoint {
684*3cd0bd7dSSergei Shtylyov						remote-endpoint =
685*3cd0bd7dSSergei Shtylyov							<&du_out_lvds0>;
686*3cd0bd7dSSergei Shtylyov					};
687*3cd0bd7dSSergei Shtylyov				};
688*3cd0bd7dSSergei Shtylyov				port@1 {
689*3cd0bd7dSSergei Shtylyov					reg = <1>;
690*3cd0bd7dSSergei Shtylyov					lvds0_out: endpoint {
691f66598b9SSergei Shtylyov					};
692f66598b9SSergei Shtylyov				};
693f66598b9SSergei Shtylyov			};
694f66598b9SSergei Shtylyov		};
69541f4345aSSergei Shtylyov	};
6967569d1eeSSimon Horman
6977569d1eeSSimon Horman	timer {
6987569d1eeSSimon Horman		compatible = "arm,armv8-timer";
6997569d1eeSSimon Horman		interrupts-extended = <&gic GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(1) | IRQ_TYPE_LEVEL_LOW)>,
7007569d1eeSSimon Horman				      <&gic GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(1) | IRQ_TYPE_LEVEL_LOW)>,
7017569d1eeSSimon Horman				      <&gic GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(1) | IRQ_TYPE_LEVEL_LOW)>,
7027569d1eeSSimon Horman				      <&gic GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(1) | IRQ_TYPE_LEVEL_LOW)>;
7037569d1eeSSimon Horman	};
70441f4345aSSergei Shtylyov};
705