xref: /linux/arch/arm64/boot/dts/renesas/r8a77970.dtsi (revision 77899dd2c094fc99413e18264384cc428c23cd23)
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
44*77899dd2SGeert Uytterhoeven		a53_1: cpu@1 {
45*77899dd2SGeert Uytterhoeven			device_type = "cpu";
46*77899dd2SGeert Uytterhoeven			compatible = "arm,cortex-a53", "arm,armv8";
47*77899dd2SGeert Uytterhoeven			reg = <1>;
48*77899dd2SGeert Uytterhoeven			clocks = <&cpg CPG_CORE R8A77970_CLK_Z2>;
49*77899dd2SGeert Uytterhoeven			power-domains = <&sysc R8A77970_PD_CA53_CPU1>;
50*77899dd2SGeert Uytterhoeven			next-level-cache = <&L2_CA53>;
51*77899dd2SGeert Uytterhoeven			enable-method = "psci";
52*77899dd2SGeert Uytterhoeven		};
53*77899dd2SGeert Uytterhoeven
5441f4345aSSergei Shtylyov		L2_CA53: cache-controller {
5541f4345aSSergei Shtylyov			compatible = "cache";
568aba250dSSergei Shtylyov			power-domains = <&sysc R8A77970_PD_CA53_SCU>;
5741f4345aSSergei Shtylyov			cache-unified;
5841f4345aSSergei Shtylyov			cache-level = <2>;
5941f4345aSSergei Shtylyov		};
6041f4345aSSergei Shtylyov	};
6141f4345aSSergei Shtylyov
6241f4345aSSergei Shtylyov	extal_clk: extal {
6341f4345aSSergei Shtylyov		compatible = "fixed-clock";
6441f4345aSSergei Shtylyov		#clock-cells = <0>;
6541f4345aSSergei Shtylyov		/* This value must be overridden by the board */
6641f4345aSSergei Shtylyov		clock-frequency = <0>;
6741f4345aSSergei Shtylyov	};
6841f4345aSSergei Shtylyov
6941f4345aSSergei Shtylyov	extalr_clk: extalr {
7041f4345aSSergei Shtylyov		compatible = "fixed-clock";
7141f4345aSSergei Shtylyov		#clock-cells = <0>;
7241f4345aSSergei Shtylyov		/* This value must be overridden by the board */
7341f4345aSSergei Shtylyov		clock-frequency = <0>;
7441f4345aSSergei Shtylyov	};
7541f4345aSSergei Shtylyov
76c7a99343SGeert Uytterhoeven	psci {
77c7a99343SGeert Uytterhoeven		compatible = "arm,psci-1.0", "arm,psci-0.2";
78c7a99343SGeert Uytterhoeven		method = "smc";
79c7a99343SGeert Uytterhoeven	};
80c7a99343SGeert Uytterhoeven
8181a579d5SSergei Shtylyov	/* External CAN clock - to be overridden by boards that provide it */
8281a579d5SSergei Shtylyov	can_clk: can {
8381a579d5SSergei Shtylyov		compatible = "fixed-clock";
8481a579d5SSergei Shtylyov		#clock-cells = <0>;
8581a579d5SSergei Shtylyov		clock-frequency = <0>;
8681a579d5SSergei Shtylyov	};
8781a579d5SSergei Shtylyov
8838dbb6fcSSergei Shtylyov	/* External SCIF clock - to be overridden by boards that provide it */
8938dbb6fcSSergei Shtylyov	scif_clk: scif {
9038dbb6fcSSergei Shtylyov		compatible = "fixed-clock";
9138dbb6fcSSergei Shtylyov		#clock-cells = <0>;
9238dbb6fcSSergei Shtylyov		clock-frequency = <0>;
9338dbb6fcSSergei Shtylyov	};
9438dbb6fcSSergei Shtylyov
9541f4345aSSergei Shtylyov	soc {
9641f4345aSSergei Shtylyov		compatible = "simple-bus";
9741f4345aSSergei Shtylyov		interrupt-parent = <&gic>;
9841f4345aSSergei Shtylyov
9941f4345aSSergei Shtylyov		#address-cells = <2>;
10041f4345aSSergei Shtylyov		#size-cells = <2>;
10141f4345aSSergei Shtylyov		ranges;
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
1139618b2cbSSergei Shtylyov		gpio0: gpio@e6050000 {
1149618b2cbSSergei Shtylyov			compatible = "renesas,gpio-r8a77970",
1159618b2cbSSergei Shtylyov				     "renesas,rcar-gen3-gpio";
1169618b2cbSSergei Shtylyov			reg = <0 0xe6050000 0 0x50>;
1179618b2cbSSergei Shtylyov			interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;
1189618b2cbSSergei Shtylyov			#gpio-cells = <2>;
1199618b2cbSSergei Shtylyov			gpio-controller;
1209618b2cbSSergei Shtylyov			gpio-ranges = <&pfc 0 0 22>;
1219618b2cbSSergei Shtylyov			#interrupt-cells = <2>;
1229618b2cbSSergei Shtylyov			interrupt-controller;
1239618b2cbSSergei Shtylyov			clocks = <&cpg CPG_MOD 912>;
1249618b2cbSSergei Shtylyov			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
1259618b2cbSSergei Shtylyov			resets = <&cpg 912>;
1269618b2cbSSergei Shtylyov		};
1279618b2cbSSergei Shtylyov
1289618b2cbSSergei Shtylyov		gpio1: gpio@e6051000 {
1299618b2cbSSergei Shtylyov			compatible = "renesas,gpio-r8a77970",
1309618b2cbSSergei Shtylyov				     "renesas,rcar-gen3-gpio";
1319618b2cbSSergei Shtylyov			reg = <0 0xe6051000 0 0x50>;
1329618b2cbSSergei Shtylyov			interrupts = <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>;
1339618b2cbSSergei Shtylyov			#gpio-cells = <2>;
1349618b2cbSSergei Shtylyov			gpio-controller;
1359618b2cbSSergei Shtylyov			gpio-ranges = <&pfc 0 32 28>;
1369618b2cbSSergei Shtylyov			#interrupt-cells = <2>;
1379618b2cbSSergei Shtylyov			interrupt-controller;
1389618b2cbSSergei Shtylyov			clocks = <&cpg CPG_MOD 911>;
1399618b2cbSSergei Shtylyov			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
1409618b2cbSSergei Shtylyov			resets = <&cpg 911>;
1419618b2cbSSergei Shtylyov		};
1429618b2cbSSergei Shtylyov
1439618b2cbSSergei Shtylyov		gpio2: gpio@e6052000 {
1449618b2cbSSergei Shtylyov			compatible = "renesas,gpio-r8a77970",
1459618b2cbSSergei Shtylyov				     "renesas,rcar-gen3-gpio";
1469618b2cbSSergei Shtylyov			reg = <0 0xe6052000 0 0x50>;
1479618b2cbSSergei Shtylyov			interrupts = <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>;
1489618b2cbSSergei Shtylyov			#gpio-cells = <2>;
1499618b2cbSSergei Shtylyov			gpio-controller;
1509618b2cbSSergei Shtylyov			gpio-ranges = <&pfc 0 64 17>;
1519618b2cbSSergei Shtylyov			#interrupt-cells = <2>;
1529618b2cbSSergei Shtylyov			interrupt-controller;
1539618b2cbSSergei Shtylyov			clocks = <&cpg CPG_MOD 910>;
1549618b2cbSSergei Shtylyov			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
1559618b2cbSSergei Shtylyov			resets = <&cpg 910>;
1569618b2cbSSergei Shtylyov		};
1579618b2cbSSergei Shtylyov
1589618b2cbSSergei Shtylyov		gpio3: gpio@e6053000 {
1599618b2cbSSergei Shtylyov			compatible = "renesas,gpio-r8a77970",
1609618b2cbSSergei Shtylyov				     "renesas,rcar-gen3-gpio";
1619618b2cbSSergei Shtylyov			reg = <0 0xe6053000 0 0x50>;
1629618b2cbSSergei Shtylyov			interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>;
1639618b2cbSSergei Shtylyov			#gpio-cells = <2>;
1649618b2cbSSergei Shtylyov			gpio-controller;
1659618b2cbSSergei Shtylyov			gpio-ranges = <&pfc 0 96 17>;
1669618b2cbSSergei Shtylyov			#interrupt-cells = <2>;
1679618b2cbSSergei Shtylyov			interrupt-controller;
1689618b2cbSSergei Shtylyov			clocks = <&cpg CPG_MOD 909>;
1699618b2cbSSergei Shtylyov			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
1709618b2cbSSergei Shtylyov			resets = <&cpg 909>;
1719618b2cbSSergei Shtylyov		};
1729618b2cbSSergei Shtylyov
1739618b2cbSSergei Shtylyov		gpio4: gpio@e6054000 {
1749618b2cbSSergei Shtylyov			compatible = "renesas,gpio-r8a77970",
1759618b2cbSSergei Shtylyov				     "renesas,rcar-gen3-gpio";
1769618b2cbSSergei Shtylyov			reg = <0 0xe6054000 0 0x50>;
1779618b2cbSSergei Shtylyov			interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>;
1789618b2cbSSergei Shtylyov			#gpio-cells = <2>;
1799618b2cbSSergei Shtylyov			gpio-controller;
1809618b2cbSSergei Shtylyov			gpio-ranges = <&pfc 0 128 6>;
1819618b2cbSSergei Shtylyov			#interrupt-cells = <2>;
1829618b2cbSSergei Shtylyov			interrupt-controller;
1839618b2cbSSergei Shtylyov			clocks = <&cpg CPG_MOD 908>;
1849618b2cbSSergei Shtylyov			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
1859618b2cbSSergei Shtylyov			resets = <&cpg 908>;
1869618b2cbSSergei Shtylyov		};
1879618b2cbSSergei Shtylyov
1889618b2cbSSergei Shtylyov		gpio5: gpio@e6055000 {
1899618b2cbSSergei Shtylyov			compatible = "renesas,gpio-r8a77970",
1909618b2cbSSergei Shtylyov				     "renesas,rcar-gen3-gpio";
1919618b2cbSSergei Shtylyov			reg = <0 0xe6055000 0 0x50>;
1929618b2cbSSergei Shtylyov			interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>;
1939618b2cbSSergei Shtylyov			#gpio-cells = <2>;
1949618b2cbSSergei Shtylyov			gpio-controller;
1959618b2cbSSergei Shtylyov			gpio-ranges = <&pfc 0 160 15>;
1969618b2cbSSergei Shtylyov			#interrupt-cells = <2>;
1979618b2cbSSergei Shtylyov			interrupt-controller;
1989618b2cbSSergei Shtylyov			clocks = <&cpg CPG_MOD 907>;
1999618b2cbSSergei Shtylyov			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
2009618b2cbSSergei Shtylyov			resets = <&cpg 907>;
2019618b2cbSSergei Shtylyov		};
2029618b2cbSSergei Shtylyov
2032964d754SYoshihiro Kaneko		pfc: pin-controller@e6060000 {
2042964d754SYoshihiro Kaneko			compatible = "renesas,pfc-r8a77970";
2052964d754SYoshihiro Kaneko			reg = <0 0xe6060000 0 0x504>;
2062964d754SYoshihiro Kaneko		};
2072964d754SYoshihiro Kaneko
2082964d754SYoshihiro Kaneko		cpg: clock-controller@e6150000 {
2092964d754SYoshihiro Kaneko			compatible = "renesas,r8a77970-cpg-mssr";
2102964d754SYoshihiro Kaneko			reg = <0 0xe6150000 0 0x1000>;
2112964d754SYoshihiro Kaneko			clocks = <&extal_clk>, <&extalr_clk>;
2122964d754SYoshihiro Kaneko			clock-names = "extal", "extalr";
2132964d754SYoshihiro Kaneko			#clock-cells = <2>;
2142964d754SYoshihiro Kaneko			#power-domain-cells = <0>;
2152964d754SYoshihiro Kaneko			#reset-cells = <1>;
2162964d754SYoshihiro Kaneko		};
2172964d754SYoshihiro Kaneko
2182964d754SYoshihiro Kaneko		rst: reset-controller@e6160000 {
2192964d754SYoshihiro Kaneko			compatible = "renesas,r8a77970-rst";
2202964d754SYoshihiro Kaneko			reg = <0 0xe6160000 0 0x200>;
2212964d754SYoshihiro Kaneko		};
2222964d754SYoshihiro Kaneko
2232964d754SYoshihiro Kaneko		sysc: system-controller@e6180000 {
2242964d754SYoshihiro Kaneko			compatible = "renesas,r8a77970-sysc";
2252964d754SYoshihiro Kaneko			reg = <0 0xe6180000 0 0x440>;
2262964d754SYoshihiro Kaneko			#power-domain-cells = <1>;
2272964d754SYoshihiro Kaneko		};
2282964d754SYoshihiro Kaneko
229c6a7fd98SGeert Uytterhoeven		intc_ex: interrupt-controller@e61c0000 {
230c6a7fd98SGeert Uytterhoeven			compatible = "renesas,intc-ex-r8a77970", "renesas,irqc";
231c6a7fd98SGeert Uytterhoeven			#interrupt-cells = <2>;
232c6a7fd98SGeert Uytterhoeven			interrupt-controller;
233c6a7fd98SGeert Uytterhoeven			reg = <0 0xe61c0000 0 0x200>;
234c6a7fd98SGeert Uytterhoeven			interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH
235c6a7fd98SGeert Uytterhoeven				      GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH
236c6a7fd98SGeert Uytterhoeven				      GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH
237c6a7fd98SGeert Uytterhoeven				      GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH
238c6a7fd98SGeert Uytterhoeven				      GIC_SPI 18 IRQ_TYPE_LEVEL_HIGH
239c6a7fd98SGeert Uytterhoeven				      GIC_SPI 161 IRQ_TYPE_LEVEL_HIGH>;
240c6a7fd98SGeert Uytterhoeven			clocks = <&cpg CPG_MOD 407>;
2418aba250dSSergei Shtylyov			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
242c6a7fd98SGeert Uytterhoeven			resets = <&cpg 407>;
243c6a7fd98SGeert Uytterhoeven		};
244c6a7fd98SGeert Uytterhoeven
245cbfa278eSSergei Shtylyov		i2c0: i2c@e6500000 {
246cbfa278eSSergei Shtylyov			compatible = "renesas,i2c-r8a77970",
247cbfa278eSSergei Shtylyov				     "renesas,rcar-gen3-i2c";
248cbfa278eSSergei Shtylyov			reg = <0 0xe6500000 0 0x40>;
249cbfa278eSSergei Shtylyov			interrupts = <GIC_SPI 287 IRQ_TYPE_LEVEL_HIGH>;
250cbfa278eSSergei Shtylyov			clocks = <&cpg CPG_MOD 931>;
251cbfa278eSSergei Shtylyov			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
252cbfa278eSSergei Shtylyov			resets = <&cpg 931>;
253cbfa278eSSergei Shtylyov			dmas = <&dmac1 0x91>, <&dmac1 0x90>,
254cbfa278eSSergei Shtylyov			       <&dmac2 0x91>, <&dmac2 0x90>;
255cbfa278eSSergei Shtylyov			dma-names = "tx", "rx", "tx", "rx";
256cbfa278eSSergei Shtylyov			i2c-scl-internal-delay-ns = <6>;
257cbfa278eSSergei Shtylyov			#address-cells = <1>;
258cbfa278eSSergei Shtylyov			#size-cells = <0>;
259cbfa278eSSergei Shtylyov			status = "disabled";
260cbfa278eSSergei Shtylyov		};
261cbfa278eSSergei Shtylyov
262cbfa278eSSergei Shtylyov		i2c1: i2c@e6508000 {
263cbfa278eSSergei Shtylyov			compatible = "renesas,i2c-r8a77970",
264cbfa278eSSergei Shtylyov				     "renesas,rcar-gen3-i2c";
265cbfa278eSSergei Shtylyov			reg = <0 0xe6508000 0 0x40>;
266cbfa278eSSergei Shtylyov			interrupts = <GIC_SPI 288 IRQ_TYPE_LEVEL_HIGH>;
267cbfa278eSSergei Shtylyov			clocks = <&cpg CPG_MOD 930>;
268cbfa278eSSergei Shtylyov			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
269cbfa278eSSergei Shtylyov			resets = <&cpg 930>;
270cbfa278eSSergei Shtylyov			dmas = <&dmac1 0x93>, <&dmac1 0x92>,
271cbfa278eSSergei Shtylyov			       <&dmac2 0x93>, <&dmac2 0x92>;
272cbfa278eSSergei Shtylyov			dma-names = "tx", "rx", "tx", "rx";
273cbfa278eSSergei Shtylyov			i2c-scl-internal-delay-ns = <6>;
274cbfa278eSSergei Shtylyov			#address-cells = <1>;
275cbfa278eSSergei Shtylyov			#size-cells = <0>;
276cbfa278eSSergei Shtylyov			status = "disabled";
277cbfa278eSSergei Shtylyov		};
278cbfa278eSSergei Shtylyov
279cbfa278eSSergei Shtylyov		i2c2: i2c@e6510000 {
280cbfa278eSSergei Shtylyov			compatible = "renesas,i2c-r8a77970",
281cbfa278eSSergei Shtylyov				     "renesas,rcar-gen3-i2c";
282cbfa278eSSergei Shtylyov			reg = <0 0xe6510000 0 0x40>;
283cbfa278eSSergei Shtylyov			interrupts = <GIC_SPI 286 IRQ_TYPE_LEVEL_HIGH>;
284cbfa278eSSergei Shtylyov			clocks = <&cpg CPG_MOD 929>;
285cbfa278eSSergei Shtylyov			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
286cbfa278eSSergei Shtylyov			resets = <&cpg 929>;
287cbfa278eSSergei Shtylyov			dmas = <&dmac1 0x95>, <&dmac1 0x94>,
288cbfa278eSSergei Shtylyov			       <&dmac2 0x95>, <&dmac2 0x94>;
289cbfa278eSSergei Shtylyov			dma-names = "tx", "rx", "tx", "rx";
290cbfa278eSSergei Shtylyov			i2c-scl-internal-delay-ns = <6>;
291cbfa278eSSergei Shtylyov			#address-cells = <1>;
292cbfa278eSSergei Shtylyov			#size-cells = <0>;
293cbfa278eSSergei Shtylyov			status = "disabled";
294cbfa278eSSergei Shtylyov		};
295cbfa278eSSergei Shtylyov
296cbfa278eSSergei Shtylyov		i2c3: i2c@e66d0000 {
297cbfa278eSSergei Shtylyov			compatible = "renesas,i2c-r8a77970",
298cbfa278eSSergei Shtylyov				     "renesas,rcar-gen3-i2c";
299cbfa278eSSergei Shtylyov			reg = <0 0xe66d0000 0 0x40>;
300cbfa278eSSergei Shtylyov			interrupts = <GIC_SPI 290 IRQ_TYPE_LEVEL_HIGH>;
301cbfa278eSSergei Shtylyov			clocks = <&cpg CPG_MOD 928>;
302cbfa278eSSergei Shtylyov			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
303cbfa278eSSergei Shtylyov			resets = <&cpg 928>;
304cbfa278eSSergei Shtylyov			dmas = <&dmac1 0x97>, <&dmac1 0x96>,
305cbfa278eSSergei Shtylyov			       <&dmac2 0x97>, <&dmac2 0x96>;
306cbfa278eSSergei Shtylyov			dma-names = "tx", "rx", "tx", "rx";
307cbfa278eSSergei Shtylyov			i2c-scl-internal-delay-ns = <6>;
308cbfa278eSSergei Shtylyov			#address-cells = <1>;
309cbfa278eSSergei Shtylyov			#size-cells = <0>;
310cbfa278eSSergei Shtylyov			status = "disabled";
311cbfa278eSSergei Shtylyov		};
312cbfa278eSSergei Shtylyov
313cbfa278eSSergei Shtylyov		i2c4: i2c@e66d8000 {
314cbfa278eSSergei Shtylyov			compatible = "renesas,i2c-r8a77970",
315cbfa278eSSergei Shtylyov				     "renesas,rcar-gen3-i2c";
316cbfa278eSSergei Shtylyov			reg = <0 0xe66d8000 0 0x40>;
317cbfa278eSSergei Shtylyov			interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>;
318cbfa278eSSergei Shtylyov			clocks = <&cpg CPG_MOD 927>;
319cbfa278eSSergei Shtylyov			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
320cbfa278eSSergei Shtylyov			resets = <&cpg 927>;
321cbfa278eSSergei Shtylyov			dmas = <&dmac1 0x99>, <&dmac1 0x98>,
322cbfa278eSSergei Shtylyov			       <&dmac2 0x99>, <&dmac2 0x98>;
323cbfa278eSSergei Shtylyov			dma-names = "tx", "rx", "tx", "rx";
324cbfa278eSSergei Shtylyov			i2c-scl-internal-delay-ns = <6>;
325cbfa278eSSergei Shtylyov			#address-cells = <1>;
326cbfa278eSSergei Shtylyov			#size-cells = <0>;
327cbfa278eSSergei Shtylyov			status = "disabled";
328cbfa278eSSergei Shtylyov		};
329cbfa278eSSergei Shtylyov
33038dbb6fcSSergei Shtylyov		hscif0: serial@e6540000 {
33138dbb6fcSSergei Shtylyov			compatible = "renesas,hscif-r8a77970",
33238dbb6fcSSergei Shtylyov				     "renesas,rcar-gen3-hscif",
33338dbb6fcSSergei Shtylyov				     "renesas,hscif";
33438dbb6fcSSergei Shtylyov			reg = <0 0xe6540000 0 96>;
33538dbb6fcSSergei Shtylyov			interrupts = <GIC_SPI 154 IRQ_TYPE_LEVEL_HIGH>;
33638dbb6fcSSergei Shtylyov			clocks = <&cpg CPG_MOD 520>,
337e221dab0SSergei Shtylyov				 <&cpg CPG_CORE R8A77970_CLK_S2D1>,
33838dbb6fcSSergei Shtylyov				 <&scif_clk>;
33938dbb6fcSSergei Shtylyov			clock-names = "fck", "brg_int", "scif_clk";
34038dbb6fcSSergei Shtylyov			dmas = <&dmac1 0x31>, <&dmac1 0x30>,
34138dbb6fcSSergei Shtylyov			       <&dmac2 0x31>, <&dmac2 0x30>;
34238dbb6fcSSergei Shtylyov			dma-names = "tx", "rx", "tx", "rx";
3438aba250dSSergei Shtylyov			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
34438dbb6fcSSergei Shtylyov			resets = <&cpg 520>;
34538dbb6fcSSergei Shtylyov			status = "disabled";
34638dbb6fcSSergei Shtylyov		};
34738dbb6fcSSergei Shtylyov
34838dbb6fcSSergei Shtylyov		hscif1: serial@e6550000 {
34938dbb6fcSSergei Shtylyov			compatible = "renesas,hscif-r8a77970",
35038dbb6fcSSergei Shtylyov				     "renesas,rcar-gen3-hscif",
35138dbb6fcSSergei Shtylyov				     "renesas,hscif";
35238dbb6fcSSergei Shtylyov			reg = <0 0xe6550000 0 96>;
35338dbb6fcSSergei Shtylyov			interrupts = <GIC_SPI 155 IRQ_TYPE_LEVEL_HIGH>;
35438dbb6fcSSergei Shtylyov			clocks = <&cpg CPG_MOD 519>,
355e221dab0SSergei Shtylyov				 <&cpg CPG_CORE R8A77970_CLK_S2D1>,
35638dbb6fcSSergei Shtylyov				 <&scif_clk>;
35738dbb6fcSSergei Shtylyov			clock-names = "fck", "brg_int", "scif_clk";
35838dbb6fcSSergei Shtylyov			dmas = <&dmac1 0x33>, <&dmac1 0x32>,
35938dbb6fcSSergei Shtylyov			       <&dmac2 0x33>, <&dmac2 0x32>;
36038dbb6fcSSergei Shtylyov			dma-names = "tx", "rx", "tx", "rx";
3618aba250dSSergei Shtylyov			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
36238dbb6fcSSergei Shtylyov			resets = <&cpg 519>;
36338dbb6fcSSergei Shtylyov			status = "disabled";
36438dbb6fcSSergei Shtylyov		};
36538dbb6fcSSergei Shtylyov
36638dbb6fcSSergei Shtylyov		hscif2: serial@e6560000 {
36738dbb6fcSSergei Shtylyov			compatible = "renesas,hscif-r8a77970",
36838dbb6fcSSergei Shtylyov				     "renesas,rcar-gen3-hscif",
36938dbb6fcSSergei Shtylyov				     "renesas,hscif";
37038dbb6fcSSergei Shtylyov			reg = <0 0xe6560000 0 96>;
37138dbb6fcSSergei Shtylyov			interrupts = <GIC_SPI 144 IRQ_TYPE_LEVEL_HIGH>;
37238dbb6fcSSergei Shtylyov			clocks = <&cpg CPG_MOD 518>,
373e221dab0SSergei Shtylyov				 <&cpg CPG_CORE R8A77970_CLK_S2D1>,
37438dbb6fcSSergei Shtylyov				 <&scif_clk>;
37538dbb6fcSSergei Shtylyov			clock-names = "fck", "brg_int", "scif_clk";
37638dbb6fcSSergei Shtylyov			dmas = <&dmac1 0x35>, <&dmac1 0x34>,
37738dbb6fcSSergei Shtylyov			       <&dmac2 0x35>, <&dmac2 0x34>;
37838dbb6fcSSergei Shtylyov			dma-names = "tx", "rx", "tx", "rx";
3798aba250dSSergei Shtylyov			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
38038dbb6fcSSergei Shtylyov			resets = <&cpg 518>;
38138dbb6fcSSergei Shtylyov			status = "disabled";
38238dbb6fcSSergei Shtylyov		};
38338dbb6fcSSergei Shtylyov
38438dbb6fcSSergei Shtylyov		hscif3: serial@e66a0000 {
38538dbb6fcSSergei Shtylyov			compatible = "renesas,hscif-r8a77970",
38638dbb6fcSSergei Shtylyov				     "renesas,rcar-gen3-hscif", "renesas,hscif";
38738dbb6fcSSergei Shtylyov			reg = <0 0xe66a0000 0 96>;
38838dbb6fcSSergei Shtylyov			interrupts = <GIC_SPI 145 IRQ_TYPE_LEVEL_HIGH>;
38938dbb6fcSSergei Shtylyov			clocks = <&cpg CPG_MOD 517>,
390e221dab0SSergei Shtylyov				 <&cpg CPG_CORE R8A77970_CLK_S2D1>,
39138dbb6fcSSergei Shtylyov				 <&scif_clk>;
39238dbb6fcSSergei Shtylyov			clock-names = "fck", "brg_int", "scif_clk";
39338dbb6fcSSergei Shtylyov			dmas = <&dmac1 0x37>, <&dmac1 0x36>,
39438dbb6fcSSergei Shtylyov			       <&dmac2 0x37>, <&dmac2 0x36>;
39538dbb6fcSSergei Shtylyov			dma-names = "tx", "rx", "tx", "rx";
3968aba250dSSergei Shtylyov			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
39738dbb6fcSSergei Shtylyov			resets = <&cpg 517>;
39838dbb6fcSSergei Shtylyov			status = "disabled";
39938dbb6fcSSergei Shtylyov		};
40038dbb6fcSSergei Shtylyov
40181a579d5SSergei Shtylyov		canfd: can@e66c0000 {
40281a579d5SSergei Shtylyov			compatible = "renesas,r8a77970-canfd",
40381a579d5SSergei Shtylyov				     "renesas,rcar-gen3-canfd";
40481a579d5SSergei Shtylyov			reg = <0 0xe66c0000 0 0x8000>;
40581a579d5SSergei Shtylyov			interrupts = <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>,
40681a579d5SSergei Shtylyov				     <GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>;
40781a579d5SSergei Shtylyov			clocks = <&cpg CPG_MOD 914>,
40881a579d5SSergei Shtylyov				 <&cpg CPG_CORE R8A77970_CLK_CANFD>,
40981a579d5SSergei Shtylyov				 <&can_clk>;
41081a579d5SSergei Shtylyov			clock-names = "fck", "canfd", "can_clk";
41181a579d5SSergei Shtylyov			assigned-clocks = <&cpg CPG_CORE R8A77970_CLK_CANFD>;
41281a579d5SSergei Shtylyov			assigned-clock-rates = <40000000>;
41381a579d5SSergei Shtylyov			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
41481a579d5SSergei Shtylyov			resets = <&cpg 914>;
41581a579d5SSergei Shtylyov			status = "disabled";
41681a579d5SSergei Shtylyov
41781a579d5SSergei Shtylyov			channel0 {
41881a579d5SSergei Shtylyov				status = "disabled";
41981a579d5SSergei Shtylyov			};
42081a579d5SSergei Shtylyov
42181a579d5SSergei Shtylyov			channel1 {
42281a579d5SSergei Shtylyov				status = "disabled";
42381a579d5SSergei Shtylyov			};
42481a579d5SSergei Shtylyov		};
42581a579d5SSergei Shtylyov
4262964d754SYoshihiro Kaneko		avb: ethernet@e6800000 {
4272964d754SYoshihiro Kaneko			compatible = "renesas,etheravb-r8a77970",
4282964d754SYoshihiro Kaneko				     "renesas,etheravb-rcar-gen3";
4292964d754SYoshihiro Kaneko			reg = <0 0xe6800000 0 0x800>;
4302964d754SYoshihiro Kaneko			interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>,
4312964d754SYoshihiro Kaneko				     <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>,
4322964d754SYoshihiro Kaneko				     <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>,
4332964d754SYoshihiro Kaneko				     <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>,
4342964d754SYoshihiro Kaneko				     <GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>,
4352964d754SYoshihiro Kaneko				     <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>,
4362964d754SYoshihiro Kaneko				     <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>,
4372964d754SYoshihiro Kaneko				     <GIC_SPI 46 IRQ_TYPE_LEVEL_HIGH>,
4382964d754SYoshihiro Kaneko				     <GIC_SPI 47 IRQ_TYPE_LEVEL_HIGH>,
4392964d754SYoshihiro Kaneko				     <GIC_SPI 48 IRQ_TYPE_LEVEL_HIGH>,
4402964d754SYoshihiro Kaneko				     <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>,
4412964d754SYoshihiro Kaneko				     <GIC_SPI 50 IRQ_TYPE_LEVEL_HIGH>,
4422964d754SYoshihiro Kaneko				     <GIC_SPI 51 IRQ_TYPE_LEVEL_HIGH>,
4432964d754SYoshihiro Kaneko				     <GIC_SPI 52 IRQ_TYPE_LEVEL_HIGH>,
4442964d754SYoshihiro Kaneko				     <GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH>,
4452964d754SYoshihiro Kaneko				     <GIC_SPI 54 IRQ_TYPE_LEVEL_HIGH>,
4462964d754SYoshihiro Kaneko				     <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>,
4472964d754SYoshihiro Kaneko				     <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>,
4482964d754SYoshihiro Kaneko				     <GIC_SPI 57 IRQ_TYPE_LEVEL_HIGH>,
4492964d754SYoshihiro Kaneko				     <GIC_SPI 58 IRQ_TYPE_LEVEL_HIGH>,
4502964d754SYoshihiro Kaneko				     <GIC_SPI 59 IRQ_TYPE_LEVEL_HIGH>,
4512964d754SYoshihiro Kaneko				     <GIC_SPI 60 IRQ_TYPE_LEVEL_HIGH>,
4522964d754SYoshihiro Kaneko				     <GIC_SPI 61 IRQ_TYPE_LEVEL_HIGH>,
4532964d754SYoshihiro Kaneko				     <GIC_SPI 62 IRQ_TYPE_LEVEL_HIGH>,
4542964d754SYoshihiro Kaneko				     <GIC_SPI 63 IRQ_TYPE_LEVEL_HIGH>;
4552964d754SYoshihiro Kaneko			interrupt-names = "ch0", "ch1", "ch2", "ch3",
4562964d754SYoshihiro Kaneko					  "ch4", "ch5", "ch6", "ch7",
4572964d754SYoshihiro Kaneko					  "ch8", "ch9", "ch10", "ch11",
4582964d754SYoshihiro Kaneko					  "ch12", "ch13", "ch14", "ch15",
4592964d754SYoshihiro Kaneko					  "ch16", "ch17", "ch18", "ch19",
4602964d754SYoshihiro Kaneko					  "ch20", "ch21", "ch22", "ch23",
4612964d754SYoshihiro Kaneko					  "ch24";
4622964d754SYoshihiro Kaneko			clocks = <&cpg CPG_MOD 812>;
4632964d754SYoshihiro Kaneko			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
4642964d754SYoshihiro Kaneko			resets = <&cpg 812>;
4652964d754SYoshihiro Kaneko			phy-mode = "rgmii";
4662964d754SYoshihiro Kaneko			iommus = <&ipmmu_rt 3>;
4672964d754SYoshihiro Kaneko			#address-cells = <1>;
4682964d754SYoshihiro Kaneko			#size-cells = <0>;
4692964d754SYoshihiro Kaneko		};
4702964d754SYoshihiro Kaneko
47138dbb6fcSSergei Shtylyov		scif0: serial@e6e60000 {
47238dbb6fcSSergei Shtylyov			compatible = "renesas,scif-r8a77970",
47338dbb6fcSSergei Shtylyov				     "renesas,rcar-gen3-scif",
47438dbb6fcSSergei Shtylyov				     "renesas,scif";
47538dbb6fcSSergei Shtylyov			reg = <0 0xe6e60000 0 64>;
47638dbb6fcSSergei Shtylyov			interrupts = <GIC_SPI 152 IRQ_TYPE_LEVEL_HIGH>;
47738dbb6fcSSergei Shtylyov			clocks = <&cpg CPG_MOD 207>,
478e221dab0SSergei Shtylyov				 <&cpg CPG_CORE R8A77970_CLK_S2D1>,
47938dbb6fcSSergei Shtylyov				 <&scif_clk>;
48038dbb6fcSSergei Shtylyov			clock-names = "fck", "brg_int", "scif_clk";
48138dbb6fcSSergei Shtylyov			dmas = <&dmac1 0x51>, <&dmac1 0x50>,
48238dbb6fcSSergei Shtylyov			       <&dmac2 0x51>, <&dmac2 0x50>;
48338dbb6fcSSergei Shtylyov			dma-names = "tx", "rx", "tx", "rx";
4848aba250dSSergei Shtylyov			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
48538dbb6fcSSergei Shtylyov			resets = <&cpg 207>;
48638dbb6fcSSergei Shtylyov			status = "disabled";
48738dbb6fcSSergei Shtylyov		};
48838dbb6fcSSergei Shtylyov
48938dbb6fcSSergei Shtylyov		scif1: serial@e6e68000 {
49038dbb6fcSSergei Shtylyov			compatible = "renesas,scif-r8a77970",
49138dbb6fcSSergei Shtylyov				     "renesas,rcar-gen3-scif",
49238dbb6fcSSergei Shtylyov				     "renesas,scif";
49338dbb6fcSSergei Shtylyov			reg = <0 0xe6e68000 0 64>;
49438dbb6fcSSergei Shtylyov			interrupts = <GIC_SPI 153 IRQ_TYPE_LEVEL_HIGH>;
49538dbb6fcSSergei Shtylyov			clocks = <&cpg CPG_MOD 206>,
496e221dab0SSergei Shtylyov				 <&cpg CPG_CORE R8A77970_CLK_S2D1>,
49738dbb6fcSSergei Shtylyov				 <&scif_clk>;
49838dbb6fcSSergei Shtylyov			clock-names = "fck", "brg_int", "scif_clk";
49938dbb6fcSSergei Shtylyov			dmas = <&dmac1 0x53>, <&dmac1 0x52>,
50038dbb6fcSSergei Shtylyov			       <&dmac2 0x53>, <&dmac2 0x52>;
50138dbb6fcSSergei Shtylyov			dma-names = "tx", "rx", "tx", "rx";
5028aba250dSSergei Shtylyov			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
50338dbb6fcSSergei Shtylyov			resets = <&cpg 206>;
50438dbb6fcSSergei Shtylyov			status = "disabled";
50538dbb6fcSSergei Shtylyov		};
50638dbb6fcSSergei Shtylyov
50738dbb6fcSSergei Shtylyov		scif3: serial@e6c50000 {
50838dbb6fcSSergei Shtylyov			compatible = "renesas,scif-r8a77970",
50938dbb6fcSSergei Shtylyov				     "renesas,rcar-gen3-scif",
51038dbb6fcSSergei Shtylyov				     "renesas,scif";
51138dbb6fcSSergei Shtylyov			reg = <0 0xe6c50000 0 64>;
51238dbb6fcSSergei Shtylyov			interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>;
51338dbb6fcSSergei Shtylyov			clocks = <&cpg CPG_MOD 204>,
514e221dab0SSergei Shtylyov				 <&cpg CPG_CORE R8A77970_CLK_S2D1>,
51538dbb6fcSSergei Shtylyov				 <&scif_clk>;
51638dbb6fcSSergei Shtylyov			clock-names = "fck", "brg_int", "scif_clk";
51738dbb6fcSSergei Shtylyov			dmas = <&dmac1 0x57>, <&dmac1 0x56>,
51838dbb6fcSSergei Shtylyov			       <&dmac2 0x57>, <&dmac2 0x56>;
51938dbb6fcSSergei Shtylyov			dma-names = "tx", "rx", "tx", "rx";
5208aba250dSSergei Shtylyov			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
52138dbb6fcSSergei Shtylyov			resets = <&cpg 204>;
52238dbb6fcSSergei Shtylyov			status = "disabled";
52338dbb6fcSSergei Shtylyov		};
52438dbb6fcSSergei Shtylyov
52538dbb6fcSSergei Shtylyov		scif4: serial@e6c40000 {
52638dbb6fcSSergei Shtylyov			compatible = "renesas,scif-r8a77970",
52738dbb6fcSSergei Shtylyov				     "renesas,rcar-gen3-scif", "renesas,scif";
52838dbb6fcSSergei Shtylyov			reg = <0 0xe6c40000 0 64>;
52938dbb6fcSSergei Shtylyov			interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>;
53038dbb6fcSSergei Shtylyov			clocks = <&cpg CPG_MOD 203>,
531e221dab0SSergei Shtylyov				 <&cpg CPG_CORE R8A77970_CLK_S2D1>,
53238dbb6fcSSergei Shtylyov				 <&scif_clk>;
53338dbb6fcSSergei Shtylyov			clock-names = "fck", "brg_int", "scif_clk";
53438dbb6fcSSergei Shtylyov			dmas = <&dmac1 0x59>, <&dmac1 0x58>,
53538dbb6fcSSergei Shtylyov			       <&dmac2 0x59>, <&dmac2 0x58>;
53638dbb6fcSSergei Shtylyov			dma-names = "tx", "rx", "tx", "rx";
5378aba250dSSergei Shtylyov			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
53838dbb6fcSSergei Shtylyov			resets = <&cpg 203>;
53938dbb6fcSSergei Shtylyov			status = "disabled";
54038dbb6fcSSergei Shtylyov		};
541bea2ab13SSergei Shtylyov
5422964d754SYoshihiro Kaneko		dmac1: dma-controller@e7300000 {
5432964d754SYoshihiro Kaneko			compatible = "renesas,dmac-r8a77970",
5442964d754SYoshihiro Kaneko				     "renesas,rcar-dmac";
5452964d754SYoshihiro Kaneko			reg = <0 0xe7300000 0 0x10000>;
5462964d754SYoshihiro Kaneko			interrupts = <GIC_SPI 220 IRQ_TYPE_LEVEL_HIGH
5472964d754SYoshihiro Kaneko				      GIC_SPI 216 IRQ_TYPE_LEVEL_HIGH
5482964d754SYoshihiro Kaneko				      GIC_SPI 217 IRQ_TYPE_LEVEL_HIGH
5492964d754SYoshihiro Kaneko				      GIC_SPI 218 IRQ_TYPE_LEVEL_HIGH
5502964d754SYoshihiro Kaneko				      GIC_SPI 219 IRQ_TYPE_LEVEL_HIGH
5512964d754SYoshihiro Kaneko				      GIC_SPI 308 IRQ_TYPE_LEVEL_HIGH
5522964d754SYoshihiro Kaneko				      GIC_SPI 309 IRQ_TYPE_LEVEL_HIGH
5532964d754SYoshihiro Kaneko				      GIC_SPI 310 IRQ_TYPE_LEVEL_HIGH
5542964d754SYoshihiro Kaneko				      GIC_SPI 311 IRQ_TYPE_LEVEL_HIGH>;
5552964d754SYoshihiro Kaneko			interrupt-names = "error",
5562964d754SYoshihiro Kaneko					  "ch0", "ch1", "ch2", "ch3",
5572964d754SYoshihiro Kaneko					  "ch4", "ch5", "ch6", "ch7";
5582964d754SYoshihiro Kaneko			clocks = <&cpg CPG_MOD 218>;
5592964d754SYoshihiro Kaneko			clock-names = "fck";
5608aba250dSSergei Shtylyov			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
5612964d754SYoshihiro Kaneko			resets = <&cpg 218>;
5622964d754SYoshihiro Kaneko			#dma-cells = <1>;
5632964d754SYoshihiro Kaneko			dma-channels = <8>;
5642964d754SYoshihiro Kaneko			iommus = <&ipmmu_ds1 0>, <&ipmmu_ds1 1>,
5652964d754SYoshihiro Kaneko			       <&ipmmu_ds1 2>, <&ipmmu_ds1 3>,
5662964d754SYoshihiro Kaneko			       <&ipmmu_ds1 4>, <&ipmmu_ds1 5>,
5672964d754SYoshihiro Kaneko			       <&ipmmu_ds1 6>, <&ipmmu_ds1 7>;
568bea2ab13SSergei Shtylyov		};
569faa5c317SSergei Shtylyov
5702964d754SYoshihiro Kaneko		dmac2: dma-controller@e7310000 {
5712964d754SYoshihiro Kaneko			compatible = "renesas,dmac-r8a77970",
5722964d754SYoshihiro Kaneko				     "renesas,rcar-dmac";
5732964d754SYoshihiro Kaneko			reg = <0 0xe7310000 0 0x10000>;
5742964d754SYoshihiro Kaneko			interrupts = <GIC_SPI 307 IRQ_TYPE_LEVEL_HIGH
5752964d754SYoshihiro Kaneko				      GIC_SPI 312 IRQ_TYPE_LEVEL_HIGH
5762964d754SYoshihiro Kaneko				      GIC_SPI 313 IRQ_TYPE_LEVEL_HIGH
5772964d754SYoshihiro Kaneko				      GIC_SPI 314 IRQ_TYPE_LEVEL_HIGH
5782964d754SYoshihiro Kaneko				      GIC_SPI 315 IRQ_TYPE_LEVEL_HIGH
5792964d754SYoshihiro Kaneko				      GIC_SPI 316 IRQ_TYPE_LEVEL_HIGH
5802964d754SYoshihiro Kaneko				      GIC_SPI 317 IRQ_TYPE_LEVEL_HIGH
5812964d754SYoshihiro Kaneko				      GIC_SPI 318 IRQ_TYPE_LEVEL_HIGH
5822964d754SYoshihiro Kaneko				      GIC_SPI 319 IRQ_TYPE_LEVEL_HIGH>;
5832964d754SYoshihiro Kaneko			interrupt-names = "error",
5842964d754SYoshihiro Kaneko					  "ch0", "ch1", "ch2", "ch3",
5852964d754SYoshihiro Kaneko					  "ch4", "ch5", "ch6", "ch7";
5862964d754SYoshihiro Kaneko			clocks = <&cpg CPG_MOD 217>;
5872964d754SYoshihiro Kaneko			clock-names = "fck";
588faa5c317SSergei Shtylyov			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
5892964d754SYoshihiro Kaneko			resets = <&cpg 217>;
5902964d754SYoshihiro Kaneko			#dma-cells = <1>;
5912964d754SYoshihiro Kaneko			dma-channels = <8>;
5922964d754SYoshihiro Kaneko			iommus = <&ipmmu_ds1 16>, <&ipmmu_ds1 17>,
5932964d754SYoshihiro Kaneko			       <&ipmmu_ds1 18>, <&ipmmu_ds1 19>,
5942964d754SYoshihiro Kaneko			       <&ipmmu_ds1 20>, <&ipmmu_ds1 21>,
5952964d754SYoshihiro Kaneko			       <&ipmmu_ds1 22>, <&ipmmu_ds1 23>;
5962964d754SYoshihiro Kaneko		};
5972964d754SYoshihiro Kaneko
5982964d754SYoshihiro Kaneko		ipmmu_ds1: mmu@e7740000 {
5992964d754SYoshihiro Kaneko			compatible = "renesas,ipmmu-r8a77970";
6002964d754SYoshihiro Kaneko			reg = <0 0xe7740000 0 0x1000>;
6012964d754SYoshihiro Kaneko			renesas,ipmmu-main = <&ipmmu_mm 0>;
6022964d754SYoshihiro Kaneko			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
6032964d754SYoshihiro Kaneko			#iommu-cells = <1>;
6042964d754SYoshihiro Kaneko		};
6052964d754SYoshihiro Kaneko
6062964d754SYoshihiro Kaneko		ipmmu_ir: mmu@ff8b0000 {
6072964d754SYoshihiro Kaneko			compatible = "renesas,ipmmu-r8a77970";
6082964d754SYoshihiro Kaneko			reg = <0 0xff8b0000 0 0x1000>;
6092964d754SYoshihiro Kaneko			renesas,ipmmu-main = <&ipmmu_mm 3>;
6102964d754SYoshihiro Kaneko			power-domains = <&sysc R8A77970_PD_A3IR>;
6112964d754SYoshihiro Kaneko			#iommu-cells = <1>;
6122964d754SYoshihiro Kaneko		};
6132964d754SYoshihiro Kaneko
6142964d754SYoshihiro Kaneko		ipmmu_mm: mmu@e67b0000 {
6152964d754SYoshihiro Kaneko			compatible = "renesas,ipmmu-r8a77970";
6162964d754SYoshihiro Kaneko			reg = <0 0xe67b0000 0 0x1000>;
6172964d754SYoshihiro Kaneko			interrupts = <GIC_SPI 196 IRQ_TYPE_LEVEL_HIGH>,
6182964d754SYoshihiro Kaneko				     <GIC_SPI 197 IRQ_TYPE_LEVEL_HIGH>;
6192964d754SYoshihiro Kaneko			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
6202964d754SYoshihiro Kaneko			#iommu-cells = <1>;
6212964d754SYoshihiro Kaneko		};
6222964d754SYoshihiro Kaneko
6232964d754SYoshihiro Kaneko		ipmmu_rt: mmu@ffc80000 {
6242964d754SYoshihiro Kaneko			compatible = "renesas,ipmmu-r8a77970";
6252964d754SYoshihiro Kaneko			reg = <0 0xffc80000 0 0x1000>;
6262964d754SYoshihiro Kaneko			renesas,ipmmu-main = <&ipmmu_mm 7>;
6272964d754SYoshihiro Kaneko			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
6282964d754SYoshihiro Kaneko			#iommu-cells = <1>;
6292964d754SYoshihiro Kaneko		};
6302964d754SYoshihiro Kaneko
6312964d754SYoshihiro Kaneko		ipmmu_vi0: mmu@febd0000 {
6322964d754SYoshihiro Kaneko			compatible = "renesas,ipmmu-r8a77970";
6332964d754SYoshihiro Kaneko			reg = <0 0xfebd0000 0 0x1000>;
6342964d754SYoshihiro Kaneko			renesas,ipmmu-main = <&ipmmu_mm 9>;
6352964d754SYoshihiro Kaneko			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
6362964d754SYoshihiro Kaneko			#iommu-cells = <1>;
6372964d754SYoshihiro Kaneko		};
6382964d754SYoshihiro Kaneko
6392964d754SYoshihiro Kaneko		gic: interrupt-controller@f1010000 {
6402964d754SYoshihiro Kaneko			compatible = "arm,gic-400";
6412964d754SYoshihiro Kaneko			#interrupt-cells = <3>;
6422964d754SYoshihiro Kaneko			#address-cells = <0>;
6432964d754SYoshihiro Kaneko			interrupt-controller;
6442964d754SYoshihiro Kaneko			reg = <0 0xf1010000 0 0x1000>,
6452964d754SYoshihiro Kaneko			      <0 0xf1020000 0 0x20000>,
6462964d754SYoshihiro Kaneko			      <0 0xf1040000 0 0x20000>,
6472964d754SYoshihiro Kaneko			      <0 0xf1060000 0 0x20000>;
648*77899dd2SGeert Uytterhoeven			interrupts = <GIC_PPI 9	(GIC_CPU_MASK_SIMPLE(2) |
6492964d754SYoshihiro Kaneko				      IRQ_TYPE_LEVEL_HIGH)>;
6502964d754SYoshihiro Kaneko			clocks = <&cpg CPG_MOD 408>;
6512964d754SYoshihiro Kaneko			clock-names = "clk";
6522964d754SYoshihiro Kaneko			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
6532964d754SYoshihiro Kaneko			resets = <&cpg 408>;
654faa5c317SSergei Shtylyov		};
655b4f92030SSergei Shtylyov
656b4f92030SSergei Shtylyov		vspd0: vsp@fea20000 {
657b4f92030SSergei Shtylyov			compatible = "renesas,vsp2";
658b4f92030SSergei Shtylyov			reg = <0 0xfea20000 0 0x8000>;
659b4f92030SSergei Shtylyov			interrupts = <GIC_SPI 169 IRQ_TYPE_LEVEL_HIGH>;
660b4f92030SSergei Shtylyov			clocks = <&cpg CPG_MOD 623>;
661b4f92030SSergei Shtylyov			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
662b4f92030SSergei Shtylyov			resets = <&cpg 623>;
663b4f92030SSergei Shtylyov			renesas,fcp = <&fcpvd0>;
664b4f92030SSergei Shtylyov		};
665f66598b9SSergei Shtylyov
6662964d754SYoshihiro Kaneko		fcpvd0: fcp@fea27000 {
6672964d754SYoshihiro Kaneko			compatible = "renesas,fcpv";
6682964d754SYoshihiro Kaneko			reg = <0 0xfea27000 0 0x200>;
6692964d754SYoshihiro Kaneko			clocks = <&cpg CPG_MOD 603>;
6702964d754SYoshihiro Kaneko			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
6712964d754SYoshihiro Kaneko			resets = <&cpg 603>;
6722964d754SYoshihiro Kaneko		};
6732964d754SYoshihiro Kaneko
674f66598b9SSergei Shtylyov		du: display@feb00000 {
675f66598b9SSergei Shtylyov			compatible = "renesas,du-r8a77970";
676f66598b9SSergei Shtylyov			reg = <0 0xfeb00000 0 0x80000>;
677f66598b9SSergei Shtylyov			interrupts = <GIC_SPI 256 IRQ_TYPE_LEVEL_HIGH>;
678f66598b9SSergei Shtylyov			clocks = <&cpg CPG_MOD 724>;
679f66598b9SSergei Shtylyov			clock-names = "du.0";
680f66598b9SSergei Shtylyov			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
681f66598b9SSergei Shtylyov			resets = <&cpg 724>;
682f66598b9SSergei Shtylyov			vsps = <&vspd0>;
683f66598b9SSergei Shtylyov			status = "disabled";
684f66598b9SSergei Shtylyov
685f66598b9SSergei Shtylyov			ports {
686f66598b9SSergei Shtylyov				#address-cells = <1>;
687f66598b9SSergei Shtylyov				#size-cells = <0>;
688f66598b9SSergei Shtylyov
689f66598b9SSergei Shtylyov				port@0 {
690f66598b9SSergei Shtylyov					reg = <0>;
691f66598b9SSergei Shtylyov					du_out_rgb: endpoint {
692f66598b9SSergei Shtylyov					};
693f66598b9SSergei Shtylyov				};
694f66598b9SSergei Shtylyov
695f66598b9SSergei Shtylyov				port@1 {
696f66598b9SSergei Shtylyov					reg = <1>;
697f66598b9SSergei Shtylyov					du_out_lvds0: endpoint {
6983cd0bd7dSSergei Shtylyov						remote-endpoint = <&lvds0_in>;
6993cd0bd7dSSergei Shtylyov					};
7003cd0bd7dSSergei Shtylyov				};
7013cd0bd7dSSergei Shtylyov			};
7023cd0bd7dSSergei Shtylyov		};
7033cd0bd7dSSergei Shtylyov
7043cd0bd7dSSergei Shtylyov		lvds0: lvds-encoder@feb90000 {
7053cd0bd7dSSergei Shtylyov			compatible = "renesas,r8a77970-lvds";
7063cd0bd7dSSergei Shtylyov			reg = <0 0xfeb90000 0 0x14>;
7073cd0bd7dSSergei Shtylyov			clocks = <&cpg CPG_MOD 727>;
7083cd0bd7dSSergei Shtylyov			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
7093cd0bd7dSSergei Shtylyov			resets = <&cpg 727>;
7103cd0bd7dSSergei Shtylyov			status = "disabled";
7113cd0bd7dSSergei Shtylyov
7123cd0bd7dSSergei Shtylyov			ports {
7133cd0bd7dSSergei Shtylyov				#address-cells = <1>;
7143cd0bd7dSSergei Shtylyov				#size-cells = <0>;
7153cd0bd7dSSergei Shtylyov
7163cd0bd7dSSergei Shtylyov				port@0 {
7173cd0bd7dSSergei Shtylyov					reg = <0>;
7183cd0bd7dSSergei Shtylyov					lvds0_in: endpoint {
7193cd0bd7dSSergei Shtylyov						remote-endpoint =
7203cd0bd7dSSergei Shtylyov							<&du_out_lvds0>;
7213cd0bd7dSSergei Shtylyov					};
7223cd0bd7dSSergei Shtylyov				};
7233cd0bd7dSSergei Shtylyov				port@1 {
7243cd0bd7dSSergei Shtylyov					reg = <1>;
7253cd0bd7dSSergei Shtylyov					lvds0_out: endpoint {
726f66598b9SSergei Shtylyov					};
727f66598b9SSergei Shtylyov				};
728f66598b9SSergei Shtylyov			};
729f66598b9SSergei Shtylyov		};
7302964d754SYoshihiro Kaneko
7312964d754SYoshihiro Kaneko		prr: chipid@fff00044 {
7322964d754SYoshihiro Kaneko			compatible = "renesas,prr";
7332964d754SYoshihiro Kaneko			reg = <0 0xfff00044 0 4>;
7342964d754SYoshihiro Kaneko		};
73541f4345aSSergei Shtylyov	};
7367569d1eeSSimon Horman
7377569d1eeSSimon Horman	timer {
7387569d1eeSSimon Horman		compatible = "arm,armv8-timer";
739*77899dd2SGeert Uytterhoeven		interrupts-extended = <&gic GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>,
740*77899dd2SGeert Uytterhoeven				      <&gic GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>,
741*77899dd2SGeert Uytterhoeven				      <&gic GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>,
742*77899dd2SGeert Uytterhoeven				      <&gic GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>;
7437569d1eeSSimon Horman	};
74441f4345aSSergei Shtylyov};
745