xref: /linux/scripts/dtc/include-prefixes/arm64/renesas/r8a77980.dtsi (revision 18281dec2ba086b93bee2dd5f9ee0e3633d25a8d)
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
28*18281decSSergei Shtylyov	/* External CAN clock - to be overridden by boards that provide it */
29*18281decSSergei Shtylyov	can_clk: can {
30*18281decSSergei Shtylyov		compatible = "fixed-clock";
31*18281decSSergei Shtylyov		#clock-cells = <0>;
32*18281decSSergei Shtylyov		clock-frequency = <0>;
33*18281decSSergei Shtylyov	};
34*18281decSSergei Shtylyov
35f3a54d6cSSergei Shtylyov	cpus {
36f3a54d6cSSergei Shtylyov		#address-cells = <1>;
37f3a54d6cSSergei Shtylyov		#size-cells = <0>;
38f3a54d6cSSergei Shtylyov
39f3a54d6cSSergei Shtylyov		a53_0: cpu@0 {
40f3a54d6cSSergei Shtylyov			device_type = "cpu";
41f3a54d6cSSergei Shtylyov			compatible = "arm,cortex-a53", "arm,armv8";
42f3a54d6cSSergei Shtylyov			reg = <0>;
43c64cc368SSergei Shtylyov			clocks = <&cpg CPG_CORE R8A77980_CLK_Z2>;
441184ea3fSSergei Shtylyov			power-domains = <&sysc R8A77980_PD_CA53_CPU0>;
45f3a54d6cSSergei Shtylyov			next-level-cache = <&L2_CA53>;
46f3a54d6cSSergei Shtylyov			enable-method = "psci";
47f3a54d6cSSergei Shtylyov		};
48f3a54d6cSSergei Shtylyov
492ec1e4b4SSergei Shtylyov		a53_1: cpu@1 {
502ec1e4b4SSergei Shtylyov			device_type = "cpu";
512ec1e4b4SSergei Shtylyov			compatible = "arm,cortex-a53", "arm,armv8";
522ec1e4b4SSergei Shtylyov			reg = <1>;
532ec1e4b4SSergei Shtylyov			clocks = <&cpg CPG_CORE R8A77980_CLK_Z2>;
542ec1e4b4SSergei Shtylyov			power-domains = <&sysc R8A77980_PD_CA53_CPU1>;
552ec1e4b4SSergei Shtylyov			next-level-cache = <&L2_CA53>;
562ec1e4b4SSergei Shtylyov			enable-method = "psci";
572ec1e4b4SSergei Shtylyov		};
582ec1e4b4SSergei Shtylyov
592ec1e4b4SSergei Shtylyov		a53_2: cpu@2 {
602ec1e4b4SSergei Shtylyov			device_type = "cpu";
612ec1e4b4SSergei Shtylyov			compatible = "arm,cortex-a53", "arm,armv8";
622ec1e4b4SSergei Shtylyov			reg = <2>;
632ec1e4b4SSergei Shtylyov			clocks = <&cpg CPG_CORE R8A77980_CLK_Z2>;
642ec1e4b4SSergei Shtylyov			power-domains = <&sysc R8A77980_PD_CA53_CPU2>;
652ec1e4b4SSergei Shtylyov			next-level-cache = <&L2_CA53>;
662ec1e4b4SSergei Shtylyov			enable-method = "psci";
672ec1e4b4SSergei Shtylyov		};
682ec1e4b4SSergei Shtylyov
692ec1e4b4SSergei Shtylyov		a53_3: cpu@3 {
702ec1e4b4SSergei Shtylyov			device_type = "cpu";
712ec1e4b4SSergei Shtylyov			compatible = "arm,cortex-a53", "arm,armv8";
722ec1e4b4SSergei Shtylyov			reg = <3>;
732ec1e4b4SSergei Shtylyov			clocks = <&cpg CPG_CORE R8A77980_CLK_Z2>;
742ec1e4b4SSergei Shtylyov			power-domains = <&sysc R8A77980_PD_CA53_CPU3>;
752ec1e4b4SSergei Shtylyov			next-level-cache = <&L2_CA53>;
762ec1e4b4SSergei Shtylyov			enable-method = "psci";
772ec1e4b4SSergei Shtylyov		};
782ec1e4b4SSergei Shtylyov
79f3a54d6cSSergei Shtylyov		L2_CA53: cache-controller {
80f3a54d6cSSergei Shtylyov			compatible = "cache";
811184ea3fSSergei Shtylyov			power-domains = <&sysc R8A77980_PD_CA53_SCU>;
82f3a54d6cSSergei Shtylyov			cache-unified;
83f3a54d6cSSergei Shtylyov			cache-level = <2>;
84f3a54d6cSSergei Shtylyov		};
85f3a54d6cSSergei Shtylyov	};
86f3a54d6cSSergei 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
1010dba24a8SSergei Shtylyov	pmu_a53 {
1020dba24a8SSergei Shtylyov		compatible = "arm,cortex-a53-pmu";
1030dba24a8SSergei Shtylyov		interrupts-extended = <&gic GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>,
1040dba24a8SSergei Shtylyov				      <&gic GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>,
1050dba24a8SSergei Shtylyov				      <&gic GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>,
1060dba24a8SSergei Shtylyov				      <&gic GIC_SPI 87 IRQ_TYPE_LEVEL_HIGH>;
1070dba24a8SSergei Shtylyov		interrupt-affinity = <&a53_0>, <&a53_1>, <&a53_2>, <&a53_3>;
1080dba24a8SSergei Shtylyov	};
1090dba24a8SSergei 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
465bf6f9083SSergei Shtylyov		avb: ethernet@e6800000 {
466bf6f9083SSergei Shtylyov			compatible = "renesas,etheravb-r8a77980",
467bf6f9083SSergei Shtylyov				     "renesas,etheravb-rcar-gen3";
468bf6f9083SSergei Shtylyov			reg = <0 0xe6800000 0 0x800>;
469bf6f9083SSergei Shtylyov			interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>,
470bf6f9083SSergei Shtylyov				     <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>,
471bf6f9083SSergei Shtylyov				     <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>,
472bf6f9083SSergei Shtylyov				     <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>,
473bf6f9083SSergei Shtylyov				     <GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>,
474bf6f9083SSergei Shtylyov				     <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>,
475bf6f9083SSergei Shtylyov				     <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>,
476bf6f9083SSergei Shtylyov				     <GIC_SPI 46 IRQ_TYPE_LEVEL_HIGH>,
477bf6f9083SSergei Shtylyov				     <GIC_SPI 47 IRQ_TYPE_LEVEL_HIGH>,
478bf6f9083SSergei Shtylyov				     <GIC_SPI 48 IRQ_TYPE_LEVEL_HIGH>,
479bf6f9083SSergei Shtylyov				     <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>,
480bf6f9083SSergei Shtylyov				     <GIC_SPI 50 IRQ_TYPE_LEVEL_HIGH>,
481bf6f9083SSergei Shtylyov				     <GIC_SPI 51 IRQ_TYPE_LEVEL_HIGH>,
482bf6f9083SSergei Shtylyov				     <GIC_SPI 52 IRQ_TYPE_LEVEL_HIGH>,
483bf6f9083SSergei Shtylyov				     <GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH>,
484bf6f9083SSergei Shtylyov				     <GIC_SPI 54 IRQ_TYPE_LEVEL_HIGH>,
485bf6f9083SSergei Shtylyov				     <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>,
486bf6f9083SSergei Shtylyov				     <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>,
487bf6f9083SSergei Shtylyov				     <GIC_SPI 57 IRQ_TYPE_LEVEL_HIGH>,
488bf6f9083SSergei Shtylyov				     <GIC_SPI 58 IRQ_TYPE_LEVEL_HIGH>,
489bf6f9083SSergei Shtylyov				     <GIC_SPI 59 IRQ_TYPE_LEVEL_HIGH>,
490bf6f9083SSergei Shtylyov				     <GIC_SPI 60 IRQ_TYPE_LEVEL_HIGH>,
491bf6f9083SSergei Shtylyov				     <GIC_SPI 61 IRQ_TYPE_LEVEL_HIGH>,
492bf6f9083SSergei Shtylyov				     <GIC_SPI 62 IRQ_TYPE_LEVEL_HIGH>,
493bf6f9083SSergei Shtylyov				     <GIC_SPI 63 IRQ_TYPE_LEVEL_HIGH>;
494bf6f9083SSergei Shtylyov			interrupt-names = "ch0", "ch1", "ch2", "ch3",
495bf6f9083SSergei Shtylyov					  "ch4", "ch5", "ch6", "ch7",
496bf6f9083SSergei Shtylyov					  "ch8", "ch9", "ch10", "ch11",
497bf6f9083SSergei Shtylyov					  "ch12", "ch13", "ch14", "ch15",
498bf6f9083SSergei Shtylyov					  "ch16", "ch17", "ch18", "ch19",
499bf6f9083SSergei Shtylyov					  "ch20", "ch21", "ch22", "ch23",
500bf6f9083SSergei Shtylyov					  "ch24";
501bf6f9083SSergei Shtylyov			clocks = <&cpg CPG_MOD 812>;
5021184ea3fSSergei Shtylyov			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
503bf6f9083SSergei Shtylyov			resets = <&cpg 812>;
504bf6f9083SSergei Shtylyov			phy-mode = "rgmii";
505bf6f9083SSergei Shtylyov			#address-cells = <1>;
506bf6f9083SSergei Shtylyov			#size-cells = <0>;
50752d2e0ceSSergei Shtylyov			status = "disabled";
508bf6f9083SSergei Shtylyov		};
509bf6f9083SSergei Shtylyov
5103601d98cSSergei Shtylyov		scif0: serial@e6e60000 {
5113601d98cSSergei Shtylyov			compatible = "renesas,scif-r8a77980",
5123601d98cSSergei Shtylyov				     "renesas,rcar-gen3-scif",
5133601d98cSSergei Shtylyov				     "renesas,scif";
5143601d98cSSergei Shtylyov			reg = <0 0xe6e60000 0 0x40>;
5153601d98cSSergei Shtylyov			interrupts = <GIC_SPI 152 IRQ_TYPE_LEVEL_HIGH>;
5163601d98cSSergei Shtylyov			clocks = <&cpg CPG_MOD 207>,
517c64cc368SSergei Shtylyov				 <&cpg CPG_CORE R8A77980_CLK_S3D1>,
5183601d98cSSergei Shtylyov				 <&scif_clk>;
5193601d98cSSergei Shtylyov			clock-names = "fck", "brg_int", "scif_clk";
5203601d98cSSergei Shtylyov			dmas = <&dmac1 0x51>, <&dmac1 0x50>,
5213601d98cSSergei Shtylyov			       <&dmac2 0x51>, <&dmac2 0x50>;
5223601d98cSSergei Shtylyov			dma-names = "tx", "rx", "tx", "rx";
5231184ea3fSSergei Shtylyov			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
5243601d98cSSergei Shtylyov			resets = <&cpg 207>;
5253601d98cSSergei Shtylyov			status = "disabled";
5263601d98cSSergei Shtylyov		};
5273601d98cSSergei Shtylyov
5283601d98cSSergei Shtylyov		scif1: serial@e6e68000 {
5293601d98cSSergei Shtylyov			compatible = "renesas,scif-r8a77980",
5303601d98cSSergei Shtylyov				     "renesas,rcar-gen3-scif",
5313601d98cSSergei Shtylyov				     "renesas,scif";
5323601d98cSSergei Shtylyov			reg = <0 0xe6e68000 0 0x40>;
5333601d98cSSergei Shtylyov			interrupts = <GIC_SPI 153 IRQ_TYPE_LEVEL_HIGH>;
5343601d98cSSergei Shtylyov			clocks = <&cpg CPG_MOD 206>,
535c64cc368SSergei Shtylyov				 <&cpg CPG_CORE R8A77980_CLK_S3D1>,
5363601d98cSSergei Shtylyov				 <&scif_clk>;
5373601d98cSSergei Shtylyov			clock-names = "fck", "brg_int", "scif_clk";
5383601d98cSSergei Shtylyov			dmas = <&dmac1 0x53>, <&dmac1 0x52>,
5393601d98cSSergei Shtylyov			       <&dmac2 0x53>, <&dmac2 0x52>;
5403601d98cSSergei Shtylyov			dma-names = "tx", "rx", "tx", "rx";
5411184ea3fSSergei Shtylyov			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
5423601d98cSSergei Shtylyov			resets = <&cpg 206>;
5433601d98cSSergei Shtylyov			status = "disabled";
5443601d98cSSergei Shtylyov		};
5453601d98cSSergei Shtylyov
5463601d98cSSergei Shtylyov		scif3: serial@e6c50000 {
5473601d98cSSergei Shtylyov			compatible = "renesas,scif-r8a77980",
5483601d98cSSergei Shtylyov				     "renesas,rcar-gen3-scif",
5493601d98cSSergei Shtylyov				     "renesas,scif";
5503601d98cSSergei Shtylyov			reg = <0 0xe6c50000 0 0x40>;
5513601d98cSSergei Shtylyov			interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>;
5523601d98cSSergei Shtylyov			clocks = <&cpg CPG_MOD 204>,
553c64cc368SSergei Shtylyov				 <&cpg CPG_CORE R8A77980_CLK_S3D1>,
5543601d98cSSergei Shtylyov				 <&scif_clk>;
5553601d98cSSergei Shtylyov			clock-names = "fck", "brg_int", "scif_clk";
5563601d98cSSergei Shtylyov			dmas = <&dmac1 0x57>, <&dmac1 0x56>,
5573601d98cSSergei Shtylyov			       <&dmac2 0x57>, <&dmac2 0x56>;
5583601d98cSSergei Shtylyov			dma-names = "tx", "rx", "tx", "rx";
5591184ea3fSSergei Shtylyov			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
5603601d98cSSergei Shtylyov			resets = <&cpg 204>;
5613601d98cSSergei Shtylyov			status = "disabled";
5623601d98cSSergei Shtylyov		};
5633601d98cSSergei Shtylyov
5643601d98cSSergei Shtylyov		scif4: serial@e6c40000 {
5653601d98cSSergei Shtylyov			compatible = "renesas,scif-r8a77980",
5663601d98cSSergei Shtylyov				     "renesas,rcar-gen3-scif",
5673601d98cSSergei Shtylyov				     "renesas,scif";
5683601d98cSSergei Shtylyov			reg = <0 0xe6c40000 0 0x40>;
5693601d98cSSergei Shtylyov			interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>;
5703601d98cSSergei Shtylyov			clocks = <&cpg CPG_MOD 203>,
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 0x59>, <&dmac1 0x58>,
5753601d98cSSergei Shtylyov			       <&dmac2 0x59>, <&dmac2 0x58>;
5763601d98cSSergei Shtylyov			dma-names = "tx", "rx", "tx", "rx";
5771184ea3fSSergei Shtylyov			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
5783601d98cSSergei Shtylyov			resets = <&cpg 203>;
5793601d98cSSergei Shtylyov			status = "disabled";
5803601d98cSSergei Shtylyov		};
5813601d98cSSergei Shtylyov
58200d3375fSSergei Shtylyov		dmac1: dma-controller@e7300000 {
58300d3375fSSergei Shtylyov			compatible = "renesas,dmac-r8a77980",
58400d3375fSSergei Shtylyov				     "renesas,rcar-dmac";
58500d3375fSSergei Shtylyov			reg = <0 0xe7300000 0 0x10000>;
58600d3375fSSergei Shtylyov			interrupts = <GIC_SPI 220 IRQ_TYPE_LEVEL_HIGH
58700d3375fSSergei Shtylyov				      GIC_SPI 216 IRQ_TYPE_LEVEL_HIGH
58800d3375fSSergei Shtylyov				      GIC_SPI 217 IRQ_TYPE_LEVEL_HIGH
58900d3375fSSergei Shtylyov				      GIC_SPI 218 IRQ_TYPE_LEVEL_HIGH
59000d3375fSSergei Shtylyov				      GIC_SPI 219 IRQ_TYPE_LEVEL_HIGH
59100d3375fSSergei Shtylyov				      GIC_SPI 308 IRQ_TYPE_LEVEL_HIGH
59200d3375fSSergei Shtylyov				      GIC_SPI 309 IRQ_TYPE_LEVEL_HIGH
59300d3375fSSergei Shtylyov				      GIC_SPI 310 IRQ_TYPE_LEVEL_HIGH
59400d3375fSSergei Shtylyov				      GIC_SPI 311 IRQ_TYPE_LEVEL_HIGH
59500d3375fSSergei Shtylyov				      GIC_SPI 353 IRQ_TYPE_LEVEL_HIGH
59600d3375fSSergei Shtylyov				      GIC_SPI 354 IRQ_TYPE_LEVEL_HIGH
59700d3375fSSergei Shtylyov				      GIC_SPI 355 IRQ_TYPE_LEVEL_HIGH
59800d3375fSSergei Shtylyov				      GIC_SPI 356 IRQ_TYPE_LEVEL_HIGH
59900d3375fSSergei Shtylyov				      GIC_SPI 357 IRQ_TYPE_LEVEL_HIGH
60000d3375fSSergei Shtylyov				      GIC_SPI 358 IRQ_TYPE_LEVEL_HIGH
60100d3375fSSergei Shtylyov				      GIC_SPI 359 IRQ_TYPE_LEVEL_HIGH
60200d3375fSSergei Shtylyov				      GIC_SPI 360 IRQ_TYPE_LEVEL_HIGH>;
60300d3375fSSergei Shtylyov			interrupt-names = "error",
60400d3375fSSergei Shtylyov					  "ch0", "ch1", "ch2", "ch3",
60500d3375fSSergei Shtylyov					  "ch4", "ch5", "ch6", "ch7",
60600d3375fSSergei Shtylyov					  "ch8", "ch9", "ch10", "ch11",
60700d3375fSSergei Shtylyov					  "ch12", "ch13", "ch14", "ch15";
60800d3375fSSergei Shtylyov			clocks = <&cpg CPG_MOD 218>;
60900d3375fSSergei Shtylyov			clock-names = "fck";
6101184ea3fSSergei Shtylyov			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
61100d3375fSSergei Shtylyov			resets = <&cpg 218>;
61200d3375fSSergei Shtylyov			#dma-cells = <1>;
61300d3375fSSergei Shtylyov			dma-channels = <16>;
61400d3375fSSergei Shtylyov		};
61500d3375fSSergei Shtylyov
61600d3375fSSergei Shtylyov		dmac2: dma-controller@e7310000 {
61700d3375fSSergei Shtylyov			compatible = "renesas,dmac-r8a77980",
61800d3375fSSergei Shtylyov				     "renesas,rcar-dmac";
61900d3375fSSergei Shtylyov			reg = <0 0xe7310000 0 0x10000>;
62000d3375fSSergei Shtylyov			interrupts = <GIC_SPI 307 IRQ_TYPE_LEVEL_HIGH
62100d3375fSSergei Shtylyov				      GIC_SPI 312 IRQ_TYPE_LEVEL_HIGH
62200d3375fSSergei Shtylyov				      GIC_SPI 313 IRQ_TYPE_LEVEL_HIGH
62300d3375fSSergei Shtylyov				      GIC_SPI 314 IRQ_TYPE_LEVEL_HIGH
62400d3375fSSergei Shtylyov				      GIC_SPI 315 IRQ_TYPE_LEVEL_HIGH
62500d3375fSSergei Shtylyov				      GIC_SPI 316 IRQ_TYPE_LEVEL_HIGH
62600d3375fSSergei Shtylyov				      GIC_SPI 317 IRQ_TYPE_LEVEL_HIGH
62700d3375fSSergei Shtylyov				      GIC_SPI 318 IRQ_TYPE_LEVEL_HIGH
62800d3375fSSergei Shtylyov				      GIC_SPI 319 IRQ_TYPE_LEVEL_HIGH
62900d3375fSSergei Shtylyov				      GIC_SPI 361 IRQ_TYPE_LEVEL_HIGH
63000d3375fSSergei Shtylyov				      GIC_SPI 362 IRQ_TYPE_LEVEL_HIGH
63100d3375fSSergei Shtylyov				      GIC_SPI 363 IRQ_TYPE_LEVEL_HIGH
63200d3375fSSergei Shtylyov				      GIC_SPI 364 IRQ_TYPE_LEVEL_HIGH
63300d3375fSSergei Shtylyov				      GIC_SPI 365 IRQ_TYPE_LEVEL_HIGH
63400d3375fSSergei Shtylyov				      GIC_SPI 366 IRQ_TYPE_LEVEL_HIGH
63500d3375fSSergei Shtylyov				      GIC_SPI 367 IRQ_TYPE_LEVEL_HIGH
63600d3375fSSergei Shtylyov				      GIC_SPI 368 IRQ_TYPE_LEVEL_HIGH>;
63700d3375fSSergei Shtylyov			interrupt-names = "error",
63800d3375fSSergei Shtylyov					  "ch0", "ch1", "ch2", "ch3",
63900d3375fSSergei Shtylyov					  "ch4", "ch5", "ch6", "ch7",
64000d3375fSSergei Shtylyov					  "ch8", "ch9", "ch10", "ch11",
64100d3375fSSergei Shtylyov					  "ch12", "ch13", "ch14", "ch15";
64200d3375fSSergei Shtylyov			clocks = <&cpg CPG_MOD 217>;
64300d3375fSSergei Shtylyov			clock-names = "fck";
6441184ea3fSSergei Shtylyov			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
64500d3375fSSergei Shtylyov			resets = <&cpg 217>;
64600d3375fSSergei Shtylyov			#dma-cells = <1>;
64700d3375fSSergei Shtylyov			dma-channels = <16>;
64800d3375fSSergei Shtylyov		};
64900d3375fSSergei Shtylyov
65087bea678SSergei Shtylyov		gether: ethernet@e7400000 {
65187bea678SSergei Shtylyov			compatible = "renesas,gether-r8a77980";
65287bea678SSergei Shtylyov			reg = <0 0xe7400000 0 0x1000>;
65387bea678SSergei Shtylyov			interrupts = <GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH>;
65487bea678SSergei Shtylyov			clocks = <&cpg CPG_MOD 813>;
65587bea678SSergei Shtylyov			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
65687bea678SSergei Shtylyov			resets = <&cpg 813>;
65787bea678SSergei Shtylyov			#address-cells = <1>;
65887bea678SSergei Shtylyov			#size-cells = <0>;
65987bea678SSergei Shtylyov			status = "disabled";
66087bea678SSergei Shtylyov		};
66187bea678SSergei Shtylyov
662f14bfabcSSergei Shtylyov		ipmmu_ds1: mmu@e7740000 {
663f14bfabcSSergei Shtylyov			compatible = "renesas,ipmmu-r8a77980";
664f14bfabcSSergei Shtylyov			reg = <0 0xe7740000 0 0x1000>;
665f14bfabcSSergei Shtylyov			renesas,ipmmu-main = <&ipmmu_mm 0>;
666f14bfabcSSergei Shtylyov			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
667f14bfabcSSergei Shtylyov			#iommu-cells = <1>;
668f14bfabcSSergei Shtylyov		};
669f14bfabcSSergei Shtylyov
670f14bfabcSSergei Shtylyov		ipmmu_ir: mmu@ff8b0000 {
671f14bfabcSSergei Shtylyov			compatible = "renesas,ipmmu-r8a77980";
672f14bfabcSSergei Shtylyov			reg = <0 0xff8b0000 0 0x1000>;
673f14bfabcSSergei Shtylyov			renesas,ipmmu-main = <&ipmmu_mm 3>;
674f14bfabcSSergei Shtylyov			power-domains = <&sysc R8A77980_PD_A3IR>;
675f14bfabcSSergei Shtylyov			#iommu-cells = <1>;
676f14bfabcSSergei Shtylyov		};
677f14bfabcSSergei Shtylyov
678f14bfabcSSergei Shtylyov		ipmmu_mm: mmu@e67b0000 {
679f14bfabcSSergei Shtylyov			compatible = "renesas,ipmmu-r8a77980";
680f14bfabcSSergei Shtylyov			reg = <0 0xe67b0000 0 0x1000>;
681f14bfabcSSergei Shtylyov			interrupts = <GIC_SPI 196 IRQ_TYPE_LEVEL_HIGH>,
682f14bfabcSSergei Shtylyov				     <GIC_SPI 197 IRQ_TYPE_LEVEL_HIGH>;
683f14bfabcSSergei Shtylyov			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
684f14bfabcSSergei Shtylyov			#iommu-cells = <1>;
685f14bfabcSSergei Shtylyov		};
686f14bfabcSSergei Shtylyov
687f14bfabcSSergei Shtylyov		ipmmu_rt: mmu@ffc80000 {
688f14bfabcSSergei Shtylyov			compatible = "renesas,ipmmu-r8a77980";
689f14bfabcSSergei Shtylyov			reg = <0 0xffc80000 0 0x1000>;
690f14bfabcSSergei Shtylyov			renesas,ipmmu-main = <&ipmmu_mm 10>;
691f14bfabcSSergei Shtylyov			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
692f14bfabcSSergei Shtylyov			#iommu-cells = <1>;
693f14bfabcSSergei Shtylyov		};
694f14bfabcSSergei Shtylyov
695f14bfabcSSergei Shtylyov		ipmmu_vc0: mmu@fe6b0000 {
696f14bfabcSSergei Shtylyov			compatible = "renesas,ipmmu-r8a77980";
697f14bfabcSSergei Shtylyov			reg = <0 0xfe6b0000 0 0x1000>;
698f14bfabcSSergei Shtylyov			renesas,ipmmu-main = <&ipmmu_mm 12>;
699f14bfabcSSergei Shtylyov			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
700f14bfabcSSergei Shtylyov			#iommu-cells = <1>;
701f14bfabcSSergei Shtylyov		};
702f14bfabcSSergei Shtylyov
703f14bfabcSSergei Shtylyov		ipmmu_vi0: mmu@febd0000 {
704f14bfabcSSergei Shtylyov			compatible = "renesas,ipmmu-r8a77980";
705f14bfabcSSergei Shtylyov			reg = <0 0xfebd0000 0 0x1000>;
706f14bfabcSSergei Shtylyov			renesas,ipmmu-main = <&ipmmu_mm 14>;
707f14bfabcSSergei Shtylyov			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
708f14bfabcSSergei Shtylyov			#iommu-cells = <1>;
709f14bfabcSSergei Shtylyov		};
710f14bfabcSSergei Shtylyov
711f14bfabcSSergei Shtylyov		ipmmu_vip0: mmu@e7b00000 {
712f14bfabcSSergei Shtylyov			compatible = "renesas,ipmmu-r8a77980";
713f14bfabcSSergei Shtylyov			reg = <0 0xe7b00000 0 0x1000>;
714f14bfabcSSergei Shtylyov			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
715f14bfabcSSergei Shtylyov			#iommu-cells = <1>;
716f14bfabcSSergei Shtylyov		};
717f14bfabcSSergei Shtylyov
718f14bfabcSSergei Shtylyov		ipmmu_vip1: mmu@e7960000 {
719f14bfabcSSergei Shtylyov			compatible = "renesas,ipmmu-r8a77980";
720f14bfabcSSergei Shtylyov			reg = <0 0xe7960000 0 0x1000>;
721f14bfabcSSergei Shtylyov			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
722f14bfabcSSergei Shtylyov			#iommu-cells = <1>;
723f14bfabcSSergei Shtylyov		};
724f14bfabcSSergei 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