xref: /linux/scripts/dtc/include-prefixes/arm64/renesas/r8a77980.dtsi (revision 9a6c158f62ccdd37c921ec8b1484418bad5f7984)
1f3a54d6cSSergei Shtylyov// SPDX-License-Identifier: GPL-2.0
2f3a54d6cSSergei Shtylyov/*
3f3a54d6cSSergei Shtylyov * Device Tree Source for the 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
121efcb52e3SSergei Shtylyov		gpio0: gpio@e6050000 {
122efcb52e3SSergei Shtylyov			compatible = "renesas,gpio-r8a77980",
123efcb52e3SSergei Shtylyov				     "renesas,rcar-gen3-gpio";
124efcb52e3SSergei Shtylyov			reg = <0 0xe6050000 0 0x50>;
125efcb52e3SSergei Shtylyov			interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;
126efcb52e3SSergei Shtylyov			#gpio-cells = <2>;
127efcb52e3SSergei Shtylyov			gpio-controller;
128efcb52e3SSergei Shtylyov			gpio-ranges = <&pfc 0 0 22>;
129efcb52e3SSergei Shtylyov			#interrupt-cells = <2>;
130efcb52e3SSergei Shtylyov			interrupt-controller;
131efcb52e3SSergei Shtylyov			clocks = <&cpg CPG_MOD 912>;
132efcb52e3SSergei Shtylyov			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
133efcb52e3SSergei Shtylyov			resets = <&cpg 912>;
134efcb52e3SSergei Shtylyov		};
135efcb52e3SSergei Shtylyov
136efcb52e3SSergei Shtylyov		gpio1: gpio@e6051000 {
137efcb52e3SSergei Shtylyov			compatible = "renesas,gpio-r8a77980",
138efcb52e3SSergei Shtylyov				     "renesas,rcar-gen3-gpio";
139efcb52e3SSergei Shtylyov			reg = <0 0xe6051000 0 0x50>;
140efcb52e3SSergei Shtylyov			interrupts = <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>;
141efcb52e3SSergei Shtylyov			#gpio-cells = <2>;
142efcb52e3SSergei Shtylyov			gpio-controller;
143efcb52e3SSergei Shtylyov			gpio-ranges = <&pfc 0 32 28>;
144efcb52e3SSergei Shtylyov			#interrupt-cells = <2>;
145efcb52e3SSergei Shtylyov			interrupt-controller;
146efcb52e3SSergei Shtylyov			clocks = <&cpg CPG_MOD 911>;
147efcb52e3SSergei Shtylyov			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
148efcb52e3SSergei Shtylyov			resets = <&cpg 911>;
149efcb52e3SSergei Shtylyov		};
150efcb52e3SSergei Shtylyov
151efcb52e3SSergei Shtylyov		gpio2: gpio@e6052000 {
152efcb52e3SSergei Shtylyov			compatible = "renesas,gpio-r8a77980",
153efcb52e3SSergei Shtylyov				     "renesas,rcar-gen3-gpio";
154efcb52e3SSergei Shtylyov			reg = <0 0xe6052000 0 0x50>;
155efcb52e3SSergei Shtylyov			interrupts = <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>;
156efcb52e3SSergei Shtylyov			#gpio-cells = <2>;
157efcb52e3SSergei Shtylyov			gpio-controller;
158efcb52e3SSergei Shtylyov			gpio-ranges = <&pfc 0 64 30>;
159efcb52e3SSergei Shtylyov			#interrupt-cells = <2>;
160efcb52e3SSergei Shtylyov			interrupt-controller;
161efcb52e3SSergei Shtylyov			clocks = <&cpg CPG_MOD 910>;
162efcb52e3SSergei Shtylyov			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
163efcb52e3SSergei Shtylyov			resets = <&cpg 910>;
164efcb52e3SSergei Shtylyov		};
165efcb52e3SSergei Shtylyov
166efcb52e3SSergei Shtylyov		gpio3: gpio@e6053000 {
167efcb52e3SSergei Shtylyov			compatible = "renesas,gpio-r8a77980",
168efcb52e3SSergei Shtylyov				     "renesas,rcar-gen3-gpio";
169efcb52e3SSergei Shtylyov			reg = <0 0xe6053000 0 0x50>;
170efcb52e3SSergei Shtylyov			interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>;
171efcb52e3SSergei Shtylyov			#gpio-cells = <2>;
172efcb52e3SSergei Shtylyov			gpio-controller;
173efcb52e3SSergei Shtylyov			gpio-ranges = <&pfc 0 96 17>;
174efcb52e3SSergei Shtylyov			#interrupt-cells = <2>;
175efcb52e3SSergei Shtylyov			interrupt-controller;
176efcb52e3SSergei Shtylyov			clocks = <&cpg CPG_MOD 909>;
177efcb52e3SSergei Shtylyov			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
178efcb52e3SSergei Shtylyov			resets = <&cpg 909>;
179efcb52e3SSergei Shtylyov		};
180efcb52e3SSergei Shtylyov
181efcb52e3SSergei Shtylyov		gpio4: gpio@e6054000 {
182efcb52e3SSergei Shtylyov			compatible = "renesas,gpio-r8a77980",
183efcb52e3SSergei Shtylyov				     "renesas,rcar-gen3-gpio";
184efcb52e3SSergei Shtylyov			reg = <0 0xe6054000 0 0x50>;
185efcb52e3SSergei Shtylyov			interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>;
186efcb52e3SSergei Shtylyov			#gpio-cells = <2>;
187efcb52e3SSergei Shtylyov			gpio-controller;
188efcb52e3SSergei Shtylyov			gpio-ranges = <&pfc 0 128 25>;
189efcb52e3SSergei Shtylyov			#interrupt-cells = <2>;
190efcb52e3SSergei Shtylyov			interrupt-controller;
191efcb52e3SSergei Shtylyov			clocks = <&cpg CPG_MOD 908>;
192efcb52e3SSergei Shtylyov			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
193efcb52e3SSergei Shtylyov			resets = <&cpg 908>;
194efcb52e3SSergei Shtylyov		};
195efcb52e3SSergei Shtylyov
196efcb52e3SSergei Shtylyov		gpio5: gpio@e6055000 {
197efcb52e3SSergei Shtylyov			compatible = "renesas,gpio-r8a77980",
198efcb52e3SSergei Shtylyov				     "renesas,rcar-gen3-gpio";
199efcb52e3SSergei Shtylyov			reg = <0 0xe6055000 0 0x50>;
200efcb52e3SSergei Shtylyov			interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>;
201efcb52e3SSergei Shtylyov			#gpio-cells = <2>;
202efcb52e3SSergei Shtylyov			gpio-controller;
203efcb52e3SSergei Shtylyov			gpio-ranges = <&pfc 0 160 15>;
204efcb52e3SSergei Shtylyov			#interrupt-cells = <2>;
205efcb52e3SSergei Shtylyov			interrupt-controller;
206efcb52e3SSergei Shtylyov			clocks = <&cpg CPG_MOD 907>;
207efcb52e3SSergei Shtylyov			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
208efcb52e3SSergei Shtylyov			resets = <&cpg 907>;
209efcb52e3SSergei Shtylyov		};
210efcb52e3SSergei Shtylyov
211cef26946SSergei Shtylyov		pfc: pin-controller@e6060000 {
212cef26946SSergei Shtylyov			compatible = "renesas,pfc-r8a77980";
213cef26946SSergei Shtylyov			reg = <0 0xe6060000 0 0x50c>;
214cef26946SSergei Shtylyov		};
215cef26946SSergei Shtylyov
216f3a54d6cSSergei Shtylyov		cpg: clock-controller@e6150000 {
217f3a54d6cSSergei Shtylyov			compatible = "renesas,r8a77980-cpg-mssr";
218f3a54d6cSSergei Shtylyov			reg = <0 0xe6150000 0 0x1000>;
219f3a54d6cSSergei Shtylyov			clocks = <&extal_clk>, <&extalr_clk>;
220f3a54d6cSSergei Shtylyov			clock-names = "extal", "extalr";
221f3a54d6cSSergei Shtylyov			#clock-cells = <2>;
222f3a54d6cSSergei Shtylyov			#power-domain-cells = <0>;
223f3a54d6cSSergei Shtylyov			#reset-cells = <1>;
224f3a54d6cSSergei Shtylyov		};
225f3a54d6cSSergei Shtylyov
226f3a54d6cSSergei Shtylyov		rst: reset-controller@e6160000 {
227f3a54d6cSSergei Shtylyov			compatible = "renesas,r8a77980-rst";
228f3a54d6cSSergei Shtylyov			reg = <0 0xe6160000 0 0x200>;
229f3a54d6cSSergei Shtylyov		};
230f3a54d6cSSergei Shtylyov
231f3a54d6cSSergei Shtylyov		sysc: system-controller@e6180000 {
232f3a54d6cSSergei Shtylyov			compatible = "renesas,r8a77980-sysc";
233f3a54d6cSSergei Shtylyov			reg = <0 0xe6180000 0 0x440>;
234f3a54d6cSSergei Shtylyov			#power-domain-cells = <1>;
235f3a54d6cSSergei Shtylyov		};
236f3a54d6cSSergei Shtylyov
237*9a6c158fSSergei Shtylyov		intc_ex: interrupt-controller@e61c0000 {
238*9a6c158fSSergei Shtylyov			compatible = "renesas,intc-ex-r8a77980", "renesas,irqc";
239*9a6c158fSSergei Shtylyov			#interrupt-cells = <2>;
240*9a6c158fSSergei Shtylyov			interrupt-controller;
241*9a6c158fSSergei Shtylyov			reg = <0 0xe61c0000 0 0x200>;
242*9a6c158fSSergei Shtylyov			interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH
243*9a6c158fSSergei Shtylyov				      GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH
244*9a6c158fSSergei Shtylyov				      GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH
245*9a6c158fSSergei Shtylyov				      GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH
246*9a6c158fSSergei Shtylyov				      GIC_SPI 18 IRQ_TYPE_LEVEL_HIGH
247*9a6c158fSSergei Shtylyov				      GIC_SPI 161 IRQ_TYPE_LEVEL_HIGH>;
248*9a6c158fSSergei Shtylyov			clocks = <&cpg CPG_MOD 407>;
249*9a6c158fSSergei Shtylyov			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
250*9a6c158fSSergei Shtylyov			resets = <&cpg 407>;
251*9a6c158fSSergei Shtylyov		};
252*9a6c158fSSergei Shtylyov
253bc620474SSergei Shtylyov		i2c0: i2c@e6500000 {
254bc620474SSergei Shtylyov			compatible = "renesas,i2c-r8a77980",
255bc620474SSergei Shtylyov				     "renesas,rcar-gen3-i2c";
256bc620474SSergei Shtylyov			reg = <0 0xe6500000 0 0x40>;
257bc620474SSergei Shtylyov			interrupts = <GIC_SPI 287 IRQ_TYPE_LEVEL_HIGH>;
258bc620474SSergei Shtylyov			clocks = <&cpg CPG_MOD 931>;
259bc620474SSergei Shtylyov			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
260bc620474SSergei Shtylyov			resets = <&cpg 931>;
261bc620474SSergei Shtylyov			dmas = <&dmac1 0x91>, <&dmac1 0x90>,
262bc620474SSergei Shtylyov			       <&dmac2 0x91>, <&dmac2 0x90>;
263bc620474SSergei Shtylyov			dma-names = "tx", "rx", "tx", "rx";
264bc620474SSergei Shtylyov			i2c-scl-internal-delay-ns = <6>;
265bc620474SSergei Shtylyov			#address-cells = <1>;
266bc620474SSergei Shtylyov			#size-cells = <0>;
267bc620474SSergei Shtylyov			status = "disabled";
268bc620474SSergei Shtylyov		};
269bc620474SSergei Shtylyov
270bc620474SSergei Shtylyov		i2c1: i2c@e6508000 {
271bc620474SSergei Shtylyov			compatible = "renesas,i2c-r8a77980",
272bc620474SSergei Shtylyov				     "renesas,rcar-gen3-i2c";
273bc620474SSergei Shtylyov			reg = <0 0xe6508000 0 0x40>;
274bc620474SSergei Shtylyov			interrupts = <GIC_SPI 288 IRQ_TYPE_LEVEL_HIGH>;
275bc620474SSergei Shtylyov			clocks = <&cpg CPG_MOD 930>;
276bc620474SSergei Shtylyov			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
277bc620474SSergei Shtylyov			resets = <&cpg 930>;
278bc620474SSergei Shtylyov			dmas = <&dmac1 0x93>, <&dmac1 0x92>,
279bc620474SSergei Shtylyov			       <&dmac2 0x93>, <&dmac2 0x92>;
280bc620474SSergei Shtylyov			dma-names = "tx", "rx", "tx", "rx";
281bc620474SSergei Shtylyov			i2c-scl-internal-delay-ns = <6>;
282bc620474SSergei Shtylyov			#address-cells = <1>;
283bc620474SSergei Shtylyov			#size-cells = <0>;
284bc620474SSergei Shtylyov			status = "disabled";
285bc620474SSergei Shtylyov		};
286bc620474SSergei Shtylyov
287bc620474SSergei Shtylyov		i2c2: i2c@e6510000 {
288bc620474SSergei Shtylyov			compatible = "renesas,i2c-r8a77980",
289bc620474SSergei Shtylyov				     "renesas,rcar-gen3-i2c";
290bc620474SSergei Shtylyov			reg = <0 0xe6510000 0 0x40>;
291bc620474SSergei Shtylyov			interrupts = <GIC_SPI 286 IRQ_TYPE_LEVEL_HIGH>;
292bc620474SSergei Shtylyov			clocks = <&cpg CPG_MOD 929>;
293bc620474SSergei Shtylyov			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
294bc620474SSergei Shtylyov			resets = <&cpg 929>;
295bc620474SSergei Shtylyov			dmas = <&dmac1 0x95>, <&dmac1 0x94>,
296bc620474SSergei Shtylyov			       <&dmac2 0x95>, <&dmac2 0x94>;
297bc620474SSergei Shtylyov			dma-names = "tx", "rx", "tx", "rx";
298bc620474SSergei Shtylyov			i2c-scl-internal-delay-ns = <6>;
299bc620474SSergei Shtylyov			#address-cells = <1>;
300bc620474SSergei Shtylyov			#size-cells = <0>;
301bc620474SSergei Shtylyov			status = "disabled";
302bc620474SSergei Shtylyov		};
303bc620474SSergei Shtylyov
304bc620474SSergei Shtylyov		i2c3: i2c@e66d0000 {
305bc620474SSergei Shtylyov			compatible = "renesas,i2c-r8a77980",
306bc620474SSergei Shtylyov				     "renesas,rcar-gen3-i2c";
307bc620474SSergei Shtylyov			reg = <0 0xe66d0000 0 0x40>;
308bc620474SSergei Shtylyov			interrupts = <GIC_SPI 290 IRQ_TYPE_LEVEL_HIGH>;
309bc620474SSergei Shtylyov			clocks = <&cpg CPG_MOD 928>;
310bc620474SSergei Shtylyov			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
311bc620474SSergei Shtylyov			resets = <&cpg 928>;
312bc620474SSergei Shtylyov			i2c-scl-internal-delay-ns = <6>;
313bc620474SSergei Shtylyov			#address-cells = <1>;
314bc620474SSergei Shtylyov			#size-cells = <0>;
315bc620474SSergei Shtylyov			status = "disabled";
316bc620474SSergei Shtylyov		};
317bc620474SSergei Shtylyov
318bc620474SSergei Shtylyov		i2c4: i2c@e66d8000 {
319bc620474SSergei Shtylyov			compatible = "renesas,i2c-r8a77980",
320bc620474SSergei Shtylyov				     "renesas,rcar-gen3-i2c";
321bc620474SSergei Shtylyov			reg = <0 0xe66d8000 0 0x40>;
322bc620474SSergei Shtylyov			interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>;
323bc620474SSergei Shtylyov			clocks = <&cpg CPG_MOD 927>;
324bc620474SSergei Shtylyov			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
325bc620474SSergei Shtylyov			resets = <&cpg 927>;
326bc620474SSergei Shtylyov			i2c-scl-internal-delay-ns = <6>;
327bc620474SSergei Shtylyov			#address-cells = <1>;
328bc620474SSergei Shtylyov			#size-cells = <0>;
329bc620474SSergei Shtylyov			status = "disabled";
330bc620474SSergei Shtylyov		};
331bc620474SSergei Shtylyov
332bc620474SSergei Shtylyov		i2c5: i2c@e66e0000 {
333bc620474SSergei Shtylyov			compatible = "renesas,i2c-r8a77980",
334bc620474SSergei Shtylyov				     "renesas,rcar-gen3-i2c";
335bc620474SSergei Shtylyov			reg = <0 0xe66e0000 0 0x40>;
336bc620474SSergei Shtylyov			interrupts = <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>;
337bc620474SSergei Shtylyov			clocks = <&cpg CPG_MOD 919>;
338bc620474SSergei Shtylyov			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
339bc620474SSergei Shtylyov			resets = <&cpg 919>;
340bc620474SSergei Shtylyov			dmas = <&dmac1 0x9b>, <&dmac1 0x9a>,
341bc620474SSergei Shtylyov			       <&dmac2 0x9b>, <&dmac2 0x9a>;
342bc620474SSergei Shtylyov			dma-names = "tx", "rx", "tx", "rx";
343bc620474SSergei Shtylyov			i2c-scl-internal-delay-ns = <6>;
344bc620474SSergei Shtylyov			#address-cells = <1>;
345bc620474SSergei Shtylyov			#size-cells = <0>;
346bc620474SSergei Shtylyov			status = "disabled";
347bc620474SSergei Shtylyov		};
348bc620474SSergei Shtylyov
3493601d98cSSergei Shtylyov		hscif0: serial@e6540000 {
3503601d98cSSergei Shtylyov			compatible = "renesas,hscif-r8a77980",
3513601d98cSSergei Shtylyov				     "renesas,rcar-gen3-hscif",
3523601d98cSSergei Shtylyov				     "renesas,hscif";
3533601d98cSSergei Shtylyov			reg = <0 0xe6540000 0 0x60>;
3543601d98cSSergei Shtylyov			interrupts = <GIC_SPI 154 IRQ_TYPE_LEVEL_HIGH>;
3553601d98cSSergei Shtylyov			clocks = <&cpg CPG_MOD 520>,
356c64cc368SSergei Shtylyov				 <&cpg CPG_CORE R8A77980_CLK_S3D1>,
3573601d98cSSergei Shtylyov				 <&scif_clk>;
3583601d98cSSergei Shtylyov			clock-names = "fck", "brg_int", "scif_clk";
3593601d98cSSergei Shtylyov			dmas = <&dmac1 0x31>, <&dmac1 0x30>,
3603601d98cSSergei Shtylyov			       <&dmac2 0x31>, <&dmac2 0x30>;
3613601d98cSSergei Shtylyov			dma-names = "tx", "rx", "tx", "rx";
3621184ea3fSSergei Shtylyov			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
3633601d98cSSergei Shtylyov			resets = <&cpg 520>;
3643601d98cSSergei Shtylyov			status = "disabled";
3653601d98cSSergei Shtylyov		};
3663601d98cSSergei Shtylyov
3673601d98cSSergei Shtylyov		hscif1: serial@e6550000 {
3683601d98cSSergei Shtylyov			compatible = "renesas,hscif-r8a77980",
3693601d98cSSergei Shtylyov				     "renesas,rcar-gen3-hscif",
3703601d98cSSergei Shtylyov				     "renesas,hscif";
3713601d98cSSergei Shtylyov			reg = <0 0xe6550000 0 0x60>;
3723601d98cSSergei Shtylyov			interrupts = <GIC_SPI 155 IRQ_TYPE_LEVEL_HIGH>;
3733601d98cSSergei Shtylyov			clocks = <&cpg CPG_MOD 519>,
374c64cc368SSergei Shtylyov				 <&cpg CPG_CORE R8A77980_CLK_S3D1>,
3753601d98cSSergei Shtylyov				 <&scif_clk>;
3763601d98cSSergei Shtylyov			clock-names = "fck", "brg_int", "scif_clk";
3773601d98cSSergei Shtylyov			dmas = <&dmac1 0x33>, <&dmac1 0x32>,
3783601d98cSSergei Shtylyov			       <&dmac2 0x33>, <&dmac2 0x32>;
3793601d98cSSergei Shtylyov			dma-names = "tx", "rx", "tx", "rx";
3801184ea3fSSergei Shtylyov			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
3813601d98cSSergei Shtylyov			resets = <&cpg 519>;
3823601d98cSSergei Shtylyov			status = "disabled";
3833601d98cSSergei Shtylyov		};
3843601d98cSSergei Shtylyov
3853601d98cSSergei Shtylyov		hscif2: serial@e6560000 {
3863601d98cSSergei Shtylyov			compatible = "renesas,hscif-r8a77980",
3873601d98cSSergei Shtylyov				     "renesas,rcar-gen3-hscif",
3883601d98cSSergei Shtylyov				     "renesas,hscif";
3893601d98cSSergei Shtylyov			reg = <0 0xe6560000 0 0x60>;
3903601d98cSSergei Shtylyov			interrupts = <GIC_SPI 144 IRQ_TYPE_LEVEL_HIGH>;
3913601d98cSSergei Shtylyov			clocks = <&cpg CPG_MOD 518>,
392c64cc368SSergei Shtylyov				 <&cpg CPG_CORE R8A77980_CLK_S3D1>,
3933601d98cSSergei Shtylyov				 <&scif_clk>;
3943601d98cSSergei Shtylyov			clock-names = "fck", "brg_int", "scif_clk";
3953601d98cSSergei Shtylyov			dmas = <&dmac1 0x35>, <&dmac1 0x34>,
3963601d98cSSergei Shtylyov			       <&dmac2 0x35>, <&dmac2 0x34>;
3973601d98cSSergei Shtylyov			dma-names = "tx", "rx", "tx", "rx";
3981184ea3fSSergei Shtylyov			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
3993601d98cSSergei Shtylyov			resets = <&cpg 518>;
4003601d98cSSergei Shtylyov			status = "disabled";
4013601d98cSSergei Shtylyov		};
4023601d98cSSergei Shtylyov
4033601d98cSSergei Shtylyov		hscif3: serial@e66a0000 {
4043601d98cSSergei Shtylyov			compatible = "renesas,hscif-r8a77980",
4053601d98cSSergei Shtylyov				     "renesas,rcar-gen3-hscif",
4063601d98cSSergei Shtylyov				     "renesas,hscif";
4073601d98cSSergei Shtylyov			reg = <0 0xe66a0000 0 0x60>;
4083601d98cSSergei Shtylyov			interrupts = <GIC_SPI 145 IRQ_TYPE_LEVEL_HIGH>;
4093601d98cSSergei Shtylyov			clocks = <&cpg CPG_MOD 517>,
410c64cc368SSergei Shtylyov				 <&cpg CPG_CORE R8A77980_CLK_S3D1>,
4113601d98cSSergei Shtylyov				 <&scif_clk>;
4123601d98cSSergei Shtylyov			clock-names = "fck", "brg_int", "scif_clk";
4133601d98cSSergei Shtylyov			dmas = <&dmac1 0x37>, <&dmac1 0x36>,
4143601d98cSSergei Shtylyov			       <&dmac2 0x37>, <&dmac2 0x36>;
4153601d98cSSergei Shtylyov			dma-names = "tx", "rx", "tx", "rx";
4161184ea3fSSergei Shtylyov			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
4173601d98cSSergei Shtylyov			resets = <&cpg 517>;
4183601d98cSSergei Shtylyov			status = "disabled";
4193601d98cSSergei Shtylyov		};
4203601d98cSSergei Shtylyov
421f38c4172SSergei Shtylyov		canfd: can@e66c0000 {
422f38c4172SSergei Shtylyov			compatible = "renesas,r8a77980-canfd",
423f38c4172SSergei Shtylyov				     "renesas,rcar-gen3-canfd";
424f38c4172SSergei Shtylyov			reg = <0 0xe66c0000 0 0x8000>;
425f38c4172SSergei Shtylyov			interrupts = <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>,
426f38c4172SSergei Shtylyov				     <GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>;
427f38c4172SSergei Shtylyov			clocks = <&cpg CPG_MOD 914>,
428f38c4172SSergei Shtylyov				 <&cpg CPG_CORE R8A77980_CLK_CANFD>,
429f38c4172SSergei Shtylyov				 <&can_clk>;
430f38c4172SSergei Shtylyov			clock-names = "fck", "canfd", "can_clk";
431f38c4172SSergei Shtylyov			assigned-clocks = <&cpg CPG_CORE R8A77980_CLK_CANFD>;
432f38c4172SSergei Shtylyov			assigned-clock-rates = <40000000>;
433f38c4172SSergei Shtylyov			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
43422fb06cdSSimon Horman			resets = <&cpg 914>;
435f38c4172SSergei Shtylyov			status = "disabled";
436f38c4172SSergei Shtylyov
437f38c4172SSergei Shtylyov			channel0 {
438f38c4172SSergei Shtylyov				status = "disabled";
439f38c4172SSergei Shtylyov			};
440f38c4172SSergei Shtylyov
441f38c4172SSergei Shtylyov			channel1 {
442f38c4172SSergei Shtylyov				status = "disabled";
443f38c4172SSergei Shtylyov			};
444f38c4172SSergei Shtylyov		};
445f38c4172SSergei Shtylyov
44655697cbbSMagnus Damm		ipmmu_ds1: mmu@e7740000 {
44755697cbbSMagnus Damm			compatible = "renesas,ipmmu-r8a77980";
44855697cbbSMagnus Damm			reg = <0 0xe7740000 0 0x1000>;
44955697cbbSMagnus Damm			renesas,ipmmu-main = <&ipmmu_mm 0>;
45055697cbbSMagnus Damm			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
45155697cbbSMagnus Damm			#iommu-cells = <1>;
45255697cbbSMagnus Damm		};
45355697cbbSMagnus Damm
45455697cbbSMagnus Damm		ipmmu_vip0: mmu@e7b00000 {
45555697cbbSMagnus Damm			compatible = "renesas,ipmmu-r8a77980";
45655697cbbSMagnus Damm			reg = <0 0xe7b00000 0 0x1000>;
45755697cbbSMagnus Damm			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
45855697cbbSMagnus Damm			#iommu-cells = <1>;
45955697cbbSMagnus Damm		};
46055697cbbSMagnus Damm
46155697cbbSMagnus Damm		ipmmu_vip1: mmu@e7960000 {
46255697cbbSMagnus Damm			compatible = "renesas,ipmmu-r8a77980";
46355697cbbSMagnus Damm			reg = <0 0xe7960000 0 0x1000>;
46455697cbbSMagnus Damm			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
46555697cbbSMagnus Damm			#iommu-cells = <1>;
46655697cbbSMagnus Damm		};
46755697cbbSMagnus Damm
46855697cbbSMagnus Damm		ipmmu_ir: mmu@ff8b0000 {
46955697cbbSMagnus Damm			compatible = "renesas,ipmmu-r8a77980";
47055697cbbSMagnus Damm			reg = <0 0xff8b0000 0 0x1000>;
47155697cbbSMagnus Damm			renesas,ipmmu-main = <&ipmmu_mm 3>;
47255697cbbSMagnus Damm			power-domains = <&sysc R8A77980_PD_A3IR>;
47355697cbbSMagnus Damm			#iommu-cells = <1>;
47455697cbbSMagnus Damm		};
47555697cbbSMagnus Damm
47655697cbbSMagnus Damm		ipmmu_mm: mmu@e67b0000 {
47755697cbbSMagnus Damm			compatible = "renesas,ipmmu-r8a77980";
47855697cbbSMagnus Damm			reg = <0 0xe67b0000 0 0x1000>;
47955697cbbSMagnus Damm			interrupts = <GIC_SPI 196 IRQ_TYPE_LEVEL_HIGH>,
48055697cbbSMagnus Damm				     <GIC_SPI 197 IRQ_TYPE_LEVEL_HIGH>;
48155697cbbSMagnus Damm			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
48255697cbbSMagnus Damm			#iommu-cells = <1>;
48355697cbbSMagnus Damm		};
48455697cbbSMagnus Damm
48555697cbbSMagnus Damm		ipmmu_rt: mmu@ffc80000 {
48655697cbbSMagnus Damm			compatible = "renesas,ipmmu-r8a77980";
48755697cbbSMagnus Damm			reg = <0 0xffc80000 0 0x1000>;
48855697cbbSMagnus Damm			renesas,ipmmu-main = <&ipmmu_mm 10>;
48955697cbbSMagnus Damm			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
49055697cbbSMagnus Damm			#iommu-cells = <1>;
49155697cbbSMagnus Damm		};
49255697cbbSMagnus Damm
49355697cbbSMagnus Damm		ipmmu_vc0: mmu@fe6b0000 {
49455697cbbSMagnus Damm			compatible = "renesas,ipmmu-r8a77980";
49555697cbbSMagnus Damm			reg = <0 0xfe6b0000 0 0x1000>;
49655697cbbSMagnus Damm			renesas,ipmmu-main = <&ipmmu_mm 12>;
49755697cbbSMagnus Damm			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
49855697cbbSMagnus Damm			#iommu-cells = <1>;
49955697cbbSMagnus Damm		};
50055697cbbSMagnus Damm
50155697cbbSMagnus Damm		ipmmu_vi0: mmu@febd0000 {
50255697cbbSMagnus Damm			compatible = "renesas,ipmmu-r8a77980";
50355697cbbSMagnus Damm			reg = <0 0xfebd0000 0 0x1000>;
50455697cbbSMagnus Damm			renesas,ipmmu-main = <&ipmmu_mm 14>;
50555697cbbSMagnus Damm			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
50655697cbbSMagnus Damm			#iommu-cells = <1>;
50755697cbbSMagnus Damm		};
50855697cbbSMagnus Damm
509bf6f9083SSergei Shtylyov		avb: ethernet@e6800000 {
510bf6f9083SSergei Shtylyov			compatible = "renesas,etheravb-r8a77980",
511bf6f9083SSergei Shtylyov				     "renesas,etheravb-rcar-gen3";
512bf6f9083SSergei Shtylyov			reg = <0 0xe6800000 0 0x800>;
513bf6f9083SSergei Shtylyov			interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>,
514bf6f9083SSergei Shtylyov				     <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>,
515bf6f9083SSergei Shtylyov				     <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>,
516bf6f9083SSergei Shtylyov				     <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>,
517bf6f9083SSergei Shtylyov				     <GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>,
518bf6f9083SSergei Shtylyov				     <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>,
519bf6f9083SSergei Shtylyov				     <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>,
520bf6f9083SSergei Shtylyov				     <GIC_SPI 46 IRQ_TYPE_LEVEL_HIGH>,
521bf6f9083SSergei Shtylyov				     <GIC_SPI 47 IRQ_TYPE_LEVEL_HIGH>,
522bf6f9083SSergei Shtylyov				     <GIC_SPI 48 IRQ_TYPE_LEVEL_HIGH>,
523bf6f9083SSergei Shtylyov				     <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>,
524bf6f9083SSergei Shtylyov				     <GIC_SPI 50 IRQ_TYPE_LEVEL_HIGH>,
525bf6f9083SSergei Shtylyov				     <GIC_SPI 51 IRQ_TYPE_LEVEL_HIGH>,
526bf6f9083SSergei Shtylyov				     <GIC_SPI 52 IRQ_TYPE_LEVEL_HIGH>,
527bf6f9083SSergei Shtylyov				     <GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH>,
528bf6f9083SSergei Shtylyov				     <GIC_SPI 54 IRQ_TYPE_LEVEL_HIGH>,
529bf6f9083SSergei Shtylyov				     <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>,
530bf6f9083SSergei Shtylyov				     <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>,
531bf6f9083SSergei Shtylyov				     <GIC_SPI 57 IRQ_TYPE_LEVEL_HIGH>,
532bf6f9083SSergei Shtylyov				     <GIC_SPI 58 IRQ_TYPE_LEVEL_HIGH>,
533bf6f9083SSergei Shtylyov				     <GIC_SPI 59 IRQ_TYPE_LEVEL_HIGH>,
534bf6f9083SSergei Shtylyov				     <GIC_SPI 60 IRQ_TYPE_LEVEL_HIGH>,
535bf6f9083SSergei Shtylyov				     <GIC_SPI 61 IRQ_TYPE_LEVEL_HIGH>,
536bf6f9083SSergei Shtylyov				     <GIC_SPI 62 IRQ_TYPE_LEVEL_HIGH>,
537bf6f9083SSergei Shtylyov				     <GIC_SPI 63 IRQ_TYPE_LEVEL_HIGH>;
538bf6f9083SSergei Shtylyov			interrupt-names = "ch0", "ch1", "ch2", "ch3",
539bf6f9083SSergei Shtylyov					  "ch4", "ch5", "ch6", "ch7",
540bf6f9083SSergei Shtylyov					  "ch8", "ch9", "ch10", "ch11",
541bf6f9083SSergei Shtylyov					  "ch12", "ch13", "ch14", "ch15",
542bf6f9083SSergei Shtylyov					  "ch16", "ch17", "ch18", "ch19",
543bf6f9083SSergei Shtylyov					  "ch20", "ch21", "ch22", "ch23",
544bf6f9083SSergei Shtylyov					  "ch24";
545bf6f9083SSergei Shtylyov			clocks = <&cpg CPG_MOD 812>;
5461184ea3fSSergei Shtylyov			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
547bf6f9083SSergei Shtylyov			resets = <&cpg 812>;
548bf6f9083SSergei Shtylyov			phy-mode = "rgmii";
549bf6f9083SSergei Shtylyov			#address-cells = <1>;
550bf6f9083SSergei Shtylyov			#size-cells = <0>;
55152d2e0ceSSergei Shtylyov			status = "disabled";
552bf6f9083SSergei Shtylyov		};
553bf6f9083SSergei Shtylyov
5543601d98cSSergei Shtylyov		scif0: serial@e6e60000 {
5553601d98cSSergei Shtylyov			compatible = "renesas,scif-r8a77980",
5563601d98cSSergei Shtylyov				     "renesas,rcar-gen3-scif",
5573601d98cSSergei Shtylyov				     "renesas,scif";
5583601d98cSSergei Shtylyov			reg = <0 0xe6e60000 0 0x40>;
5593601d98cSSergei Shtylyov			interrupts = <GIC_SPI 152 IRQ_TYPE_LEVEL_HIGH>;
5603601d98cSSergei Shtylyov			clocks = <&cpg CPG_MOD 207>,
561c64cc368SSergei Shtylyov				 <&cpg CPG_CORE R8A77980_CLK_S3D1>,
5623601d98cSSergei Shtylyov				 <&scif_clk>;
5633601d98cSSergei Shtylyov			clock-names = "fck", "brg_int", "scif_clk";
5643601d98cSSergei Shtylyov			dmas = <&dmac1 0x51>, <&dmac1 0x50>,
5653601d98cSSergei Shtylyov			       <&dmac2 0x51>, <&dmac2 0x50>;
5663601d98cSSergei Shtylyov			dma-names = "tx", "rx", "tx", "rx";
5671184ea3fSSergei Shtylyov			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
5683601d98cSSergei Shtylyov			resets = <&cpg 207>;
5693601d98cSSergei Shtylyov			status = "disabled";
5703601d98cSSergei Shtylyov		};
5713601d98cSSergei Shtylyov
5723601d98cSSergei Shtylyov		scif1: serial@e6e68000 {
5733601d98cSSergei Shtylyov			compatible = "renesas,scif-r8a77980",
5743601d98cSSergei Shtylyov				     "renesas,rcar-gen3-scif",
5753601d98cSSergei Shtylyov				     "renesas,scif";
5763601d98cSSergei Shtylyov			reg = <0 0xe6e68000 0 0x40>;
5773601d98cSSergei Shtylyov			interrupts = <GIC_SPI 153 IRQ_TYPE_LEVEL_HIGH>;
5783601d98cSSergei Shtylyov			clocks = <&cpg CPG_MOD 206>,
579c64cc368SSergei Shtylyov				 <&cpg CPG_CORE R8A77980_CLK_S3D1>,
5803601d98cSSergei Shtylyov				 <&scif_clk>;
5813601d98cSSergei Shtylyov			clock-names = "fck", "brg_int", "scif_clk";
5823601d98cSSergei Shtylyov			dmas = <&dmac1 0x53>, <&dmac1 0x52>,
5833601d98cSSergei Shtylyov			       <&dmac2 0x53>, <&dmac2 0x52>;
5843601d98cSSergei Shtylyov			dma-names = "tx", "rx", "tx", "rx";
5851184ea3fSSergei Shtylyov			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
5863601d98cSSergei Shtylyov			resets = <&cpg 206>;
5873601d98cSSergei Shtylyov			status = "disabled";
5883601d98cSSergei Shtylyov		};
5893601d98cSSergei Shtylyov
5903601d98cSSergei Shtylyov		scif3: serial@e6c50000 {
5913601d98cSSergei Shtylyov			compatible = "renesas,scif-r8a77980",
5923601d98cSSergei Shtylyov				     "renesas,rcar-gen3-scif",
5933601d98cSSergei Shtylyov				     "renesas,scif";
5943601d98cSSergei Shtylyov			reg = <0 0xe6c50000 0 0x40>;
5953601d98cSSergei Shtylyov			interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>;
5963601d98cSSergei Shtylyov			clocks = <&cpg CPG_MOD 204>,
597c64cc368SSergei Shtylyov				 <&cpg CPG_CORE R8A77980_CLK_S3D1>,
5983601d98cSSergei Shtylyov				 <&scif_clk>;
5993601d98cSSergei Shtylyov			clock-names = "fck", "brg_int", "scif_clk";
6003601d98cSSergei Shtylyov			dmas = <&dmac1 0x57>, <&dmac1 0x56>,
6013601d98cSSergei Shtylyov			       <&dmac2 0x57>, <&dmac2 0x56>;
6023601d98cSSergei Shtylyov			dma-names = "tx", "rx", "tx", "rx";
6031184ea3fSSergei Shtylyov			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
6043601d98cSSergei Shtylyov			resets = <&cpg 204>;
6053601d98cSSergei Shtylyov			status = "disabled";
6063601d98cSSergei Shtylyov		};
6073601d98cSSergei Shtylyov
6083601d98cSSergei Shtylyov		scif4: serial@e6c40000 {
6093601d98cSSergei Shtylyov			compatible = "renesas,scif-r8a77980",
6103601d98cSSergei Shtylyov				     "renesas,rcar-gen3-scif",
6113601d98cSSergei Shtylyov				     "renesas,scif";
6123601d98cSSergei Shtylyov			reg = <0 0xe6c40000 0 0x40>;
6133601d98cSSergei Shtylyov			interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>;
6143601d98cSSergei Shtylyov			clocks = <&cpg CPG_MOD 203>,
615c64cc368SSergei Shtylyov				 <&cpg CPG_CORE R8A77980_CLK_S3D1>,
6163601d98cSSergei Shtylyov				 <&scif_clk>;
6173601d98cSSergei Shtylyov			clock-names = "fck", "brg_int", "scif_clk";
6183601d98cSSergei Shtylyov			dmas = <&dmac1 0x59>, <&dmac1 0x58>,
6193601d98cSSergei Shtylyov			       <&dmac2 0x59>, <&dmac2 0x58>;
6203601d98cSSergei Shtylyov			dma-names = "tx", "rx", "tx", "rx";
6211184ea3fSSergei Shtylyov			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
6223601d98cSSergei Shtylyov			resets = <&cpg 203>;
6233601d98cSSergei Shtylyov			status = "disabled";
6243601d98cSSergei Shtylyov		};
6253601d98cSSergei Shtylyov
62600d3375fSSergei Shtylyov		dmac1: dma-controller@e7300000 {
62700d3375fSSergei Shtylyov			compatible = "renesas,dmac-r8a77980",
62800d3375fSSergei Shtylyov				     "renesas,rcar-dmac";
62900d3375fSSergei Shtylyov			reg = <0 0xe7300000 0 0x10000>;
63000d3375fSSergei Shtylyov			interrupts = <GIC_SPI 220 IRQ_TYPE_LEVEL_HIGH
63100d3375fSSergei Shtylyov				      GIC_SPI 216 IRQ_TYPE_LEVEL_HIGH
63200d3375fSSergei Shtylyov				      GIC_SPI 217 IRQ_TYPE_LEVEL_HIGH
63300d3375fSSergei Shtylyov				      GIC_SPI 218 IRQ_TYPE_LEVEL_HIGH
63400d3375fSSergei Shtylyov				      GIC_SPI 219 IRQ_TYPE_LEVEL_HIGH
63500d3375fSSergei Shtylyov				      GIC_SPI 308 IRQ_TYPE_LEVEL_HIGH
63600d3375fSSergei Shtylyov				      GIC_SPI 309 IRQ_TYPE_LEVEL_HIGH
63700d3375fSSergei Shtylyov				      GIC_SPI 310 IRQ_TYPE_LEVEL_HIGH
63800d3375fSSergei Shtylyov				      GIC_SPI 311 IRQ_TYPE_LEVEL_HIGH
63900d3375fSSergei Shtylyov				      GIC_SPI 353 IRQ_TYPE_LEVEL_HIGH
64000d3375fSSergei Shtylyov				      GIC_SPI 354 IRQ_TYPE_LEVEL_HIGH
64100d3375fSSergei Shtylyov				      GIC_SPI 355 IRQ_TYPE_LEVEL_HIGH
64200d3375fSSergei Shtylyov				      GIC_SPI 356 IRQ_TYPE_LEVEL_HIGH
64300d3375fSSergei Shtylyov				      GIC_SPI 357 IRQ_TYPE_LEVEL_HIGH
64400d3375fSSergei Shtylyov				      GIC_SPI 358 IRQ_TYPE_LEVEL_HIGH
64500d3375fSSergei Shtylyov				      GIC_SPI 359 IRQ_TYPE_LEVEL_HIGH
64600d3375fSSergei Shtylyov				      GIC_SPI 360 IRQ_TYPE_LEVEL_HIGH>;
64700d3375fSSergei Shtylyov			interrupt-names = "error",
64800d3375fSSergei Shtylyov					  "ch0", "ch1", "ch2", "ch3",
64900d3375fSSergei Shtylyov					  "ch4", "ch5", "ch6", "ch7",
65000d3375fSSergei Shtylyov					  "ch8", "ch9", "ch10", "ch11",
65100d3375fSSergei Shtylyov					  "ch12", "ch13", "ch14", "ch15";
65200d3375fSSergei Shtylyov			clocks = <&cpg CPG_MOD 218>;
65300d3375fSSergei Shtylyov			clock-names = "fck";
6541184ea3fSSergei Shtylyov			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
65500d3375fSSergei Shtylyov			resets = <&cpg 218>;
65600d3375fSSergei Shtylyov			#dma-cells = <1>;
65700d3375fSSergei Shtylyov			dma-channels = <16>;
65800d3375fSSergei Shtylyov		};
65900d3375fSSergei Shtylyov
66000d3375fSSergei Shtylyov		dmac2: dma-controller@e7310000 {
66100d3375fSSergei Shtylyov			compatible = "renesas,dmac-r8a77980",
66200d3375fSSergei Shtylyov				     "renesas,rcar-dmac";
66300d3375fSSergei Shtylyov			reg = <0 0xe7310000 0 0x10000>;
66400d3375fSSergei Shtylyov			interrupts = <GIC_SPI 307 IRQ_TYPE_LEVEL_HIGH
66500d3375fSSergei Shtylyov				      GIC_SPI 312 IRQ_TYPE_LEVEL_HIGH
66600d3375fSSergei Shtylyov				      GIC_SPI 313 IRQ_TYPE_LEVEL_HIGH
66700d3375fSSergei Shtylyov				      GIC_SPI 314 IRQ_TYPE_LEVEL_HIGH
66800d3375fSSergei Shtylyov				      GIC_SPI 315 IRQ_TYPE_LEVEL_HIGH
66900d3375fSSergei Shtylyov				      GIC_SPI 316 IRQ_TYPE_LEVEL_HIGH
67000d3375fSSergei Shtylyov				      GIC_SPI 317 IRQ_TYPE_LEVEL_HIGH
67100d3375fSSergei Shtylyov				      GIC_SPI 318 IRQ_TYPE_LEVEL_HIGH
67200d3375fSSergei Shtylyov				      GIC_SPI 319 IRQ_TYPE_LEVEL_HIGH
67300d3375fSSergei Shtylyov				      GIC_SPI 361 IRQ_TYPE_LEVEL_HIGH
67400d3375fSSergei Shtylyov				      GIC_SPI 362 IRQ_TYPE_LEVEL_HIGH
67500d3375fSSergei Shtylyov				      GIC_SPI 363 IRQ_TYPE_LEVEL_HIGH
67600d3375fSSergei Shtylyov				      GIC_SPI 364 IRQ_TYPE_LEVEL_HIGH
67700d3375fSSergei Shtylyov				      GIC_SPI 365 IRQ_TYPE_LEVEL_HIGH
67800d3375fSSergei Shtylyov				      GIC_SPI 366 IRQ_TYPE_LEVEL_HIGH
67900d3375fSSergei Shtylyov				      GIC_SPI 367 IRQ_TYPE_LEVEL_HIGH
68000d3375fSSergei Shtylyov				      GIC_SPI 368 IRQ_TYPE_LEVEL_HIGH>;
68100d3375fSSergei Shtylyov			interrupt-names = "error",
68200d3375fSSergei Shtylyov					  "ch0", "ch1", "ch2", "ch3",
68300d3375fSSergei Shtylyov					  "ch4", "ch5", "ch6", "ch7",
68400d3375fSSergei Shtylyov					  "ch8", "ch9", "ch10", "ch11",
68500d3375fSSergei Shtylyov					  "ch12", "ch13", "ch14", "ch15";
68600d3375fSSergei Shtylyov			clocks = <&cpg CPG_MOD 217>;
68700d3375fSSergei Shtylyov			clock-names = "fck";
6881184ea3fSSergei Shtylyov			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
68900d3375fSSergei Shtylyov			resets = <&cpg 217>;
69000d3375fSSergei Shtylyov			#dma-cells = <1>;
69100d3375fSSergei Shtylyov			dma-channels = <16>;
69200d3375fSSergei Shtylyov		};
69300d3375fSSergei Shtylyov
69487bea678SSergei Shtylyov		gether: ethernet@e7400000 {
69587bea678SSergei Shtylyov			compatible = "renesas,gether-r8a77980";
69687bea678SSergei Shtylyov			reg = <0 0xe7400000 0 0x1000>;
69787bea678SSergei Shtylyov			interrupts = <GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH>;
69887bea678SSergei Shtylyov			clocks = <&cpg CPG_MOD 813>;
69987bea678SSergei Shtylyov			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
70087bea678SSergei Shtylyov			resets = <&cpg 813>;
70187bea678SSergei Shtylyov			#address-cells = <1>;
70287bea678SSergei Shtylyov			#size-cells = <0>;
70387bea678SSergei Shtylyov			status = "disabled";
70487bea678SSergei Shtylyov		};
70587bea678SSergei Shtylyov
70663eb8ee5SSergei Shtylyov		mmc0: mmc@ee140000 {
70763eb8ee5SSergei Shtylyov			compatible = "renesas,sdhi-r8a77980",
70863eb8ee5SSergei Shtylyov				     "renesas,rcar-gen3-sdhi";
70963eb8ee5SSergei Shtylyov			reg = <0 0xee140000 0 0x2000>;
71063eb8ee5SSergei Shtylyov			interrupts = <GIC_SPI 165 IRQ_TYPE_LEVEL_HIGH>;
71163eb8ee5SSergei Shtylyov			clocks = <&cpg CPG_MOD 314>;
7121184ea3fSSergei Shtylyov			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
71363eb8ee5SSergei Shtylyov			resets = <&cpg 314>;
71463eb8ee5SSergei Shtylyov			max-frequency = <200000000>;
71563eb8ee5SSergei Shtylyov			status = "disabled";
71663eb8ee5SSergei Shtylyov		};
71763eb8ee5SSergei Shtylyov
718f3a54d6cSSergei Shtylyov		gic: interrupt-controller@f1010000 {
719f3a54d6cSSergei Shtylyov			compatible = "arm,gic-400";
720f3a54d6cSSergei Shtylyov			#interrupt-cells = <3>;
721f3a54d6cSSergei Shtylyov			#address-cells = <0>;
722f3a54d6cSSergei Shtylyov			interrupt-controller;
723f3a54d6cSSergei Shtylyov			reg = <0x0 0xf1010000 0 0x1000>,
724f3a54d6cSSergei Shtylyov			      <0x0 0xf1020000 0 0x20000>,
725f3a54d6cSSergei Shtylyov			      <0x0 0xf1040000 0 0x20000>,
726f3a54d6cSSergei Shtylyov			      <0x0 0xf1060000 0 0x20000>;
7272ec1e4b4SSergei Shtylyov			interrupts = <GIC_PPI 9	(GIC_CPU_MASK_SIMPLE(4) |
728f3a54d6cSSergei Shtylyov				      IRQ_TYPE_LEVEL_HIGH)>;
729f3a54d6cSSergei Shtylyov			clocks = <&cpg CPG_MOD 408>;
730f3a54d6cSSergei Shtylyov			clock-names = "clk";
7311184ea3fSSergei Shtylyov			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
732f3a54d6cSSergei Shtylyov			resets = <&cpg 408>;
733f3a54d6cSSergei Shtylyov		};
734f3a54d6cSSergei Shtylyov
735a334e781SSergei Shtylyov		vspd0: vsp@fea20000 {
736a334e781SSergei Shtylyov			compatible = "renesas,vsp2";
737a334e781SSergei Shtylyov			reg = <0 0xfea20000 0 0x5000>;
738a334e781SSergei Shtylyov			interrupts = <GIC_SPI 169 IRQ_TYPE_LEVEL_HIGH>;
739a334e781SSergei Shtylyov			clocks = <&cpg CPG_MOD 623>;
740a334e781SSergei Shtylyov			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
741a334e781SSergei Shtylyov			resets = <&cpg 623>;
742a334e781SSergei Shtylyov			renesas,fcp = <&fcpvd0>;
743a334e781SSergei Shtylyov		};
744a334e781SSergei Shtylyov
745a334e781SSergei Shtylyov		fcpvd0: fcp@fea27000 {
746a334e781SSergei Shtylyov			compatible = "renesas,fcpv";
747a334e781SSergei Shtylyov			reg = <0 0xfea27000 0 0x200>;
748a334e781SSergei Shtylyov			clocks = <&cpg CPG_MOD 603>;
749a334e781SSergei Shtylyov			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
750a334e781SSergei Shtylyov			resets = <&cpg 603>;
751a334e781SSergei Shtylyov		};
752a334e781SSergei Shtylyov
753a334e781SSergei Shtylyov		du: display@feb00000 {
754a334e781SSergei Shtylyov			compatible = "renesas,du-r8a77980",
755a334e781SSergei Shtylyov				     "renesas,du-r8a77970";
756a334e781SSergei Shtylyov			reg = <0 0xfeb00000 0 0x80000>;
757a334e781SSergei Shtylyov			interrupts = <GIC_SPI 256 IRQ_TYPE_LEVEL_HIGH>;
758a334e781SSergei Shtylyov			clocks = <&cpg CPG_MOD 724>;
759a334e781SSergei Shtylyov			clock-names = "du.0";
760a334e781SSergei Shtylyov			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
761a334e781SSergei Shtylyov			resets = <&cpg 724>;
762a334e781SSergei Shtylyov			vsps = <&vspd0>;
763a334e781SSergei Shtylyov			status = "disabled";
764a334e781SSergei Shtylyov
765a334e781SSergei Shtylyov			ports {
766a334e781SSergei Shtylyov				#address-cells = <1>;
767a334e781SSergei Shtylyov				#size-cells = <0>;
768a334e781SSergei Shtylyov
769a334e781SSergei Shtylyov				port@0 {
770a334e781SSergei Shtylyov					reg = <0>;
771a334e781SSergei Shtylyov					du_out_rgb: endpoint {
772a334e781SSergei Shtylyov					};
773a334e781SSergei Shtylyov				};
774a334e781SSergei Shtylyov
775a334e781SSergei Shtylyov				port@1 {
776a334e781SSergei Shtylyov					reg = <1>;
777a334e781SSergei Shtylyov					du_out_lvds0: endpoint {
778a334e781SSergei Shtylyov						remote-endpoint = <&lvds0_in>;
779a334e781SSergei Shtylyov					};
780a334e781SSergei Shtylyov				};
781a334e781SSergei Shtylyov			};
782a334e781SSergei Shtylyov		};
783a334e781SSergei Shtylyov
784a334e781SSergei Shtylyov		lvds0: lvds-encoder@feb90000 {
785a334e781SSergei Shtylyov			compatible = "renesas,r8a77980-lvds";
786a334e781SSergei Shtylyov			reg = <0 0xfeb90000 0 0x14>;
787a334e781SSergei Shtylyov			clocks = <&cpg CPG_MOD 727>;
788a334e781SSergei Shtylyov			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
789a334e781SSergei Shtylyov			resets = <&cpg 727>;
790a334e781SSergei Shtylyov			status = "disabled";
791a334e781SSergei Shtylyov
792a334e781SSergei Shtylyov			ports {
793a334e781SSergei Shtylyov				#address-cells = <1>;
794a334e781SSergei Shtylyov				#size-cells = <0>;
795a334e781SSergei Shtylyov
796a334e781SSergei Shtylyov				port@0 {
797a334e781SSergei Shtylyov					reg = <0>;
798a334e781SSergei Shtylyov					lvds0_in: endpoint {
799a334e781SSergei Shtylyov						remote-endpoint =
800a334e781SSergei Shtylyov							<&du_out_lvds0>;
801a334e781SSergei Shtylyov					};
802a334e781SSergei Shtylyov				};
803a334e781SSergei Shtylyov
804a334e781SSergei Shtylyov				port@1 {
805a334e781SSergei Shtylyov					reg = <1>;
806a334e781SSergei Shtylyov					lvds0_out: endpoint {
807a334e781SSergei Shtylyov					};
808a334e781SSergei Shtylyov				};
809a334e781SSergei Shtylyov			};
810a334e781SSergei Shtylyov		};
811a334e781SSergei Shtylyov
812f3a54d6cSSergei Shtylyov		prr: chipid@fff00044 {
813f3a54d6cSSergei Shtylyov			compatible = "renesas,prr";
814f3a54d6cSSergei Shtylyov			reg = <0 0xfff00044 0 4>;
815f3a54d6cSSergei Shtylyov		};
816f3a54d6cSSergei Shtylyov	};
817f3a54d6cSSergei Shtylyov
818f3a54d6cSSergei Shtylyov	timer {
819f3a54d6cSSergei Shtylyov		compatible = "arm,armv8-timer";
8202ec1e4b4SSergei Shtylyov		interrupts-extended = <&gic GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(4) |
821f3a54d6cSSergei Shtylyov				       IRQ_TYPE_LEVEL_LOW)>,
8222ec1e4b4SSergei Shtylyov				      <&gic GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(4) |
823f3a54d6cSSergei Shtylyov				       IRQ_TYPE_LEVEL_LOW)>,
8242ec1e4b4SSergei Shtylyov				      <&gic GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(4) |
825f3a54d6cSSergei Shtylyov				       IRQ_TYPE_LEVEL_LOW)>,
8262ec1e4b4SSergei Shtylyov				      <&gic GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(4) |
827f3a54d6cSSergei Shtylyov				       IRQ_TYPE_LEVEL_LOW)>;
828f3a54d6cSSergei Shtylyov	};
829f3a54d6cSSergei Shtylyov};
830