xref: /linux/scripts/dtc/include-prefixes/arm64/renesas/r8a77980.dtsi (revision e18a31a7add2d85c0d3e88460a09032d35e70d6c)
1f3a54d6cSSergei Shtylyov// SPDX-License-Identifier: GPL-2.0
2f3a54d6cSSergei Shtylyov/*
3*e18a31a7SMagnus 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
101f3a54d6cSSergei Shtylyov	psci {
102f3a54d6cSSergei Shtylyov		compatible = "arm,psci-1.0", "arm,psci-0.2";
103f3a54d6cSSergei Shtylyov		method = "smc";
104f3a54d6cSSergei Shtylyov	};
105f3a54d6cSSergei Shtylyov
1063601d98cSSergei Shtylyov	/* External SCIF clock - to be overridden by boards that provide it */
1073601d98cSSergei Shtylyov	scif_clk: scif {
1083601d98cSSergei Shtylyov		compatible = "fixed-clock";
1093601d98cSSergei Shtylyov		#clock-cells = <0>;
1103601d98cSSergei Shtylyov		clock-frequency = <0>;
1113601d98cSSergei Shtylyov	};
1123601d98cSSergei Shtylyov
113f3a54d6cSSergei Shtylyov	soc {
114f3a54d6cSSergei Shtylyov		compatible = "simple-bus";
115f3a54d6cSSergei Shtylyov		interrupt-parent = <&gic>;
116f3a54d6cSSergei Shtylyov
117f3a54d6cSSergei Shtylyov		#address-cells = <2>;
118f3a54d6cSSergei Shtylyov		#size-cells = <2>;
119f3a54d6cSSergei Shtylyov		ranges;
120f3a54d6cSSergei Shtylyov
121bcee502cSSergei Shtylyov		rwdt: watchdog@e6020000 {
122bcee502cSSergei Shtylyov			compatible = "renesas,r8a77980-wdt",
123bcee502cSSergei Shtylyov				     "renesas,rcar-gen3-wdt";
124bcee502cSSergei Shtylyov			reg = <0 0xe6020000 0 0x0c>;
125bcee502cSSergei Shtylyov			clocks = <&cpg CPG_MOD 402>;
126bcee502cSSergei Shtylyov			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
127bcee502cSSergei Shtylyov			resets = <&cpg 402>;
128bcee502cSSergei Shtylyov			status = "disabled";
129bcee502cSSergei Shtylyov		};
130bcee502cSSergei Shtylyov
131efcb52e3SSergei Shtylyov		gpio0: gpio@e6050000 {
132efcb52e3SSergei Shtylyov			compatible = "renesas,gpio-r8a77980",
133efcb52e3SSergei Shtylyov				     "renesas,rcar-gen3-gpio";
134efcb52e3SSergei Shtylyov			reg = <0 0xe6050000 0 0x50>;
135efcb52e3SSergei Shtylyov			interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;
136efcb52e3SSergei Shtylyov			#gpio-cells = <2>;
137efcb52e3SSergei Shtylyov			gpio-controller;
138efcb52e3SSergei Shtylyov			gpio-ranges = <&pfc 0 0 22>;
139efcb52e3SSergei Shtylyov			#interrupt-cells = <2>;
140efcb52e3SSergei Shtylyov			interrupt-controller;
141efcb52e3SSergei Shtylyov			clocks = <&cpg CPG_MOD 912>;
142efcb52e3SSergei Shtylyov			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
143efcb52e3SSergei Shtylyov			resets = <&cpg 912>;
144efcb52e3SSergei Shtylyov		};
145efcb52e3SSergei Shtylyov
146efcb52e3SSergei Shtylyov		gpio1: gpio@e6051000 {
147efcb52e3SSergei Shtylyov			compatible = "renesas,gpio-r8a77980",
148efcb52e3SSergei Shtylyov				     "renesas,rcar-gen3-gpio";
149efcb52e3SSergei Shtylyov			reg = <0 0xe6051000 0 0x50>;
150efcb52e3SSergei Shtylyov			interrupts = <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>;
151efcb52e3SSergei Shtylyov			#gpio-cells = <2>;
152efcb52e3SSergei Shtylyov			gpio-controller;
153efcb52e3SSergei Shtylyov			gpio-ranges = <&pfc 0 32 28>;
154efcb52e3SSergei Shtylyov			#interrupt-cells = <2>;
155efcb52e3SSergei Shtylyov			interrupt-controller;
156efcb52e3SSergei Shtylyov			clocks = <&cpg CPG_MOD 911>;
157efcb52e3SSergei Shtylyov			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
158efcb52e3SSergei Shtylyov			resets = <&cpg 911>;
159efcb52e3SSergei Shtylyov		};
160efcb52e3SSergei Shtylyov
161efcb52e3SSergei Shtylyov		gpio2: gpio@e6052000 {
162efcb52e3SSergei Shtylyov			compatible = "renesas,gpio-r8a77980",
163efcb52e3SSergei Shtylyov				     "renesas,rcar-gen3-gpio";
164efcb52e3SSergei Shtylyov			reg = <0 0xe6052000 0 0x50>;
165efcb52e3SSergei Shtylyov			interrupts = <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>;
166efcb52e3SSergei Shtylyov			#gpio-cells = <2>;
167efcb52e3SSergei Shtylyov			gpio-controller;
168efcb52e3SSergei Shtylyov			gpio-ranges = <&pfc 0 64 30>;
169efcb52e3SSergei Shtylyov			#interrupt-cells = <2>;
170efcb52e3SSergei Shtylyov			interrupt-controller;
171efcb52e3SSergei Shtylyov			clocks = <&cpg CPG_MOD 910>;
172efcb52e3SSergei Shtylyov			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
173efcb52e3SSergei Shtylyov			resets = <&cpg 910>;
174efcb52e3SSergei Shtylyov		};
175efcb52e3SSergei Shtylyov
176efcb52e3SSergei Shtylyov		gpio3: gpio@e6053000 {
177efcb52e3SSergei Shtylyov			compatible = "renesas,gpio-r8a77980",
178efcb52e3SSergei Shtylyov				     "renesas,rcar-gen3-gpio";
179efcb52e3SSergei Shtylyov			reg = <0 0xe6053000 0 0x50>;
180efcb52e3SSergei Shtylyov			interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>;
181efcb52e3SSergei Shtylyov			#gpio-cells = <2>;
182efcb52e3SSergei Shtylyov			gpio-controller;
183efcb52e3SSergei Shtylyov			gpio-ranges = <&pfc 0 96 17>;
184efcb52e3SSergei Shtylyov			#interrupt-cells = <2>;
185efcb52e3SSergei Shtylyov			interrupt-controller;
186efcb52e3SSergei Shtylyov			clocks = <&cpg CPG_MOD 909>;
187efcb52e3SSergei Shtylyov			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
188efcb52e3SSergei Shtylyov			resets = <&cpg 909>;
189efcb52e3SSergei Shtylyov		};
190efcb52e3SSergei Shtylyov
191efcb52e3SSergei Shtylyov		gpio4: gpio@e6054000 {
192efcb52e3SSergei Shtylyov			compatible = "renesas,gpio-r8a77980",
193efcb52e3SSergei Shtylyov				     "renesas,rcar-gen3-gpio";
194efcb52e3SSergei Shtylyov			reg = <0 0xe6054000 0 0x50>;
195efcb52e3SSergei Shtylyov			interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>;
196efcb52e3SSergei Shtylyov			#gpio-cells = <2>;
197efcb52e3SSergei Shtylyov			gpio-controller;
198efcb52e3SSergei Shtylyov			gpio-ranges = <&pfc 0 128 25>;
199efcb52e3SSergei Shtylyov			#interrupt-cells = <2>;
200efcb52e3SSergei Shtylyov			interrupt-controller;
201efcb52e3SSergei Shtylyov			clocks = <&cpg CPG_MOD 908>;
202efcb52e3SSergei Shtylyov			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
203efcb52e3SSergei Shtylyov			resets = <&cpg 908>;
204efcb52e3SSergei Shtylyov		};
205efcb52e3SSergei Shtylyov
206efcb52e3SSergei Shtylyov		gpio5: gpio@e6055000 {
207efcb52e3SSergei Shtylyov			compatible = "renesas,gpio-r8a77980",
208efcb52e3SSergei Shtylyov				     "renesas,rcar-gen3-gpio";
209efcb52e3SSergei Shtylyov			reg = <0 0xe6055000 0 0x50>;
210efcb52e3SSergei Shtylyov			interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>;
211efcb52e3SSergei Shtylyov			#gpio-cells = <2>;
212efcb52e3SSergei Shtylyov			gpio-controller;
213efcb52e3SSergei Shtylyov			gpio-ranges = <&pfc 0 160 15>;
214efcb52e3SSergei Shtylyov			#interrupt-cells = <2>;
215efcb52e3SSergei Shtylyov			interrupt-controller;
216efcb52e3SSergei Shtylyov			clocks = <&cpg CPG_MOD 907>;
217efcb52e3SSergei Shtylyov			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
218efcb52e3SSergei Shtylyov			resets = <&cpg 907>;
219efcb52e3SSergei Shtylyov		};
220efcb52e3SSergei Shtylyov
221cef26946SSergei Shtylyov		pfc: pin-controller@e6060000 {
222cef26946SSergei Shtylyov			compatible = "renesas,pfc-r8a77980";
223cef26946SSergei Shtylyov			reg = <0 0xe6060000 0 0x50c>;
224cef26946SSergei Shtylyov		};
225cef26946SSergei Shtylyov
226f3a54d6cSSergei Shtylyov		cpg: clock-controller@e6150000 {
227f3a54d6cSSergei Shtylyov			compatible = "renesas,r8a77980-cpg-mssr";
228f3a54d6cSSergei Shtylyov			reg = <0 0xe6150000 0 0x1000>;
229f3a54d6cSSergei Shtylyov			clocks = <&extal_clk>, <&extalr_clk>;
230f3a54d6cSSergei Shtylyov			clock-names = "extal", "extalr";
231f3a54d6cSSergei Shtylyov			#clock-cells = <2>;
232f3a54d6cSSergei Shtylyov			#power-domain-cells = <0>;
233f3a54d6cSSergei Shtylyov			#reset-cells = <1>;
234f3a54d6cSSergei Shtylyov		};
235f3a54d6cSSergei Shtylyov
236f3a54d6cSSergei Shtylyov		rst: reset-controller@e6160000 {
237f3a54d6cSSergei Shtylyov			compatible = "renesas,r8a77980-rst";
238f3a54d6cSSergei Shtylyov			reg = <0 0xe6160000 0 0x200>;
239f3a54d6cSSergei Shtylyov		};
240f3a54d6cSSergei Shtylyov
241f3a54d6cSSergei Shtylyov		sysc: system-controller@e6180000 {
242f3a54d6cSSergei Shtylyov			compatible = "renesas,r8a77980-sysc";
243f3a54d6cSSergei Shtylyov			reg = <0 0xe6180000 0 0x440>;
244f3a54d6cSSergei Shtylyov			#power-domain-cells = <1>;
245f3a54d6cSSergei Shtylyov		};
246f3a54d6cSSergei Shtylyov
2479a6c158fSSergei Shtylyov		intc_ex: interrupt-controller@e61c0000 {
2489a6c158fSSergei Shtylyov			compatible = "renesas,intc-ex-r8a77980", "renesas,irqc";
2499a6c158fSSergei Shtylyov			#interrupt-cells = <2>;
2509a6c158fSSergei Shtylyov			interrupt-controller;
2519a6c158fSSergei Shtylyov			reg = <0 0xe61c0000 0 0x200>;
2529a6c158fSSergei Shtylyov			interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH
2539a6c158fSSergei Shtylyov				      GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH
2549a6c158fSSergei Shtylyov				      GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH
2559a6c158fSSergei Shtylyov				      GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH
2569a6c158fSSergei Shtylyov				      GIC_SPI 18 IRQ_TYPE_LEVEL_HIGH
2579a6c158fSSergei Shtylyov				      GIC_SPI 161 IRQ_TYPE_LEVEL_HIGH>;
2589a6c158fSSergei Shtylyov			clocks = <&cpg CPG_MOD 407>;
2599a6c158fSSergei Shtylyov			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
2609a6c158fSSergei Shtylyov			resets = <&cpg 407>;
2619a6c158fSSergei Shtylyov		};
2629a6c158fSSergei Shtylyov
263bc620474SSergei Shtylyov		i2c0: i2c@e6500000 {
264bc620474SSergei Shtylyov			compatible = "renesas,i2c-r8a77980",
265bc620474SSergei Shtylyov				     "renesas,rcar-gen3-i2c";
266bc620474SSergei Shtylyov			reg = <0 0xe6500000 0 0x40>;
267bc620474SSergei Shtylyov			interrupts = <GIC_SPI 287 IRQ_TYPE_LEVEL_HIGH>;
268bc620474SSergei Shtylyov			clocks = <&cpg CPG_MOD 931>;
269bc620474SSergei Shtylyov			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
270bc620474SSergei Shtylyov			resets = <&cpg 931>;
271bc620474SSergei Shtylyov			dmas = <&dmac1 0x91>, <&dmac1 0x90>,
272bc620474SSergei Shtylyov			       <&dmac2 0x91>, <&dmac2 0x90>;
273bc620474SSergei Shtylyov			dma-names = "tx", "rx", "tx", "rx";
274bc620474SSergei Shtylyov			i2c-scl-internal-delay-ns = <6>;
275bc620474SSergei Shtylyov			#address-cells = <1>;
276bc620474SSergei Shtylyov			#size-cells = <0>;
277bc620474SSergei Shtylyov			status = "disabled";
278bc620474SSergei Shtylyov		};
279bc620474SSergei Shtylyov
280bc620474SSergei Shtylyov		i2c1: i2c@e6508000 {
281bc620474SSergei Shtylyov			compatible = "renesas,i2c-r8a77980",
282bc620474SSergei Shtylyov				     "renesas,rcar-gen3-i2c";
283bc620474SSergei Shtylyov			reg = <0 0xe6508000 0 0x40>;
284bc620474SSergei Shtylyov			interrupts = <GIC_SPI 288 IRQ_TYPE_LEVEL_HIGH>;
285bc620474SSergei Shtylyov			clocks = <&cpg CPG_MOD 930>;
286bc620474SSergei Shtylyov			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
287bc620474SSergei Shtylyov			resets = <&cpg 930>;
288bc620474SSergei Shtylyov			dmas = <&dmac1 0x93>, <&dmac1 0x92>,
289bc620474SSergei Shtylyov			       <&dmac2 0x93>, <&dmac2 0x92>;
290bc620474SSergei Shtylyov			dma-names = "tx", "rx", "tx", "rx";
291bc620474SSergei Shtylyov			i2c-scl-internal-delay-ns = <6>;
292bc620474SSergei Shtylyov			#address-cells = <1>;
293bc620474SSergei Shtylyov			#size-cells = <0>;
294bc620474SSergei Shtylyov			status = "disabled";
295bc620474SSergei Shtylyov		};
296bc620474SSergei Shtylyov
297bc620474SSergei Shtylyov		i2c2: i2c@e6510000 {
298bc620474SSergei Shtylyov			compatible = "renesas,i2c-r8a77980",
299bc620474SSergei Shtylyov				     "renesas,rcar-gen3-i2c";
300bc620474SSergei Shtylyov			reg = <0 0xe6510000 0 0x40>;
301bc620474SSergei Shtylyov			interrupts = <GIC_SPI 286 IRQ_TYPE_LEVEL_HIGH>;
302bc620474SSergei Shtylyov			clocks = <&cpg CPG_MOD 929>;
303bc620474SSergei Shtylyov			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
304bc620474SSergei Shtylyov			resets = <&cpg 929>;
305bc620474SSergei Shtylyov			dmas = <&dmac1 0x95>, <&dmac1 0x94>,
306bc620474SSergei Shtylyov			       <&dmac2 0x95>, <&dmac2 0x94>;
307bc620474SSergei Shtylyov			dma-names = "tx", "rx", "tx", "rx";
308bc620474SSergei Shtylyov			i2c-scl-internal-delay-ns = <6>;
309bc620474SSergei Shtylyov			#address-cells = <1>;
310bc620474SSergei Shtylyov			#size-cells = <0>;
311bc620474SSergei Shtylyov			status = "disabled";
312bc620474SSergei Shtylyov		};
313bc620474SSergei Shtylyov
314bc620474SSergei Shtylyov		i2c3: i2c@e66d0000 {
315bc620474SSergei Shtylyov			compatible = "renesas,i2c-r8a77980",
316bc620474SSergei Shtylyov				     "renesas,rcar-gen3-i2c";
317bc620474SSergei Shtylyov			reg = <0 0xe66d0000 0 0x40>;
318bc620474SSergei Shtylyov			interrupts = <GIC_SPI 290 IRQ_TYPE_LEVEL_HIGH>;
319bc620474SSergei Shtylyov			clocks = <&cpg CPG_MOD 928>;
320bc620474SSergei Shtylyov			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
321bc620474SSergei Shtylyov			resets = <&cpg 928>;
322bc620474SSergei Shtylyov			i2c-scl-internal-delay-ns = <6>;
323bc620474SSergei Shtylyov			#address-cells = <1>;
324bc620474SSergei Shtylyov			#size-cells = <0>;
325bc620474SSergei Shtylyov			status = "disabled";
326bc620474SSergei Shtylyov		};
327bc620474SSergei Shtylyov
328bc620474SSergei Shtylyov		i2c4: i2c@e66d8000 {
329bc620474SSergei Shtylyov			compatible = "renesas,i2c-r8a77980",
330bc620474SSergei Shtylyov				     "renesas,rcar-gen3-i2c";
331bc620474SSergei Shtylyov			reg = <0 0xe66d8000 0 0x40>;
332bc620474SSergei Shtylyov			interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>;
333bc620474SSergei Shtylyov			clocks = <&cpg CPG_MOD 927>;
334bc620474SSergei Shtylyov			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
335bc620474SSergei Shtylyov			resets = <&cpg 927>;
336bc620474SSergei Shtylyov			i2c-scl-internal-delay-ns = <6>;
337bc620474SSergei Shtylyov			#address-cells = <1>;
338bc620474SSergei Shtylyov			#size-cells = <0>;
339bc620474SSergei Shtylyov			status = "disabled";
340bc620474SSergei Shtylyov		};
341bc620474SSergei Shtylyov
342bc620474SSergei Shtylyov		i2c5: i2c@e66e0000 {
343bc620474SSergei Shtylyov			compatible = "renesas,i2c-r8a77980",
344bc620474SSergei Shtylyov				     "renesas,rcar-gen3-i2c";
345bc620474SSergei Shtylyov			reg = <0 0xe66e0000 0 0x40>;
346bc620474SSergei Shtylyov			interrupts = <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>;
347bc620474SSergei Shtylyov			clocks = <&cpg CPG_MOD 919>;
348bc620474SSergei Shtylyov			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
349bc620474SSergei Shtylyov			resets = <&cpg 919>;
350bc620474SSergei Shtylyov			dmas = <&dmac1 0x9b>, <&dmac1 0x9a>,
351bc620474SSergei Shtylyov			       <&dmac2 0x9b>, <&dmac2 0x9a>;
352bc620474SSergei Shtylyov			dma-names = "tx", "rx", "tx", "rx";
353bc620474SSergei Shtylyov			i2c-scl-internal-delay-ns = <6>;
354bc620474SSergei Shtylyov			#address-cells = <1>;
355bc620474SSergei Shtylyov			#size-cells = <0>;
356bc620474SSergei Shtylyov			status = "disabled";
357bc620474SSergei Shtylyov		};
358bc620474SSergei Shtylyov
3593601d98cSSergei Shtylyov		hscif0: serial@e6540000 {
3603601d98cSSergei Shtylyov			compatible = "renesas,hscif-r8a77980",
3613601d98cSSergei Shtylyov				     "renesas,rcar-gen3-hscif",
3623601d98cSSergei Shtylyov				     "renesas,hscif";
3633601d98cSSergei Shtylyov			reg = <0 0xe6540000 0 0x60>;
3643601d98cSSergei Shtylyov			interrupts = <GIC_SPI 154 IRQ_TYPE_LEVEL_HIGH>;
3653601d98cSSergei Shtylyov			clocks = <&cpg CPG_MOD 520>,
366c64cc368SSergei Shtylyov				 <&cpg CPG_CORE R8A77980_CLK_S3D1>,
3673601d98cSSergei Shtylyov				 <&scif_clk>;
3683601d98cSSergei Shtylyov			clock-names = "fck", "brg_int", "scif_clk";
3693601d98cSSergei Shtylyov			dmas = <&dmac1 0x31>, <&dmac1 0x30>,
3703601d98cSSergei Shtylyov			       <&dmac2 0x31>, <&dmac2 0x30>;
3713601d98cSSergei Shtylyov			dma-names = "tx", "rx", "tx", "rx";
3721184ea3fSSergei Shtylyov			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
3733601d98cSSergei Shtylyov			resets = <&cpg 520>;
3743601d98cSSergei Shtylyov			status = "disabled";
3753601d98cSSergei Shtylyov		};
3763601d98cSSergei Shtylyov
3773601d98cSSergei Shtylyov		hscif1: serial@e6550000 {
3783601d98cSSergei Shtylyov			compatible = "renesas,hscif-r8a77980",
3793601d98cSSergei Shtylyov				     "renesas,rcar-gen3-hscif",
3803601d98cSSergei Shtylyov				     "renesas,hscif";
3813601d98cSSergei Shtylyov			reg = <0 0xe6550000 0 0x60>;
3823601d98cSSergei Shtylyov			interrupts = <GIC_SPI 155 IRQ_TYPE_LEVEL_HIGH>;
3833601d98cSSergei Shtylyov			clocks = <&cpg CPG_MOD 519>,
384c64cc368SSergei Shtylyov				 <&cpg CPG_CORE R8A77980_CLK_S3D1>,
3853601d98cSSergei Shtylyov				 <&scif_clk>;
3863601d98cSSergei Shtylyov			clock-names = "fck", "brg_int", "scif_clk";
3873601d98cSSergei Shtylyov			dmas = <&dmac1 0x33>, <&dmac1 0x32>,
3883601d98cSSergei Shtylyov			       <&dmac2 0x33>, <&dmac2 0x32>;
3893601d98cSSergei Shtylyov			dma-names = "tx", "rx", "tx", "rx";
3901184ea3fSSergei Shtylyov			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
3913601d98cSSergei Shtylyov			resets = <&cpg 519>;
3923601d98cSSergei Shtylyov			status = "disabled";
3933601d98cSSergei Shtylyov		};
3943601d98cSSergei Shtylyov
3953601d98cSSergei Shtylyov		hscif2: serial@e6560000 {
3963601d98cSSergei Shtylyov			compatible = "renesas,hscif-r8a77980",
3973601d98cSSergei Shtylyov				     "renesas,rcar-gen3-hscif",
3983601d98cSSergei Shtylyov				     "renesas,hscif";
3993601d98cSSergei Shtylyov			reg = <0 0xe6560000 0 0x60>;
4003601d98cSSergei Shtylyov			interrupts = <GIC_SPI 144 IRQ_TYPE_LEVEL_HIGH>;
4013601d98cSSergei Shtylyov			clocks = <&cpg CPG_MOD 518>,
402c64cc368SSergei Shtylyov				 <&cpg CPG_CORE R8A77980_CLK_S3D1>,
4033601d98cSSergei Shtylyov				 <&scif_clk>;
4043601d98cSSergei Shtylyov			clock-names = "fck", "brg_int", "scif_clk";
4053601d98cSSergei Shtylyov			dmas = <&dmac1 0x35>, <&dmac1 0x34>,
4063601d98cSSergei Shtylyov			       <&dmac2 0x35>, <&dmac2 0x34>;
4073601d98cSSergei Shtylyov			dma-names = "tx", "rx", "tx", "rx";
4081184ea3fSSergei Shtylyov			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
4093601d98cSSergei Shtylyov			resets = <&cpg 518>;
4103601d98cSSergei Shtylyov			status = "disabled";
4113601d98cSSergei Shtylyov		};
4123601d98cSSergei Shtylyov
4133601d98cSSergei Shtylyov		hscif3: serial@e66a0000 {
4143601d98cSSergei Shtylyov			compatible = "renesas,hscif-r8a77980",
4153601d98cSSergei Shtylyov				     "renesas,rcar-gen3-hscif",
4163601d98cSSergei Shtylyov				     "renesas,hscif";
4173601d98cSSergei Shtylyov			reg = <0 0xe66a0000 0 0x60>;
4183601d98cSSergei Shtylyov			interrupts = <GIC_SPI 145 IRQ_TYPE_LEVEL_HIGH>;
4193601d98cSSergei Shtylyov			clocks = <&cpg CPG_MOD 517>,
420c64cc368SSergei Shtylyov				 <&cpg CPG_CORE R8A77980_CLK_S3D1>,
4213601d98cSSergei Shtylyov				 <&scif_clk>;
4223601d98cSSergei Shtylyov			clock-names = "fck", "brg_int", "scif_clk";
4233601d98cSSergei Shtylyov			dmas = <&dmac1 0x37>, <&dmac1 0x36>,
4243601d98cSSergei Shtylyov			       <&dmac2 0x37>, <&dmac2 0x36>;
4253601d98cSSergei Shtylyov			dma-names = "tx", "rx", "tx", "rx";
4261184ea3fSSergei Shtylyov			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
4273601d98cSSergei Shtylyov			resets = <&cpg 517>;
4283601d98cSSergei Shtylyov			status = "disabled";
4293601d98cSSergei Shtylyov		};
4303601d98cSSergei Shtylyov
431f38c4172SSergei Shtylyov		canfd: can@e66c0000 {
432f38c4172SSergei Shtylyov			compatible = "renesas,r8a77980-canfd",
433f38c4172SSergei Shtylyov				     "renesas,rcar-gen3-canfd";
434f38c4172SSergei Shtylyov			reg = <0 0xe66c0000 0 0x8000>;
435f38c4172SSergei Shtylyov			interrupts = <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>,
436f38c4172SSergei Shtylyov				     <GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>;
437f38c4172SSergei Shtylyov			clocks = <&cpg CPG_MOD 914>,
438f38c4172SSergei Shtylyov				 <&cpg CPG_CORE R8A77980_CLK_CANFD>,
439f38c4172SSergei Shtylyov				 <&can_clk>;
440f38c4172SSergei Shtylyov			clock-names = "fck", "canfd", "can_clk";
441f38c4172SSergei Shtylyov			assigned-clocks = <&cpg CPG_CORE R8A77980_CLK_CANFD>;
442f38c4172SSergei Shtylyov			assigned-clock-rates = <40000000>;
443f38c4172SSergei Shtylyov			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
44422fb06cdSSimon Horman			resets = <&cpg 914>;
445f38c4172SSergei Shtylyov			status = "disabled";
446f38c4172SSergei Shtylyov
447f38c4172SSergei Shtylyov			channel0 {
448f38c4172SSergei Shtylyov				status = "disabled";
449f38c4172SSergei Shtylyov			};
450f38c4172SSergei Shtylyov
451f38c4172SSergei Shtylyov			channel1 {
452f38c4172SSergei Shtylyov				status = "disabled";
453f38c4172SSergei Shtylyov			};
454f38c4172SSergei Shtylyov		};
455f38c4172SSergei Shtylyov
45655697cbbSMagnus Damm		ipmmu_ds1: mmu@e7740000 {
45755697cbbSMagnus Damm			compatible = "renesas,ipmmu-r8a77980";
45855697cbbSMagnus Damm			reg = <0 0xe7740000 0 0x1000>;
45955697cbbSMagnus Damm			renesas,ipmmu-main = <&ipmmu_mm 0>;
46055697cbbSMagnus Damm			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
46155697cbbSMagnus Damm			#iommu-cells = <1>;
46255697cbbSMagnus Damm		};
46355697cbbSMagnus Damm
46455697cbbSMagnus Damm		ipmmu_vip0: mmu@e7b00000 {
46555697cbbSMagnus Damm			compatible = "renesas,ipmmu-r8a77980";
46655697cbbSMagnus Damm			reg = <0 0xe7b00000 0 0x1000>;
46755697cbbSMagnus Damm			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
46855697cbbSMagnus Damm			#iommu-cells = <1>;
46955697cbbSMagnus Damm		};
47055697cbbSMagnus Damm
47155697cbbSMagnus Damm		ipmmu_vip1: mmu@e7960000 {
47255697cbbSMagnus Damm			compatible = "renesas,ipmmu-r8a77980";
47355697cbbSMagnus Damm			reg = <0 0xe7960000 0 0x1000>;
47455697cbbSMagnus Damm			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
47555697cbbSMagnus Damm			#iommu-cells = <1>;
47655697cbbSMagnus Damm		};
47755697cbbSMagnus Damm
47855697cbbSMagnus Damm		ipmmu_ir: mmu@ff8b0000 {
47955697cbbSMagnus Damm			compatible = "renesas,ipmmu-r8a77980";
48055697cbbSMagnus Damm			reg = <0 0xff8b0000 0 0x1000>;
48155697cbbSMagnus Damm			renesas,ipmmu-main = <&ipmmu_mm 3>;
48255697cbbSMagnus Damm			power-domains = <&sysc R8A77980_PD_A3IR>;
48355697cbbSMagnus Damm			#iommu-cells = <1>;
48455697cbbSMagnus Damm		};
48555697cbbSMagnus Damm
48655697cbbSMagnus Damm		ipmmu_mm: mmu@e67b0000 {
48755697cbbSMagnus Damm			compatible = "renesas,ipmmu-r8a77980";
48855697cbbSMagnus Damm			reg = <0 0xe67b0000 0 0x1000>;
48955697cbbSMagnus Damm			interrupts = <GIC_SPI 196 IRQ_TYPE_LEVEL_HIGH>,
49055697cbbSMagnus Damm				     <GIC_SPI 197 IRQ_TYPE_LEVEL_HIGH>;
49155697cbbSMagnus Damm			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
49255697cbbSMagnus Damm			#iommu-cells = <1>;
49355697cbbSMagnus Damm		};
49455697cbbSMagnus Damm
49555697cbbSMagnus Damm		ipmmu_rt: mmu@ffc80000 {
49655697cbbSMagnus Damm			compatible = "renesas,ipmmu-r8a77980";
49755697cbbSMagnus Damm			reg = <0 0xffc80000 0 0x1000>;
49855697cbbSMagnus Damm			renesas,ipmmu-main = <&ipmmu_mm 10>;
49955697cbbSMagnus Damm			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
50055697cbbSMagnus Damm			#iommu-cells = <1>;
50155697cbbSMagnus Damm		};
50255697cbbSMagnus Damm
50355697cbbSMagnus Damm		ipmmu_vc0: mmu@fe6b0000 {
50455697cbbSMagnus Damm			compatible = "renesas,ipmmu-r8a77980";
50555697cbbSMagnus Damm			reg = <0 0xfe6b0000 0 0x1000>;
50655697cbbSMagnus Damm			renesas,ipmmu-main = <&ipmmu_mm 12>;
50755697cbbSMagnus Damm			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
50855697cbbSMagnus Damm			#iommu-cells = <1>;
50955697cbbSMagnus Damm		};
51055697cbbSMagnus Damm
51155697cbbSMagnus Damm		ipmmu_vi0: mmu@febd0000 {
51255697cbbSMagnus Damm			compatible = "renesas,ipmmu-r8a77980";
51355697cbbSMagnus Damm			reg = <0 0xfebd0000 0 0x1000>;
51455697cbbSMagnus Damm			renesas,ipmmu-main = <&ipmmu_mm 14>;
51555697cbbSMagnus Damm			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
51655697cbbSMagnus Damm			#iommu-cells = <1>;
51755697cbbSMagnus Damm		};
51855697cbbSMagnus Damm
519bf6f9083SSergei Shtylyov		avb: ethernet@e6800000 {
520bf6f9083SSergei Shtylyov			compatible = "renesas,etheravb-r8a77980",
521bf6f9083SSergei Shtylyov				     "renesas,etheravb-rcar-gen3";
522bf6f9083SSergei Shtylyov			reg = <0 0xe6800000 0 0x800>;
523bf6f9083SSergei Shtylyov			interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>,
524bf6f9083SSergei Shtylyov				     <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>,
525bf6f9083SSergei Shtylyov				     <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>,
526bf6f9083SSergei Shtylyov				     <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>,
527bf6f9083SSergei Shtylyov				     <GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>,
528bf6f9083SSergei Shtylyov				     <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>,
529bf6f9083SSergei Shtylyov				     <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>,
530bf6f9083SSergei Shtylyov				     <GIC_SPI 46 IRQ_TYPE_LEVEL_HIGH>,
531bf6f9083SSergei Shtylyov				     <GIC_SPI 47 IRQ_TYPE_LEVEL_HIGH>,
532bf6f9083SSergei Shtylyov				     <GIC_SPI 48 IRQ_TYPE_LEVEL_HIGH>,
533bf6f9083SSergei Shtylyov				     <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>,
534bf6f9083SSergei Shtylyov				     <GIC_SPI 50 IRQ_TYPE_LEVEL_HIGH>,
535bf6f9083SSergei Shtylyov				     <GIC_SPI 51 IRQ_TYPE_LEVEL_HIGH>,
536bf6f9083SSergei Shtylyov				     <GIC_SPI 52 IRQ_TYPE_LEVEL_HIGH>,
537bf6f9083SSergei Shtylyov				     <GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH>,
538bf6f9083SSergei Shtylyov				     <GIC_SPI 54 IRQ_TYPE_LEVEL_HIGH>,
539bf6f9083SSergei Shtylyov				     <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>,
540bf6f9083SSergei Shtylyov				     <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>,
541bf6f9083SSergei Shtylyov				     <GIC_SPI 57 IRQ_TYPE_LEVEL_HIGH>,
542bf6f9083SSergei Shtylyov				     <GIC_SPI 58 IRQ_TYPE_LEVEL_HIGH>,
543bf6f9083SSergei Shtylyov				     <GIC_SPI 59 IRQ_TYPE_LEVEL_HIGH>,
544bf6f9083SSergei Shtylyov				     <GIC_SPI 60 IRQ_TYPE_LEVEL_HIGH>,
545bf6f9083SSergei Shtylyov				     <GIC_SPI 61 IRQ_TYPE_LEVEL_HIGH>,
546bf6f9083SSergei Shtylyov				     <GIC_SPI 62 IRQ_TYPE_LEVEL_HIGH>,
547bf6f9083SSergei Shtylyov				     <GIC_SPI 63 IRQ_TYPE_LEVEL_HIGH>;
548bf6f9083SSergei Shtylyov			interrupt-names = "ch0", "ch1", "ch2", "ch3",
549bf6f9083SSergei Shtylyov					  "ch4", "ch5", "ch6", "ch7",
550bf6f9083SSergei Shtylyov					  "ch8", "ch9", "ch10", "ch11",
551bf6f9083SSergei Shtylyov					  "ch12", "ch13", "ch14", "ch15",
552bf6f9083SSergei Shtylyov					  "ch16", "ch17", "ch18", "ch19",
553bf6f9083SSergei Shtylyov					  "ch20", "ch21", "ch22", "ch23",
554bf6f9083SSergei Shtylyov					  "ch24";
555bf6f9083SSergei Shtylyov			clocks = <&cpg CPG_MOD 812>;
5561184ea3fSSergei Shtylyov			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
557bf6f9083SSergei Shtylyov			resets = <&cpg 812>;
558bf6f9083SSergei Shtylyov			phy-mode = "rgmii";
559bf6f9083SSergei Shtylyov			#address-cells = <1>;
560bf6f9083SSergei Shtylyov			#size-cells = <0>;
56152d2e0ceSSergei Shtylyov			status = "disabled";
562bf6f9083SSergei Shtylyov		};
563bf6f9083SSergei Shtylyov
5643601d98cSSergei Shtylyov		scif0: serial@e6e60000 {
5653601d98cSSergei Shtylyov			compatible = "renesas,scif-r8a77980",
5663601d98cSSergei Shtylyov				     "renesas,rcar-gen3-scif",
5673601d98cSSergei Shtylyov				     "renesas,scif";
5683601d98cSSergei Shtylyov			reg = <0 0xe6e60000 0 0x40>;
5693601d98cSSergei Shtylyov			interrupts = <GIC_SPI 152 IRQ_TYPE_LEVEL_HIGH>;
5703601d98cSSergei Shtylyov			clocks = <&cpg CPG_MOD 207>,
571c64cc368SSergei Shtylyov				 <&cpg CPG_CORE R8A77980_CLK_S3D1>,
5723601d98cSSergei Shtylyov				 <&scif_clk>;
5733601d98cSSergei Shtylyov			clock-names = "fck", "brg_int", "scif_clk";
5743601d98cSSergei Shtylyov			dmas = <&dmac1 0x51>, <&dmac1 0x50>,
5753601d98cSSergei Shtylyov			       <&dmac2 0x51>, <&dmac2 0x50>;
5763601d98cSSergei Shtylyov			dma-names = "tx", "rx", "tx", "rx";
5771184ea3fSSergei Shtylyov			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
5783601d98cSSergei Shtylyov			resets = <&cpg 207>;
5793601d98cSSergei Shtylyov			status = "disabled";
5803601d98cSSergei Shtylyov		};
5813601d98cSSergei Shtylyov
5823601d98cSSergei Shtylyov		scif1: serial@e6e68000 {
5833601d98cSSergei Shtylyov			compatible = "renesas,scif-r8a77980",
5843601d98cSSergei Shtylyov				     "renesas,rcar-gen3-scif",
5853601d98cSSergei Shtylyov				     "renesas,scif";
5863601d98cSSergei Shtylyov			reg = <0 0xe6e68000 0 0x40>;
5873601d98cSSergei Shtylyov			interrupts = <GIC_SPI 153 IRQ_TYPE_LEVEL_HIGH>;
5883601d98cSSergei Shtylyov			clocks = <&cpg CPG_MOD 206>,
589c64cc368SSergei Shtylyov				 <&cpg CPG_CORE R8A77980_CLK_S3D1>,
5903601d98cSSergei Shtylyov				 <&scif_clk>;
5913601d98cSSergei Shtylyov			clock-names = "fck", "brg_int", "scif_clk";
5923601d98cSSergei Shtylyov			dmas = <&dmac1 0x53>, <&dmac1 0x52>,
5933601d98cSSergei Shtylyov			       <&dmac2 0x53>, <&dmac2 0x52>;
5943601d98cSSergei Shtylyov			dma-names = "tx", "rx", "tx", "rx";
5951184ea3fSSergei Shtylyov			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
5963601d98cSSergei Shtylyov			resets = <&cpg 206>;
5973601d98cSSergei Shtylyov			status = "disabled";
5983601d98cSSergei Shtylyov		};
5993601d98cSSergei Shtylyov
6003601d98cSSergei Shtylyov		scif3: serial@e6c50000 {
6013601d98cSSergei Shtylyov			compatible = "renesas,scif-r8a77980",
6023601d98cSSergei Shtylyov				     "renesas,rcar-gen3-scif",
6033601d98cSSergei Shtylyov				     "renesas,scif";
6043601d98cSSergei Shtylyov			reg = <0 0xe6c50000 0 0x40>;
6053601d98cSSergei Shtylyov			interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>;
6063601d98cSSergei Shtylyov			clocks = <&cpg CPG_MOD 204>,
607c64cc368SSergei Shtylyov				 <&cpg CPG_CORE R8A77980_CLK_S3D1>,
6083601d98cSSergei Shtylyov				 <&scif_clk>;
6093601d98cSSergei Shtylyov			clock-names = "fck", "brg_int", "scif_clk";
6103601d98cSSergei Shtylyov			dmas = <&dmac1 0x57>, <&dmac1 0x56>,
6113601d98cSSergei Shtylyov			       <&dmac2 0x57>, <&dmac2 0x56>;
6123601d98cSSergei Shtylyov			dma-names = "tx", "rx", "tx", "rx";
6131184ea3fSSergei Shtylyov			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
6143601d98cSSergei Shtylyov			resets = <&cpg 204>;
6153601d98cSSergei Shtylyov			status = "disabled";
6163601d98cSSergei Shtylyov		};
6173601d98cSSergei Shtylyov
6183601d98cSSergei Shtylyov		scif4: serial@e6c40000 {
6193601d98cSSergei Shtylyov			compatible = "renesas,scif-r8a77980",
6203601d98cSSergei Shtylyov				     "renesas,rcar-gen3-scif",
6213601d98cSSergei Shtylyov				     "renesas,scif";
6223601d98cSSergei Shtylyov			reg = <0 0xe6c40000 0 0x40>;
6233601d98cSSergei Shtylyov			interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>;
6243601d98cSSergei Shtylyov			clocks = <&cpg CPG_MOD 203>,
625c64cc368SSergei Shtylyov				 <&cpg CPG_CORE R8A77980_CLK_S3D1>,
6263601d98cSSergei Shtylyov				 <&scif_clk>;
6273601d98cSSergei Shtylyov			clock-names = "fck", "brg_int", "scif_clk";
6283601d98cSSergei Shtylyov			dmas = <&dmac1 0x59>, <&dmac1 0x58>,
6293601d98cSSergei Shtylyov			       <&dmac2 0x59>, <&dmac2 0x58>;
6303601d98cSSergei Shtylyov			dma-names = "tx", "rx", "tx", "rx";
6311184ea3fSSergei Shtylyov			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
6323601d98cSSergei Shtylyov			resets = <&cpg 203>;
6333601d98cSSergei Shtylyov			status = "disabled";
6343601d98cSSergei Shtylyov		};
6353601d98cSSergei Shtylyov
63600d3375fSSergei Shtylyov		dmac1: dma-controller@e7300000 {
63700d3375fSSergei Shtylyov			compatible = "renesas,dmac-r8a77980",
63800d3375fSSergei Shtylyov				     "renesas,rcar-dmac";
63900d3375fSSergei Shtylyov			reg = <0 0xe7300000 0 0x10000>;
64000d3375fSSergei Shtylyov			interrupts = <GIC_SPI 220 IRQ_TYPE_LEVEL_HIGH
64100d3375fSSergei Shtylyov				      GIC_SPI 216 IRQ_TYPE_LEVEL_HIGH
64200d3375fSSergei Shtylyov				      GIC_SPI 217 IRQ_TYPE_LEVEL_HIGH
64300d3375fSSergei Shtylyov				      GIC_SPI 218 IRQ_TYPE_LEVEL_HIGH
64400d3375fSSergei Shtylyov				      GIC_SPI 219 IRQ_TYPE_LEVEL_HIGH
64500d3375fSSergei Shtylyov				      GIC_SPI 308 IRQ_TYPE_LEVEL_HIGH
64600d3375fSSergei Shtylyov				      GIC_SPI 309 IRQ_TYPE_LEVEL_HIGH
64700d3375fSSergei Shtylyov				      GIC_SPI 310 IRQ_TYPE_LEVEL_HIGH
64800d3375fSSergei Shtylyov				      GIC_SPI 311 IRQ_TYPE_LEVEL_HIGH
64900d3375fSSergei Shtylyov				      GIC_SPI 353 IRQ_TYPE_LEVEL_HIGH
65000d3375fSSergei Shtylyov				      GIC_SPI 354 IRQ_TYPE_LEVEL_HIGH
65100d3375fSSergei Shtylyov				      GIC_SPI 355 IRQ_TYPE_LEVEL_HIGH
65200d3375fSSergei Shtylyov				      GIC_SPI 356 IRQ_TYPE_LEVEL_HIGH
65300d3375fSSergei Shtylyov				      GIC_SPI 357 IRQ_TYPE_LEVEL_HIGH
65400d3375fSSergei Shtylyov				      GIC_SPI 358 IRQ_TYPE_LEVEL_HIGH
65500d3375fSSergei Shtylyov				      GIC_SPI 359 IRQ_TYPE_LEVEL_HIGH
65600d3375fSSergei Shtylyov				      GIC_SPI 360 IRQ_TYPE_LEVEL_HIGH>;
65700d3375fSSergei Shtylyov			interrupt-names = "error",
65800d3375fSSergei Shtylyov					  "ch0", "ch1", "ch2", "ch3",
65900d3375fSSergei Shtylyov					  "ch4", "ch5", "ch6", "ch7",
66000d3375fSSergei Shtylyov					  "ch8", "ch9", "ch10", "ch11",
66100d3375fSSergei Shtylyov					  "ch12", "ch13", "ch14", "ch15";
66200d3375fSSergei Shtylyov			clocks = <&cpg CPG_MOD 218>;
66300d3375fSSergei Shtylyov			clock-names = "fck";
6641184ea3fSSergei Shtylyov			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
66500d3375fSSergei Shtylyov			resets = <&cpg 218>;
66600d3375fSSergei Shtylyov			#dma-cells = <1>;
66700d3375fSSergei Shtylyov			dma-channels = <16>;
66800d3375fSSergei Shtylyov		};
66900d3375fSSergei Shtylyov
67000d3375fSSergei Shtylyov		dmac2: dma-controller@e7310000 {
67100d3375fSSergei Shtylyov			compatible = "renesas,dmac-r8a77980",
67200d3375fSSergei Shtylyov				     "renesas,rcar-dmac";
67300d3375fSSergei Shtylyov			reg = <0 0xe7310000 0 0x10000>;
67400d3375fSSergei Shtylyov			interrupts = <GIC_SPI 307 IRQ_TYPE_LEVEL_HIGH
67500d3375fSSergei Shtylyov				      GIC_SPI 312 IRQ_TYPE_LEVEL_HIGH
67600d3375fSSergei Shtylyov				      GIC_SPI 313 IRQ_TYPE_LEVEL_HIGH
67700d3375fSSergei Shtylyov				      GIC_SPI 314 IRQ_TYPE_LEVEL_HIGH
67800d3375fSSergei Shtylyov				      GIC_SPI 315 IRQ_TYPE_LEVEL_HIGH
67900d3375fSSergei Shtylyov				      GIC_SPI 316 IRQ_TYPE_LEVEL_HIGH
68000d3375fSSergei Shtylyov				      GIC_SPI 317 IRQ_TYPE_LEVEL_HIGH
68100d3375fSSergei Shtylyov				      GIC_SPI 318 IRQ_TYPE_LEVEL_HIGH
68200d3375fSSergei Shtylyov				      GIC_SPI 319 IRQ_TYPE_LEVEL_HIGH
68300d3375fSSergei Shtylyov				      GIC_SPI 361 IRQ_TYPE_LEVEL_HIGH
68400d3375fSSergei Shtylyov				      GIC_SPI 362 IRQ_TYPE_LEVEL_HIGH
68500d3375fSSergei Shtylyov				      GIC_SPI 363 IRQ_TYPE_LEVEL_HIGH
68600d3375fSSergei Shtylyov				      GIC_SPI 364 IRQ_TYPE_LEVEL_HIGH
68700d3375fSSergei Shtylyov				      GIC_SPI 365 IRQ_TYPE_LEVEL_HIGH
68800d3375fSSergei Shtylyov				      GIC_SPI 366 IRQ_TYPE_LEVEL_HIGH
68900d3375fSSergei Shtylyov				      GIC_SPI 367 IRQ_TYPE_LEVEL_HIGH
69000d3375fSSergei Shtylyov				      GIC_SPI 368 IRQ_TYPE_LEVEL_HIGH>;
69100d3375fSSergei Shtylyov			interrupt-names = "error",
69200d3375fSSergei Shtylyov					  "ch0", "ch1", "ch2", "ch3",
69300d3375fSSergei Shtylyov					  "ch4", "ch5", "ch6", "ch7",
69400d3375fSSergei Shtylyov					  "ch8", "ch9", "ch10", "ch11",
69500d3375fSSergei Shtylyov					  "ch12", "ch13", "ch14", "ch15";
69600d3375fSSergei Shtylyov			clocks = <&cpg CPG_MOD 217>;
69700d3375fSSergei Shtylyov			clock-names = "fck";
6981184ea3fSSergei Shtylyov			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
69900d3375fSSergei Shtylyov			resets = <&cpg 217>;
70000d3375fSSergei Shtylyov			#dma-cells = <1>;
70100d3375fSSergei Shtylyov			dma-channels = <16>;
70200d3375fSSergei Shtylyov		};
70300d3375fSSergei Shtylyov
70487bea678SSergei Shtylyov		gether: ethernet@e7400000 {
70587bea678SSergei Shtylyov			compatible = "renesas,gether-r8a77980";
70687bea678SSergei Shtylyov			reg = <0 0xe7400000 0 0x1000>;
70787bea678SSergei Shtylyov			interrupts = <GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH>;
70887bea678SSergei Shtylyov			clocks = <&cpg CPG_MOD 813>;
70987bea678SSergei Shtylyov			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
71087bea678SSergei Shtylyov			resets = <&cpg 813>;
71187bea678SSergei Shtylyov			#address-cells = <1>;
71287bea678SSergei Shtylyov			#size-cells = <0>;
71387bea678SSergei Shtylyov			status = "disabled";
71487bea678SSergei Shtylyov		};
71587bea678SSergei Shtylyov
71663eb8ee5SSergei Shtylyov		mmc0: mmc@ee140000 {
71763eb8ee5SSergei Shtylyov			compatible = "renesas,sdhi-r8a77980",
71863eb8ee5SSergei Shtylyov				     "renesas,rcar-gen3-sdhi";
71963eb8ee5SSergei Shtylyov			reg = <0 0xee140000 0 0x2000>;
72063eb8ee5SSergei Shtylyov			interrupts = <GIC_SPI 165 IRQ_TYPE_LEVEL_HIGH>;
72163eb8ee5SSergei Shtylyov			clocks = <&cpg CPG_MOD 314>;
7221184ea3fSSergei Shtylyov			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
72363eb8ee5SSergei Shtylyov			resets = <&cpg 314>;
72463eb8ee5SSergei Shtylyov			max-frequency = <200000000>;
72563eb8ee5SSergei Shtylyov			status = "disabled";
72663eb8ee5SSergei Shtylyov		};
72763eb8ee5SSergei Shtylyov
728f3a54d6cSSergei Shtylyov		gic: interrupt-controller@f1010000 {
729f3a54d6cSSergei Shtylyov			compatible = "arm,gic-400";
730f3a54d6cSSergei Shtylyov			#interrupt-cells = <3>;
731f3a54d6cSSergei Shtylyov			#address-cells = <0>;
732f3a54d6cSSergei Shtylyov			interrupt-controller;
733f3a54d6cSSergei Shtylyov			reg = <0x0 0xf1010000 0 0x1000>,
734f3a54d6cSSergei Shtylyov			      <0x0 0xf1020000 0 0x20000>,
735f3a54d6cSSergei Shtylyov			      <0x0 0xf1040000 0 0x20000>,
736f3a54d6cSSergei Shtylyov			      <0x0 0xf1060000 0 0x20000>;
7372ec1e4b4SSergei Shtylyov			interrupts = <GIC_PPI 9	(GIC_CPU_MASK_SIMPLE(4) |
738f3a54d6cSSergei Shtylyov				      IRQ_TYPE_LEVEL_HIGH)>;
739f3a54d6cSSergei Shtylyov			clocks = <&cpg CPG_MOD 408>;
740f3a54d6cSSergei Shtylyov			clock-names = "clk";
7411184ea3fSSergei Shtylyov			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
742f3a54d6cSSergei Shtylyov			resets = <&cpg 408>;
743f3a54d6cSSergei Shtylyov		};
744f3a54d6cSSergei Shtylyov
745a334e781SSergei Shtylyov		vspd0: vsp@fea20000 {
746a334e781SSergei Shtylyov			compatible = "renesas,vsp2";
747a334e781SSergei Shtylyov			reg = <0 0xfea20000 0 0x5000>;
748a334e781SSergei Shtylyov			interrupts = <GIC_SPI 169 IRQ_TYPE_LEVEL_HIGH>;
749a334e781SSergei Shtylyov			clocks = <&cpg CPG_MOD 623>;
750a334e781SSergei Shtylyov			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
751a334e781SSergei Shtylyov			resets = <&cpg 623>;
752a334e781SSergei Shtylyov			renesas,fcp = <&fcpvd0>;
753a334e781SSergei Shtylyov		};
754a334e781SSergei Shtylyov
755a334e781SSergei Shtylyov		fcpvd0: fcp@fea27000 {
756a334e781SSergei Shtylyov			compatible = "renesas,fcpv";
757a334e781SSergei Shtylyov			reg = <0 0xfea27000 0 0x200>;
758a334e781SSergei Shtylyov			clocks = <&cpg CPG_MOD 603>;
759a334e781SSergei Shtylyov			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
760a334e781SSergei Shtylyov			resets = <&cpg 603>;
761a334e781SSergei Shtylyov		};
762a334e781SSergei Shtylyov
763a334e781SSergei Shtylyov		du: display@feb00000 {
764a334e781SSergei Shtylyov			compatible = "renesas,du-r8a77980",
765a334e781SSergei Shtylyov				     "renesas,du-r8a77970";
766a334e781SSergei Shtylyov			reg = <0 0xfeb00000 0 0x80000>;
767a334e781SSergei Shtylyov			interrupts = <GIC_SPI 256 IRQ_TYPE_LEVEL_HIGH>;
768a334e781SSergei Shtylyov			clocks = <&cpg CPG_MOD 724>;
769a334e781SSergei Shtylyov			clock-names = "du.0";
770a334e781SSergei Shtylyov			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
771a334e781SSergei Shtylyov			resets = <&cpg 724>;
772a334e781SSergei Shtylyov			vsps = <&vspd0>;
773a334e781SSergei Shtylyov			status = "disabled";
774a334e781SSergei Shtylyov
775a334e781SSergei Shtylyov			ports {
776a334e781SSergei Shtylyov				#address-cells = <1>;
777a334e781SSergei Shtylyov				#size-cells = <0>;
778a334e781SSergei Shtylyov
779a334e781SSergei Shtylyov				port@0 {
780a334e781SSergei Shtylyov					reg = <0>;
781a334e781SSergei Shtylyov					du_out_rgb: endpoint {
782a334e781SSergei Shtylyov					};
783a334e781SSergei Shtylyov				};
784a334e781SSergei Shtylyov
785a334e781SSergei Shtylyov				port@1 {
786a334e781SSergei Shtylyov					reg = <1>;
787a334e781SSergei Shtylyov					du_out_lvds0: endpoint {
788a334e781SSergei Shtylyov						remote-endpoint = <&lvds0_in>;
789a334e781SSergei Shtylyov					};
790a334e781SSergei Shtylyov				};
791a334e781SSergei Shtylyov			};
792a334e781SSergei Shtylyov		};
793a334e781SSergei Shtylyov
794a334e781SSergei Shtylyov		lvds0: lvds-encoder@feb90000 {
795a334e781SSergei Shtylyov			compatible = "renesas,r8a77980-lvds";
796a334e781SSergei Shtylyov			reg = <0 0xfeb90000 0 0x14>;
797a334e781SSergei Shtylyov			clocks = <&cpg CPG_MOD 727>;
798a334e781SSergei Shtylyov			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
799a334e781SSergei Shtylyov			resets = <&cpg 727>;
800a334e781SSergei Shtylyov			status = "disabled";
801a334e781SSergei Shtylyov
802a334e781SSergei Shtylyov			ports {
803a334e781SSergei Shtylyov				#address-cells = <1>;
804a334e781SSergei Shtylyov				#size-cells = <0>;
805a334e781SSergei Shtylyov
806a334e781SSergei Shtylyov				port@0 {
807a334e781SSergei Shtylyov					reg = <0>;
808a334e781SSergei Shtylyov					lvds0_in: endpoint {
809a334e781SSergei Shtylyov						remote-endpoint =
810a334e781SSergei Shtylyov							<&du_out_lvds0>;
811a334e781SSergei Shtylyov					};
812a334e781SSergei Shtylyov				};
813a334e781SSergei Shtylyov
814a334e781SSergei Shtylyov				port@1 {
815a334e781SSergei Shtylyov					reg = <1>;
816a334e781SSergei Shtylyov					lvds0_out: endpoint {
817a334e781SSergei Shtylyov					};
818a334e781SSergei Shtylyov				};
819a334e781SSergei Shtylyov			};
820a334e781SSergei Shtylyov		};
821a334e781SSergei Shtylyov
822f3a54d6cSSergei Shtylyov		prr: chipid@fff00044 {
823f3a54d6cSSergei Shtylyov			compatible = "renesas,prr";
824f3a54d6cSSergei Shtylyov			reg = <0 0xfff00044 0 4>;
825f3a54d6cSSergei Shtylyov		};
826f3a54d6cSSergei Shtylyov	};
827f3a54d6cSSergei Shtylyov
828f3a54d6cSSergei Shtylyov	timer {
829f3a54d6cSSergei Shtylyov		compatible = "arm,armv8-timer";
8302ec1e4b4SSergei Shtylyov		interrupts-extended = <&gic GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(4) |
831f3a54d6cSSergei Shtylyov				       IRQ_TYPE_LEVEL_LOW)>,
8322ec1e4b4SSergei Shtylyov				      <&gic GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(4) |
833f3a54d6cSSergei Shtylyov				       IRQ_TYPE_LEVEL_LOW)>,
8342ec1e4b4SSergei Shtylyov				      <&gic GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(4) |
835f3a54d6cSSergei Shtylyov				       IRQ_TYPE_LEVEL_LOW)>,
8362ec1e4b4SSergei Shtylyov				      <&gic GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(4) |
837f3a54d6cSSergei Shtylyov				       IRQ_TYPE_LEVEL_LOW)>;
838f3a54d6cSSergei Shtylyov	};
839f3a54d6cSSergei Shtylyov};
840