xref: /linux/scripts/dtc/include-prefixes/arm64/renesas/r8a77980.dtsi (revision 0dba24a8e17dc60dba5882b907e923fcf0d3d1e7)
1f3a54d6cSSergei Shtylyov// SPDX-License-Identifier: GPL-2.0
2f3a54d6cSSergei Shtylyov/*
3e18a31a7SMagnus Damm * Device Tree Source for the R-Car V3H (R8A77980) SoC
4f3a54d6cSSergei Shtylyov *
5f3a54d6cSSergei Shtylyov * Copyright (C) 2018 Renesas Electronics Corp.
6f3a54d6cSSergei Shtylyov * Copyright (C) 2018 Cogent Embedded, Inc.
7f3a54d6cSSergei Shtylyov */
8f3a54d6cSSergei Shtylyov
9c64cc368SSergei Shtylyov#include <dt-bindings/clock/r8a77980-cpg-mssr.h>
10f3a54d6cSSergei Shtylyov#include <dt-bindings/interrupt-controller/irq.h>
11f3a54d6cSSergei Shtylyov#include <dt-bindings/interrupt-controller/arm-gic.h>
121184ea3fSSergei Shtylyov#include <dt-bindings/power/r8a77980-sysc.h>
13f3a54d6cSSergei Shtylyov
14f3a54d6cSSergei Shtylyov/ {
15f3a54d6cSSergei Shtylyov	compatible = "renesas,r8a77980";
16f3a54d6cSSergei Shtylyov	#address-cells = <2>;
17f3a54d6cSSergei Shtylyov	#size-cells = <2>;
18f3a54d6cSSergei Shtylyov
19bc620474SSergei Shtylyov	aliases {
20bc620474SSergei Shtylyov		i2c0 = &i2c0;
21bc620474SSergei Shtylyov		i2c1 = &i2c1;
22bc620474SSergei Shtylyov		i2c2 = &i2c2;
23bc620474SSergei Shtylyov		i2c3 = &i2c3;
24bc620474SSergei Shtylyov		i2c4 = &i2c4;
25bc620474SSergei Shtylyov		i2c5 = &i2c5;
26bc620474SSergei Shtylyov	};
27bc620474SSergei Shtylyov
28f3a54d6cSSergei Shtylyov	cpus {
29f3a54d6cSSergei Shtylyov		#address-cells = <1>;
30f3a54d6cSSergei Shtylyov		#size-cells = <0>;
31f3a54d6cSSergei Shtylyov
32f3a54d6cSSergei Shtylyov		a53_0: cpu@0 {
33f3a54d6cSSergei Shtylyov			device_type = "cpu";
34f3a54d6cSSergei Shtylyov			compatible = "arm,cortex-a53", "arm,armv8";
35f3a54d6cSSergei Shtylyov			reg = <0>;
36c64cc368SSergei Shtylyov			clocks = <&cpg CPG_CORE R8A77980_CLK_Z2>;
371184ea3fSSergei Shtylyov			power-domains = <&sysc R8A77980_PD_CA53_CPU0>;
38f3a54d6cSSergei Shtylyov			next-level-cache = <&L2_CA53>;
39f3a54d6cSSergei Shtylyov			enable-method = "psci";
40f3a54d6cSSergei Shtylyov		};
41f3a54d6cSSergei Shtylyov
422ec1e4b4SSergei Shtylyov		a53_1: cpu@1 {
432ec1e4b4SSergei Shtylyov			device_type = "cpu";
442ec1e4b4SSergei Shtylyov			compatible = "arm,cortex-a53", "arm,armv8";
452ec1e4b4SSergei Shtylyov			reg = <1>;
462ec1e4b4SSergei Shtylyov			clocks = <&cpg CPG_CORE R8A77980_CLK_Z2>;
472ec1e4b4SSergei Shtylyov			power-domains = <&sysc R8A77980_PD_CA53_CPU1>;
482ec1e4b4SSergei Shtylyov			next-level-cache = <&L2_CA53>;
492ec1e4b4SSergei Shtylyov			enable-method = "psci";
502ec1e4b4SSergei Shtylyov		};
512ec1e4b4SSergei Shtylyov
522ec1e4b4SSergei Shtylyov		a53_2: cpu@2 {
532ec1e4b4SSergei Shtylyov			device_type = "cpu";
542ec1e4b4SSergei Shtylyov			compatible = "arm,cortex-a53", "arm,armv8";
552ec1e4b4SSergei Shtylyov			reg = <2>;
562ec1e4b4SSergei Shtylyov			clocks = <&cpg CPG_CORE R8A77980_CLK_Z2>;
572ec1e4b4SSergei Shtylyov			power-domains = <&sysc R8A77980_PD_CA53_CPU2>;
582ec1e4b4SSergei Shtylyov			next-level-cache = <&L2_CA53>;
592ec1e4b4SSergei Shtylyov			enable-method = "psci";
602ec1e4b4SSergei Shtylyov		};
612ec1e4b4SSergei Shtylyov
622ec1e4b4SSergei Shtylyov		a53_3: cpu@3 {
632ec1e4b4SSergei Shtylyov			device_type = "cpu";
642ec1e4b4SSergei Shtylyov			compatible = "arm,cortex-a53", "arm,armv8";
652ec1e4b4SSergei Shtylyov			reg = <3>;
662ec1e4b4SSergei Shtylyov			clocks = <&cpg CPG_CORE R8A77980_CLK_Z2>;
672ec1e4b4SSergei Shtylyov			power-domains = <&sysc R8A77980_PD_CA53_CPU3>;
682ec1e4b4SSergei Shtylyov			next-level-cache = <&L2_CA53>;
692ec1e4b4SSergei Shtylyov			enable-method = "psci";
702ec1e4b4SSergei Shtylyov		};
712ec1e4b4SSergei Shtylyov
72f3a54d6cSSergei Shtylyov		L2_CA53: cache-controller {
73f3a54d6cSSergei Shtylyov			compatible = "cache";
741184ea3fSSergei Shtylyov			power-domains = <&sysc R8A77980_PD_CA53_SCU>;
75f3a54d6cSSergei Shtylyov			cache-unified;
76f3a54d6cSSergei Shtylyov			cache-level = <2>;
77f3a54d6cSSergei Shtylyov		};
78f3a54d6cSSergei Shtylyov	};
79f3a54d6cSSergei Shtylyov
80f38c4172SSergei Shtylyov	/* External CAN clock - to be overridden by boards that provide it */
81f38c4172SSergei Shtylyov	can_clk: can {
82f38c4172SSergei Shtylyov		compatible = "fixed-clock";
83f38c4172SSergei Shtylyov		#clock-cells = <0>;
84f38c4172SSergei Shtylyov		clock-frequency = <0>;
85f38c4172SSergei Shtylyov	};
86f38c4172SSergei Shtylyov
87f3a54d6cSSergei Shtylyov	extal_clk: extal {
88f3a54d6cSSergei Shtylyov		compatible = "fixed-clock";
89f3a54d6cSSergei Shtylyov		#clock-cells = <0>;
90f3a54d6cSSergei Shtylyov		/* This value must be overridden by the board */
91f3a54d6cSSergei Shtylyov		clock-frequency = <0>;
92f3a54d6cSSergei Shtylyov	};
93f3a54d6cSSergei Shtylyov
94f3a54d6cSSergei Shtylyov	extalr_clk: extalr {
95f3a54d6cSSergei Shtylyov		compatible = "fixed-clock";
96f3a54d6cSSergei Shtylyov		#clock-cells = <0>;
97f3a54d6cSSergei Shtylyov		/* This value must be overridden by the board */
98f3a54d6cSSergei Shtylyov		clock-frequency = <0>;
99f3a54d6cSSergei Shtylyov	};
100f3a54d6cSSergei Shtylyov
101*0dba24a8SSergei Shtylyov	pmu_a53 {
102*0dba24a8SSergei Shtylyov		compatible = "arm,cortex-a53-pmu";
103*0dba24a8SSergei Shtylyov		interrupts-extended = <&gic GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>,
104*0dba24a8SSergei Shtylyov				      <&gic GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>,
105*0dba24a8SSergei Shtylyov				      <&gic GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>,
106*0dba24a8SSergei Shtylyov				      <&gic GIC_SPI 87 IRQ_TYPE_LEVEL_HIGH>;
107*0dba24a8SSergei Shtylyov		interrupt-affinity = <&a53_0>, <&a53_1>, <&a53_2>, <&a53_3>;
108*0dba24a8SSergei Shtylyov	};
109*0dba24a8SSergei Shtylyov
110f3a54d6cSSergei Shtylyov	psci {
111f3a54d6cSSergei Shtylyov		compatible = "arm,psci-1.0", "arm,psci-0.2";
112f3a54d6cSSergei Shtylyov		method = "smc";
113f3a54d6cSSergei Shtylyov	};
114f3a54d6cSSergei Shtylyov
1153601d98cSSergei Shtylyov	/* External SCIF clock - to be overridden by boards that provide it */
1163601d98cSSergei Shtylyov	scif_clk: scif {
1173601d98cSSergei Shtylyov		compatible = "fixed-clock";
1183601d98cSSergei Shtylyov		#clock-cells = <0>;
1193601d98cSSergei Shtylyov		clock-frequency = <0>;
1203601d98cSSergei Shtylyov	};
1213601d98cSSergei Shtylyov
122f3a54d6cSSergei Shtylyov	soc {
123f3a54d6cSSergei Shtylyov		compatible = "simple-bus";
124f3a54d6cSSergei Shtylyov		interrupt-parent = <&gic>;
125f3a54d6cSSergei Shtylyov
126f3a54d6cSSergei Shtylyov		#address-cells = <2>;
127f3a54d6cSSergei Shtylyov		#size-cells = <2>;
128f3a54d6cSSergei Shtylyov		ranges;
129f3a54d6cSSergei Shtylyov
130bcee502cSSergei Shtylyov		rwdt: watchdog@e6020000 {
131bcee502cSSergei Shtylyov			compatible = "renesas,r8a77980-wdt",
132bcee502cSSergei Shtylyov				     "renesas,rcar-gen3-wdt";
133bcee502cSSergei Shtylyov			reg = <0 0xe6020000 0 0x0c>;
134bcee502cSSergei Shtylyov			clocks = <&cpg CPG_MOD 402>;
135bcee502cSSergei Shtylyov			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
136bcee502cSSergei Shtylyov			resets = <&cpg 402>;
137bcee502cSSergei Shtylyov			status = "disabled";
138bcee502cSSergei Shtylyov		};
139bcee502cSSergei Shtylyov
140efcb52e3SSergei Shtylyov		gpio0: gpio@e6050000 {
141efcb52e3SSergei Shtylyov			compatible = "renesas,gpio-r8a77980",
142efcb52e3SSergei Shtylyov				     "renesas,rcar-gen3-gpio";
143efcb52e3SSergei Shtylyov			reg = <0 0xe6050000 0 0x50>;
144efcb52e3SSergei Shtylyov			interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;
145efcb52e3SSergei Shtylyov			#gpio-cells = <2>;
146efcb52e3SSergei Shtylyov			gpio-controller;
147efcb52e3SSergei Shtylyov			gpio-ranges = <&pfc 0 0 22>;
148efcb52e3SSergei Shtylyov			#interrupt-cells = <2>;
149efcb52e3SSergei Shtylyov			interrupt-controller;
150efcb52e3SSergei Shtylyov			clocks = <&cpg CPG_MOD 912>;
151efcb52e3SSergei Shtylyov			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
152efcb52e3SSergei Shtylyov			resets = <&cpg 912>;
153efcb52e3SSergei Shtylyov		};
154efcb52e3SSergei Shtylyov
155efcb52e3SSergei Shtylyov		gpio1: gpio@e6051000 {
156efcb52e3SSergei Shtylyov			compatible = "renesas,gpio-r8a77980",
157efcb52e3SSergei Shtylyov				     "renesas,rcar-gen3-gpio";
158efcb52e3SSergei Shtylyov			reg = <0 0xe6051000 0 0x50>;
159efcb52e3SSergei Shtylyov			interrupts = <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>;
160efcb52e3SSergei Shtylyov			#gpio-cells = <2>;
161efcb52e3SSergei Shtylyov			gpio-controller;
162efcb52e3SSergei Shtylyov			gpio-ranges = <&pfc 0 32 28>;
163efcb52e3SSergei Shtylyov			#interrupt-cells = <2>;
164efcb52e3SSergei Shtylyov			interrupt-controller;
165efcb52e3SSergei Shtylyov			clocks = <&cpg CPG_MOD 911>;
166efcb52e3SSergei Shtylyov			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
167efcb52e3SSergei Shtylyov			resets = <&cpg 911>;
168efcb52e3SSergei Shtylyov		};
169efcb52e3SSergei Shtylyov
170efcb52e3SSergei Shtylyov		gpio2: gpio@e6052000 {
171efcb52e3SSergei Shtylyov			compatible = "renesas,gpio-r8a77980",
172efcb52e3SSergei Shtylyov				     "renesas,rcar-gen3-gpio";
173efcb52e3SSergei Shtylyov			reg = <0 0xe6052000 0 0x50>;
174efcb52e3SSergei Shtylyov			interrupts = <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>;
175efcb52e3SSergei Shtylyov			#gpio-cells = <2>;
176efcb52e3SSergei Shtylyov			gpio-controller;
177efcb52e3SSergei Shtylyov			gpio-ranges = <&pfc 0 64 30>;
178efcb52e3SSergei Shtylyov			#interrupt-cells = <2>;
179efcb52e3SSergei Shtylyov			interrupt-controller;
180efcb52e3SSergei Shtylyov			clocks = <&cpg CPG_MOD 910>;
181efcb52e3SSergei Shtylyov			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
182efcb52e3SSergei Shtylyov			resets = <&cpg 910>;
183efcb52e3SSergei Shtylyov		};
184efcb52e3SSergei Shtylyov
185efcb52e3SSergei Shtylyov		gpio3: gpio@e6053000 {
186efcb52e3SSergei Shtylyov			compatible = "renesas,gpio-r8a77980",
187efcb52e3SSergei Shtylyov				     "renesas,rcar-gen3-gpio";
188efcb52e3SSergei Shtylyov			reg = <0 0xe6053000 0 0x50>;
189efcb52e3SSergei Shtylyov			interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>;
190efcb52e3SSergei Shtylyov			#gpio-cells = <2>;
191efcb52e3SSergei Shtylyov			gpio-controller;
192efcb52e3SSergei Shtylyov			gpio-ranges = <&pfc 0 96 17>;
193efcb52e3SSergei Shtylyov			#interrupt-cells = <2>;
194efcb52e3SSergei Shtylyov			interrupt-controller;
195efcb52e3SSergei Shtylyov			clocks = <&cpg CPG_MOD 909>;
196efcb52e3SSergei Shtylyov			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
197efcb52e3SSergei Shtylyov			resets = <&cpg 909>;
198efcb52e3SSergei Shtylyov		};
199efcb52e3SSergei Shtylyov
200efcb52e3SSergei Shtylyov		gpio4: gpio@e6054000 {
201efcb52e3SSergei Shtylyov			compatible = "renesas,gpio-r8a77980",
202efcb52e3SSergei Shtylyov				     "renesas,rcar-gen3-gpio";
203efcb52e3SSergei Shtylyov			reg = <0 0xe6054000 0 0x50>;
204efcb52e3SSergei Shtylyov			interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>;
205efcb52e3SSergei Shtylyov			#gpio-cells = <2>;
206efcb52e3SSergei Shtylyov			gpio-controller;
207efcb52e3SSergei Shtylyov			gpio-ranges = <&pfc 0 128 25>;
208efcb52e3SSergei Shtylyov			#interrupt-cells = <2>;
209efcb52e3SSergei Shtylyov			interrupt-controller;
210efcb52e3SSergei Shtylyov			clocks = <&cpg CPG_MOD 908>;
211efcb52e3SSergei Shtylyov			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
212efcb52e3SSergei Shtylyov			resets = <&cpg 908>;
213efcb52e3SSergei Shtylyov		};
214efcb52e3SSergei Shtylyov
215efcb52e3SSergei Shtylyov		gpio5: gpio@e6055000 {
216efcb52e3SSergei Shtylyov			compatible = "renesas,gpio-r8a77980",
217efcb52e3SSergei Shtylyov				     "renesas,rcar-gen3-gpio";
218efcb52e3SSergei Shtylyov			reg = <0 0xe6055000 0 0x50>;
219efcb52e3SSergei Shtylyov			interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>;
220efcb52e3SSergei Shtylyov			#gpio-cells = <2>;
221efcb52e3SSergei Shtylyov			gpio-controller;
222efcb52e3SSergei Shtylyov			gpio-ranges = <&pfc 0 160 15>;
223efcb52e3SSergei Shtylyov			#interrupt-cells = <2>;
224efcb52e3SSergei Shtylyov			interrupt-controller;
225efcb52e3SSergei Shtylyov			clocks = <&cpg CPG_MOD 907>;
226efcb52e3SSergei Shtylyov			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
227efcb52e3SSergei Shtylyov			resets = <&cpg 907>;
228efcb52e3SSergei Shtylyov		};
229efcb52e3SSergei Shtylyov
230cef26946SSergei Shtylyov		pfc: pin-controller@e6060000 {
231cef26946SSergei Shtylyov			compatible = "renesas,pfc-r8a77980";
232cef26946SSergei Shtylyov			reg = <0 0xe6060000 0 0x50c>;
233cef26946SSergei Shtylyov		};
234cef26946SSergei Shtylyov
235f3a54d6cSSergei Shtylyov		cpg: clock-controller@e6150000 {
236f3a54d6cSSergei Shtylyov			compatible = "renesas,r8a77980-cpg-mssr";
237f3a54d6cSSergei Shtylyov			reg = <0 0xe6150000 0 0x1000>;
238f3a54d6cSSergei Shtylyov			clocks = <&extal_clk>, <&extalr_clk>;
239f3a54d6cSSergei Shtylyov			clock-names = "extal", "extalr";
240f3a54d6cSSergei Shtylyov			#clock-cells = <2>;
241f3a54d6cSSergei Shtylyov			#power-domain-cells = <0>;
242f3a54d6cSSergei Shtylyov			#reset-cells = <1>;
243f3a54d6cSSergei Shtylyov		};
244f3a54d6cSSergei Shtylyov
245f3a54d6cSSergei Shtylyov		rst: reset-controller@e6160000 {
246f3a54d6cSSergei Shtylyov			compatible = "renesas,r8a77980-rst";
247f3a54d6cSSergei Shtylyov			reg = <0 0xe6160000 0 0x200>;
248f3a54d6cSSergei Shtylyov		};
249f3a54d6cSSergei Shtylyov
250f3a54d6cSSergei Shtylyov		sysc: system-controller@e6180000 {
251f3a54d6cSSergei Shtylyov			compatible = "renesas,r8a77980-sysc";
252f3a54d6cSSergei Shtylyov			reg = <0 0xe6180000 0 0x440>;
253f3a54d6cSSergei Shtylyov			#power-domain-cells = <1>;
254f3a54d6cSSergei Shtylyov		};
255f3a54d6cSSergei Shtylyov
2569a6c158fSSergei Shtylyov		intc_ex: interrupt-controller@e61c0000 {
2579a6c158fSSergei Shtylyov			compatible = "renesas,intc-ex-r8a77980", "renesas,irqc";
2589a6c158fSSergei Shtylyov			#interrupt-cells = <2>;
2599a6c158fSSergei Shtylyov			interrupt-controller;
2609a6c158fSSergei Shtylyov			reg = <0 0xe61c0000 0 0x200>;
2619a6c158fSSergei Shtylyov			interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH
2629a6c158fSSergei Shtylyov				      GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH
2639a6c158fSSergei Shtylyov				      GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH
2649a6c158fSSergei Shtylyov				      GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH
2659a6c158fSSergei Shtylyov				      GIC_SPI 18 IRQ_TYPE_LEVEL_HIGH
2669a6c158fSSergei Shtylyov				      GIC_SPI 161 IRQ_TYPE_LEVEL_HIGH>;
2679a6c158fSSergei Shtylyov			clocks = <&cpg CPG_MOD 407>;
2689a6c158fSSergei Shtylyov			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
2699a6c158fSSergei Shtylyov			resets = <&cpg 407>;
2709a6c158fSSergei Shtylyov		};
2719a6c158fSSergei Shtylyov
272bc620474SSergei Shtylyov		i2c0: i2c@e6500000 {
273bc620474SSergei Shtylyov			compatible = "renesas,i2c-r8a77980",
274bc620474SSergei Shtylyov				     "renesas,rcar-gen3-i2c";
275bc620474SSergei Shtylyov			reg = <0 0xe6500000 0 0x40>;
276bc620474SSergei Shtylyov			interrupts = <GIC_SPI 287 IRQ_TYPE_LEVEL_HIGH>;
277bc620474SSergei Shtylyov			clocks = <&cpg CPG_MOD 931>;
278bc620474SSergei Shtylyov			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
279bc620474SSergei Shtylyov			resets = <&cpg 931>;
280bc620474SSergei Shtylyov			dmas = <&dmac1 0x91>, <&dmac1 0x90>,
281bc620474SSergei Shtylyov			       <&dmac2 0x91>, <&dmac2 0x90>;
282bc620474SSergei Shtylyov			dma-names = "tx", "rx", "tx", "rx";
283bc620474SSergei Shtylyov			i2c-scl-internal-delay-ns = <6>;
284bc620474SSergei Shtylyov			#address-cells = <1>;
285bc620474SSergei Shtylyov			#size-cells = <0>;
286bc620474SSergei Shtylyov			status = "disabled";
287bc620474SSergei Shtylyov		};
288bc620474SSergei Shtylyov
289bc620474SSergei Shtylyov		i2c1: i2c@e6508000 {
290bc620474SSergei Shtylyov			compatible = "renesas,i2c-r8a77980",
291bc620474SSergei Shtylyov				     "renesas,rcar-gen3-i2c";
292bc620474SSergei Shtylyov			reg = <0 0xe6508000 0 0x40>;
293bc620474SSergei Shtylyov			interrupts = <GIC_SPI 288 IRQ_TYPE_LEVEL_HIGH>;
294bc620474SSergei Shtylyov			clocks = <&cpg CPG_MOD 930>;
295bc620474SSergei Shtylyov			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
296bc620474SSergei Shtylyov			resets = <&cpg 930>;
297bc620474SSergei Shtylyov			dmas = <&dmac1 0x93>, <&dmac1 0x92>,
298bc620474SSergei Shtylyov			       <&dmac2 0x93>, <&dmac2 0x92>;
299bc620474SSergei Shtylyov			dma-names = "tx", "rx", "tx", "rx";
300bc620474SSergei Shtylyov			i2c-scl-internal-delay-ns = <6>;
301bc620474SSergei Shtylyov			#address-cells = <1>;
302bc620474SSergei Shtylyov			#size-cells = <0>;
303bc620474SSergei Shtylyov			status = "disabled";
304bc620474SSergei Shtylyov		};
305bc620474SSergei Shtylyov
306bc620474SSergei Shtylyov		i2c2: i2c@e6510000 {
307bc620474SSergei Shtylyov			compatible = "renesas,i2c-r8a77980",
308bc620474SSergei Shtylyov				     "renesas,rcar-gen3-i2c";
309bc620474SSergei Shtylyov			reg = <0 0xe6510000 0 0x40>;
310bc620474SSergei Shtylyov			interrupts = <GIC_SPI 286 IRQ_TYPE_LEVEL_HIGH>;
311bc620474SSergei Shtylyov			clocks = <&cpg CPG_MOD 929>;
312bc620474SSergei Shtylyov			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
313bc620474SSergei Shtylyov			resets = <&cpg 929>;
314bc620474SSergei Shtylyov			dmas = <&dmac1 0x95>, <&dmac1 0x94>,
315bc620474SSergei Shtylyov			       <&dmac2 0x95>, <&dmac2 0x94>;
316bc620474SSergei Shtylyov			dma-names = "tx", "rx", "tx", "rx";
317bc620474SSergei Shtylyov			i2c-scl-internal-delay-ns = <6>;
318bc620474SSergei Shtylyov			#address-cells = <1>;
319bc620474SSergei Shtylyov			#size-cells = <0>;
320bc620474SSergei Shtylyov			status = "disabled";
321bc620474SSergei Shtylyov		};
322bc620474SSergei Shtylyov
323bc620474SSergei Shtylyov		i2c3: i2c@e66d0000 {
324bc620474SSergei Shtylyov			compatible = "renesas,i2c-r8a77980",
325bc620474SSergei Shtylyov				     "renesas,rcar-gen3-i2c";
326bc620474SSergei Shtylyov			reg = <0 0xe66d0000 0 0x40>;
327bc620474SSergei Shtylyov			interrupts = <GIC_SPI 290 IRQ_TYPE_LEVEL_HIGH>;
328bc620474SSergei Shtylyov			clocks = <&cpg CPG_MOD 928>;
329bc620474SSergei Shtylyov			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
330bc620474SSergei Shtylyov			resets = <&cpg 928>;
331bc620474SSergei Shtylyov			i2c-scl-internal-delay-ns = <6>;
332bc620474SSergei Shtylyov			#address-cells = <1>;
333bc620474SSergei Shtylyov			#size-cells = <0>;
334bc620474SSergei Shtylyov			status = "disabled";
335bc620474SSergei Shtylyov		};
336bc620474SSergei Shtylyov
337bc620474SSergei Shtylyov		i2c4: i2c@e66d8000 {
338bc620474SSergei Shtylyov			compatible = "renesas,i2c-r8a77980",
339bc620474SSergei Shtylyov				     "renesas,rcar-gen3-i2c";
340bc620474SSergei Shtylyov			reg = <0 0xe66d8000 0 0x40>;
341bc620474SSergei Shtylyov			interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>;
342bc620474SSergei Shtylyov			clocks = <&cpg CPG_MOD 927>;
343bc620474SSergei Shtylyov			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
344bc620474SSergei Shtylyov			resets = <&cpg 927>;
345bc620474SSergei Shtylyov			i2c-scl-internal-delay-ns = <6>;
346bc620474SSergei Shtylyov			#address-cells = <1>;
347bc620474SSergei Shtylyov			#size-cells = <0>;
348bc620474SSergei Shtylyov			status = "disabled";
349bc620474SSergei Shtylyov		};
350bc620474SSergei Shtylyov
351bc620474SSergei Shtylyov		i2c5: i2c@e66e0000 {
352bc620474SSergei Shtylyov			compatible = "renesas,i2c-r8a77980",
353bc620474SSergei Shtylyov				     "renesas,rcar-gen3-i2c";
354bc620474SSergei Shtylyov			reg = <0 0xe66e0000 0 0x40>;
355bc620474SSergei Shtylyov			interrupts = <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>;
356bc620474SSergei Shtylyov			clocks = <&cpg CPG_MOD 919>;
357bc620474SSergei Shtylyov			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
358bc620474SSergei Shtylyov			resets = <&cpg 919>;
359bc620474SSergei Shtylyov			dmas = <&dmac1 0x9b>, <&dmac1 0x9a>,
360bc620474SSergei Shtylyov			       <&dmac2 0x9b>, <&dmac2 0x9a>;
361bc620474SSergei Shtylyov			dma-names = "tx", "rx", "tx", "rx";
362bc620474SSergei Shtylyov			i2c-scl-internal-delay-ns = <6>;
363bc620474SSergei Shtylyov			#address-cells = <1>;
364bc620474SSergei Shtylyov			#size-cells = <0>;
365bc620474SSergei Shtylyov			status = "disabled";
366bc620474SSergei Shtylyov		};
367bc620474SSergei Shtylyov
3683601d98cSSergei Shtylyov		hscif0: serial@e6540000 {
3693601d98cSSergei Shtylyov			compatible = "renesas,hscif-r8a77980",
3703601d98cSSergei Shtylyov				     "renesas,rcar-gen3-hscif",
3713601d98cSSergei Shtylyov				     "renesas,hscif";
3723601d98cSSergei Shtylyov			reg = <0 0xe6540000 0 0x60>;
3733601d98cSSergei Shtylyov			interrupts = <GIC_SPI 154 IRQ_TYPE_LEVEL_HIGH>;
3743601d98cSSergei Shtylyov			clocks = <&cpg CPG_MOD 520>,
375c64cc368SSergei Shtylyov				 <&cpg CPG_CORE R8A77980_CLK_S3D1>,
3763601d98cSSergei Shtylyov				 <&scif_clk>;
3773601d98cSSergei Shtylyov			clock-names = "fck", "brg_int", "scif_clk";
3783601d98cSSergei Shtylyov			dmas = <&dmac1 0x31>, <&dmac1 0x30>,
3793601d98cSSergei Shtylyov			       <&dmac2 0x31>, <&dmac2 0x30>;
3803601d98cSSergei Shtylyov			dma-names = "tx", "rx", "tx", "rx";
3811184ea3fSSergei Shtylyov			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
3823601d98cSSergei Shtylyov			resets = <&cpg 520>;
3833601d98cSSergei Shtylyov			status = "disabled";
3843601d98cSSergei Shtylyov		};
3853601d98cSSergei Shtylyov
3863601d98cSSergei Shtylyov		hscif1: serial@e6550000 {
3873601d98cSSergei Shtylyov			compatible = "renesas,hscif-r8a77980",
3883601d98cSSergei Shtylyov				     "renesas,rcar-gen3-hscif",
3893601d98cSSergei Shtylyov				     "renesas,hscif";
3903601d98cSSergei Shtylyov			reg = <0 0xe6550000 0 0x60>;
3913601d98cSSergei Shtylyov			interrupts = <GIC_SPI 155 IRQ_TYPE_LEVEL_HIGH>;
3923601d98cSSergei Shtylyov			clocks = <&cpg CPG_MOD 519>,
393c64cc368SSergei Shtylyov				 <&cpg CPG_CORE R8A77980_CLK_S3D1>,
3943601d98cSSergei Shtylyov				 <&scif_clk>;
3953601d98cSSergei Shtylyov			clock-names = "fck", "brg_int", "scif_clk";
3963601d98cSSergei Shtylyov			dmas = <&dmac1 0x33>, <&dmac1 0x32>,
3973601d98cSSergei Shtylyov			       <&dmac2 0x33>, <&dmac2 0x32>;
3983601d98cSSergei Shtylyov			dma-names = "tx", "rx", "tx", "rx";
3991184ea3fSSergei Shtylyov			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
4003601d98cSSergei Shtylyov			resets = <&cpg 519>;
4013601d98cSSergei Shtylyov			status = "disabled";
4023601d98cSSergei Shtylyov		};
4033601d98cSSergei Shtylyov
4043601d98cSSergei Shtylyov		hscif2: serial@e6560000 {
4053601d98cSSergei Shtylyov			compatible = "renesas,hscif-r8a77980",
4063601d98cSSergei Shtylyov				     "renesas,rcar-gen3-hscif",
4073601d98cSSergei Shtylyov				     "renesas,hscif";
4083601d98cSSergei Shtylyov			reg = <0 0xe6560000 0 0x60>;
4093601d98cSSergei Shtylyov			interrupts = <GIC_SPI 144 IRQ_TYPE_LEVEL_HIGH>;
4103601d98cSSergei Shtylyov			clocks = <&cpg CPG_MOD 518>,
411c64cc368SSergei Shtylyov				 <&cpg CPG_CORE R8A77980_CLK_S3D1>,
4123601d98cSSergei Shtylyov				 <&scif_clk>;
4133601d98cSSergei Shtylyov			clock-names = "fck", "brg_int", "scif_clk";
4143601d98cSSergei Shtylyov			dmas = <&dmac1 0x35>, <&dmac1 0x34>,
4153601d98cSSergei Shtylyov			       <&dmac2 0x35>, <&dmac2 0x34>;
4163601d98cSSergei Shtylyov			dma-names = "tx", "rx", "tx", "rx";
4171184ea3fSSergei Shtylyov			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
4183601d98cSSergei Shtylyov			resets = <&cpg 518>;
4193601d98cSSergei Shtylyov			status = "disabled";
4203601d98cSSergei Shtylyov		};
4213601d98cSSergei Shtylyov
4223601d98cSSergei Shtylyov		hscif3: serial@e66a0000 {
4233601d98cSSergei Shtylyov			compatible = "renesas,hscif-r8a77980",
4243601d98cSSergei Shtylyov				     "renesas,rcar-gen3-hscif",
4253601d98cSSergei Shtylyov				     "renesas,hscif";
4263601d98cSSergei Shtylyov			reg = <0 0xe66a0000 0 0x60>;
4273601d98cSSergei Shtylyov			interrupts = <GIC_SPI 145 IRQ_TYPE_LEVEL_HIGH>;
4283601d98cSSergei Shtylyov			clocks = <&cpg CPG_MOD 517>,
429c64cc368SSergei Shtylyov				 <&cpg CPG_CORE R8A77980_CLK_S3D1>,
4303601d98cSSergei Shtylyov				 <&scif_clk>;
4313601d98cSSergei Shtylyov			clock-names = "fck", "brg_int", "scif_clk";
4323601d98cSSergei Shtylyov			dmas = <&dmac1 0x37>, <&dmac1 0x36>,
4333601d98cSSergei Shtylyov			       <&dmac2 0x37>, <&dmac2 0x36>;
4343601d98cSSergei Shtylyov			dma-names = "tx", "rx", "tx", "rx";
4351184ea3fSSergei Shtylyov			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
4363601d98cSSergei Shtylyov			resets = <&cpg 517>;
4373601d98cSSergei Shtylyov			status = "disabled";
4383601d98cSSergei Shtylyov		};
4393601d98cSSergei Shtylyov
440f38c4172SSergei Shtylyov		canfd: can@e66c0000 {
441f38c4172SSergei Shtylyov			compatible = "renesas,r8a77980-canfd",
442f38c4172SSergei Shtylyov				     "renesas,rcar-gen3-canfd";
443f38c4172SSergei Shtylyov			reg = <0 0xe66c0000 0 0x8000>;
444f38c4172SSergei Shtylyov			interrupts = <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>,
445f38c4172SSergei Shtylyov				     <GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>;
446f38c4172SSergei Shtylyov			clocks = <&cpg CPG_MOD 914>,
447f38c4172SSergei Shtylyov				 <&cpg CPG_CORE R8A77980_CLK_CANFD>,
448f38c4172SSergei Shtylyov				 <&can_clk>;
449f38c4172SSergei Shtylyov			clock-names = "fck", "canfd", "can_clk";
450f38c4172SSergei Shtylyov			assigned-clocks = <&cpg CPG_CORE R8A77980_CLK_CANFD>;
451f38c4172SSergei Shtylyov			assigned-clock-rates = <40000000>;
452f38c4172SSergei Shtylyov			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
45322fb06cdSSimon Horman			resets = <&cpg 914>;
454f38c4172SSergei Shtylyov			status = "disabled";
455f38c4172SSergei Shtylyov
456f38c4172SSergei Shtylyov			channel0 {
457f38c4172SSergei Shtylyov				status = "disabled";
458f38c4172SSergei Shtylyov			};
459f38c4172SSergei Shtylyov
460f38c4172SSergei Shtylyov			channel1 {
461f38c4172SSergei Shtylyov				status = "disabled";
462f38c4172SSergei Shtylyov			};
463f38c4172SSergei Shtylyov		};
464f38c4172SSergei Shtylyov
46555697cbbSMagnus Damm		ipmmu_ds1: mmu@e7740000 {
46655697cbbSMagnus Damm			compatible = "renesas,ipmmu-r8a77980";
46755697cbbSMagnus Damm			reg = <0 0xe7740000 0 0x1000>;
46855697cbbSMagnus Damm			renesas,ipmmu-main = <&ipmmu_mm 0>;
46955697cbbSMagnus Damm			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
47055697cbbSMagnus Damm			#iommu-cells = <1>;
47155697cbbSMagnus Damm		};
47255697cbbSMagnus Damm
47355697cbbSMagnus Damm		ipmmu_vip0: mmu@e7b00000 {
47455697cbbSMagnus Damm			compatible = "renesas,ipmmu-r8a77980";
47555697cbbSMagnus Damm			reg = <0 0xe7b00000 0 0x1000>;
47655697cbbSMagnus Damm			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
47755697cbbSMagnus Damm			#iommu-cells = <1>;
47855697cbbSMagnus Damm		};
47955697cbbSMagnus Damm
48055697cbbSMagnus Damm		ipmmu_vip1: mmu@e7960000 {
48155697cbbSMagnus Damm			compatible = "renesas,ipmmu-r8a77980";
48255697cbbSMagnus Damm			reg = <0 0xe7960000 0 0x1000>;
48355697cbbSMagnus Damm			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
48455697cbbSMagnus Damm			#iommu-cells = <1>;
48555697cbbSMagnus Damm		};
48655697cbbSMagnus Damm
48755697cbbSMagnus Damm		ipmmu_ir: mmu@ff8b0000 {
48855697cbbSMagnus Damm			compatible = "renesas,ipmmu-r8a77980";
48955697cbbSMagnus Damm			reg = <0 0xff8b0000 0 0x1000>;
49055697cbbSMagnus Damm			renesas,ipmmu-main = <&ipmmu_mm 3>;
49155697cbbSMagnus Damm			power-domains = <&sysc R8A77980_PD_A3IR>;
49255697cbbSMagnus Damm			#iommu-cells = <1>;
49355697cbbSMagnus Damm		};
49455697cbbSMagnus Damm
49555697cbbSMagnus Damm		ipmmu_mm: mmu@e67b0000 {
49655697cbbSMagnus Damm			compatible = "renesas,ipmmu-r8a77980";
49755697cbbSMagnus Damm			reg = <0 0xe67b0000 0 0x1000>;
49855697cbbSMagnus Damm			interrupts = <GIC_SPI 196 IRQ_TYPE_LEVEL_HIGH>,
49955697cbbSMagnus Damm				     <GIC_SPI 197 IRQ_TYPE_LEVEL_HIGH>;
50055697cbbSMagnus Damm			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
50155697cbbSMagnus Damm			#iommu-cells = <1>;
50255697cbbSMagnus Damm		};
50355697cbbSMagnus Damm
50455697cbbSMagnus Damm		ipmmu_rt: mmu@ffc80000 {
50555697cbbSMagnus Damm			compatible = "renesas,ipmmu-r8a77980";
50655697cbbSMagnus Damm			reg = <0 0xffc80000 0 0x1000>;
50755697cbbSMagnus Damm			renesas,ipmmu-main = <&ipmmu_mm 10>;
50855697cbbSMagnus Damm			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
50955697cbbSMagnus Damm			#iommu-cells = <1>;
51055697cbbSMagnus Damm		};
51155697cbbSMagnus Damm
51255697cbbSMagnus Damm		ipmmu_vc0: mmu@fe6b0000 {
51355697cbbSMagnus Damm			compatible = "renesas,ipmmu-r8a77980";
51455697cbbSMagnus Damm			reg = <0 0xfe6b0000 0 0x1000>;
51555697cbbSMagnus Damm			renesas,ipmmu-main = <&ipmmu_mm 12>;
51655697cbbSMagnus Damm			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
51755697cbbSMagnus Damm			#iommu-cells = <1>;
51855697cbbSMagnus Damm		};
51955697cbbSMagnus Damm
52055697cbbSMagnus Damm		ipmmu_vi0: mmu@febd0000 {
52155697cbbSMagnus Damm			compatible = "renesas,ipmmu-r8a77980";
52255697cbbSMagnus Damm			reg = <0 0xfebd0000 0 0x1000>;
52355697cbbSMagnus Damm			renesas,ipmmu-main = <&ipmmu_mm 14>;
52455697cbbSMagnus Damm			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
52555697cbbSMagnus Damm			#iommu-cells = <1>;
52655697cbbSMagnus Damm		};
52755697cbbSMagnus Damm
528bf6f9083SSergei Shtylyov		avb: ethernet@e6800000 {
529bf6f9083SSergei Shtylyov			compatible = "renesas,etheravb-r8a77980",
530bf6f9083SSergei Shtylyov				     "renesas,etheravb-rcar-gen3";
531bf6f9083SSergei Shtylyov			reg = <0 0xe6800000 0 0x800>;
532bf6f9083SSergei Shtylyov			interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>,
533bf6f9083SSergei Shtylyov				     <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>,
534bf6f9083SSergei Shtylyov				     <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>,
535bf6f9083SSergei Shtylyov				     <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>,
536bf6f9083SSergei Shtylyov				     <GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>,
537bf6f9083SSergei Shtylyov				     <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>,
538bf6f9083SSergei Shtylyov				     <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>,
539bf6f9083SSergei Shtylyov				     <GIC_SPI 46 IRQ_TYPE_LEVEL_HIGH>,
540bf6f9083SSergei Shtylyov				     <GIC_SPI 47 IRQ_TYPE_LEVEL_HIGH>,
541bf6f9083SSergei Shtylyov				     <GIC_SPI 48 IRQ_TYPE_LEVEL_HIGH>,
542bf6f9083SSergei Shtylyov				     <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>,
543bf6f9083SSergei Shtylyov				     <GIC_SPI 50 IRQ_TYPE_LEVEL_HIGH>,
544bf6f9083SSergei Shtylyov				     <GIC_SPI 51 IRQ_TYPE_LEVEL_HIGH>,
545bf6f9083SSergei Shtylyov				     <GIC_SPI 52 IRQ_TYPE_LEVEL_HIGH>,
546bf6f9083SSergei Shtylyov				     <GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH>,
547bf6f9083SSergei Shtylyov				     <GIC_SPI 54 IRQ_TYPE_LEVEL_HIGH>,
548bf6f9083SSergei Shtylyov				     <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>,
549bf6f9083SSergei Shtylyov				     <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>,
550bf6f9083SSergei Shtylyov				     <GIC_SPI 57 IRQ_TYPE_LEVEL_HIGH>,
551bf6f9083SSergei Shtylyov				     <GIC_SPI 58 IRQ_TYPE_LEVEL_HIGH>,
552bf6f9083SSergei Shtylyov				     <GIC_SPI 59 IRQ_TYPE_LEVEL_HIGH>,
553bf6f9083SSergei Shtylyov				     <GIC_SPI 60 IRQ_TYPE_LEVEL_HIGH>,
554bf6f9083SSergei Shtylyov				     <GIC_SPI 61 IRQ_TYPE_LEVEL_HIGH>,
555bf6f9083SSergei Shtylyov				     <GIC_SPI 62 IRQ_TYPE_LEVEL_HIGH>,
556bf6f9083SSergei Shtylyov				     <GIC_SPI 63 IRQ_TYPE_LEVEL_HIGH>;
557bf6f9083SSergei Shtylyov			interrupt-names = "ch0", "ch1", "ch2", "ch3",
558bf6f9083SSergei Shtylyov					  "ch4", "ch5", "ch6", "ch7",
559bf6f9083SSergei Shtylyov					  "ch8", "ch9", "ch10", "ch11",
560bf6f9083SSergei Shtylyov					  "ch12", "ch13", "ch14", "ch15",
561bf6f9083SSergei Shtylyov					  "ch16", "ch17", "ch18", "ch19",
562bf6f9083SSergei Shtylyov					  "ch20", "ch21", "ch22", "ch23",
563bf6f9083SSergei Shtylyov					  "ch24";
564bf6f9083SSergei Shtylyov			clocks = <&cpg CPG_MOD 812>;
5651184ea3fSSergei Shtylyov			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
566bf6f9083SSergei Shtylyov			resets = <&cpg 812>;
567bf6f9083SSergei Shtylyov			phy-mode = "rgmii";
568bf6f9083SSergei Shtylyov			#address-cells = <1>;
569bf6f9083SSergei Shtylyov			#size-cells = <0>;
57052d2e0ceSSergei Shtylyov			status = "disabled";
571bf6f9083SSergei Shtylyov		};
572bf6f9083SSergei Shtylyov
5733601d98cSSergei Shtylyov		scif0: serial@e6e60000 {
5743601d98cSSergei Shtylyov			compatible = "renesas,scif-r8a77980",
5753601d98cSSergei Shtylyov				     "renesas,rcar-gen3-scif",
5763601d98cSSergei Shtylyov				     "renesas,scif";
5773601d98cSSergei Shtylyov			reg = <0 0xe6e60000 0 0x40>;
5783601d98cSSergei Shtylyov			interrupts = <GIC_SPI 152 IRQ_TYPE_LEVEL_HIGH>;
5793601d98cSSergei Shtylyov			clocks = <&cpg CPG_MOD 207>,
580c64cc368SSergei Shtylyov				 <&cpg CPG_CORE R8A77980_CLK_S3D1>,
5813601d98cSSergei Shtylyov				 <&scif_clk>;
5823601d98cSSergei Shtylyov			clock-names = "fck", "brg_int", "scif_clk";
5833601d98cSSergei Shtylyov			dmas = <&dmac1 0x51>, <&dmac1 0x50>,
5843601d98cSSergei Shtylyov			       <&dmac2 0x51>, <&dmac2 0x50>;
5853601d98cSSergei Shtylyov			dma-names = "tx", "rx", "tx", "rx";
5861184ea3fSSergei Shtylyov			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
5873601d98cSSergei Shtylyov			resets = <&cpg 207>;
5883601d98cSSergei Shtylyov			status = "disabled";
5893601d98cSSergei Shtylyov		};
5903601d98cSSergei Shtylyov
5913601d98cSSergei Shtylyov		scif1: serial@e6e68000 {
5923601d98cSSergei Shtylyov			compatible = "renesas,scif-r8a77980",
5933601d98cSSergei Shtylyov				     "renesas,rcar-gen3-scif",
5943601d98cSSergei Shtylyov				     "renesas,scif";
5953601d98cSSergei Shtylyov			reg = <0 0xe6e68000 0 0x40>;
5963601d98cSSergei Shtylyov			interrupts = <GIC_SPI 153 IRQ_TYPE_LEVEL_HIGH>;
5973601d98cSSergei Shtylyov			clocks = <&cpg CPG_MOD 206>,
598c64cc368SSergei Shtylyov				 <&cpg CPG_CORE R8A77980_CLK_S3D1>,
5993601d98cSSergei Shtylyov				 <&scif_clk>;
6003601d98cSSergei Shtylyov			clock-names = "fck", "brg_int", "scif_clk";
6013601d98cSSergei Shtylyov			dmas = <&dmac1 0x53>, <&dmac1 0x52>,
6023601d98cSSergei Shtylyov			       <&dmac2 0x53>, <&dmac2 0x52>;
6033601d98cSSergei Shtylyov			dma-names = "tx", "rx", "tx", "rx";
6041184ea3fSSergei Shtylyov			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
6053601d98cSSergei Shtylyov			resets = <&cpg 206>;
6063601d98cSSergei Shtylyov			status = "disabled";
6073601d98cSSergei Shtylyov		};
6083601d98cSSergei Shtylyov
6093601d98cSSergei Shtylyov		scif3: serial@e6c50000 {
6103601d98cSSergei Shtylyov			compatible = "renesas,scif-r8a77980",
6113601d98cSSergei Shtylyov				     "renesas,rcar-gen3-scif",
6123601d98cSSergei Shtylyov				     "renesas,scif";
6133601d98cSSergei Shtylyov			reg = <0 0xe6c50000 0 0x40>;
6143601d98cSSergei Shtylyov			interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>;
6153601d98cSSergei Shtylyov			clocks = <&cpg CPG_MOD 204>,
616c64cc368SSergei Shtylyov				 <&cpg CPG_CORE R8A77980_CLK_S3D1>,
6173601d98cSSergei Shtylyov				 <&scif_clk>;
6183601d98cSSergei Shtylyov			clock-names = "fck", "brg_int", "scif_clk";
6193601d98cSSergei Shtylyov			dmas = <&dmac1 0x57>, <&dmac1 0x56>,
6203601d98cSSergei Shtylyov			       <&dmac2 0x57>, <&dmac2 0x56>;
6213601d98cSSergei Shtylyov			dma-names = "tx", "rx", "tx", "rx";
6221184ea3fSSergei Shtylyov			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
6233601d98cSSergei Shtylyov			resets = <&cpg 204>;
6243601d98cSSergei Shtylyov			status = "disabled";
6253601d98cSSergei Shtylyov		};
6263601d98cSSergei Shtylyov
6273601d98cSSergei Shtylyov		scif4: serial@e6c40000 {
6283601d98cSSergei Shtylyov			compatible = "renesas,scif-r8a77980",
6293601d98cSSergei Shtylyov				     "renesas,rcar-gen3-scif",
6303601d98cSSergei Shtylyov				     "renesas,scif";
6313601d98cSSergei Shtylyov			reg = <0 0xe6c40000 0 0x40>;
6323601d98cSSergei Shtylyov			interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>;
6333601d98cSSergei Shtylyov			clocks = <&cpg CPG_MOD 203>,
634c64cc368SSergei Shtylyov				 <&cpg CPG_CORE R8A77980_CLK_S3D1>,
6353601d98cSSergei Shtylyov				 <&scif_clk>;
6363601d98cSSergei Shtylyov			clock-names = "fck", "brg_int", "scif_clk";
6373601d98cSSergei Shtylyov			dmas = <&dmac1 0x59>, <&dmac1 0x58>,
6383601d98cSSergei Shtylyov			       <&dmac2 0x59>, <&dmac2 0x58>;
6393601d98cSSergei Shtylyov			dma-names = "tx", "rx", "tx", "rx";
6401184ea3fSSergei Shtylyov			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
6413601d98cSSergei Shtylyov			resets = <&cpg 203>;
6423601d98cSSergei Shtylyov			status = "disabled";
6433601d98cSSergei Shtylyov		};
6443601d98cSSergei Shtylyov
64500d3375fSSergei Shtylyov		dmac1: dma-controller@e7300000 {
64600d3375fSSergei Shtylyov			compatible = "renesas,dmac-r8a77980",
64700d3375fSSergei Shtylyov				     "renesas,rcar-dmac";
64800d3375fSSergei Shtylyov			reg = <0 0xe7300000 0 0x10000>;
64900d3375fSSergei Shtylyov			interrupts = <GIC_SPI 220 IRQ_TYPE_LEVEL_HIGH
65000d3375fSSergei Shtylyov				      GIC_SPI 216 IRQ_TYPE_LEVEL_HIGH
65100d3375fSSergei Shtylyov				      GIC_SPI 217 IRQ_TYPE_LEVEL_HIGH
65200d3375fSSergei Shtylyov				      GIC_SPI 218 IRQ_TYPE_LEVEL_HIGH
65300d3375fSSergei Shtylyov				      GIC_SPI 219 IRQ_TYPE_LEVEL_HIGH
65400d3375fSSergei Shtylyov				      GIC_SPI 308 IRQ_TYPE_LEVEL_HIGH
65500d3375fSSergei Shtylyov				      GIC_SPI 309 IRQ_TYPE_LEVEL_HIGH
65600d3375fSSergei Shtylyov				      GIC_SPI 310 IRQ_TYPE_LEVEL_HIGH
65700d3375fSSergei Shtylyov				      GIC_SPI 311 IRQ_TYPE_LEVEL_HIGH
65800d3375fSSergei Shtylyov				      GIC_SPI 353 IRQ_TYPE_LEVEL_HIGH
65900d3375fSSergei Shtylyov				      GIC_SPI 354 IRQ_TYPE_LEVEL_HIGH
66000d3375fSSergei Shtylyov				      GIC_SPI 355 IRQ_TYPE_LEVEL_HIGH
66100d3375fSSergei Shtylyov				      GIC_SPI 356 IRQ_TYPE_LEVEL_HIGH
66200d3375fSSergei Shtylyov				      GIC_SPI 357 IRQ_TYPE_LEVEL_HIGH
66300d3375fSSergei Shtylyov				      GIC_SPI 358 IRQ_TYPE_LEVEL_HIGH
66400d3375fSSergei Shtylyov				      GIC_SPI 359 IRQ_TYPE_LEVEL_HIGH
66500d3375fSSergei Shtylyov				      GIC_SPI 360 IRQ_TYPE_LEVEL_HIGH>;
66600d3375fSSergei Shtylyov			interrupt-names = "error",
66700d3375fSSergei Shtylyov					  "ch0", "ch1", "ch2", "ch3",
66800d3375fSSergei Shtylyov					  "ch4", "ch5", "ch6", "ch7",
66900d3375fSSergei Shtylyov					  "ch8", "ch9", "ch10", "ch11",
67000d3375fSSergei Shtylyov					  "ch12", "ch13", "ch14", "ch15";
67100d3375fSSergei Shtylyov			clocks = <&cpg CPG_MOD 218>;
67200d3375fSSergei Shtylyov			clock-names = "fck";
6731184ea3fSSergei Shtylyov			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
67400d3375fSSergei Shtylyov			resets = <&cpg 218>;
67500d3375fSSergei Shtylyov			#dma-cells = <1>;
67600d3375fSSergei Shtylyov			dma-channels = <16>;
67700d3375fSSergei Shtylyov		};
67800d3375fSSergei Shtylyov
67900d3375fSSergei Shtylyov		dmac2: dma-controller@e7310000 {
68000d3375fSSergei Shtylyov			compatible = "renesas,dmac-r8a77980",
68100d3375fSSergei Shtylyov				     "renesas,rcar-dmac";
68200d3375fSSergei Shtylyov			reg = <0 0xe7310000 0 0x10000>;
68300d3375fSSergei Shtylyov			interrupts = <GIC_SPI 307 IRQ_TYPE_LEVEL_HIGH
68400d3375fSSergei Shtylyov				      GIC_SPI 312 IRQ_TYPE_LEVEL_HIGH
68500d3375fSSergei Shtylyov				      GIC_SPI 313 IRQ_TYPE_LEVEL_HIGH
68600d3375fSSergei Shtylyov				      GIC_SPI 314 IRQ_TYPE_LEVEL_HIGH
68700d3375fSSergei Shtylyov				      GIC_SPI 315 IRQ_TYPE_LEVEL_HIGH
68800d3375fSSergei Shtylyov				      GIC_SPI 316 IRQ_TYPE_LEVEL_HIGH
68900d3375fSSergei Shtylyov				      GIC_SPI 317 IRQ_TYPE_LEVEL_HIGH
69000d3375fSSergei Shtylyov				      GIC_SPI 318 IRQ_TYPE_LEVEL_HIGH
69100d3375fSSergei Shtylyov				      GIC_SPI 319 IRQ_TYPE_LEVEL_HIGH
69200d3375fSSergei Shtylyov				      GIC_SPI 361 IRQ_TYPE_LEVEL_HIGH
69300d3375fSSergei Shtylyov				      GIC_SPI 362 IRQ_TYPE_LEVEL_HIGH
69400d3375fSSergei Shtylyov				      GIC_SPI 363 IRQ_TYPE_LEVEL_HIGH
69500d3375fSSergei Shtylyov				      GIC_SPI 364 IRQ_TYPE_LEVEL_HIGH
69600d3375fSSergei Shtylyov				      GIC_SPI 365 IRQ_TYPE_LEVEL_HIGH
69700d3375fSSergei Shtylyov				      GIC_SPI 366 IRQ_TYPE_LEVEL_HIGH
69800d3375fSSergei Shtylyov				      GIC_SPI 367 IRQ_TYPE_LEVEL_HIGH
69900d3375fSSergei Shtylyov				      GIC_SPI 368 IRQ_TYPE_LEVEL_HIGH>;
70000d3375fSSergei Shtylyov			interrupt-names = "error",
70100d3375fSSergei Shtylyov					  "ch0", "ch1", "ch2", "ch3",
70200d3375fSSergei Shtylyov					  "ch4", "ch5", "ch6", "ch7",
70300d3375fSSergei Shtylyov					  "ch8", "ch9", "ch10", "ch11",
70400d3375fSSergei Shtylyov					  "ch12", "ch13", "ch14", "ch15";
70500d3375fSSergei Shtylyov			clocks = <&cpg CPG_MOD 217>;
70600d3375fSSergei Shtylyov			clock-names = "fck";
7071184ea3fSSergei Shtylyov			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
70800d3375fSSergei Shtylyov			resets = <&cpg 217>;
70900d3375fSSergei Shtylyov			#dma-cells = <1>;
71000d3375fSSergei Shtylyov			dma-channels = <16>;
71100d3375fSSergei Shtylyov		};
71200d3375fSSergei Shtylyov
71387bea678SSergei Shtylyov		gether: ethernet@e7400000 {
71487bea678SSergei Shtylyov			compatible = "renesas,gether-r8a77980";
71587bea678SSergei Shtylyov			reg = <0 0xe7400000 0 0x1000>;
71687bea678SSergei Shtylyov			interrupts = <GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH>;
71787bea678SSergei Shtylyov			clocks = <&cpg CPG_MOD 813>;
71887bea678SSergei Shtylyov			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
71987bea678SSergei Shtylyov			resets = <&cpg 813>;
72087bea678SSergei Shtylyov			#address-cells = <1>;
72187bea678SSergei Shtylyov			#size-cells = <0>;
72287bea678SSergei Shtylyov			status = "disabled";
72387bea678SSergei Shtylyov		};
72487bea678SSergei Shtylyov
72563eb8ee5SSergei Shtylyov		mmc0: mmc@ee140000 {
72663eb8ee5SSergei Shtylyov			compatible = "renesas,sdhi-r8a77980",
72763eb8ee5SSergei Shtylyov				     "renesas,rcar-gen3-sdhi";
72863eb8ee5SSergei Shtylyov			reg = <0 0xee140000 0 0x2000>;
72963eb8ee5SSergei Shtylyov			interrupts = <GIC_SPI 165 IRQ_TYPE_LEVEL_HIGH>;
73063eb8ee5SSergei Shtylyov			clocks = <&cpg CPG_MOD 314>;
7311184ea3fSSergei Shtylyov			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
73263eb8ee5SSergei Shtylyov			resets = <&cpg 314>;
73363eb8ee5SSergei Shtylyov			max-frequency = <200000000>;
73463eb8ee5SSergei Shtylyov			status = "disabled";
73563eb8ee5SSergei Shtylyov		};
73663eb8ee5SSergei Shtylyov
737f3a54d6cSSergei Shtylyov		gic: interrupt-controller@f1010000 {
738f3a54d6cSSergei Shtylyov			compatible = "arm,gic-400";
739f3a54d6cSSergei Shtylyov			#interrupt-cells = <3>;
740f3a54d6cSSergei Shtylyov			#address-cells = <0>;
741f3a54d6cSSergei Shtylyov			interrupt-controller;
742f3a54d6cSSergei Shtylyov			reg = <0x0 0xf1010000 0 0x1000>,
743f3a54d6cSSergei Shtylyov			      <0x0 0xf1020000 0 0x20000>,
744f3a54d6cSSergei Shtylyov			      <0x0 0xf1040000 0 0x20000>,
745f3a54d6cSSergei Shtylyov			      <0x0 0xf1060000 0 0x20000>;
7462ec1e4b4SSergei Shtylyov			interrupts = <GIC_PPI 9	(GIC_CPU_MASK_SIMPLE(4) |
747f3a54d6cSSergei Shtylyov				      IRQ_TYPE_LEVEL_HIGH)>;
748f3a54d6cSSergei Shtylyov			clocks = <&cpg CPG_MOD 408>;
749f3a54d6cSSergei Shtylyov			clock-names = "clk";
7501184ea3fSSergei Shtylyov			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
751f3a54d6cSSergei Shtylyov			resets = <&cpg 408>;
752f3a54d6cSSergei Shtylyov		};
753f3a54d6cSSergei Shtylyov
754a334e781SSergei Shtylyov		vspd0: vsp@fea20000 {
755a334e781SSergei Shtylyov			compatible = "renesas,vsp2";
756a334e781SSergei Shtylyov			reg = <0 0xfea20000 0 0x5000>;
757a334e781SSergei Shtylyov			interrupts = <GIC_SPI 169 IRQ_TYPE_LEVEL_HIGH>;
758a334e781SSergei Shtylyov			clocks = <&cpg CPG_MOD 623>;
759a334e781SSergei Shtylyov			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
760a334e781SSergei Shtylyov			resets = <&cpg 623>;
761a334e781SSergei Shtylyov			renesas,fcp = <&fcpvd0>;
762a334e781SSergei Shtylyov		};
763a334e781SSergei Shtylyov
764a334e781SSergei Shtylyov		fcpvd0: fcp@fea27000 {
765a334e781SSergei Shtylyov			compatible = "renesas,fcpv";
766a334e781SSergei Shtylyov			reg = <0 0xfea27000 0 0x200>;
767a334e781SSergei Shtylyov			clocks = <&cpg CPG_MOD 603>;
768a334e781SSergei Shtylyov			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
769a334e781SSergei Shtylyov			resets = <&cpg 603>;
770a334e781SSergei Shtylyov		};
771a334e781SSergei Shtylyov
772a334e781SSergei Shtylyov		du: display@feb00000 {
773a334e781SSergei Shtylyov			compatible = "renesas,du-r8a77980",
774a334e781SSergei Shtylyov				     "renesas,du-r8a77970";
775a334e781SSergei Shtylyov			reg = <0 0xfeb00000 0 0x80000>;
776a334e781SSergei Shtylyov			interrupts = <GIC_SPI 256 IRQ_TYPE_LEVEL_HIGH>;
777a334e781SSergei Shtylyov			clocks = <&cpg CPG_MOD 724>;
778a334e781SSergei Shtylyov			clock-names = "du.0";
779a334e781SSergei Shtylyov			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
780a334e781SSergei Shtylyov			resets = <&cpg 724>;
781a334e781SSergei Shtylyov			vsps = <&vspd0>;
782a334e781SSergei Shtylyov			status = "disabled";
783a334e781SSergei Shtylyov
784a334e781SSergei Shtylyov			ports {
785a334e781SSergei Shtylyov				#address-cells = <1>;
786a334e781SSergei Shtylyov				#size-cells = <0>;
787a334e781SSergei Shtylyov
788a334e781SSergei Shtylyov				port@0 {
789a334e781SSergei Shtylyov					reg = <0>;
790a334e781SSergei Shtylyov					du_out_rgb: endpoint {
791a334e781SSergei Shtylyov					};
792a334e781SSergei Shtylyov				};
793a334e781SSergei Shtylyov
794a334e781SSergei Shtylyov				port@1 {
795a334e781SSergei Shtylyov					reg = <1>;
796a334e781SSergei Shtylyov					du_out_lvds0: endpoint {
797a334e781SSergei Shtylyov						remote-endpoint = <&lvds0_in>;
798a334e781SSergei Shtylyov					};
799a334e781SSergei Shtylyov				};
800a334e781SSergei Shtylyov			};
801a334e781SSergei Shtylyov		};
802a334e781SSergei Shtylyov
803a334e781SSergei Shtylyov		lvds0: lvds-encoder@feb90000 {
804a334e781SSergei Shtylyov			compatible = "renesas,r8a77980-lvds";
805a334e781SSergei Shtylyov			reg = <0 0xfeb90000 0 0x14>;
806a334e781SSergei Shtylyov			clocks = <&cpg CPG_MOD 727>;
807a334e781SSergei Shtylyov			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
808a334e781SSergei Shtylyov			resets = <&cpg 727>;
809a334e781SSergei Shtylyov			status = "disabled";
810a334e781SSergei Shtylyov
811a334e781SSergei Shtylyov			ports {
812a334e781SSergei Shtylyov				#address-cells = <1>;
813a334e781SSergei Shtylyov				#size-cells = <0>;
814a334e781SSergei Shtylyov
815a334e781SSergei Shtylyov				port@0 {
816a334e781SSergei Shtylyov					reg = <0>;
817a334e781SSergei Shtylyov					lvds0_in: endpoint {
818a334e781SSergei Shtylyov						remote-endpoint =
819a334e781SSergei Shtylyov							<&du_out_lvds0>;
820a334e781SSergei Shtylyov					};
821a334e781SSergei Shtylyov				};
822a334e781SSergei Shtylyov
823a334e781SSergei Shtylyov				port@1 {
824a334e781SSergei Shtylyov					reg = <1>;
825a334e781SSergei Shtylyov					lvds0_out: endpoint {
826a334e781SSergei Shtylyov					};
827a334e781SSergei Shtylyov				};
828a334e781SSergei Shtylyov			};
829a334e781SSergei Shtylyov		};
830a334e781SSergei Shtylyov
831f3a54d6cSSergei Shtylyov		prr: chipid@fff00044 {
832f3a54d6cSSergei Shtylyov			compatible = "renesas,prr";
833f3a54d6cSSergei Shtylyov			reg = <0 0xfff00044 0 4>;
834f3a54d6cSSergei Shtylyov		};
835f3a54d6cSSergei Shtylyov	};
836f3a54d6cSSergei Shtylyov
837f3a54d6cSSergei Shtylyov	timer {
838f3a54d6cSSergei Shtylyov		compatible = "arm,armv8-timer";
8392ec1e4b4SSergei Shtylyov		interrupts-extended = <&gic GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(4) |
840f3a54d6cSSergei Shtylyov				       IRQ_TYPE_LEVEL_LOW)>,
8412ec1e4b4SSergei Shtylyov				      <&gic GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(4) |
842f3a54d6cSSergei Shtylyov				       IRQ_TYPE_LEVEL_LOW)>,
8432ec1e4b4SSergei Shtylyov				      <&gic GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(4) |
844f3a54d6cSSergei Shtylyov				       IRQ_TYPE_LEVEL_LOW)>,
8452ec1e4b4SSergei Shtylyov				      <&gic GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(4) |
846f3a54d6cSSergei Shtylyov				       IRQ_TYPE_LEVEL_LOW)>;
847f3a54d6cSSergei Shtylyov	};
848f3a54d6cSSergei Shtylyov};
849