xref: /linux/scripts/dtc/include-prefixes/arm64/renesas/r8a77970.dtsi (revision 122ddb7104f7c305ed83d49b2e2b65df497519e0)
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
2718281decSSergei Shtylyov	/* External CAN clock - to be overridden by boards that provide it */
2818281decSSergei Shtylyov	can_clk: can {
2918281decSSergei Shtylyov		compatible = "fixed-clock";
3018281decSSergei Shtylyov		#clock-cells = <0>;
3118281decSSergei Shtylyov		clock-frequency = <0>;
3218281decSSergei Shtylyov	};
3318281decSSergei 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
212a215af75SSergei Shtylyov		cmt0: timer@e60f0000 {
213a215af75SSergei Shtylyov			compatible = "renesas,r8a77970-cmt0",
214a215af75SSergei Shtylyov				     "renesas,rcar-gen3-cmt0";
215a215af75SSergei Shtylyov			reg = <0 0xe60f0000 0 0x1004>;
216a215af75SSergei Shtylyov			interrupts = <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
217a215af75SSergei Shtylyov				     <GIC_SPI 143 IRQ_TYPE_LEVEL_HIGH>;
218a215af75SSergei Shtylyov			clocks = <&cpg CPG_MOD 303>;
219a215af75SSergei Shtylyov			clock-names = "fck";
220a215af75SSergei Shtylyov			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
221a215af75SSergei Shtylyov			resets = <&cpg 303>;
222a215af75SSergei Shtylyov			status = "disabled";
223a215af75SSergei Shtylyov		};
224a215af75SSergei Shtylyov
225a215af75SSergei Shtylyov		cmt1: timer@e6130000 {
226a215af75SSergei Shtylyov			compatible = "renesas,r8a77970-cmt1",
227a215af75SSergei Shtylyov				     "renesas,rcar-gen3-cmt1";
228a215af75SSergei Shtylyov			reg = <0 0xe6130000 0 0x1004>;
229a215af75SSergei Shtylyov			interrupts = <GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>,
230a215af75SSergei Shtylyov				     <GIC_SPI 121 IRQ_TYPE_LEVEL_HIGH>,
231a215af75SSergei Shtylyov				     <GIC_SPI 122 IRQ_TYPE_LEVEL_HIGH>,
232a215af75SSergei Shtylyov				     <GIC_SPI 123 IRQ_TYPE_LEVEL_HIGH>,
233a215af75SSergei Shtylyov				     <GIC_SPI 124 IRQ_TYPE_LEVEL_HIGH>,
234a215af75SSergei Shtylyov				     <GIC_SPI 125 IRQ_TYPE_LEVEL_HIGH>,
235a215af75SSergei Shtylyov				     <GIC_SPI 126 IRQ_TYPE_LEVEL_HIGH>,
236a215af75SSergei Shtylyov				     <GIC_SPI 127 IRQ_TYPE_LEVEL_HIGH>;
237a215af75SSergei Shtylyov			clocks = <&cpg CPG_MOD 302>;
238a215af75SSergei Shtylyov			clock-names = "fck";
239a215af75SSergei Shtylyov			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
240a215af75SSergei Shtylyov			resets = <&cpg 302>;
241a215af75SSergei Shtylyov			status = "disabled";
242a215af75SSergei Shtylyov		};
243a215af75SSergei Shtylyov
244a215af75SSergei Shtylyov		cmt2: timer@e6140000 {
245a215af75SSergei Shtylyov			compatible = "renesas,r8a77970-cmt1",
246a215af75SSergei Shtylyov				     "renesas,rcar-gen3-cmt1";
247a215af75SSergei Shtylyov			reg = <0 0xe6140000 0 0x1004>;
248a215af75SSergei Shtylyov			interrupts = <GIC_SPI 258 IRQ_TYPE_LEVEL_HIGH>,
249a215af75SSergei Shtylyov				     <GIC_SPI 259 IRQ_TYPE_LEVEL_HIGH>,
250a215af75SSergei Shtylyov				     <GIC_SPI 260 IRQ_TYPE_LEVEL_HIGH>,
251a215af75SSergei Shtylyov				     <GIC_SPI 261 IRQ_TYPE_LEVEL_HIGH>,
252a215af75SSergei Shtylyov				     <GIC_SPI 262 IRQ_TYPE_LEVEL_HIGH>,
253a215af75SSergei Shtylyov				     <GIC_SPI 263 IRQ_TYPE_LEVEL_HIGH>,
254a215af75SSergei Shtylyov				     <GIC_SPI 264 IRQ_TYPE_LEVEL_HIGH>,
255a215af75SSergei Shtylyov				     <GIC_SPI 265 IRQ_TYPE_LEVEL_HIGH>;
256a215af75SSergei Shtylyov			clocks = <&cpg CPG_MOD 301>;
257a215af75SSergei Shtylyov			clock-names = "fck";
258a215af75SSergei Shtylyov			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
259a215af75SSergei Shtylyov			resets = <&cpg 301>;
260a215af75SSergei Shtylyov			status = "disabled";
261a215af75SSergei Shtylyov		};
262a215af75SSergei Shtylyov
263a215af75SSergei Shtylyov		cmt3: timer@e6148000 {
264a215af75SSergei Shtylyov			compatible = "renesas,r8a77970-cmt1",
265a215af75SSergei Shtylyov				     "renesas,rcar-gen3-cmt1";
266a215af75SSergei Shtylyov			reg = <0 0xe6148000 0 0x1004>;
267a215af75SSergei Shtylyov			interrupts = <GIC_SPI 273 IRQ_TYPE_LEVEL_HIGH>,
268a215af75SSergei Shtylyov				     <GIC_SPI 274 IRQ_TYPE_LEVEL_HIGH>,
269a215af75SSergei Shtylyov				     <GIC_SPI 275 IRQ_TYPE_LEVEL_HIGH>,
270a215af75SSergei Shtylyov				     <GIC_SPI 276 IRQ_TYPE_LEVEL_HIGH>,
271a215af75SSergei Shtylyov				     <GIC_SPI 277 IRQ_TYPE_LEVEL_HIGH>,
272a215af75SSergei Shtylyov				     <GIC_SPI 278 IRQ_TYPE_LEVEL_HIGH>,
273a215af75SSergei Shtylyov				     <GIC_SPI 279 IRQ_TYPE_LEVEL_HIGH>,
274a215af75SSergei Shtylyov				     <GIC_SPI 280 IRQ_TYPE_LEVEL_HIGH>;
275a215af75SSergei Shtylyov			clocks = <&cpg CPG_MOD 300>;
276a215af75SSergei Shtylyov			clock-names = "fck";
277a215af75SSergei Shtylyov			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
278a215af75SSergei Shtylyov			resets = <&cpg 300>;
279a215af75SSergei Shtylyov			status = "disabled";
280a215af75SSergei Shtylyov		};
281a215af75SSergei Shtylyov
2822964d754SYoshihiro Kaneko		cpg: clock-controller@e6150000 {
2832964d754SYoshihiro Kaneko			compatible = "renesas,r8a77970-cpg-mssr";
2842964d754SYoshihiro Kaneko			reg = <0 0xe6150000 0 0x1000>;
2852964d754SYoshihiro Kaneko			clocks = <&extal_clk>, <&extalr_clk>;
2862964d754SYoshihiro Kaneko			clock-names = "extal", "extalr";
2872964d754SYoshihiro Kaneko			#clock-cells = <2>;
2882964d754SYoshihiro Kaneko			#power-domain-cells = <0>;
2892964d754SYoshihiro Kaneko			#reset-cells = <1>;
2902964d754SYoshihiro Kaneko		};
2912964d754SYoshihiro Kaneko
2922964d754SYoshihiro Kaneko		rst: reset-controller@e6160000 {
2932964d754SYoshihiro Kaneko			compatible = "renesas,r8a77970-rst";
2942964d754SYoshihiro Kaneko			reg = <0 0xe6160000 0 0x200>;
2952964d754SYoshihiro Kaneko		};
2962964d754SYoshihiro Kaneko
2972964d754SYoshihiro Kaneko		sysc: system-controller@e6180000 {
2982964d754SYoshihiro Kaneko			compatible = "renesas,r8a77970-sysc";
2992964d754SYoshihiro Kaneko			reg = <0 0xe6180000 0 0x440>;
3002964d754SYoshihiro Kaneko			#power-domain-cells = <1>;
3012964d754SYoshihiro Kaneko		};
3022964d754SYoshihiro Kaneko
303f1487c19SSergei Shtylyov		thermal: thermal@e6190000 {
304f1487c19SSergei Shtylyov			compatible = "renesas,thermal-r8a77970";
305f1487c19SSergei Shtylyov			reg =  <0 0xe6190000 0 0x10
306f1487c19SSergei Shtylyov				0 0xe6190100 0 0x120>;
307f1487c19SSergei Shtylyov			interrupts = <GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>,
308f1487c19SSergei Shtylyov				     <GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH>,
309f1487c19SSergei Shtylyov				     <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>;
310f1487c19SSergei Shtylyov			clocks = <&cpg CPG_MOD 522>;
311f1487c19SSergei Shtylyov			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
312f1487c19SSergei Shtylyov			resets = <&cpg 522>;
313f1487c19SSergei Shtylyov			#thermal-sensor-cells = <0>;
314f1487c19SSergei Shtylyov		};
315f1487c19SSergei Shtylyov
316c6a7fd98SGeert Uytterhoeven		intc_ex: interrupt-controller@e61c0000 {
317c6a7fd98SGeert Uytterhoeven			compatible = "renesas,intc-ex-r8a77970", "renesas,irqc";
318c6a7fd98SGeert Uytterhoeven			#interrupt-cells = <2>;
319c6a7fd98SGeert Uytterhoeven			interrupt-controller;
320c6a7fd98SGeert Uytterhoeven			reg = <0 0xe61c0000 0 0x200>;
321c6a7fd98SGeert Uytterhoeven			interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH
322c6a7fd98SGeert Uytterhoeven				      GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH
323c6a7fd98SGeert Uytterhoeven				      GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH
324c6a7fd98SGeert Uytterhoeven				      GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH
325c6a7fd98SGeert Uytterhoeven				      GIC_SPI 18 IRQ_TYPE_LEVEL_HIGH
326c6a7fd98SGeert Uytterhoeven				      GIC_SPI 161 IRQ_TYPE_LEVEL_HIGH>;
327c6a7fd98SGeert Uytterhoeven			clocks = <&cpg CPG_MOD 407>;
3288aba250dSSergei Shtylyov			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
329c6a7fd98SGeert Uytterhoeven			resets = <&cpg 407>;
330c6a7fd98SGeert Uytterhoeven		};
331c6a7fd98SGeert Uytterhoeven
332cbfa278eSSergei Shtylyov		i2c0: i2c@e6500000 {
333cbfa278eSSergei Shtylyov			compatible = "renesas,i2c-r8a77970",
334cbfa278eSSergei Shtylyov				     "renesas,rcar-gen3-i2c";
335cbfa278eSSergei Shtylyov			reg = <0 0xe6500000 0 0x40>;
336cbfa278eSSergei Shtylyov			interrupts = <GIC_SPI 287 IRQ_TYPE_LEVEL_HIGH>;
337cbfa278eSSergei Shtylyov			clocks = <&cpg CPG_MOD 931>;
338cbfa278eSSergei Shtylyov			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
339cbfa278eSSergei Shtylyov			resets = <&cpg 931>;
340cbfa278eSSergei Shtylyov			dmas = <&dmac1 0x91>, <&dmac1 0x90>,
341cbfa278eSSergei Shtylyov			       <&dmac2 0x91>, <&dmac2 0x90>;
342cbfa278eSSergei Shtylyov			dma-names = "tx", "rx", "tx", "rx";
343cbfa278eSSergei Shtylyov			i2c-scl-internal-delay-ns = <6>;
344cbfa278eSSergei Shtylyov			#address-cells = <1>;
345cbfa278eSSergei Shtylyov			#size-cells = <0>;
346cbfa278eSSergei Shtylyov			status = "disabled";
347cbfa278eSSergei Shtylyov		};
348cbfa278eSSergei Shtylyov
349cbfa278eSSergei Shtylyov		i2c1: i2c@e6508000 {
350cbfa278eSSergei Shtylyov			compatible = "renesas,i2c-r8a77970",
351cbfa278eSSergei Shtylyov				     "renesas,rcar-gen3-i2c";
352cbfa278eSSergei Shtylyov			reg = <0 0xe6508000 0 0x40>;
353cbfa278eSSergei Shtylyov			interrupts = <GIC_SPI 288 IRQ_TYPE_LEVEL_HIGH>;
354cbfa278eSSergei Shtylyov			clocks = <&cpg CPG_MOD 930>;
355cbfa278eSSergei Shtylyov			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
356cbfa278eSSergei Shtylyov			resets = <&cpg 930>;
357cbfa278eSSergei Shtylyov			dmas = <&dmac1 0x93>, <&dmac1 0x92>,
358cbfa278eSSergei Shtylyov			       <&dmac2 0x93>, <&dmac2 0x92>;
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		i2c2: i2c@e6510000 {
367cbfa278eSSergei Shtylyov			compatible = "renesas,i2c-r8a77970",
368cbfa278eSSergei Shtylyov				     "renesas,rcar-gen3-i2c";
369cbfa278eSSergei Shtylyov			reg = <0 0xe6510000 0 0x40>;
370cbfa278eSSergei Shtylyov			interrupts = <GIC_SPI 286 IRQ_TYPE_LEVEL_HIGH>;
371cbfa278eSSergei Shtylyov			clocks = <&cpg CPG_MOD 929>;
372cbfa278eSSergei Shtylyov			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
373cbfa278eSSergei Shtylyov			resets = <&cpg 929>;
374cbfa278eSSergei Shtylyov			dmas = <&dmac1 0x95>, <&dmac1 0x94>,
375cbfa278eSSergei Shtylyov			       <&dmac2 0x95>, <&dmac2 0x94>;
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		i2c3: i2c@e66d0000 {
384cbfa278eSSergei Shtylyov			compatible = "renesas,i2c-r8a77970",
385cbfa278eSSergei Shtylyov				     "renesas,rcar-gen3-i2c";
386cbfa278eSSergei Shtylyov			reg = <0 0xe66d0000 0 0x40>;
387cbfa278eSSergei Shtylyov			interrupts = <GIC_SPI 290 IRQ_TYPE_LEVEL_HIGH>;
388cbfa278eSSergei Shtylyov			clocks = <&cpg CPG_MOD 928>;
389cbfa278eSSergei Shtylyov			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
390cbfa278eSSergei Shtylyov			resets = <&cpg 928>;
391cbfa278eSSergei Shtylyov			dmas = <&dmac1 0x97>, <&dmac1 0x96>,
392cbfa278eSSergei Shtylyov			       <&dmac2 0x97>, <&dmac2 0x96>;
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		i2c4: i2c@e66d8000 {
401cbfa278eSSergei Shtylyov			compatible = "renesas,i2c-r8a77970",
402cbfa278eSSergei Shtylyov				     "renesas,rcar-gen3-i2c";
403cbfa278eSSergei Shtylyov			reg = <0 0xe66d8000 0 0x40>;
404cbfa278eSSergei Shtylyov			interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>;
405cbfa278eSSergei Shtylyov			clocks = <&cpg CPG_MOD 927>;
406cbfa278eSSergei Shtylyov			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
407cbfa278eSSergei Shtylyov			resets = <&cpg 927>;
408cbfa278eSSergei Shtylyov			dmas = <&dmac1 0x99>, <&dmac1 0x98>,
409cbfa278eSSergei Shtylyov			       <&dmac2 0x99>, <&dmac2 0x98>;
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
41738dbb6fcSSergei Shtylyov		hscif0: serial@e6540000 {
41838dbb6fcSSergei Shtylyov			compatible = "renesas,hscif-r8a77970",
41938dbb6fcSSergei Shtylyov				     "renesas,rcar-gen3-hscif",
42038dbb6fcSSergei Shtylyov				     "renesas,hscif";
42138dbb6fcSSergei Shtylyov			reg = <0 0xe6540000 0 96>;
42238dbb6fcSSergei Shtylyov			interrupts = <GIC_SPI 154 IRQ_TYPE_LEVEL_HIGH>;
42338dbb6fcSSergei Shtylyov			clocks = <&cpg CPG_MOD 520>,
424e221dab0SSergei Shtylyov				 <&cpg CPG_CORE R8A77970_CLK_S2D1>,
42538dbb6fcSSergei Shtylyov				 <&scif_clk>;
42638dbb6fcSSergei Shtylyov			clock-names = "fck", "brg_int", "scif_clk";
42738dbb6fcSSergei Shtylyov			dmas = <&dmac1 0x31>, <&dmac1 0x30>,
42838dbb6fcSSergei Shtylyov			       <&dmac2 0x31>, <&dmac2 0x30>;
42938dbb6fcSSergei Shtylyov			dma-names = "tx", "rx", "tx", "rx";
4308aba250dSSergei Shtylyov			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
43138dbb6fcSSergei Shtylyov			resets = <&cpg 520>;
43238dbb6fcSSergei Shtylyov			status = "disabled";
43338dbb6fcSSergei Shtylyov		};
43438dbb6fcSSergei Shtylyov
43538dbb6fcSSergei Shtylyov		hscif1: serial@e6550000 {
43638dbb6fcSSergei Shtylyov			compatible = "renesas,hscif-r8a77970",
43738dbb6fcSSergei Shtylyov				     "renesas,rcar-gen3-hscif",
43838dbb6fcSSergei Shtylyov				     "renesas,hscif";
43938dbb6fcSSergei Shtylyov			reg = <0 0xe6550000 0 96>;
44038dbb6fcSSergei Shtylyov			interrupts = <GIC_SPI 155 IRQ_TYPE_LEVEL_HIGH>;
44138dbb6fcSSergei Shtylyov			clocks = <&cpg CPG_MOD 519>,
442e221dab0SSergei Shtylyov				 <&cpg CPG_CORE R8A77970_CLK_S2D1>,
44338dbb6fcSSergei Shtylyov				 <&scif_clk>;
44438dbb6fcSSergei Shtylyov			clock-names = "fck", "brg_int", "scif_clk";
44538dbb6fcSSergei Shtylyov			dmas = <&dmac1 0x33>, <&dmac1 0x32>,
44638dbb6fcSSergei Shtylyov			       <&dmac2 0x33>, <&dmac2 0x32>;
44738dbb6fcSSergei Shtylyov			dma-names = "tx", "rx", "tx", "rx";
4488aba250dSSergei Shtylyov			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
44938dbb6fcSSergei Shtylyov			resets = <&cpg 519>;
45038dbb6fcSSergei Shtylyov			status = "disabled";
45138dbb6fcSSergei Shtylyov		};
45238dbb6fcSSergei Shtylyov
45338dbb6fcSSergei Shtylyov		hscif2: serial@e6560000 {
45438dbb6fcSSergei Shtylyov			compatible = "renesas,hscif-r8a77970",
45538dbb6fcSSergei Shtylyov				     "renesas,rcar-gen3-hscif",
45638dbb6fcSSergei Shtylyov				     "renesas,hscif";
45738dbb6fcSSergei Shtylyov			reg = <0 0xe6560000 0 96>;
45838dbb6fcSSergei Shtylyov			interrupts = <GIC_SPI 144 IRQ_TYPE_LEVEL_HIGH>;
45938dbb6fcSSergei Shtylyov			clocks = <&cpg CPG_MOD 518>,
460e221dab0SSergei Shtylyov				 <&cpg CPG_CORE R8A77970_CLK_S2D1>,
46138dbb6fcSSergei Shtylyov				 <&scif_clk>;
46238dbb6fcSSergei Shtylyov			clock-names = "fck", "brg_int", "scif_clk";
46338dbb6fcSSergei Shtylyov			dmas = <&dmac1 0x35>, <&dmac1 0x34>,
46438dbb6fcSSergei Shtylyov			       <&dmac2 0x35>, <&dmac2 0x34>;
46538dbb6fcSSergei Shtylyov			dma-names = "tx", "rx", "tx", "rx";
4668aba250dSSergei Shtylyov			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
46738dbb6fcSSergei Shtylyov			resets = <&cpg 518>;
46838dbb6fcSSergei Shtylyov			status = "disabled";
46938dbb6fcSSergei Shtylyov		};
47038dbb6fcSSergei Shtylyov
47138dbb6fcSSergei Shtylyov		hscif3: serial@e66a0000 {
47238dbb6fcSSergei Shtylyov			compatible = "renesas,hscif-r8a77970",
47338dbb6fcSSergei Shtylyov				     "renesas,rcar-gen3-hscif", "renesas,hscif";
47438dbb6fcSSergei Shtylyov			reg = <0 0xe66a0000 0 96>;
47538dbb6fcSSergei Shtylyov			interrupts = <GIC_SPI 145 IRQ_TYPE_LEVEL_HIGH>;
47638dbb6fcSSergei Shtylyov			clocks = <&cpg CPG_MOD 517>,
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 0x37>, <&dmac1 0x36>,
48138dbb6fcSSergei Shtylyov			       <&dmac2 0x37>, <&dmac2 0x36>;
48238dbb6fcSSergei Shtylyov			dma-names = "tx", "rx", "tx", "rx";
4838aba250dSSergei Shtylyov			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
48438dbb6fcSSergei Shtylyov			resets = <&cpg 517>;
48538dbb6fcSSergei Shtylyov			status = "disabled";
48638dbb6fcSSergei Shtylyov		};
48738dbb6fcSSergei Shtylyov
48881a579d5SSergei Shtylyov		canfd: can@e66c0000 {
48981a579d5SSergei Shtylyov			compatible = "renesas,r8a77970-canfd",
49081a579d5SSergei Shtylyov				     "renesas,rcar-gen3-canfd";
49181a579d5SSergei Shtylyov			reg = <0 0xe66c0000 0 0x8000>;
49281a579d5SSergei Shtylyov			interrupts = <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>,
49381a579d5SSergei Shtylyov				     <GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>;
49481a579d5SSergei Shtylyov			clocks = <&cpg CPG_MOD 914>,
49581a579d5SSergei Shtylyov				 <&cpg CPG_CORE R8A77970_CLK_CANFD>,
49681a579d5SSergei Shtylyov				 <&can_clk>;
49781a579d5SSergei Shtylyov			clock-names = "fck", "canfd", "can_clk";
49881a579d5SSergei Shtylyov			assigned-clocks = <&cpg CPG_CORE R8A77970_CLK_CANFD>;
49981a579d5SSergei Shtylyov			assigned-clock-rates = <40000000>;
50081a579d5SSergei Shtylyov			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
50181a579d5SSergei Shtylyov			resets = <&cpg 914>;
50281a579d5SSergei Shtylyov			status = "disabled";
50381a579d5SSergei Shtylyov
50481a579d5SSergei Shtylyov			channel0 {
50581a579d5SSergei Shtylyov				status = "disabled";
50681a579d5SSergei Shtylyov			};
50781a579d5SSergei Shtylyov
50881a579d5SSergei Shtylyov			channel1 {
50981a579d5SSergei Shtylyov				status = "disabled";
51081a579d5SSergei Shtylyov			};
51181a579d5SSergei Shtylyov		};
51281a579d5SSergei Shtylyov
5132964d754SYoshihiro Kaneko		avb: ethernet@e6800000 {
5142964d754SYoshihiro Kaneko			compatible = "renesas,etheravb-r8a77970",
5152964d754SYoshihiro Kaneko				     "renesas,etheravb-rcar-gen3";
5162964d754SYoshihiro Kaneko			reg = <0 0xe6800000 0 0x800>;
5172964d754SYoshihiro Kaneko			interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>,
5182964d754SYoshihiro Kaneko				     <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>,
5192964d754SYoshihiro Kaneko				     <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>,
5202964d754SYoshihiro Kaneko				     <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>,
5212964d754SYoshihiro Kaneko				     <GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>,
5222964d754SYoshihiro Kaneko				     <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>,
5232964d754SYoshihiro Kaneko				     <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>,
5242964d754SYoshihiro Kaneko				     <GIC_SPI 46 IRQ_TYPE_LEVEL_HIGH>,
5252964d754SYoshihiro Kaneko				     <GIC_SPI 47 IRQ_TYPE_LEVEL_HIGH>,
5262964d754SYoshihiro Kaneko				     <GIC_SPI 48 IRQ_TYPE_LEVEL_HIGH>,
5272964d754SYoshihiro Kaneko				     <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>,
5282964d754SYoshihiro Kaneko				     <GIC_SPI 50 IRQ_TYPE_LEVEL_HIGH>,
5292964d754SYoshihiro Kaneko				     <GIC_SPI 51 IRQ_TYPE_LEVEL_HIGH>,
5302964d754SYoshihiro Kaneko				     <GIC_SPI 52 IRQ_TYPE_LEVEL_HIGH>,
5312964d754SYoshihiro Kaneko				     <GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH>,
5322964d754SYoshihiro Kaneko				     <GIC_SPI 54 IRQ_TYPE_LEVEL_HIGH>,
5332964d754SYoshihiro Kaneko				     <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>,
5342964d754SYoshihiro Kaneko				     <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>,
5352964d754SYoshihiro Kaneko				     <GIC_SPI 57 IRQ_TYPE_LEVEL_HIGH>,
5362964d754SYoshihiro Kaneko				     <GIC_SPI 58 IRQ_TYPE_LEVEL_HIGH>,
5372964d754SYoshihiro Kaneko				     <GIC_SPI 59 IRQ_TYPE_LEVEL_HIGH>,
5382964d754SYoshihiro Kaneko				     <GIC_SPI 60 IRQ_TYPE_LEVEL_HIGH>,
5392964d754SYoshihiro Kaneko				     <GIC_SPI 61 IRQ_TYPE_LEVEL_HIGH>,
5402964d754SYoshihiro Kaneko				     <GIC_SPI 62 IRQ_TYPE_LEVEL_HIGH>,
5412964d754SYoshihiro Kaneko				     <GIC_SPI 63 IRQ_TYPE_LEVEL_HIGH>;
5422964d754SYoshihiro Kaneko			interrupt-names = "ch0", "ch1", "ch2", "ch3",
5432964d754SYoshihiro Kaneko					  "ch4", "ch5", "ch6", "ch7",
5442964d754SYoshihiro Kaneko					  "ch8", "ch9", "ch10", "ch11",
5452964d754SYoshihiro Kaneko					  "ch12", "ch13", "ch14", "ch15",
5462964d754SYoshihiro Kaneko					  "ch16", "ch17", "ch18", "ch19",
5472964d754SYoshihiro Kaneko					  "ch20", "ch21", "ch22", "ch23",
5482964d754SYoshihiro Kaneko					  "ch24";
5492964d754SYoshihiro Kaneko			clocks = <&cpg CPG_MOD 812>;
5502964d754SYoshihiro Kaneko			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
5512964d754SYoshihiro Kaneko			resets = <&cpg 812>;
5522964d754SYoshihiro Kaneko			phy-mode = "rgmii";
5532964d754SYoshihiro Kaneko			iommus = <&ipmmu_rt 3>;
5542964d754SYoshihiro Kaneko			#address-cells = <1>;
5552964d754SYoshihiro Kaneko			#size-cells = <0>;
5569223eef0SSergei Shtylyov			status = "disabled";
5572964d754SYoshihiro Kaneko		};
5582964d754SYoshihiro Kaneko
559de625477SSergei Shtylyov		pwm0: pwm@e6e30000 {
560de625477SSergei Shtylyov			compatible = "renesas,pwm-r8a77970", "renesas,pwm-rcar";
561de625477SSergei Shtylyov			reg = <0 0xe6e30000 0 8>;
562de625477SSergei Shtylyov			#pwm-cells = <2>;
563de625477SSergei Shtylyov			clocks = <&cpg CPG_MOD 523>;
564de625477SSergei Shtylyov			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
565de625477SSergei Shtylyov			resets = <&cpg 523>;
566de625477SSergei Shtylyov			status = "disabled";
567de625477SSergei Shtylyov		};
568de625477SSergei Shtylyov
569de625477SSergei Shtylyov		pwm1: pwm@e6e31000 {
570de625477SSergei Shtylyov			compatible = "renesas,pwm-r8a77970", "renesas,pwm-rcar";
571de625477SSergei Shtylyov			reg = <0 0xe6e31000 0 8>;
572de625477SSergei Shtylyov			#pwm-cells = <2>;
573de625477SSergei Shtylyov			clocks = <&cpg CPG_MOD 523>;
574de625477SSergei Shtylyov			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
575de625477SSergei Shtylyov			resets = <&cpg 523>;
576de625477SSergei Shtylyov			status = "disabled";
577de625477SSergei Shtylyov		};
578de625477SSergei Shtylyov
579de625477SSergei Shtylyov		pwm2: pwm@e6e32000 {
580de625477SSergei Shtylyov			compatible = "renesas,pwm-r8a77970", "renesas,pwm-rcar";
581de625477SSergei Shtylyov			reg = <0 0xe6e32000 0 8>;
582de625477SSergei Shtylyov			#pwm-cells = <2>;
583de625477SSergei Shtylyov			clocks = <&cpg CPG_MOD 523>;
584de625477SSergei Shtylyov			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
585de625477SSergei Shtylyov			resets = <&cpg 523>;
586de625477SSergei Shtylyov			status = "disabled";
587de625477SSergei Shtylyov		};
588de625477SSergei Shtylyov
589de625477SSergei Shtylyov		pwm3: pwm@e6e33000 {
590de625477SSergei Shtylyov			compatible = "renesas,pwm-r8a7790", "renesas,pwm-rcar";
591de625477SSergei Shtylyov			reg = <0 0xe6e33000 0 8>;
592de625477SSergei Shtylyov			#pwm-cells = <2>;
593de625477SSergei Shtylyov			clocks = <&cpg CPG_MOD 523>;
594de625477SSergei Shtylyov			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
595de625477SSergei Shtylyov			resets = <&cpg 523>;
596de625477SSergei Shtylyov			status = "disabled";
597de625477SSergei Shtylyov		};
598de625477SSergei Shtylyov
599de625477SSergei Shtylyov		pwm4: pwm@e6e34000 {
600de625477SSergei Shtylyov			compatible = "renesas,pwm-r8a77970", "renesas,pwm-rcar";
601de625477SSergei Shtylyov			reg = <0 0xe6e34000 0 8>;
602de625477SSergei Shtylyov			#pwm-cells = <2>;
603de625477SSergei Shtylyov			clocks = <&cpg CPG_MOD 523>;
604de625477SSergei Shtylyov			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
605de625477SSergei Shtylyov			resets = <&cpg 523>;
606de625477SSergei Shtylyov			status = "disabled";
607de625477SSergei Shtylyov		};
608de625477SSergei Shtylyov
60938dbb6fcSSergei Shtylyov		scif0: serial@e6e60000 {
61038dbb6fcSSergei Shtylyov			compatible = "renesas,scif-r8a77970",
61138dbb6fcSSergei Shtylyov				     "renesas,rcar-gen3-scif",
61238dbb6fcSSergei Shtylyov				     "renesas,scif";
61338dbb6fcSSergei Shtylyov			reg = <0 0xe6e60000 0 64>;
61438dbb6fcSSergei Shtylyov			interrupts = <GIC_SPI 152 IRQ_TYPE_LEVEL_HIGH>;
61538dbb6fcSSergei Shtylyov			clocks = <&cpg CPG_MOD 207>,
616e221dab0SSergei Shtylyov				 <&cpg CPG_CORE R8A77970_CLK_S2D1>,
61738dbb6fcSSergei Shtylyov				 <&scif_clk>;
61838dbb6fcSSergei Shtylyov			clock-names = "fck", "brg_int", "scif_clk";
61938dbb6fcSSergei Shtylyov			dmas = <&dmac1 0x51>, <&dmac1 0x50>,
62038dbb6fcSSergei Shtylyov			       <&dmac2 0x51>, <&dmac2 0x50>;
62138dbb6fcSSergei Shtylyov			dma-names = "tx", "rx", "tx", "rx";
6228aba250dSSergei Shtylyov			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
62338dbb6fcSSergei Shtylyov			resets = <&cpg 207>;
62438dbb6fcSSergei Shtylyov			status = "disabled";
62538dbb6fcSSergei Shtylyov		};
62638dbb6fcSSergei Shtylyov
62738dbb6fcSSergei Shtylyov		scif1: serial@e6e68000 {
62838dbb6fcSSergei Shtylyov			compatible = "renesas,scif-r8a77970",
62938dbb6fcSSergei Shtylyov				     "renesas,rcar-gen3-scif",
63038dbb6fcSSergei Shtylyov				     "renesas,scif";
63138dbb6fcSSergei Shtylyov			reg = <0 0xe6e68000 0 64>;
63238dbb6fcSSergei Shtylyov			interrupts = <GIC_SPI 153 IRQ_TYPE_LEVEL_HIGH>;
63338dbb6fcSSergei Shtylyov			clocks = <&cpg CPG_MOD 206>,
634e221dab0SSergei Shtylyov				 <&cpg CPG_CORE R8A77970_CLK_S2D1>,
63538dbb6fcSSergei Shtylyov				 <&scif_clk>;
63638dbb6fcSSergei Shtylyov			clock-names = "fck", "brg_int", "scif_clk";
63738dbb6fcSSergei Shtylyov			dmas = <&dmac1 0x53>, <&dmac1 0x52>,
63838dbb6fcSSergei Shtylyov			       <&dmac2 0x53>, <&dmac2 0x52>;
63938dbb6fcSSergei Shtylyov			dma-names = "tx", "rx", "tx", "rx";
6408aba250dSSergei Shtylyov			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
64138dbb6fcSSergei Shtylyov			resets = <&cpg 206>;
64238dbb6fcSSergei Shtylyov			status = "disabled";
64338dbb6fcSSergei Shtylyov		};
64438dbb6fcSSergei Shtylyov
64538dbb6fcSSergei Shtylyov		scif3: serial@e6c50000 {
64638dbb6fcSSergei Shtylyov			compatible = "renesas,scif-r8a77970",
64738dbb6fcSSergei Shtylyov				     "renesas,rcar-gen3-scif",
64838dbb6fcSSergei Shtylyov				     "renesas,scif";
64938dbb6fcSSergei Shtylyov			reg = <0 0xe6c50000 0 64>;
65038dbb6fcSSergei Shtylyov			interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>;
65138dbb6fcSSergei Shtylyov			clocks = <&cpg CPG_MOD 204>,
652e221dab0SSergei Shtylyov				 <&cpg CPG_CORE R8A77970_CLK_S2D1>,
65338dbb6fcSSergei Shtylyov				 <&scif_clk>;
65438dbb6fcSSergei Shtylyov			clock-names = "fck", "brg_int", "scif_clk";
65538dbb6fcSSergei Shtylyov			dmas = <&dmac1 0x57>, <&dmac1 0x56>,
65638dbb6fcSSergei Shtylyov			       <&dmac2 0x57>, <&dmac2 0x56>;
65738dbb6fcSSergei Shtylyov			dma-names = "tx", "rx", "tx", "rx";
6588aba250dSSergei Shtylyov			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
65938dbb6fcSSergei Shtylyov			resets = <&cpg 204>;
66038dbb6fcSSergei Shtylyov			status = "disabled";
66138dbb6fcSSergei Shtylyov		};
66238dbb6fcSSergei Shtylyov
66338dbb6fcSSergei Shtylyov		scif4: serial@e6c40000 {
66438dbb6fcSSergei Shtylyov			compatible = "renesas,scif-r8a77970",
66538dbb6fcSSergei Shtylyov				     "renesas,rcar-gen3-scif", "renesas,scif";
66638dbb6fcSSergei Shtylyov			reg = <0 0xe6c40000 0 64>;
66738dbb6fcSSergei Shtylyov			interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>;
66838dbb6fcSSergei Shtylyov			clocks = <&cpg CPG_MOD 203>,
669e221dab0SSergei Shtylyov				 <&cpg CPG_CORE R8A77970_CLK_S2D1>,
67038dbb6fcSSergei Shtylyov				 <&scif_clk>;
67138dbb6fcSSergei Shtylyov			clock-names = "fck", "brg_int", "scif_clk";
67238dbb6fcSSergei Shtylyov			dmas = <&dmac1 0x59>, <&dmac1 0x58>,
67338dbb6fcSSergei Shtylyov			       <&dmac2 0x59>, <&dmac2 0x58>;
67438dbb6fcSSergei Shtylyov			dma-names = "tx", "rx", "tx", "rx";
6758aba250dSSergei Shtylyov			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
67638dbb6fcSSergei Shtylyov			resets = <&cpg 203>;
67738dbb6fcSSergei Shtylyov			status = "disabled";
67838dbb6fcSSergei Shtylyov		};
679bea2ab13SSergei Shtylyov
680dd809b7dSSergei Shtylyov		tpu: pwm@e6e80000 {
681dd809b7dSSergei Shtylyov			compatible = "renesas,tpu-r8a77970", "renesas,tpu";
682dd809b7dSSergei Shtylyov			reg = <0 0xe6e80000 0 0x148>;
683dd809b7dSSergei Shtylyov			interrupts = <GIC_SPI 135 IRQ_TYPE_LEVEL_HIGH>;
684dd809b7dSSergei Shtylyov			clocks = <&cpg CPG_MOD 304>;
685dd809b7dSSergei Shtylyov			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
686dd809b7dSSergei Shtylyov			resets = <&cpg 304>;
687dd809b7dSSergei Shtylyov			#pwm-cells = <3>;
688dd809b7dSSergei Shtylyov			status = "disabled";
689dd809b7dSSergei Shtylyov		};
69051b09327SNiklas Söderlund
691*122ddb71SSergei Shtylyov		msiof0: spi@e6e90000 {
692*122ddb71SSergei Shtylyov			compatible = "renesas,msiof-r8a77970",
693*122ddb71SSergei Shtylyov				     "renesas,rcar-gen3-msiof";
694*122ddb71SSergei Shtylyov			reg = <0 0xe6e90000 0 0x64>;
695*122ddb71SSergei Shtylyov			interrupts = <GIC_SPI 156 IRQ_TYPE_LEVEL_HIGH>;
696*122ddb71SSergei Shtylyov			clocks = <&cpg CPG_MOD 211>;
697*122ddb71SSergei Shtylyov			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
698*122ddb71SSergei Shtylyov			resets = <&cpg 211>;
699*122ddb71SSergei Shtylyov			dmas = <&dmac1 0x41>, <&dmac1 0x40>,
700*122ddb71SSergei Shtylyov			       <&dmac2 0x41>, <&dmac2 0x40>;
701*122ddb71SSergei Shtylyov			dma-names = "tx", "rx", "tx", "rx";
702*122ddb71SSergei Shtylyov			#address-cells = <1>;
703*122ddb71SSergei Shtylyov			#size-cells = <0>;
704*122ddb71SSergei Shtylyov			status = "disabled";
705*122ddb71SSergei Shtylyov		};
706*122ddb71SSergei Shtylyov
707*122ddb71SSergei Shtylyov		msiof1: spi@e6ea0000 {
708*122ddb71SSergei Shtylyov			compatible = "renesas,msiof-r8a77970",
709*122ddb71SSergei Shtylyov				     "renesas,rcar-gen3-msiof";
710*122ddb71SSergei Shtylyov			reg = <0 0xe6ea0000 0 0x0064>;
711*122ddb71SSergei Shtylyov			interrupts = <GIC_SPI 157 IRQ_TYPE_LEVEL_HIGH>;
712*122ddb71SSergei Shtylyov			clocks = <&cpg CPG_MOD 210>;
713*122ddb71SSergei Shtylyov			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
714*122ddb71SSergei Shtylyov			resets = <&cpg 210>;
715*122ddb71SSergei Shtylyov			dmas = <&dmac1 0x43>, <&dmac1 0x42>,
716*122ddb71SSergei Shtylyov			       <&dmac2 0x43>, <&dmac2 0x42>;
717*122ddb71SSergei Shtylyov			dma-names = "tx", "rx", "tx", "rx";
718*122ddb71SSergei Shtylyov			#address-cells = <1>;
719*122ddb71SSergei Shtylyov			#size-cells = <0>;
720*122ddb71SSergei Shtylyov			status = "disabled";
721*122ddb71SSergei Shtylyov		};
722*122ddb71SSergei Shtylyov
723*122ddb71SSergei Shtylyov		msiof2: spi@e6c00000 {
724*122ddb71SSergei Shtylyov			compatible = "renesas,msiof-r8a77970",
725*122ddb71SSergei Shtylyov				     "renesas,rcar-gen3-msiof";
726*122ddb71SSergei Shtylyov			reg = <0 0xe6c00000 0 0x0064>;
727*122ddb71SSergei Shtylyov			interrupts = <GIC_SPI 158 IRQ_TYPE_LEVEL_HIGH>;
728*122ddb71SSergei Shtylyov			clocks = <&cpg CPG_MOD 209>;
729*122ddb71SSergei Shtylyov			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
730*122ddb71SSergei Shtylyov			resets = <&cpg 209>;
731*122ddb71SSergei Shtylyov			dmas = <&dmac1 0x45>, <&dmac1 0x44>,
732*122ddb71SSergei Shtylyov			       <&dmac2 0x45>, <&dmac2 0x44>;
733*122ddb71SSergei Shtylyov			dma-names = "tx", "rx", "tx", "rx";
734*122ddb71SSergei Shtylyov			#address-cells = <1>;
735*122ddb71SSergei Shtylyov			#size-cells = <0>;
736*122ddb71SSergei Shtylyov			status = "disabled";
737*122ddb71SSergei Shtylyov		};
738*122ddb71SSergei Shtylyov
739*122ddb71SSergei Shtylyov		msiof3: spi@e6c10000 {
740*122ddb71SSergei Shtylyov			compatible = "renesas,msiof-r8a77970",
741*122ddb71SSergei Shtylyov				     "renesas,rcar-gen3-msiof";
742*122ddb71SSergei Shtylyov			reg = <0 0xe6c10000 0 0x0064>;
743*122ddb71SSergei Shtylyov			interrupts = <GIC_SPI 159 IRQ_TYPE_LEVEL_HIGH>;
744*122ddb71SSergei Shtylyov			clocks = <&cpg CPG_MOD 208>;
745*122ddb71SSergei Shtylyov			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
746*122ddb71SSergei Shtylyov			resets = <&cpg 208>;
747*122ddb71SSergei Shtylyov			dmas = <&dmac1 0x47>, <&dmac1 0x46>,
748*122ddb71SSergei Shtylyov			       <&dmac2 0x47>, <&dmac2 0x46>;
749*122ddb71SSergei Shtylyov			dma-names = "tx", "rx", "tx", "rx";
750*122ddb71SSergei Shtylyov			#address-cells = <1>;
751*122ddb71SSergei Shtylyov			#size-cells = <0>;
752*122ddb71SSergei Shtylyov			status = "disabled";
753*122ddb71SSergei Shtylyov		};
754*122ddb71SSergei Shtylyov
75551b09327SNiklas Söderlund		vin0: video@e6ef0000 {
75651b09327SNiklas Söderlund			compatible = "renesas,vin-r8a77970";
75751b09327SNiklas Söderlund			reg = <0 0xe6ef0000 0 0x1000>;
75851b09327SNiklas Söderlund			interrupts = <GIC_SPI 188 IRQ_TYPE_LEVEL_HIGH>;
75951b09327SNiklas Söderlund			clocks = <&cpg CPG_MOD 811>;
76051b09327SNiklas Söderlund			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
76151b09327SNiklas Söderlund			resets = <&cpg 811>;
76251b09327SNiklas Söderlund			renesas,id = <0>;
76351b09327SNiklas Söderlund			status = "disabled";
76451b09327SNiklas Söderlund
76551b09327SNiklas Söderlund			ports {
76651b09327SNiklas Söderlund				#address-cells = <1>;
76751b09327SNiklas Söderlund				#size-cells = <0>;
76851b09327SNiklas Söderlund
76951b09327SNiklas Söderlund				port@1 {
77051b09327SNiklas Söderlund					#address-cells = <1>;
77151b09327SNiklas Söderlund					#size-cells = <0>;
77251b09327SNiklas Söderlund
77351b09327SNiklas Söderlund					reg = <1>;
77451b09327SNiklas Söderlund
77551b09327SNiklas Söderlund					vin0csi40: endpoint@2 {
77651b09327SNiklas Söderlund						reg = <2>;
77751b09327SNiklas Söderlund						remote-endpoint = <&csi40vin0>;
77851b09327SNiklas Söderlund					};
77951b09327SNiklas Söderlund				};
78051b09327SNiklas Söderlund			};
78151b09327SNiklas Söderlund		};
78251b09327SNiklas Söderlund
78351b09327SNiklas Söderlund		vin1: video@e6ef1000 {
78451b09327SNiklas Söderlund			compatible = "renesas,vin-r8a77970";
78551b09327SNiklas Söderlund			reg = <0 0xe6ef1000 0 0x1000>;
78651b09327SNiklas Söderlund			interrupts = <GIC_SPI 189 IRQ_TYPE_LEVEL_HIGH>;
78751b09327SNiklas Söderlund			clocks = <&cpg CPG_MOD 810>;
78851b09327SNiklas Söderlund			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
78951b09327SNiklas Söderlund			resets = <&cpg 810>;
79051b09327SNiklas Söderlund			renesas,id = <1>;
79151b09327SNiklas Söderlund			status = "disabled";
79251b09327SNiklas Söderlund
79351b09327SNiklas Söderlund			ports {
79451b09327SNiklas Söderlund				#address-cells = <1>;
79551b09327SNiklas Söderlund				#size-cells = <0>;
79651b09327SNiklas Söderlund
79751b09327SNiklas Söderlund				port@1 {
79851b09327SNiklas Söderlund					#address-cells = <1>;
79951b09327SNiklas Söderlund					#size-cells = <0>;
80051b09327SNiklas Söderlund
80151b09327SNiklas Söderlund					reg = <1>;
80251b09327SNiklas Söderlund
80351b09327SNiklas Söderlund					vin1csi40: endpoint@2 {
80451b09327SNiklas Söderlund						reg = <2>;
80551b09327SNiklas Söderlund						remote-endpoint = <&csi40vin1>;
80651b09327SNiklas Söderlund					};
80751b09327SNiklas Söderlund				};
80851b09327SNiklas Söderlund			};
80951b09327SNiklas Söderlund		};
81051b09327SNiklas Söderlund
81151b09327SNiklas Söderlund		vin2: video@e6ef2000 {
81251b09327SNiklas Söderlund			compatible = "renesas,vin-r8a77970";
81351b09327SNiklas Söderlund			reg = <0 0xe6ef2000 0 0x1000>;
81451b09327SNiklas Söderlund			interrupts = <GIC_SPI 190 IRQ_TYPE_LEVEL_HIGH>;
81551b09327SNiklas Söderlund			clocks = <&cpg CPG_MOD 809>;
81651b09327SNiklas Söderlund			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
81751b09327SNiklas Söderlund			resets = <&cpg 809>;
81851b09327SNiklas Söderlund			renesas,id = <2>;
81951b09327SNiklas Söderlund			status = "disabled";
82051b09327SNiklas Söderlund
82151b09327SNiklas Söderlund			ports {
82251b09327SNiklas Söderlund				#address-cells = <1>;
82351b09327SNiklas Söderlund				#size-cells = <0>;
82451b09327SNiklas Söderlund
82551b09327SNiklas Söderlund				port@1 {
82651b09327SNiklas Söderlund					#address-cells = <1>;
82751b09327SNiklas Söderlund					#size-cells = <0>;
82851b09327SNiklas Söderlund
82951b09327SNiklas Söderlund					reg = <1>;
83051b09327SNiklas Söderlund
83151b09327SNiklas Söderlund					vin2csi40: endpoint@2 {
83251b09327SNiklas Söderlund						reg = <2>;
83351b09327SNiklas Söderlund						remote-endpoint = <&csi40vin2>;
83451b09327SNiklas Söderlund					};
83551b09327SNiklas Söderlund				};
83651b09327SNiklas Söderlund			};
83751b09327SNiklas Söderlund		};
83851b09327SNiklas Söderlund
83951b09327SNiklas Söderlund		vin3: video@e6ef3000 {
84051b09327SNiklas Söderlund			compatible = "renesas,vin-r8a77970";
84151b09327SNiklas Söderlund			reg = <0 0xe6ef3000 0 0x1000>;
84251b09327SNiklas Söderlund			interrupts = <GIC_SPI 191 IRQ_TYPE_LEVEL_HIGH>;
84351b09327SNiklas Söderlund			clocks = <&cpg CPG_MOD 808>;
84451b09327SNiklas Söderlund			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
84551b09327SNiklas Söderlund			resets = <&cpg 808>;
84651b09327SNiklas Söderlund			renesas,id = <3>;
84751b09327SNiklas Söderlund			status = "disabled";
84851b09327SNiklas Söderlund
84951b09327SNiklas Söderlund			ports {
85051b09327SNiklas Söderlund				#address-cells = <1>;
85151b09327SNiklas Söderlund				#size-cells = <0>;
85251b09327SNiklas Söderlund
85351b09327SNiklas Söderlund				port@1 {
85451b09327SNiklas Söderlund					#address-cells = <1>;
85551b09327SNiklas Söderlund					#size-cells = <0>;
85651b09327SNiklas Söderlund
85751b09327SNiklas Söderlund					reg = <1>;
85851b09327SNiklas Söderlund
85951b09327SNiklas Söderlund					vin3csi40: endpoint@2 {
86051b09327SNiklas Söderlund						reg = <2>;
86151b09327SNiklas Söderlund						remote-endpoint = <&csi40vin3>;
86251b09327SNiklas Söderlund					};
86351b09327SNiklas Söderlund				};
86451b09327SNiklas Söderlund			};
86551b09327SNiklas Söderlund		};
86651b09327SNiklas Söderlund
8672964d754SYoshihiro Kaneko		dmac1: dma-controller@e7300000 {
8682964d754SYoshihiro Kaneko			compatible = "renesas,dmac-r8a77970",
8692964d754SYoshihiro Kaneko				     "renesas,rcar-dmac";
8702964d754SYoshihiro Kaneko			reg = <0 0xe7300000 0 0x10000>;
8712964d754SYoshihiro Kaneko			interrupts = <GIC_SPI 220 IRQ_TYPE_LEVEL_HIGH
8722964d754SYoshihiro Kaneko				      GIC_SPI 216 IRQ_TYPE_LEVEL_HIGH
8732964d754SYoshihiro Kaneko				      GIC_SPI 217 IRQ_TYPE_LEVEL_HIGH
8742964d754SYoshihiro Kaneko				      GIC_SPI 218 IRQ_TYPE_LEVEL_HIGH
8752964d754SYoshihiro Kaneko				      GIC_SPI 219 IRQ_TYPE_LEVEL_HIGH
8762964d754SYoshihiro Kaneko				      GIC_SPI 308 IRQ_TYPE_LEVEL_HIGH
8772964d754SYoshihiro Kaneko				      GIC_SPI 309 IRQ_TYPE_LEVEL_HIGH
8782964d754SYoshihiro Kaneko				      GIC_SPI 310 IRQ_TYPE_LEVEL_HIGH
8792964d754SYoshihiro Kaneko				      GIC_SPI 311 IRQ_TYPE_LEVEL_HIGH>;
8802964d754SYoshihiro Kaneko			interrupt-names = "error",
8812964d754SYoshihiro Kaneko					  "ch0", "ch1", "ch2", "ch3",
8822964d754SYoshihiro Kaneko					  "ch4", "ch5", "ch6", "ch7";
8832964d754SYoshihiro Kaneko			clocks = <&cpg CPG_MOD 218>;
8842964d754SYoshihiro Kaneko			clock-names = "fck";
8858aba250dSSergei Shtylyov			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
8862964d754SYoshihiro Kaneko			resets = <&cpg 218>;
8872964d754SYoshihiro Kaneko			#dma-cells = <1>;
8882964d754SYoshihiro Kaneko			dma-channels = <8>;
8892964d754SYoshihiro Kaneko			iommus = <&ipmmu_ds1 0>, <&ipmmu_ds1 1>,
8902964d754SYoshihiro Kaneko			       <&ipmmu_ds1 2>, <&ipmmu_ds1 3>,
8912964d754SYoshihiro Kaneko			       <&ipmmu_ds1 4>, <&ipmmu_ds1 5>,
8922964d754SYoshihiro Kaneko			       <&ipmmu_ds1 6>, <&ipmmu_ds1 7>;
893bea2ab13SSergei Shtylyov		};
894faa5c317SSergei Shtylyov
8952964d754SYoshihiro Kaneko		dmac2: dma-controller@e7310000 {
8962964d754SYoshihiro Kaneko			compatible = "renesas,dmac-r8a77970",
8972964d754SYoshihiro Kaneko				     "renesas,rcar-dmac";
8982964d754SYoshihiro Kaneko			reg = <0 0xe7310000 0 0x10000>;
8992964d754SYoshihiro Kaneko			interrupts = <GIC_SPI 307 IRQ_TYPE_LEVEL_HIGH
9002964d754SYoshihiro Kaneko				      GIC_SPI 312 IRQ_TYPE_LEVEL_HIGH
9012964d754SYoshihiro Kaneko				      GIC_SPI 313 IRQ_TYPE_LEVEL_HIGH
9022964d754SYoshihiro Kaneko				      GIC_SPI 314 IRQ_TYPE_LEVEL_HIGH
9032964d754SYoshihiro Kaneko				      GIC_SPI 315 IRQ_TYPE_LEVEL_HIGH
9042964d754SYoshihiro Kaneko				      GIC_SPI 316 IRQ_TYPE_LEVEL_HIGH
9052964d754SYoshihiro Kaneko				      GIC_SPI 317 IRQ_TYPE_LEVEL_HIGH
9062964d754SYoshihiro Kaneko				      GIC_SPI 318 IRQ_TYPE_LEVEL_HIGH
9072964d754SYoshihiro Kaneko				      GIC_SPI 319 IRQ_TYPE_LEVEL_HIGH>;
9082964d754SYoshihiro Kaneko			interrupt-names = "error",
9092964d754SYoshihiro Kaneko					  "ch0", "ch1", "ch2", "ch3",
9102964d754SYoshihiro Kaneko					  "ch4", "ch5", "ch6", "ch7";
9112964d754SYoshihiro Kaneko			clocks = <&cpg CPG_MOD 217>;
9122964d754SYoshihiro Kaneko			clock-names = "fck";
913faa5c317SSergei Shtylyov			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
9142964d754SYoshihiro Kaneko			resets = <&cpg 217>;
9152964d754SYoshihiro Kaneko			#dma-cells = <1>;
9162964d754SYoshihiro Kaneko			dma-channels = <8>;
9172964d754SYoshihiro Kaneko			iommus = <&ipmmu_ds1 16>, <&ipmmu_ds1 17>,
9182964d754SYoshihiro Kaneko			       <&ipmmu_ds1 18>, <&ipmmu_ds1 19>,
9192964d754SYoshihiro Kaneko			       <&ipmmu_ds1 20>, <&ipmmu_ds1 21>,
9202964d754SYoshihiro Kaneko			       <&ipmmu_ds1 22>, <&ipmmu_ds1 23>;
9212964d754SYoshihiro Kaneko		};
9222964d754SYoshihiro Kaneko
9232964d754SYoshihiro Kaneko		ipmmu_ds1: mmu@e7740000 {
9242964d754SYoshihiro Kaneko			compatible = "renesas,ipmmu-r8a77970";
9252964d754SYoshihiro Kaneko			reg = <0 0xe7740000 0 0x1000>;
9262964d754SYoshihiro Kaneko			renesas,ipmmu-main = <&ipmmu_mm 0>;
9272964d754SYoshihiro Kaneko			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
9282964d754SYoshihiro Kaneko			#iommu-cells = <1>;
9292964d754SYoshihiro Kaneko		};
9302964d754SYoshihiro Kaneko
9312964d754SYoshihiro Kaneko		ipmmu_ir: mmu@ff8b0000 {
9322964d754SYoshihiro Kaneko			compatible = "renesas,ipmmu-r8a77970";
9332964d754SYoshihiro Kaneko			reg = <0 0xff8b0000 0 0x1000>;
9342964d754SYoshihiro Kaneko			renesas,ipmmu-main = <&ipmmu_mm 3>;
9352964d754SYoshihiro Kaneko			power-domains = <&sysc R8A77970_PD_A3IR>;
9362964d754SYoshihiro Kaneko			#iommu-cells = <1>;
9372964d754SYoshihiro Kaneko		};
9382964d754SYoshihiro Kaneko
9392964d754SYoshihiro Kaneko		ipmmu_mm: mmu@e67b0000 {
9402964d754SYoshihiro Kaneko			compatible = "renesas,ipmmu-r8a77970";
9412964d754SYoshihiro Kaneko			reg = <0 0xe67b0000 0 0x1000>;
9422964d754SYoshihiro Kaneko			interrupts = <GIC_SPI 196 IRQ_TYPE_LEVEL_HIGH>,
9432964d754SYoshihiro Kaneko				     <GIC_SPI 197 IRQ_TYPE_LEVEL_HIGH>;
9442964d754SYoshihiro Kaneko			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
9452964d754SYoshihiro Kaneko			#iommu-cells = <1>;
9462964d754SYoshihiro Kaneko		};
9472964d754SYoshihiro Kaneko
9482964d754SYoshihiro Kaneko		ipmmu_rt: mmu@ffc80000 {
9492964d754SYoshihiro Kaneko			compatible = "renesas,ipmmu-r8a77970";
9502964d754SYoshihiro Kaneko			reg = <0 0xffc80000 0 0x1000>;
9512964d754SYoshihiro Kaneko			renesas,ipmmu-main = <&ipmmu_mm 7>;
9522964d754SYoshihiro Kaneko			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
9532964d754SYoshihiro Kaneko			#iommu-cells = <1>;
9542964d754SYoshihiro Kaneko		};
9552964d754SYoshihiro Kaneko
9562964d754SYoshihiro Kaneko		ipmmu_vi0: mmu@febd0000 {
9572964d754SYoshihiro Kaneko			compatible = "renesas,ipmmu-r8a77970";
9582964d754SYoshihiro Kaneko			reg = <0 0xfebd0000 0 0x1000>;
9592964d754SYoshihiro Kaneko			renesas,ipmmu-main = <&ipmmu_mm 9>;
9602964d754SYoshihiro Kaneko			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
9612964d754SYoshihiro Kaneko			#iommu-cells = <1>;
9622964d754SYoshihiro Kaneko		};
9632964d754SYoshihiro Kaneko
964979e32b5SSergei Shtylyov		mmc0: mmc@ee140000 {
965979e32b5SSergei Shtylyov			compatible = "renesas,sdhi-r8a77970",
966979e32b5SSergei Shtylyov				     "renesas,rcar-gen3-sdhi";
967979e32b5SSergei Shtylyov			reg = <0 0xee140000 0 0x2000>;
968979e32b5SSergei Shtylyov			interrupts = <GIC_SPI 165 IRQ_TYPE_LEVEL_HIGH>;
969979e32b5SSergei Shtylyov			clocks = <&cpg CPG_MOD 314>;
970979e32b5SSergei Shtylyov			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
971979e32b5SSergei Shtylyov			resets = <&cpg 314>;
972979e32b5SSergei Shtylyov			max-frequency = <200000000>;
973979e32b5SSergei Shtylyov			status = "disabled";
974979e32b5SSergei Shtylyov		};
975979e32b5SSergei Shtylyov
9762964d754SYoshihiro Kaneko		gic: interrupt-controller@f1010000 {
9772964d754SYoshihiro Kaneko			compatible = "arm,gic-400";
9782964d754SYoshihiro Kaneko			#interrupt-cells = <3>;
9792964d754SYoshihiro Kaneko			#address-cells = <0>;
9802964d754SYoshihiro Kaneko			interrupt-controller;
9812964d754SYoshihiro Kaneko			reg = <0 0xf1010000 0 0x1000>,
9822964d754SYoshihiro Kaneko			      <0 0xf1020000 0 0x20000>,
9832964d754SYoshihiro Kaneko			      <0 0xf1040000 0 0x20000>,
9842964d754SYoshihiro Kaneko			      <0 0xf1060000 0 0x20000>;
98577899dd2SGeert Uytterhoeven			interrupts = <GIC_PPI 9	(GIC_CPU_MASK_SIMPLE(2) |
9862964d754SYoshihiro Kaneko				      IRQ_TYPE_LEVEL_HIGH)>;
9872964d754SYoshihiro Kaneko			clocks = <&cpg CPG_MOD 408>;
9882964d754SYoshihiro Kaneko			clock-names = "clk";
9892964d754SYoshihiro Kaneko			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
9902964d754SYoshihiro Kaneko			resets = <&cpg 408>;
991faa5c317SSergei Shtylyov		};
992b4f92030SSergei Shtylyov
993b4f92030SSergei Shtylyov		vspd0: vsp@fea20000 {
994b4f92030SSergei Shtylyov			compatible = "renesas,vsp2";
995e21adc78SLaurent Pinchart			reg = <0 0xfea20000 0 0x5000>;
996b4f92030SSergei Shtylyov			interrupts = <GIC_SPI 169 IRQ_TYPE_LEVEL_HIGH>;
997b4f92030SSergei Shtylyov			clocks = <&cpg CPG_MOD 623>;
998b4f92030SSergei Shtylyov			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
999b4f92030SSergei Shtylyov			resets = <&cpg 623>;
1000b4f92030SSergei Shtylyov			renesas,fcp = <&fcpvd0>;
1001b4f92030SSergei Shtylyov		};
1002f66598b9SSergei Shtylyov
10032964d754SYoshihiro Kaneko		fcpvd0: fcp@fea27000 {
10042964d754SYoshihiro Kaneko			compatible = "renesas,fcpv";
10052964d754SYoshihiro Kaneko			reg = <0 0xfea27000 0 0x200>;
10062964d754SYoshihiro Kaneko			clocks = <&cpg CPG_MOD 603>;
10072964d754SYoshihiro Kaneko			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
10082964d754SYoshihiro Kaneko			resets = <&cpg 603>;
10092964d754SYoshihiro Kaneko		};
10102964d754SYoshihiro Kaneko
101151b09327SNiklas Söderlund		csi40: csi2@feaa0000 {
101251b09327SNiklas Söderlund			compatible = "renesas,r8a77970-csi2";
101351b09327SNiklas Söderlund			reg = <0 0xfeaa0000 0 0x10000>;
101451b09327SNiklas Söderlund			interrupts = <GIC_SPI 246 IRQ_TYPE_LEVEL_HIGH>;
101551b09327SNiklas Söderlund			clocks = <&cpg CPG_MOD 716>;
101651b09327SNiklas Söderlund			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
101751b09327SNiklas Söderlund			resets = <&cpg 716>;
101851b09327SNiklas Söderlund			status = "disabled";
101951b09327SNiklas Söderlund
102051b09327SNiklas Söderlund			ports {
102151b09327SNiklas Söderlund				#address-cells = <1>;
102251b09327SNiklas Söderlund				#size-cells = <0>;
102351b09327SNiklas Söderlund
102451b09327SNiklas Söderlund				port@1 {
102551b09327SNiklas Söderlund					#address-cells = <1>;
102651b09327SNiklas Söderlund					#size-cells = <0>;
102751b09327SNiklas Söderlund
102851b09327SNiklas Söderlund					reg = <1>;
102951b09327SNiklas Söderlund
103051b09327SNiklas Söderlund					csi40vin0: endpoint@0 {
103151b09327SNiklas Söderlund						reg = <0>;
103251b09327SNiklas Söderlund						remote-endpoint = <&vin0csi40>;
103351b09327SNiklas Söderlund					};
103451b09327SNiklas Söderlund					csi40vin1: endpoint@1 {
103551b09327SNiklas Söderlund						reg = <1>;
103651b09327SNiklas Söderlund						remote-endpoint = <&vin1csi40>;
103751b09327SNiklas Söderlund					};
103851b09327SNiklas Söderlund					csi40vin2: endpoint@2 {
103951b09327SNiklas Söderlund						reg = <2>;
104051b09327SNiklas Söderlund						remote-endpoint = <&vin2csi40>;
104151b09327SNiklas Söderlund					};
104251b09327SNiklas Söderlund					csi40vin3: endpoint@3 {
104351b09327SNiklas Söderlund						reg = <3>;
104451b09327SNiklas Söderlund						remote-endpoint = <&vin3csi40>;
104551b09327SNiklas Söderlund					};
104651b09327SNiklas Söderlund				};
104751b09327SNiklas Söderlund			};
104851b09327SNiklas Söderlund		};
104951b09327SNiklas Söderlund
1050f66598b9SSergei Shtylyov		du: display@feb00000 {
1051f66598b9SSergei Shtylyov			compatible = "renesas,du-r8a77970";
1052f66598b9SSergei Shtylyov			reg = <0 0xfeb00000 0 0x80000>;
1053f66598b9SSergei Shtylyov			interrupts = <GIC_SPI 256 IRQ_TYPE_LEVEL_HIGH>;
1054f66598b9SSergei Shtylyov			clocks = <&cpg CPG_MOD 724>;
1055f66598b9SSergei Shtylyov			clock-names = "du.0";
1056f66598b9SSergei Shtylyov			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
1057f66598b9SSergei Shtylyov			resets = <&cpg 724>;
1058f66598b9SSergei Shtylyov			vsps = <&vspd0>;
1059f66598b9SSergei Shtylyov			status = "disabled";
1060f66598b9SSergei Shtylyov
1061f66598b9SSergei Shtylyov			ports {
1062f66598b9SSergei Shtylyov				#address-cells = <1>;
1063f66598b9SSergei Shtylyov				#size-cells = <0>;
1064f66598b9SSergei Shtylyov
1065f66598b9SSergei Shtylyov				port@0 {
1066f66598b9SSergei Shtylyov					reg = <0>;
1067f66598b9SSergei Shtylyov					du_out_rgb: endpoint {
1068f66598b9SSergei Shtylyov					};
1069f66598b9SSergei Shtylyov				};
1070f66598b9SSergei Shtylyov
1071f66598b9SSergei Shtylyov				port@1 {
1072f66598b9SSergei Shtylyov					reg = <1>;
1073f66598b9SSergei Shtylyov					du_out_lvds0: endpoint {
10743cd0bd7dSSergei Shtylyov						remote-endpoint = <&lvds0_in>;
10753cd0bd7dSSergei Shtylyov					};
10763cd0bd7dSSergei Shtylyov				};
10773cd0bd7dSSergei Shtylyov			};
10783cd0bd7dSSergei Shtylyov		};
10793cd0bd7dSSergei Shtylyov
10803cd0bd7dSSergei Shtylyov		lvds0: lvds-encoder@feb90000 {
10813cd0bd7dSSergei Shtylyov			compatible = "renesas,r8a77970-lvds";
10823cd0bd7dSSergei Shtylyov			reg = <0 0xfeb90000 0 0x14>;
10833cd0bd7dSSergei Shtylyov			clocks = <&cpg CPG_MOD 727>;
10843cd0bd7dSSergei Shtylyov			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
10853cd0bd7dSSergei Shtylyov			resets = <&cpg 727>;
10863cd0bd7dSSergei Shtylyov			status = "disabled";
10873cd0bd7dSSergei Shtylyov
10883cd0bd7dSSergei Shtylyov			ports {
10893cd0bd7dSSergei Shtylyov				#address-cells = <1>;
10903cd0bd7dSSergei Shtylyov				#size-cells = <0>;
10913cd0bd7dSSergei Shtylyov
10923cd0bd7dSSergei Shtylyov				port@0 {
10933cd0bd7dSSergei Shtylyov					reg = <0>;
10943cd0bd7dSSergei Shtylyov					lvds0_in: endpoint {
10953cd0bd7dSSergei Shtylyov						remote-endpoint =
10963cd0bd7dSSergei Shtylyov							<&du_out_lvds0>;
10973cd0bd7dSSergei Shtylyov					};
10983cd0bd7dSSergei Shtylyov				};
10993cd0bd7dSSergei Shtylyov				port@1 {
11003cd0bd7dSSergei Shtylyov					reg = <1>;
11013cd0bd7dSSergei Shtylyov					lvds0_out: endpoint {
1102f66598b9SSergei Shtylyov					};
1103f66598b9SSergei Shtylyov				};
1104f66598b9SSergei Shtylyov			};
1105f66598b9SSergei Shtylyov		};
11062964d754SYoshihiro Kaneko
11072964d754SYoshihiro Kaneko		prr: chipid@fff00044 {
11082964d754SYoshihiro Kaneko			compatible = "renesas,prr";
11092964d754SYoshihiro Kaneko			reg = <0 0xfff00044 0 4>;
11102964d754SYoshihiro Kaneko		};
111141f4345aSSergei Shtylyov	};
11127569d1eeSSimon Horman
1113f1487c19SSergei Shtylyov	thermal-zones {
1114f1487c19SSergei Shtylyov		cpu-thermal {
1115f1487c19SSergei Shtylyov			polling-delay-passive = <250>;
1116f1487c19SSergei Shtylyov			polling-delay = <1000>;
1117f1487c19SSergei Shtylyov			thermal-sensors = <&thermal>;
1118f1487c19SSergei Shtylyov
1119f1487c19SSergei Shtylyov			trips {
1120f1487c19SSergei Shtylyov				cpu-crit {
1121f1487c19SSergei Shtylyov					temperature = <120000>;
1122f1487c19SSergei Shtylyov					hysteresis = <2000>;
1123f1487c19SSergei Shtylyov					type = "critical";
1124f1487c19SSergei Shtylyov				};
1125f1487c19SSergei Shtylyov			};
1126f1487c19SSergei Shtylyov
1127f1487c19SSergei Shtylyov			cooling-maps {
1128f1487c19SSergei Shtylyov			};
1129f1487c19SSergei Shtylyov		};
1130f1487c19SSergei Shtylyov	};
1131f1487c19SSergei Shtylyov
11327569d1eeSSimon Horman	timer {
11337569d1eeSSimon Horman		compatible = "arm,armv8-timer";
113477899dd2SGeert Uytterhoeven		interrupts-extended = <&gic GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>,
113577899dd2SGeert Uytterhoeven				      <&gic GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>,
113677899dd2SGeert Uytterhoeven				      <&gic GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>,
113777899dd2SGeert Uytterhoeven				      <&gic GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>;
11387569d1eeSSimon Horman	};
113941f4345aSSergei Shtylyov};
1140