xref: /linux/arch/arm64/boot/dts/renesas/r8a77970.dtsi (revision 18281dec2ba086b93bee2dd5f9ee0e3633d25a8d)
1cba59c25SWolfram Sang// SPDX-License-Identifier: GPL-2.0
241f4345aSSergei Shtylyov/*
3e18a31a7SMagnus Damm * Device Tree Source for the R-Car V3M (R8A77970) SoC
441f4345aSSergei Shtylyov *
541f4345aSSergei Shtylyov * Copyright (C) 2016-2017 Renesas Electronics Corp.
641f4345aSSergei Shtylyov * Copyright (C) 2017 Cogent Embedded, Inc.
741f4345aSSergei Shtylyov */
841f4345aSSergei Shtylyov
9e221dab0SSergei Shtylyov#include <dt-bindings/clock/r8a77970-cpg-mssr.h>
10830241c1SSimon Horman#include <dt-bindings/interrupt-controller/arm-gic.h>
11830241c1SSimon Horman#include <dt-bindings/interrupt-controller/irq.h>
12ce3b52a1SSimon Horman#include <dt-bindings/power/r8a77970-sysc.h>
1341f4345aSSergei Shtylyov
1441f4345aSSergei Shtylyov/ {
1541f4345aSSergei Shtylyov	compatible = "renesas,r8a77970";
1641f4345aSSergei Shtylyov	#address-cells = <2>;
1741f4345aSSergei Shtylyov	#size-cells = <2>;
1841f4345aSSergei Shtylyov
19cbfa278eSSergei Shtylyov	aliases {
20cbfa278eSSergei Shtylyov		i2c0 = &i2c0;
21cbfa278eSSergei Shtylyov		i2c1 = &i2c1;
22cbfa278eSSergei Shtylyov		i2c2 = &i2c2;
23cbfa278eSSergei Shtylyov		i2c3 = &i2c3;
24cbfa278eSSergei Shtylyov		i2c4 = &i2c4;
25cbfa278eSSergei Shtylyov	};
26cbfa278eSSergei Shtylyov
27*18281decSSergei Shtylyov	/* External CAN clock - to be overridden by boards that provide it */
28*18281decSSergei Shtylyov	can_clk: can {
29*18281decSSergei Shtylyov		compatible = "fixed-clock";
30*18281decSSergei Shtylyov		#clock-cells = <0>;
31*18281decSSergei Shtylyov		clock-frequency = <0>;
32*18281decSSergei Shtylyov	};
33*18281decSSergei Shtylyov
3441f4345aSSergei Shtylyov	cpus {
3541f4345aSSergei Shtylyov		#address-cells = <1>;
3641f4345aSSergei Shtylyov		#size-cells = <0>;
3741f4345aSSergei Shtylyov
3841f4345aSSergei Shtylyov		a53_0: cpu@0 {
3941f4345aSSergei Shtylyov			device_type = "cpu";
4041f4345aSSergei Shtylyov			compatible = "arm,cortex-a53", "arm,armv8";
4141f4345aSSergei Shtylyov			reg = <0>;
42e221dab0SSergei Shtylyov			clocks = <&cpg CPG_CORE R8A77970_CLK_Z2>;
438aba250dSSergei Shtylyov			power-domains = <&sysc R8A77970_PD_CA53_CPU0>;
4441f4345aSSergei Shtylyov			next-level-cache = <&L2_CA53>;
4541f4345aSSergei Shtylyov			enable-method = "psci";
4641f4345aSSergei Shtylyov		};
4741f4345aSSergei Shtylyov
4877899dd2SGeert Uytterhoeven		a53_1: cpu@1 {
4977899dd2SGeert Uytterhoeven			device_type = "cpu";
5077899dd2SGeert Uytterhoeven			compatible = "arm,cortex-a53", "arm,armv8";
5177899dd2SGeert Uytterhoeven			reg = <1>;
5277899dd2SGeert Uytterhoeven			clocks = <&cpg CPG_CORE R8A77970_CLK_Z2>;
5377899dd2SGeert Uytterhoeven			power-domains = <&sysc R8A77970_PD_CA53_CPU1>;
5477899dd2SGeert Uytterhoeven			next-level-cache = <&L2_CA53>;
5577899dd2SGeert Uytterhoeven			enable-method = "psci";
5677899dd2SGeert Uytterhoeven		};
5777899dd2SGeert Uytterhoeven
5841f4345aSSergei Shtylyov		L2_CA53: cache-controller {
5941f4345aSSergei Shtylyov			compatible = "cache";
608aba250dSSergei Shtylyov			power-domains = <&sysc R8A77970_PD_CA53_SCU>;
6141f4345aSSergei Shtylyov			cache-unified;
6241f4345aSSergei Shtylyov			cache-level = <2>;
6341f4345aSSergei Shtylyov		};
6441f4345aSSergei Shtylyov	};
6541f4345aSSergei Shtylyov
6641f4345aSSergei Shtylyov	extal_clk: extal {
6741f4345aSSergei Shtylyov		compatible = "fixed-clock";
6841f4345aSSergei Shtylyov		#clock-cells = <0>;
6941f4345aSSergei Shtylyov		/* This value must be overridden by the board */
7041f4345aSSergei Shtylyov		clock-frequency = <0>;
7141f4345aSSergei Shtylyov	};
7241f4345aSSergei Shtylyov
7341f4345aSSergei Shtylyov	extalr_clk: extalr {
7441f4345aSSergei Shtylyov		compatible = "fixed-clock";
7541f4345aSSergei Shtylyov		#clock-cells = <0>;
7641f4345aSSergei Shtylyov		/* This value must be overridden by the board */
7741f4345aSSergei Shtylyov		clock-frequency = <0>;
7841f4345aSSergei Shtylyov	};
7941f4345aSSergei Shtylyov
80d005b562SGeert Uytterhoeven	pmu_a53 {
81d005b562SGeert Uytterhoeven		compatible = "arm,cortex-a53-pmu";
82d005b562SGeert Uytterhoeven		interrupts-extended = <&gic GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>,
83d005b562SGeert Uytterhoeven				      <&gic GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>;
84d005b562SGeert Uytterhoeven		interrupt-affinity = <&a53_0>, <&a53_1>;
85d005b562SGeert Uytterhoeven	};
86d005b562SGeert Uytterhoeven
87c7a99343SGeert Uytterhoeven	psci {
88c7a99343SGeert Uytterhoeven		compatible = "arm,psci-1.0", "arm,psci-0.2";
89c7a99343SGeert Uytterhoeven		method = "smc";
90c7a99343SGeert Uytterhoeven	};
91c7a99343SGeert Uytterhoeven
9238dbb6fcSSergei Shtylyov	/* External SCIF clock - to be overridden by boards that provide it */
9338dbb6fcSSergei Shtylyov	scif_clk: scif {
9438dbb6fcSSergei Shtylyov		compatible = "fixed-clock";
9538dbb6fcSSergei Shtylyov		#clock-cells = <0>;
9638dbb6fcSSergei Shtylyov		clock-frequency = <0>;
9738dbb6fcSSergei Shtylyov	};
9838dbb6fcSSergei Shtylyov
9941f4345aSSergei Shtylyov	soc {
10041f4345aSSergei Shtylyov		compatible = "simple-bus";
10141f4345aSSergei Shtylyov		interrupt-parent = <&gic>;
10241f4345aSSergei Shtylyov
10341f4345aSSergei Shtylyov		#address-cells = <2>;
10441f4345aSSergei Shtylyov		#size-cells = <2>;
10541f4345aSSergei Shtylyov		ranges;
10641f4345aSSergei Shtylyov
107206d082eSGeert Uytterhoeven		rwdt: watchdog@e6020000 {
108206d082eSGeert Uytterhoeven			compatible = "renesas,r8a77970-wdt",
109206d082eSGeert Uytterhoeven				     "renesas,rcar-gen3-wdt";
110206d082eSGeert Uytterhoeven			reg = <0 0xe6020000 0 0x0c>;
111206d082eSGeert Uytterhoeven			clocks = <&cpg CPG_MOD 402>;
1128aba250dSSergei Shtylyov			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
113206d082eSGeert Uytterhoeven			resets = <&cpg 402>;
114206d082eSGeert Uytterhoeven			status = "disabled";
115206d082eSGeert Uytterhoeven		};
116206d082eSGeert Uytterhoeven
1179618b2cbSSergei Shtylyov		gpio0: gpio@e6050000 {
1189618b2cbSSergei Shtylyov			compatible = "renesas,gpio-r8a77970",
1199618b2cbSSergei Shtylyov				     "renesas,rcar-gen3-gpio";
1209618b2cbSSergei Shtylyov			reg = <0 0xe6050000 0 0x50>;
1219618b2cbSSergei Shtylyov			interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;
1229618b2cbSSergei Shtylyov			#gpio-cells = <2>;
1239618b2cbSSergei Shtylyov			gpio-controller;
1249618b2cbSSergei Shtylyov			gpio-ranges = <&pfc 0 0 22>;
1259618b2cbSSergei Shtylyov			#interrupt-cells = <2>;
1269618b2cbSSergei Shtylyov			interrupt-controller;
1279618b2cbSSergei Shtylyov			clocks = <&cpg CPG_MOD 912>;
1289618b2cbSSergei Shtylyov			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
1299618b2cbSSergei Shtylyov			resets = <&cpg 912>;
1309618b2cbSSergei Shtylyov		};
1319618b2cbSSergei Shtylyov
1329618b2cbSSergei Shtylyov		gpio1: gpio@e6051000 {
1339618b2cbSSergei Shtylyov			compatible = "renesas,gpio-r8a77970",
1349618b2cbSSergei Shtylyov				     "renesas,rcar-gen3-gpio";
1359618b2cbSSergei Shtylyov			reg = <0 0xe6051000 0 0x50>;
1369618b2cbSSergei Shtylyov			interrupts = <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>;
1379618b2cbSSergei Shtylyov			#gpio-cells = <2>;
1389618b2cbSSergei Shtylyov			gpio-controller;
1399618b2cbSSergei Shtylyov			gpio-ranges = <&pfc 0 32 28>;
1409618b2cbSSergei Shtylyov			#interrupt-cells = <2>;
1419618b2cbSSergei Shtylyov			interrupt-controller;
1429618b2cbSSergei Shtylyov			clocks = <&cpg CPG_MOD 911>;
1439618b2cbSSergei Shtylyov			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
1449618b2cbSSergei Shtylyov			resets = <&cpg 911>;
1459618b2cbSSergei Shtylyov		};
1469618b2cbSSergei Shtylyov
1479618b2cbSSergei Shtylyov		gpio2: gpio@e6052000 {
1489618b2cbSSergei Shtylyov			compatible = "renesas,gpio-r8a77970",
1499618b2cbSSergei Shtylyov				     "renesas,rcar-gen3-gpio";
1509618b2cbSSergei Shtylyov			reg = <0 0xe6052000 0 0x50>;
1519618b2cbSSergei Shtylyov			interrupts = <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>;
1529618b2cbSSergei Shtylyov			#gpio-cells = <2>;
1539618b2cbSSergei Shtylyov			gpio-controller;
1549618b2cbSSergei Shtylyov			gpio-ranges = <&pfc 0 64 17>;
1559618b2cbSSergei Shtylyov			#interrupt-cells = <2>;
1569618b2cbSSergei Shtylyov			interrupt-controller;
1579618b2cbSSergei Shtylyov			clocks = <&cpg CPG_MOD 910>;
1589618b2cbSSergei Shtylyov			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
1599618b2cbSSergei Shtylyov			resets = <&cpg 910>;
1609618b2cbSSergei Shtylyov		};
1619618b2cbSSergei Shtylyov
1629618b2cbSSergei Shtylyov		gpio3: gpio@e6053000 {
1639618b2cbSSergei Shtylyov			compatible = "renesas,gpio-r8a77970",
1649618b2cbSSergei Shtylyov				     "renesas,rcar-gen3-gpio";
1659618b2cbSSergei Shtylyov			reg = <0 0xe6053000 0 0x50>;
1669618b2cbSSergei Shtylyov			interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>;
1679618b2cbSSergei Shtylyov			#gpio-cells = <2>;
1689618b2cbSSergei Shtylyov			gpio-controller;
1699618b2cbSSergei Shtylyov			gpio-ranges = <&pfc 0 96 17>;
1709618b2cbSSergei Shtylyov			#interrupt-cells = <2>;
1719618b2cbSSergei Shtylyov			interrupt-controller;
1729618b2cbSSergei Shtylyov			clocks = <&cpg CPG_MOD 909>;
1739618b2cbSSergei Shtylyov			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
1749618b2cbSSergei Shtylyov			resets = <&cpg 909>;
1759618b2cbSSergei Shtylyov		};
1769618b2cbSSergei Shtylyov
1779618b2cbSSergei Shtylyov		gpio4: gpio@e6054000 {
1789618b2cbSSergei Shtylyov			compatible = "renesas,gpio-r8a77970",
1799618b2cbSSergei Shtylyov				     "renesas,rcar-gen3-gpio";
1809618b2cbSSergei Shtylyov			reg = <0 0xe6054000 0 0x50>;
1819618b2cbSSergei Shtylyov			interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>;
1829618b2cbSSergei Shtylyov			#gpio-cells = <2>;
1839618b2cbSSergei Shtylyov			gpio-controller;
1849618b2cbSSergei Shtylyov			gpio-ranges = <&pfc 0 128 6>;
1859618b2cbSSergei Shtylyov			#interrupt-cells = <2>;
1869618b2cbSSergei Shtylyov			interrupt-controller;
1879618b2cbSSergei Shtylyov			clocks = <&cpg CPG_MOD 908>;
1889618b2cbSSergei Shtylyov			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
1899618b2cbSSergei Shtylyov			resets = <&cpg 908>;
1909618b2cbSSergei Shtylyov		};
1919618b2cbSSergei Shtylyov
1929618b2cbSSergei Shtylyov		gpio5: gpio@e6055000 {
1939618b2cbSSergei Shtylyov			compatible = "renesas,gpio-r8a77970",
1949618b2cbSSergei Shtylyov				     "renesas,rcar-gen3-gpio";
1959618b2cbSSergei Shtylyov			reg = <0 0xe6055000 0 0x50>;
1969618b2cbSSergei Shtylyov			interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>;
1979618b2cbSSergei Shtylyov			#gpio-cells = <2>;
1989618b2cbSSergei Shtylyov			gpio-controller;
1999618b2cbSSergei Shtylyov			gpio-ranges = <&pfc 0 160 15>;
2009618b2cbSSergei Shtylyov			#interrupt-cells = <2>;
2019618b2cbSSergei Shtylyov			interrupt-controller;
2029618b2cbSSergei Shtylyov			clocks = <&cpg CPG_MOD 907>;
2039618b2cbSSergei Shtylyov			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
2049618b2cbSSergei Shtylyov			resets = <&cpg 907>;
2059618b2cbSSergei Shtylyov		};
2069618b2cbSSergei Shtylyov
2072964d754SYoshihiro Kaneko		pfc: pin-controller@e6060000 {
2082964d754SYoshihiro Kaneko			compatible = "renesas,pfc-r8a77970";
2092964d754SYoshihiro Kaneko			reg = <0 0xe6060000 0 0x504>;
2102964d754SYoshihiro Kaneko		};
2112964d754SYoshihiro Kaneko
2122964d754SYoshihiro Kaneko		cpg: clock-controller@e6150000 {
2132964d754SYoshihiro Kaneko			compatible = "renesas,r8a77970-cpg-mssr";
2142964d754SYoshihiro Kaneko			reg = <0 0xe6150000 0 0x1000>;
2152964d754SYoshihiro Kaneko			clocks = <&extal_clk>, <&extalr_clk>;
2162964d754SYoshihiro Kaneko			clock-names = "extal", "extalr";
2172964d754SYoshihiro Kaneko			#clock-cells = <2>;
2182964d754SYoshihiro Kaneko			#power-domain-cells = <0>;
2192964d754SYoshihiro Kaneko			#reset-cells = <1>;
2202964d754SYoshihiro Kaneko		};
2212964d754SYoshihiro Kaneko
2222964d754SYoshihiro Kaneko		rst: reset-controller@e6160000 {
2232964d754SYoshihiro Kaneko			compatible = "renesas,r8a77970-rst";
2242964d754SYoshihiro Kaneko			reg = <0 0xe6160000 0 0x200>;
2252964d754SYoshihiro Kaneko		};
2262964d754SYoshihiro Kaneko
2272964d754SYoshihiro Kaneko		sysc: system-controller@e6180000 {
2282964d754SYoshihiro Kaneko			compatible = "renesas,r8a77970-sysc";
2292964d754SYoshihiro Kaneko			reg = <0 0xe6180000 0 0x440>;
2302964d754SYoshihiro Kaneko			#power-domain-cells = <1>;
2312964d754SYoshihiro Kaneko		};
2322964d754SYoshihiro Kaneko
233c6a7fd98SGeert Uytterhoeven		intc_ex: interrupt-controller@e61c0000 {
234c6a7fd98SGeert Uytterhoeven			compatible = "renesas,intc-ex-r8a77970", "renesas,irqc";
235c6a7fd98SGeert Uytterhoeven			#interrupt-cells = <2>;
236c6a7fd98SGeert Uytterhoeven			interrupt-controller;
237c6a7fd98SGeert Uytterhoeven			reg = <0 0xe61c0000 0 0x200>;
238c6a7fd98SGeert Uytterhoeven			interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH
239c6a7fd98SGeert Uytterhoeven				      GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH
240c6a7fd98SGeert Uytterhoeven				      GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH
241c6a7fd98SGeert Uytterhoeven				      GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH
242c6a7fd98SGeert Uytterhoeven				      GIC_SPI 18 IRQ_TYPE_LEVEL_HIGH
243c6a7fd98SGeert Uytterhoeven				      GIC_SPI 161 IRQ_TYPE_LEVEL_HIGH>;
244c6a7fd98SGeert Uytterhoeven			clocks = <&cpg CPG_MOD 407>;
2458aba250dSSergei Shtylyov			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
246c6a7fd98SGeert Uytterhoeven			resets = <&cpg 407>;
247c6a7fd98SGeert Uytterhoeven		};
248c6a7fd98SGeert Uytterhoeven
249cbfa278eSSergei Shtylyov		i2c0: i2c@e6500000 {
250cbfa278eSSergei Shtylyov			compatible = "renesas,i2c-r8a77970",
251cbfa278eSSergei Shtylyov				     "renesas,rcar-gen3-i2c";
252cbfa278eSSergei Shtylyov			reg = <0 0xe6500000 0 0x40>;
253cbfa278eSSergei Shtylyov			interrupts = <GIC_SPI 287 IRQ_TYPE_LEVEL_HIGH>;
254cbfa278eSSergei Shtylyov			clocks = <&cpg CPG_MOD 931>;
255cbfa278eSSergei Shtylyov			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
256cbfa278eSSergei Shtylyov			resets = <&cpg 931>;
257cbfa278eSSergei Shtylyov			dmas = <&dmac1 0x91>, <&dmac1 0x90>,
258cbfa278eSSergei Shtylyov			       <&dmac2 0x91>, <&dmac2 0x90>;
259cbfa278eSSergei Shtylyov			dma-names = "tx", "rx", "tx", "rx";
260cbfa278eSSergei Shtylyov			i2c-scl-internal-delay-ns = <6>;
261cbfa278eSSergei Shtylyov			#address-cells = <1>;
262cbfa278eSSergei Shtylyov			#size-cells = <0>;
263cbfa278eSSergei Shtylyov			status = "disabled";
264cbfa278eSSergei Shtylyov		};
265cbfa278eSSergei Shtylyov
266cbfa278eSSergei Shtylyov		i2c1: i2c@e6508000 {
267cbfa278eSSergei Shtylyov			compatible = "renesas,i2c-r8a77970",
268cbfa278eSSergei Shtylyov				     "renesas,rcar-gen3-i2c";
269cbfa278eSSergei Shtylyov			reg = <0 0xe6508000 0 0x40>;
270cbfa278eSSergei Shtylyov			interrupts = <GIC_SPI 288 IRQ_TYPE_LEVEL_HIGH>;
271cbfa278eSSergei Shtylyov			clocks = <&cpg CPG_MOD 930>;
272cbfa278eSSergei Shtylyov			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
273cbfa278eSSergei Shtylyov			resets = <&cpg 930>;
274cbfa278eSSergei Shtylyov			dmas = <&dmac1 0x93>, <&dmac1 0x92>,
275cbfa278eSSergei Shtylyov			       <&dmac2 0x93>, <&dmac2 0x92>;
276cbfa278eSSergei Shtylyov			dma-names = "tx", "rx", "tx", "rx";
277cbfa278eSSergei Shtylyov			i2c-scl-internal-delay-ns = <6>;
278cbfa278eSSergei Shtylyov			#address-cells = <1>;
279cbfa278eSSergei Shtylyov			#size-cells = <0>;
280cbfa278eSSergei Shtylyov			status = "disabled";
281cbfa278eSSergei Shtylyov		};
282cbfa278eSSergei Shtylyov
283cbfa278eSSergei Shtylyov		i2c2: i2c@e6510000 {
284cbfa278eSSergei Shtylyov			compatible = "renesas,i2c-r8a77970",
285cbfa278eSSergei Shtylyov				     "renesas,rcar-gen3-i2c";
286cbfa278eSSergei Shtylyov			reg = <0 0xe6510000 0 0x40>;
287cbfa278eSSergei Shtylyov			interrupts = <GIC_SPI 286 IRQ_TYPE_LEVEL_HIGH>;
288cbfa278eSSergei Shtylyov			clocks = <&cpg CPG_MOD 929>;
289cbfa278eSSergei Shtylyov			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
290cbfa278eSSergei Shtylyov			resets = <&cpg 929>;
291cbfa278eSSergei Shtylyov			dmas = <&dmac1 0x95>, <&dmac1 0x94>,
292cbfa278eSSergei Shtylyov			       <&dmac2 0x95>, <&dmac2 0x94>;
293cbfa278eSSergei Shtylyov			dma-names = "tx", "rx", "tx", "rx";
294cbfa278eSSergei Shtylyov			i2c-scl-internal-delay-ns = <6>;
295cbfa278eSSergei Shtylyov			#address-cells = <1>;
296cbfa278eSSergei Shtylyov			#size-cells = <0>;
297cbfa278eSSergei Shtylyov			status = "disabled";
298cbfa278eSSergei Shtylyov		};
299cbfa278eSSergei Shtylyov
300cbfa278eSSergei Shtylyov		i2c3: i2c@e66d0000 {
301cbfa278eSSergei Shtylyov			compatible = "renesas,i2c-r8a77970",
302cbfa278eSSergei Shtylyov				     "renesas,rcar-gen3-i2c";
303cbfa278eSSergei Shtylyov			reg = <0 0xe66d0000 0 0x40>;
304cbfa278eSSergei Shtylyov			interrupts = <GIC_SPI 290 IRQ_TYPE_LEVEL_HIGH>;
305cbfa278eSSergei Shtylyov			clocks = <&cpg CPG_MOD 928>;
306cbfa278eSSergei Shtylyov			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
307cbfa278eSSergei Shtylyov			resets = <&cpg 928>;
308cbfa278eSSergei Shtylyov			dmas = <&dmac1 0x97>, <&dmac1 0x96>,
309cbfa278eSSergei Shtylyov			       <&dmac2 0x97>, <&dmac2 0x96>;
310cbfa278eSSergei Shtylyov			dma-names = "tx", "rx", "tx", "rx";
311cbfa278eSSergei Shtylyov			i2c-scl-internal-delay-ns = <6>;
312cbfa278eSSergei Shtylyov			#address-cells = <1>;
313cbfa278eSSergei Shtylyov			#size-cells = <0>;
314cbfa278eSSergei Shtylyov			status = "disabled";
315cbfa278eSSergei Shtylyov		};
316cbfa278eSSergei Shtylyov
317cbfa278eSSergei Shtylyov		i2c4: i2c@e66d8000 {
318cbfa278eSSergei Shtylyov			compatible = "renesas,i2c-r8a77970",
319cbfa278eSSergei Shtylyov				     "renesas,rcar-gen3-i2c";
320cbfa278eSSergei Shtylyov			reg = <0 0xe66d8000 0 0x40>;
321cbfa278eSSergei Shtylyov			interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>;
322cbfa278eSSergei Shtylyov			clocks = <&cpg CPG_MOD 927>;
323cbfa278eSSergei Shtylyov			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
324cbfa278eSSergei Shtylyov			resets = <&cpg 927>;
325cbfa278eSSergei Shtylyov			dmas = <&dmac1 0x99>, <&dmac1 0x98>,
326cbfa278eSSergei Shtylyov			       <&dmac2 0x99>, <&dmac2 0x98>;
327cbfa278eSSergei Shtylyov			dma-names = "tx", "rx", "tx", "rx";
328cbfa278eSSergei Shtylyov			i2c-scl-internal-delay-ns = <6>;
329cbfa278eSSergei Shtylyov			#address-cells = <1>;
330cbfa278eSSergei Shtylyov			#size-cells = <0>;
331cbfa278eSSergei Shtylyov			status = "disabled";
332cbfa278eSSergei Shtylyov		};
333cbfa278eSSergei Shtylyov
33438dbb6fcSSergei Shtylyov		hscif0: serial@e6540000 {
33538dbb6fcSSergei Shtylyov			compatible = "renesas,hscif-r8a77970",
33638dbb6fcSSergei Shtylyov				     "renesas,rcar-gen3-hscif",
33738dbb6fcSSergei Shtylyov				     "renesas,hscif";
33838dbb6fcSSergei Shtylyov			reg = <0 0xe6540000 0 96>;
33938dbb6fcSSergei Shtylyov			interrupts = <GIC_SPI 154 IRQ_TYPE_LEVEL_HIGH>;
34038dbb6fcSSergei Shtylyov			clocks = <&cpg CPG_MOD 520>,
341e221dab0SSergei Shtylyov				 <&cpg CPG_CORE R8A77970_CLK_S2D1>,
34238dbb6fcSSergei Shtylyov				 <&scif_clk>;
34338dbb6fcSSergei Shtylyov			clock-names = "fck", "brg_int", "scif_clk";
34438dbb6fcSSergei Shtylyov			dmas = <&dmac1 0x31>, <&dmac1 0x30>,
34538dbb6fcSSergei Shtylyov			       <&dmac2 0x31>, <&dmac2 0x30>;
34638dbb6fcSSergei Shtylyov			dma-names = "tx", "rx", "tx", "rx";
3478aba250dSSergei Shtylyov			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
34838dbb6fcSSergei Shtylyov			resets = <&cpg 520>;
34938dbb6fcSSergei Shtylyov			status = "disabled";
35038dbb6fcSSergei Shtylyov		};
35138dbb6fcSSergei Shtylyov
35238dbb6fcSSergei Shtylyov		hscif1: serial@e6550000 {
35338dbb6fcSSergei Shtylyov			compatible = "renesas,hscif-r8a77970",
35438dbb6fcSSergei Shtylyov				     "renesas,rcar-gen3-hscif",
35538dbb6fcSSergei Shtylyov				     "renesas,hscif";
35638dbb6fcSSergei Shtylyov			reg = <0 0xe6550000 0 96>;
35738dbb6fcSSergei Shtylyov			interrupts = <GIC_SPI 155 IRQ_TYPE_LEVEL_HIGH>;
35838dbb6fcSSergei Shtylyov			clocks = <&cpg CPG_MOD 519>,
359e221dab0SSergei Shtylyov				 <&cpg CPG_CORE R8A77970_CLK_S2D1>,
36038dbb6fcSSergei Shtylyov				 <&scif_clk>;
36138dbb6fcSSergei Shtylyov			clock-names = "fck", "brg_int", "scif_clk";
36238dbb6fcSSergei Shtylyov			dmas = <&dmac1 0x33>, <&dmac1 0x32>,
36338dbb6fcSSergei Shtylyov			       <&dmac2 0x33>, <&dmac2 0x32>;
36438dbb6fcSSergei Shtylyov			dma-names = "tx", "rx", "tx", "rx";
3658aba250dSSergei Shtylyov			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
36638dbb6fcSSergei Shtylyov			resets = <&cpg 519>;
36738dbb6fcSSergei Shtylyov			status = "disabled";
36838dbb6fcSSergei Shtylyov		};
36938dbb6fcSSergei Shtylyov
37038dbb6fcSSergei Shtylyov		hscif2: serial@e6560000 {
37138dbb6fcSSergei Shtylyov			compatible = "renesas,hscif-r8a77970",
37238dbb6fcSSergei Shtylyov				     "renesas,rcar-gen3-hscif",
37338dbb6fcSSergei Shtylyov				     "renesas,hscif";
37438dbb6fcSSergei Shtylyov			reg = <0 0xe6560000 0 96>;
37538dbb6fcSSergei Shtylyov			interrupts = <GIC_SPI 144 IRQ_TYPE_LEVEL_HIGH>;
37638dbb6fcSSergei Shtylyov			clocks = <&cpg CPG_MOD 518>,
377e221dab0SSergei Shtylyov				 <&cpg CPG_CORE R8A77970_CLK_S2D1>,
37838dbb6fcSSergei Shtylyov				 <&scif_clk>;
37938dbb6fcSSergei Shtylyov			clock-names = "fck", "brg_int", "scif_clk";
38038dbb6fcSSergei Shtylyov			dmas = <&dmac1 0x35>, <&dmac1 0x34>,
38138dbb6fcSSergei Shtylyov			       <&dmac2 0x35>, <&dmac2 0x34>;
38238dbb6fcSSergei Shtylyov			dma-names = "tx", "rx", "tx", "rx";
3838aba250dSSergei Shtylyov			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
38438dbb6fcSSergei Shtylyov			resets = <&cpg 518>;
38538dbb6fcSSergei Shtylyov			status = "disabled";
38638dbb6fcSSergei Shtylyov		};
38738dbb6fcSSergei Shtylyov
38838dbb6fcSSergei Shtylyov		hscif3: serial@e66a0000 {
38938dbb6fcSSergei Shtylyov			compatible = "renesas,hscif-r8a77970",
39038dbb6fcSSergei Shtylyov				     "renesas,rcar-gen3-hscif", "renesas,hscif";
39138dbb6fcSSergei Shtylyov			reg = <0 0xe66a0000 0 96>;
39238dbb6fcSSergei Shtylyov			interrupts = <GIC_SPI 145 IRQ_TYPE_LEVEL_HIGH>;
39338dbb6fcSSergei Shtylyov			clocks = <&cpg CPG_MOD 517>,
394e221dab0SSergei Shtylyov				 <&cpg CPG_CORE R8A77970_CLK_S2D1>,
39538dbb6fcSSergei Shtylyov				 <&scif_clk>;
39638dbb6fcSSergei Shtylyov			clock-names = "fck", "brg_int", "scif_clk";
39738dbb6fcSSergei Shtylyov			dmas = <&dmac1 0x37>, <&dmac1 0x36>,
39838dbb6fcSSergei Shtylyov			       <&dmac2 0x37>, <&dmac2 0x36>;
39938dbb6fcSSergei Shtylyov			dma-names = "tx", "rx", "tx", "rx";
4008aba250dSSergei Shtylyov			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
40138dbb6fcSSergei Shtylyov			resets = <&cpg 517>;
40238dbb6fcSSergei Shtylyov			status = "disabled";
40338dbb6fcSSergei Shtylyov		};
40438dbb6fcSSergei Shtylyov
40581a579d5SSergei Shtylyov		canfd: can@e66c0000 {
40681a579d5SSergei Shtylyov			compatible = "renesas,r8a77970-canfd",
40781a579d5SSergei Shtylyov				     "renesas,rcar-gen3-canfd";
40881a579d5SSergei Shtylyov			reg = <0 0xe66c0000 0 0x8000>;
40981a579d5SSergei Shtylyov			interrupts = <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>,
41081a579d5SSergei Shtylyov				     <GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>;
41181a579d5SSergei Shtylyov			clocks = <&cpg CPG_MOD 914>,
41281a579d5SSergei Shtylyov				 <&cpg CPG_CORE R8A77970_CLK_CANFD>,
41381a579d5SSergei Shtylyov				 <&can_clk>;
41481a579d5SSergei Shtylyov			clock-names = "fck", "canfd", "can_clk";
41581a579d5SSergei Shtylyov			assigned-clocks = <&cpg CPG_CORE R8A77970_CLK_CANFD>;
41681a579d5SSergei Shtylyov			assigned-clock-rates = <40000000>;
41781a579d5SSergei Shtylyov			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
41881a579d5SSergei Shtylyov			resets = <&cpg 914>;
41981a579d5SSergei Shtylyov			status = "disabled";
42081a579d5SSergei Shtylyov
42181a579d5SSergei Shtylyov			channel0 {
42281a579d5SSergei Shtylyov				status = "disabled";
42381a579d5SSergei Shtylyov			};
42481a579d5SSergei Shtylyov
42581a579d5SSergei Shtylyov			channel1 {
42681a579d5SSergei Shtylyov				status = "disabled";
42781a579d5SSergei Shtylyov			};
42881a579d5SSergei Shtylyov		};
42981a579d5SSergei Shtylyov
4302964d754SYoshihiro Kaneko		avb: ethernet@e6800000 {
4312964d754SYoshihiro Kaneko			compatible = "renesas,etheravb-r8a77970",
4322964d754SYoshihiro Kaneko				     "renesas,etheravb-rcar-gen3";
4332964d754SYoshihiro Kaneko			reg = <0 0xe6800000 0 0x800>;
4342964d754SYoshihiro Kaneko			interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>,
4352964d754SYoshihiro Kaneko				     <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>,
4362964d754SYoshihiro Kaneko				     <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>,
4372964d754SYoshihiro Kaneko				     <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>,
4382964d754SYoshihiro Kaneko				     <GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>,
4392964d754SYoshihiro Kaneko				     <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>,
4402964d754SYoshihiro Kaneko				     <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>,
4412964d754SYoshihiro Kaneko				     <GIC_SPI 46 IRQ_TYPE_LEVEL_HIGH>,
4422964d754SYoshihiro Kaneko				     <GIC_SPI 47 IRQ_TYPE_LEVEL_HIGH>,
4432964d754SYoshihiro Kaneko				     <GIC_SPI 48 IRQ_TYPE_LEVEL_HIGH>,
4442964d754SYoshihiro Kaneko				     <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>,
4452964d754SYoshihiro Kaneko				     <GIC_SPI 50 IRQ_TYPE_LEVEL_HIGH>,
4462964d754SYoshihiro Kaneko				     <GIC_SPI 51 IRQ_TYPE_LEVEL_HIGH>,
4472964d754SYoshihiro Kaneko				     <GIC_SPI 52 IRQ_TYPE_LEVEL_HIGH>,
4482964d754SYoshihiro Kaneko				     <GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH>,
4492964d754SYoshihiro Kaneko				     <GIC_SPI 54 IRQ_TYPE_LEVEL_HIGH>,
4502964d754SYoshihiro Kaneko				     <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>,
4512964d754SYoshihiro Kaneko				     <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>,
4522964d754SYoshihiro Kaneko				     <GIC_SPI 57 IRQ_TYPE_LEVEL_HIGH>,
4532964d754SYoshihiro Kaneko				     <GIC_SPI 58 IRQ_TYPE_LEVEL_HIGH>,
4542964d754SYoshihiro Kaneko				     <GIC_SPI 59 IRQ_TYPE_LEVEL_HIGH>,
4552964d754SYoshihiro Kaneko				     <GIC_SPI 60 IRQ_TYPE_LEVEL_HIGH>,
4562964d754SYoshihiro Kaneko				     <GIC_SPI 61 IRQ_TYPE_LEVEL_HIGH>,
4572964d754SYoshihiro Kaneko				     <GIC_SPI 62 IRQ_TYPE_LEVEL_HIGH>,
4582964d754SYoshihiro Kaneko				     <GIC_SPI 63 IRQ_TYPE_LEVEL_HIGH>;
4592964d754SYoshihiro Kaneko			interrupt-names = "ch0", "ch1", "ch2", "ch3",
4602964d754SYoshihiro Kaneko					  "ch4", "ch5", "ch6", "ch7",
4612964d754SYoshihiro Kaneko					  "ch8", "ch9", "ch10", "ch11",
4622964d754SYoshihiro Kaneko					  "ch12", "ch13", "ch14", "ch15",
4632964d754SYoshihiro Kaneko					  "ch16", "ch17", "ch18", "ch19",
4642964d754SYoshihiro Kaneko					  "ch20", "ch21", "ch22", "ch23",
4652964d754SYoshihiro Kaneko					  "ch24";
4662964d754SYoshihiro Kaneko			clocks = <&cpg CPG_MOD 812>;
4672964d754SYoshihiro Kaneko			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
4682964d754SYoshihiro Kaneko			resets = <&cpg 812>;
4692964d754SYoshihiro Kaneko			phy-mode = "rgmii";
4702964d754SYoshihiro Kaneko			iommus = <&ipmmu_rt 3>;
4712964d754SYoshihiro Kaneko			#address-cells = <1>;
4722964d754SYoshihiro Kaneko			#size-cells = <0>;
4739223eef0SSergei Shtylyov			status = "disabled";
4742964d754SYoshihiro Kaneko		};
4752964d754SYoshihiro Kaneko
47638dbb6fcSSergei Shtylyov		scif0: serial@e6e60000 {
47738dbb6fcSSergei Shtylyov			compatible = "renesas,scif-r8a77970",
47838dbb6fcSSergei Shtylyov				     "renesas,rcar-gen3-scif",
47938dbb6fcSSergei Shtylyov				     "renesas,scif";
48038dbb6fcSSergei Shtylyov			reg = <0 0xe6e60000 0 64>;
48138dbb6fcSSergei Shtylyov			interrupts = <GIC_SPI 152 IRQ_TYPE_LEVEL_HIGH>;
48238dbb6fcSSergei Shtylyov			clocks = <&cpg CPG_MOD 207>,
483e221dab0SSergei Shtylyov				 <&cpg CPG_CORE R8A77970_CLK_S2D1>,
48438dbb6fcSSergei Shtylyov				 <&scif_clk>;
48538dbb6fcSSergei Shtylyov			clock-names = "fck", "brg_int", "scif_clk";
48638dbb6fcSSergei Shtylyov			dmas = <&dmac1 0x51>, <&dmac1 0x50>,
48738dbb6fcSSergei Shtylyov			       <&dmac2 0x51>, <&dmac2 0x50>;
48838dbb6fcSSergei Shtylyov			dma-names = "tx", "rx", "tx", "rx";
4898aba250dSSergei Shtylyov			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
49038dbb6fcSSergei Shtylyov			resets = <&cpg 207>;
49138dbb6fcSSergei Shtylyov			status = "disabled";
49238dbb6fcSSergei Shtylyov		};
49338dbb6fcSSergei Shtylyov
49438dbb6fcSSergei Shtylyov		scif1: serial@e6e68000 {
49538dbb6fcSSergei Shtylyov			compatible = "renesas,scif-r8a77970",
49638dbb6fcSSergei Shtylyov				     "renesas,rcar-gen3-scif",
49738dbb6fcSSergei Shtylyov				     "renesas,scif";
49838dbb6fcSSergei Shtylyov			reg = <0 0xe6e68000 0 64>;
49938dbb6fcSSergei Shtylyov			interrupts = <GIC_SPI 153 IRQ_TYPE_LEVEL_HIGH>;
50038dbb6fcSSergei Shtylyov			clocks = <&cpg CPG_MOD 206>,
501e221dab0SSergei Shtylyov				 <&cpg CPG_CORE R8A77970_CLK_S2D1>,
50238dbb6fcSSergei Shtylyov				 <&scif_clk>;
50338dbb6fcSSergei Shtylyov			clock-names = "fck", "brg_int", "scif_clk";
50438dbb6fcSSergei Shtylyov			dmas = <&dmac1 0x53>, <&dmac1 0x52>,
50538dbb6fcSSergei Shtylyov			       <&dmac2 0x53>, <&dmac2 0x52>;
50638dbb6fcSSergei Shtylyov			dma-names = "tx", "rx", "tx", "rx";
5078aba250dSSergei Shtylyov			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
50838dbb6fcSSergei Shtylyov			resets = <&cpg 206>;
50938dbb6fcSSergei Shtylyov			status = "disabled";
51038dbb6fcSSergei Shtylyov		};
51138dbb6fcSSergei Shtylyov
51238dbb6fcSSergei Shtylyov		scif3: serial@e6c50000 {
51338dbb6fcSSergei Shtylyov			compatible = "renesas,scif-r8a77970",
51438dbb6fcSSergei Shtylyov				     "renesas,rcar-gen3-scif",
51538dbb6fcSSergei Shtylyov				     "renesas,scif";
51638dbb6fcSSergei Shtylyov			reg = <0 0xe6c50000 0 64>;
51738dbb6fcSSergei Shtylyov			interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>;
51838dbb6fcSSergei Shtylyov			clocks = <&cpg CPG_MOD 204>,
519e221dab0SSergei Shtylyov				 <&cpg CPG_CORE R8A77970_CLK_S2D1>,
52038dbb6fcSSergei Shtylyov				 <&scif_clk>;
52138dbb6fcSSergei Shtylyov			clock-names = "fck", "brg_int", "scif_clk";
52238dbb6fcSSergei Shtylyov			dmas = <&dmac1 0x57>, <&dmac1 0x56>,
52338dbb6fcSSergei Shtylyov			       <&dmac2 0x57>, <&dmac2 0x56>;
52438dbb6fcSSergei Shtylyov			dma-names = "tx", "rx", "tx", "rx";
5258aba250dSSergei Shtylyov			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
52638dbb6fcSSergei Shtylyov			resets = <&cpg 204>;
52738dbb6fcSSergei Shtylyov			status = "disabled";
52838dbb6fcSSergei Shtylyov		};
52938dbb6fcSSergei Shtylyov
53038dbb6fcSSergei Shtylyov		scif4: serial@e6c40000 {
53138dbb6fcSSergei Shtylyov			compatible = "renesas,scif-r8a77970",
53238dbb6fcSSergei Shtylyov				     "renesas,rcar-gen3-scif", "renesas,scif";
53338dbb6fcSSergei Shtylyov			reg = <0 0xe6c40000 0 64>;
53438dbb6fcSSergei Shtylyov			interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>;
53538dbb6fcSSergei Shtylyov			clocks = <&cpg CPG_MOD 203>,
536e221dab0SSergei Shtylyov				 <&cpg CPG_CORE R8A77970_CLK_S2D1>,
53738dbb6fcSSergei Shtylyov				 <&scif_clk>;
53838dbb6fcSSergei Shtylyov			clock-names = "fck", "brg_int", "scif_clk";
53938dbb6fcSSergei Shtylyov			dmas = <&dmac1 0x59>, <&dmac1 0x58>,
54038dbb6fcSSergei Shtylyov			       <&dmac2 0x59>, <&dmac2 0x58>;
54138dbb6fcSSergei Shtylyov			dma-names = "tx", "rx", "tx", "rx";
5428aba250dSSergei Shtylyov			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
54338dbb6fcSSergei Shtylyov			resets = <&cpg 203>;
54438dbb6fcSSergei Shtylyov			status = "disabled";
54538dbb6fcSSergei Shtylyov		};
546bea2ab13SSergei Shtylyov
54751b09327SNiklas Söderlund
54851b09327SNiklas Söderlund		vin0: video@e6ef0000 {
54951b09327SNiklas Söderlund			compatible = "renesas,vin-r8a77970";
55051b09327SNiklas Söderlund			reg = <0 0xe6ef0000 0 0x1000>;
55151b09327SNiklas Söderlund			interrupts = <GIC_SPI 188 IRQ_TYPE_LEVEL_HIGH>;
55251b09327SNiklas Söderlund			clocks = <&cpg CPG_MOD 811>;
55351b09327SNiklas Söderlund			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
55451b09327SNiklas Söderlund			resets = <&cpg 811>;
55551b09327SNiklas Söderlund			renesas,id = <0>;
55651b09327SNiklas Söderlund			status = "disabled";
55751b09327SNiklas Söderlund
55851b09327SNiklas Söderlund			ports {
55951b09327SNiklas Söderlund				#address-cells = <1>;
56051b09327SNiklas Söderlund				#size-cells = <0>;
56151b09327SNiklas Söderlund
56251b09327SNiklas Söderlund				port@1 {
56351b09327SNiklas Söderlund					#address-cells = <1>;
56451b09327SNiklas Söderlund					#size-cells = <0>;
56551b09327SNiklas Söderlund
56651b09327SNiklas Söderlund					reg = <1>;
56751b09327SNiklas Söderlund
56851b09327SNiklas Söderlund					vin0csi40: endpoint@2 {
56951b09327SNiklas Söderlund						reg = <2>;
57051b09327SNiklas Söderlund						remote-endpoint= <&csi40vin0>;
57151b09327SNiklas Söderlund					};
57251b09327SNiklas Söderlund				};
57351b09327SNiklas Söderlund			};
57451b09327SNiklas Söderlund		};
57551b09327SNiklas Söderlund
57651b09327SNiklas Söderlund		vin1: video@e6ef1000 {
57751b09327SNiklas Söderlund			compatible = "renesas,vin-r8a77970";
57851b09327SNiklas Söderlund			reg = <0 0xe6ef1000 0 0x1000>;
57951b09327SNiklas Söderlund			interrupts = <GIC_SPI 189 IRQ_TYPE_LEVEL_HIGH>;
58051b09327SNiklas Söderlund			clocks = <&cpg CPG_MOD 810>;
58151b09327SNiklas Söderlund			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
58251b09327SNiklas Söderlund			resets = <&cpg 810>;
58351b09327SNiklas Söderlund			renesas,id = <1>;
58451b09327SNiklas Söderlund			status = "disabled";
58551b09327SNiklas Söderlund
58651b09327SNiklas Söderlund			ports {
58751b09327SNiklas Söderlund				#address-cells = <1>;
58851b09327SNiklas Söderlund				#size-cells = <0>;
58951b09327SNiklas Söderlund
59051b09327SNiklas Söderlund				port@1 {
59151b09327SNiklas Söderlund					#address-cells = <1>;
59251b09327SNiklas Söderlund					#size-cells = <0>;
59351b09327SNiklas Söderlund
59451b09327SNiklas Söderlund					reg = <1>;
59551b09327SNiklas Söderlund
59651b09327SNiklas Söderlund					vin1csi40: endpoint@2 {
59751b09327SNiklas Söderlund						reg = <2>;
59851b09327SNiklas Söderlund						remote-endpoint= <&csi40vin1>;
59951b09327SNiklas Söderlund					};
60051b09327SNiklas Söderlund				};
60151b09327SNiklas Söderlund			};
60251b09327SNiklas Söderlund		};
60351b09327SNiklas Söderlund
60451b09327SNiklas Söderlund		vin2: video@e6ef2000 {
60551b09327SNiklas Söderlund			compatible = "renesas,vin-r8a77970";
60651b09327SNiklas Söderlund			reg = <0 0xe6ef2000 0 0x1000>;
60751b09327SNiklas Söderlund			interrupts = <GIC_SPI 190 IRQ_TYPE_LEVEL_HIGH>;
60851b09327SNiklas Söderlund			clocks = <&cpg CPG_MOD 809>;
60951b09327SNiklas Söderlund			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
61051b09327SNiklas Söderlund			resets = <&cpg 809>;
61151b09327SNiklas Söderlund			renesas,id = <2>;
61251b09327SNiklas Söderlund			status = "disabled";
61351b09327SNiklas Söderlund
61451b09327SNiklas Söderlund			ports {
61551b09327SNiklas Söderlund				#address-cells = <1>;
61651b09327SNiklas Söderlund				#size-cells = <0>;
61751b09327SNiklas Söderlund
61851b09327SNiklas Söderlund				port@1 {
61951b09327SNiklas Söderlund					#address-cells = <1>;
62051b09327SNiklas Söderlund					#size-cells = <0>;
62151b09327SNiklas Söderlund
62251b09327SNiklas Söderlund					reg = <1>;
62351b09327SNiklas Söderlund
62451b09327SNiklas Söderlund					vin2csi40: endpoint@2 {
62551b09327SNiklas Söderlund						reg = <2>;
62651b09327SNiklas Söderlund						remote-endpoint= <&csi40vin2>;
62751b09327SNiklas Söderlund					};
62851b09327SNiklas Söderlund				};
62951b09327SNiklas Söderlund			};
63051b09327SNiklas Söderlund		};
63151b09327SNiklas Söderlund
63251b09327SNiklas Söderlund		vin3: video@e6ef3000 {
63351b09327SNiklas Söderlund			compatible = "renesas,vin-r8a77970";
63451b09327SNiklas Söderlund			reg = <0 0xe6ef3000 0 0x1000>;
63551b09327SNiklas Söderlund			interrupts = <GIC_SPI 191 IRQ_TYPE_LEVEL_HIGH>;
63651b09327SNiklas Söderlund			clocks = <&cpg CPG_MOD 808>;
63751b09327SNiklas Söderlund			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
63851b09327SNiklas Söderlund			resets = <&cpg 808>;
63951b09327SNiklas Söderlund			renesas,id = <3>;
64051b09327SNiklas Söderlund			status = "disabled";
64151b09327SNiklas Söderlund
64251b09327SNiklas Söderlund			ports {
64351b09327SNiklas Söderlund				#address-cells = <1>;
64451b09327SNiklas Söderlund				#size-cells = <0>;
64551b09327SNiklas Söderlund
64651b09327SNiklas Söderlund				port@1 {
64751b09327SNiklas Söderlund					#address-cells = <1>;
64851b09327SNiklas Söderlund					#size-cells = <0>;
64951b09327SNiklas Söderlund
65051b09327SNiklas Söderlund					reg = <1>;
65151b09327SNiklas Söderlund
65251b09327SNiklas Söderlund					vin3csi40: endpoint@2 {
65351b09327SNiklas Söderlund						reg = <2>;
65451b09327SNiklas Söderlund						remote-endpoint= <&csi40vin3>;
65551b09327SNiklas Söderlund					};
65651b09327SNiklas Söderlund				};
65751b09327SNiklas Söderlund			};
65851b09327SNiklas Söderlund		};
65951b09327SNiklas Söderlund
6602964d754SYoshihiro Kaneko		dmac1: dma-controller@e7300000 {
6612964d754SYoshihiro Kaneko			compatible = "renesas,dmac-r8a77970",
6622964d754SYoshihiro Kaneko				     "renesas,rcar-dmac";
6632964d754SYoshihiro Kaneko			reg = <0 0xe7300000 0 0x10000>;
6642964d754SYoshihiro Kaneko			interrupts = <GIC_SPI 220 IRQ_TYPE_LEVEL_HIGH
6652964d754SYoshihiro Kaneko				      GIC_SPI 216 IRQ_TYPE_LEVEL_HIGH
6662964d754SYoshihiro Kaneko				      GIC_SPI 217 IRQ_TYPE_LEVEL_HIGH
6672964d754SYoshihiro Kaneko				      GIC_SPI 218 IRQ_TYPE_LEVEL_HIGH
6682964d754SYoshihiro Kaneko				      GIC_SPI 219 IRQ_TYPE_LEVEL_HIGH
6692964d754SYoshihiro Kaneko				      GIC_SPI 308 IRQ_TYPE_LEVEL_HIGH
6702964d754SYoshihiro Kaneko				      GIC_SPI 309 IRQ_TYPE_LEVEL_HIGH
6712964d754SYoshihiro Kaneko				      GIC_SPI 310 IRQ_TYPE_LEVEL_HIGH
6722964d754SYoshihiro Kaneko				      GIC_SPI 311 IRQ_TYPE_LEVEL_HIGH>;
6732964d754SYoshihiro Kaneko			interrupt-names = "error",
6742964d754SYoshihiro Kaneko					  "ch0", "ch1", "ch2", "ch3",
6752964d754SYoshihiro Kaneko					  "ch4", "ch5", "ch6", "ch7";
6762964d754SYoshihiro Kaneko			clocks = <&cpg CPG_MOD 218>;
6772964d754SYoshihiro Kaneko			clock-names = "fck";
6788aba250dSSergei Shtylyov			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
6792964d754SYoshihiro Kaneko			resets = <&cpg 218>;
6802964d754SYoshihiro Kaneko			#dma-cells = <1>;
6812964d754SYoshihiro Kaneko			dma-channels = <8>;
6822964d754SYoshihiro Kaneko			iommus = <&ipmmu_ds1 0>, <&ipmmu_ds1 1>,
6832964d754SYoshihiro Kaneko			       <&ipmmu_ds1 2>, <&ipmmu_ds1 3>,
6842964d754SYoshihiro Kaneko			       <&ipmmu_ds1 4>, <&ipmmu_ds1 5>,
6852964d754SYoshihiro Kaneko			       <&ipmmu_ds1 6>, <&ipmmu_ds1 7>;
686bea2ab13SSergei Shtylyov		};
687faa5c317SSergei Shtylyov
6882964d754SYoshihiro Kaneko		dmac2: dma-controller@e7310000 {
6892964d754SYoshihiro Kaneko			compatible = "renesas,dmac-r8a77970",
6902964d754SYoshihiro Kaneko				     "renesas,rcar-dmac";
6912964d754SYoshihiro Kaneko			reg = <0 0xe7310000 0 0x10000>;
6922964d754SYoshihiro Kaneko			interrupts = <GIC_SPI 307 IRQ_TYPE_LEVEL_HIGH
6932964d754SYoshihiro Kaneko				      GIC_SPI 312 IRQ_TYPE_LEVEL_HIGH
6942964d754SYoshihiro Kaneko				      GIC_SPI 313 IRQ_TYPE_LEVEL_HIGH
6952964d754SYoshihiro Kaneko				      GIC_SPI 314 IRQ_TYPE_LEVEL_HIGH
6962964d754SYoshihiro Kaneko				      GIC_SPI 315 IRQ_TYPE_LEVEL_HIGH
6972964d754SYoshihiro Kaneko				      GIC_SPI 316 IRQ_TYPE_LEVEL_HIGH
6982964d754SYoshihiro Kaneko				      GIC_SPI 317 IRQ_TYPE_LEVEL_HIGH
6992964d754SYoshihiro Kaneko				      GIC_SPI 318 IRQ_TYPE_LEVEL_HIGH
7002964d754SYoshihiro Kaneko				      GIC_SPI 319 IRQ_TYPE_LEVEL_HIGH>;
7012964d754SYoshihiro Kaneko			interrupt-names = "error",
7022964d754SYoshihiro Kaneko					  "ch0", "ch1", "ch2", "ch3",
7032964d754SYoshihiro Kaneko					  "ch4", "ch5", "ch6", "ch7";
7042964d754SYoshihiro Kaneko			clocks = <&cpg CPG_MOD 217>;
7052964d754SYoshihiro Kaneko			clock-names = "fck";
706faa5c317SSergei Shtylyov			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
7072964d754SYoshihiro Kaneko			resets = <&cpg 217>;
7082964d754SYoshihiro Kaneko			#dma-cells = <1>;
7092964d754SYoshihiro Kaneko			dma-channels = <8>;
7102964d754SYoshihiro Kaneko			iommus = <&ipmmu_ds1 16>, <&ipmmu_ds1 17>,
7112964d754SYoshihiro Kaneko			       <&ipmmu_ds1 18>, <&ipmmu_ds1 19>,
7122964d754SYoshihiro Kaneko			       <&ipmmu_ds1 20>, <&ipmmu_ds1 21>,
7132964d754SYoshihiro Kaneko			       <&ipmmu_ds1 22>, <&ipmmu_ds1 23>;
7142964d754SYoshihiro Kaneko		};
7152964d754SYoshihiro Kaneko
7162964d754SYoshihiro Kaneko		ipmmu_ds1: mmu@e7740000 {
7172964d754SYoshihiro Kaneko			compatible = "renesas,ipmmu-r8a77970";
7182964d754SYoshihiro Kaneko			reg = <0 0xe7740000 0 0x1000>;
7192964d754SYoshihiro Kaneko			renesas,ipmmu-main = <&ipmmu_mm 0>;
7202964d754SYoshihiro Kaneko			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
7212964d754SYoshihiro Kaneko			#iommu-cells = <1>;
7222964d754SYoshihiro Kaneko		};
7232964d754SYoshihiro Kaneko
7242964d754SYoshihiro Kaneko		ipmmu_ir: mmu@ff8b0000 {
7252964d754SYoshihiro Kaneko			compatible = "renesas,ipmmu-r8a77970";
7262964d754SYoshihiro Kaneko			reg = <0 0xff8b0000 0 0x1000>;
7272964d754SYoshihiro Kaneko			renesas,ipmmu-main = <&ipmmu_mm 3>;
7282964d754SYoshihiro Kaneko			power-domains = <&sysc R8A77970_PD_A3IR>;
7292964d754SYoshihiro Kaneko			#iommu-cells = <1>;
7302964d754SYoshihiro Kaneko		};
7312964d754SYoshihiro Kaneko
7322964d754SYoshihiro Kaneko		ipmmu_mm: mmu@e67b0000 {
7332964d754SYoshihiro Kaneko			compatible = "renesas,ipmmu-r8a77970";
7342964d754SYoshihiro Kaneko			reg = <0 0xe67b0000 0 0x1000>;
7352964d754SYoshihiro Kaneko			interrupts = <GIC_SPI 196 IRQ_TYPE_LEVEL_HIGH>,
7362964d754SYoshihiro Kaneko				     <GIC_SPI 197 IRQ_TYPE_LEVEL_HIGH>;
7372964d754SYoshihiro Kaneko			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
7382964d754SYoshihiro Kaneko			#iommu-cells = <1>;
7392964d754SYoshihiro Kaneko		};
7402964d754SYoshihiro Kaneko
7412964d754SYoshihiro Kaneko		ipmmu_rt: mmu@ffc80000 {
7422964d754SYoshihiro Kaneko			compatible = "renesas,ipmmu-r8a77970";
7432964d754SYoshihiro Kaneko			reg = <0 0xffc80000 0 0x1000>;
7442964d754SYoshihiro Kaneko			renesas,ipmmu-main = <&ipmmu_mm 7>;
7452964d754SYoshihiro Kaneko			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
7462964d754SYoshihiro Kaneko			#iommu-cells = <1>;
7472964d754SYoshihiro Kaneko		};
7482964d754SYoshihiro Kaneko
7492964d754SYoshihiro Kaneko		ipmmu_vi0: mmu@febd0000 {
7502964d754SYoshihiro Kaneko			compatible = "renesas,ipmmu-r8a77970";
7512964d754SYoshihiro Kaneko			reg = <0 0xfebd0000 0 0x1000>;
7522964d754SYoshihiro Kaneko			renesas,ipmmu-main = <&ipmmu_mm 9>;
7532964d754SYoshihiro Kaneko			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
7542964d754SYoshihiro Kaneko			#iommu-cells = <1>;
7552964d754SYoshihiro Kaneko		};
7562964d754SYoshihiro Kaneko
7572964d754SYoshihiro Kaneko		gic: interrupt-controller@f1010000 {
7582964d754SYoshihiro Kaneko			compatible = "arm,gic-400";
7592964d754SYoshihiro Kaneko			#interrupt-cells = <3>;
7602964d754SYoshihiro Kaneko			#address-cells = <0>;
7612964d754SYoshihiro Kaneko			interrupt-controller;
7622964d754SYoshihiro Kaneko			reg = <0 0xf1010000 0 0x1000>,
7632964d754SYoshihiro Kaneko			      <0 0xf1020000 0 0x20000>,
7642964d754SYoshihiro Kaneko			      <0 0xf1040000 0 0x20000>,
7652964d754SYoshihiro Kaneko			      <0 0xf1060000 0 0x20000>;
76677899dd2SGeert Uytterhoeven			interrupts = <GIC_PPI 9	(GIC_CPU_MASK_SIMPLE(2) |
7672964d754SYoshihiro Kaneko				      IRQ_TYPE_LEVEL_HIGH)>;
7682964d754SYoshihiro Kaneko			clocks = <&cpg CPG_MOD 408>;
7692964d754SYoshihiro Kaneko			clock-names = "clk";
7702964d754SYoshihiro Kaneko			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
7712964d754SYoshihiro Kaneko			resets = <&cpg 408>;
772faa5c317SSergei Shtylyov		};
773b4f92030SSergei Shtylyov
774b4f92030SSergei Shtylyov		vspd0: vsp@fea20000 {
775b4f92030SSergei Shtylyov			compatible = "renesas,vsp2";
776e21adc78SLaurent Pinchart			reg = <0 0xfea20000 0 0x5000>;
777b4f92030SSergei Shtylyov			interrupts = <GIC_SPI 169 IRQ_TYPE_LEVEL_HIGH>;
778b4f92030SSergei Shtylyov			clocks = <&cpg CPG_MOD 623>;
779b4f92030SSergei Shtylyov			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
780b4f92030SSergei Shtylyov			resets = <&cpg 623>;
781b4f92030SSergei Shtylyov			renesas,fcp = <&fcpvd0>;
782b4f92030SSergei Shtylyov		};
783f66598b9SSergei Shtylyov
7842964d754SYoshihiro Kaneko		fcpvd0: fcp@fea27000 {
7852964d754SYoshihiro Kaneko			compatible = "renesas,fcpv";
7862964d754SYoshihiro Kaneko			reg = <0 0xfea27000 0 0x200>;
7872964d754SYoshihiro Kaneko			clocks = <&cpg CPG_MOD 603>;
7882964d754SYoshihiro Kaneko			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
7892964d754SYoshihiro Kaneko			resets = <&cpg 603>;
7902964d754SYoshihiro Kaneko		};
7912964d754SYoshihiro Kaneko
79251b09327SNiklas Söderlund		csi40: csi2@feaa0000 {
79351b09327SNiklas Söderlund			compatible = "renesas,r8a77970-csi2";
79451b09327SNiklas Söderlund			reg = <0 0xfeaa0000 0 0x10000>;
79551b09327SNiklas Söderlund			interrupts = <GIC_SPI 246 IRQ_TYPE_LEVEL_HIGH>;
79651b09327SNiklas Söderlund			clocks = <&cpg CPG_MOD 716>;
79751b09327SNiklas Söderlund			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
79851b09327SNiklas Söderlund			resets = <&cpg 716>;
79951b09327SNiklas Söderlund			status = "disabled";
80051b09327SNiklas Söderlund
80151b09327SNiklas Söderlund			ports {
80251b09327SNiklas Söderlund				#address-cells = <1>;
80351b09327SNiklas Söderlund				#size-cells = <0>;
80451b09327SNiklas Söderlund
80551b09327SNiklas Söderlund				port@1 {
80651b09327SNiklas Söderlund					#address-cells = <1>;
80751b09327SNiklas Söderlund					#size-cells = <0>;
80851b09327SNiklas Söderlund
80951b09327SNiklas Söderlund					reg = <1>;
81051b09327SNiklas Söderlund
81151b09327SNiklas Söderlund					csi40vin0: endpoint@0 {
81251b09327SNiklas Söderlund						reg = <0>;
81351b09327SNiklas Söderlund						remote-endpoint = <&vin0csi40>;
81451b09327SNiklas Söderlund					};
81551b09327SNiklas Söderlund					csi40vin1: endpoint@1 {
81651b09327SNiklas Söderlund						reg = <1>;
81751b09327SNiklas Söderlund						remote-endpoint = <&vin1csi40>;
81851b09327SNiklas Söderlund					};
81951b09327SNiklas Söderlund					csi40vin2: endpoint@2 {
82051b09327SNiklas Söderlund						reg = <2>;
82151b09327SNiklas Söderlund						remote-endpoint = <&vin2csi40>;
82251b09327SNiklas Söderlund					};
82351b09327SNiklas Söderlund					csi40vin3: endpoint@3 {
82451b09327SNiklas Söderlund						reg = <3>;
82551b09327SNiklas Söderlund						remote-endpoint = <&vin3csi40>;
82651b09327SNiklas Söderlund					};
82751b09327SNiklas Söderlund				};
82851b09327SNiklas Söderlund			};
82951b09327SNiklas Söderlund		};
83051b09327SNiklas Söderlund
831f66598b9SSergei Shtylyov		du: display@feb00000 {
832f66598b9SSergei Shtylyov			compatible = "renesas,du-r8a77970";
833f66598b9SSergei Shtylyov			reg = <0 0xfeb00000 0 0x80000>;
834f66598b9SSergei Shtylyov			interrupts = <GIC_SPI 256 IRQ_TYPE_LEVEL_HIGH>;
835f66598b9SSergei Shtylyov			clocks = <&cpg CPG_MOD 724>;
836f66598b9SSergei Shtylyov			clock-names = "du.0";
837f66598b9SSergei Shtylyov			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
838f66598b9SSergei Shtylyov			resets = <&cpg 724>;
839f66598b9SSergei Shtylyov			vsps = <&vspd0>;
840f66598b9SSergei Shtylyov			status = "disabled";
841f66598b9SSergei Shtylyov
842f66598b9SSergei Shtylyov			ports {
843f66598b9SSergei Shtylyov				#address-cells = <1>;
844f66598b9SSergei Shtylyov				#size-cells = <0>;
845f66598b9SSergei Shtylyov
846f66598b9SSergei Shtylyov				port@0 {
847f66598b9SSergei Shtylyov					reg = <0>;
848f66598b9SSergei Shtylyov					du_out_rgb: endpoint {
849f66598b9SSergei Shtylyov					};
850f66598b9SSergei Shtylyov				};
851f66598b9SSergei Shtylyov
852f66598b9SSergei Shtylyov				port@1 {
853f66598b9SSergei Shtylyov					reg = <1>;
854f66598b9SSergei Shtylyov					du_out_lvds0: endpoint {
8553cd0bd7dSSergei Shtylyov						remote-endpoint = <&lvds0_in>;
8563cd0bd7dSSergei Shtylyov					};
8573cd0bd7dSSergei Shtylyov				};
8583cd0bd7dSSergei Shtylyov			};
8593cd0bd7dSSergei Shtylyov		};
8603cd0bd7dSSergei Shtylyov
8613cd0bd7dSSergei Shtylyov		lvds0: lvds-encoder@feb90000 {
8623cd0bd7dSSergei Shtylyov			compatible = "renesas,r8a77970-lvds";
8633cd0bd7dSSergei Shtylyov			reg = <0 0xfeb90000 0 0x14>;
8643cd0bd7dSSergei Shtylyov			clocks = <&cpg CPG_MOD 727>;
8653cd0bd7dSSergei Shtylyov			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
8663cd0bd7dSSergei Shtylyov			resets = <&cpg 727>;
8673cd0bd7dSSergei Shtylyov			status = "disabled";
8683cd0bd7dSSergei Shtylyov
8693cd0bd7dSSergei Shtylyov			ports {
8703cd0bd7dSSergei Shtylyov				#address-cells = <1>;
8713cd0bd7dSSergei Shtylyov				#size-cells = <0>;
8723cd0bd7dSSergei Shtylyov
8733cd0bd7dSSergei Shtylyov				port@0 {
8743cd0bd7dSSergei Shtylyov					reg = <0>;
8753cd0bd7dSSergei Shtylyov					lvds0_in: endpoint {
8763cd0bd7dSSergei Shtylyov						remote-endpoint =
8773cd0bd7dSSergei Shtylyov							<&du_out_lvds0>;
8783cd0bd7dSSergei Shtylyov					};
8793cd0bd7dSSergei Shtylyov				};
8803cd0bd7dSSergei Shtylyov				port@1 {
8813cd0bd7dSSergei Shtylyov					reg = <1>;
8823cd0bd7dSSergei Shtylyov					lvds0_out: endpoint {
883f66598b9SSergei Shtylyov					};
884f66598b9SSergei Shtylyov				};
885f66598b9SSergei Shtylyov			};
886f66598b9SSergei Shtylyov		};
8872964d754SYoshihiro Kaneko
8882964d754SYoshihiro Kaneko		prr: chipid@fff00044 {
8892964d754SYoshihiro Kaneko			compatible = "renesas,prr";
8902964d754SYoshihiro Kaneko			reg = <0 0xfff00044 0 4>;
8912964d754SYoshihiro Kaneko		};
89241f4345aSSergei Shtylyov	};
8937569d1eeSSimon Horman
8947569d1eeSSimon Horman	timer {
8957569d1eeSSimon Horman		compatible = "arm,armv8-timer";
89677899dd2SGeert Uytterhoeven		interrupts-extended = <&gic GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>,
89777899dd2SGeert Uytterhoeven				      <&gic GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>,
89877899dd2SGeert Uytterhoeven				      <&gic GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>,
89977899dd2SGeert Uytterhoeven				      <&gic GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>;
9007569d1eeSSimon Horman	};
90141f4345aSSergei Shtylyov};
902