xref: /linux/scripts/dtc/include-prefixes/arm64/renesas/r8a77980.dtsi (revision 3601d98ceab56e3d04c9c5e029903bee0337cb94)
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
9f3a54d6cSSergei Shtylyov#include <dt-bindings/interrupt-controller/irq.h>
10f3a54d6cSSergei Shtylyov#include <dt-bindings/interrupt-controller/arm-gic.h>
11f3a54d6cSSergei Shtylyov#include <dt-bindings/clock/renesas-cpg-mssr.h>
12f3a54d6cSSergei Shtylyov
13f3a54d6cSSergei Shtylyov/ {
14f3a54d6cSSergei Shtylyov	compatible = "renesas,r8a77980";
15f3a54d6cSSergei Shtylyov	#address-cells = <2>;
16f3a54d6cSSergei Shtylyov	#size-cells = <2>;
17f3a54d6cSSergei Shtylyov
18f3a54d6cSSergei Shtylyov	cpus {
19f3a54d6cSSergei Shtylyov		#address-cells = <1>;
20f3a54d6cSSergei Shtylyov		#size-cells = <0>;
21f3a54d6cSSergei Shtylyov
22f3a54d6cSSergei Shtylyov		a53_0: cpu@0 {
23f3a54d6cSSergei Shtylyov			device_type = "cpu";
24f3a54d6cSSergei Shtylyov			compatible = "arm,cortex-a53", "arm,armv8";
25f3a54d6cSSergei Shtylyov			reg = <0>;
26f3a54d6cSSergei Shtylyov			clocks = <&cpg CPG_CORE 0>;
27f3a54d6cSSergei Shtylyov			power-domains = <&sysc 5>;
28f3a54d6cSSergei Shtylyov			next-level-cache = <&L2_CA53>;
29f3a54d6cSSergei Shtylyov			enable-method = "psci";
30f3a54d6cSSergei Shtylyov		};
31f3a54d6cSSergei Shtylyov
32f3a54d6cSSergei Shtylyov		L2_CA53: cache-controller {
33f3a54d6cSSergei Shtylyov			compatible = "cache";
34f3a54d6cSSergei Shtylyov			power-domains = <&sysc 21>;
35f3a54d6cSSergei Shtylyov			cache-unified;
36f3a54d6cSSergei Shtylyov			cache-level = <2>;
37f3a54d6cSSergei Shtylyov		};
38f3a54d6cSSergei Shtylyov	};
39f3a54d6cSSergei Shtylyov
40f3a54d6cSSergei Shtylyov	extal_clk: extal {
41f3a54d6cSSergei Shtylyov		compatible = "fixed-clock";
42f3a54d6cSSergei Shtylyov		#clock-cells = <0>;
43f3a54d6cSSergei Shtylyov		/* This value must be overridden by the board */
44f3a54d6cSSergei Shtylyov		clock-frequency = <0>;
45f3a54d6cSSergei Shtylyov	};
46f3a54d6cSSergei Shtylyov
47f3a54d6cSSergei Shtylyov	extalr_clk: extalr {
48f3a54d6cSSergei Shtylyov		compatible = "fixed-clock";
49f3a54d6cSSergei Shtylyov		#clock-cells = <0>;
50f3a54d6cSSergei Shtylyov		/* This value must be overridden by the board */
51f3a54d6cSSergei Shtylyov		clock-frequency = <0>;
52f3a54d6cSSergei Shtylyov	};
53f3a54d6cSSergei Shtylyov
54f3a54d6cSSergei Shtylyov	psci {
55f3a54d6cSSergei Shtylyov		compatible = "arm,psci-1.0", "arm,psci-0.2";
56f3a54d6cSSergei Shtylyov		method = "smc";
57f3a54d6cSSergei Shtylyov	};
58f3a54d6cSSergei Shtylyov
59*3601d98cSSergei Shtylyov	/* External SCIF clock - to be overridden by boards that provide it */
60*3601d98cSSergei Shtylyov	scif_clk: scif {
61*3601d98cSSergei Shtylyov		compatible = "fixed-clock";
62*3601d98cSSergei Shtylyov		#clock-cells = <0>;
63*3601d98cSSergei Shtylyov		clock-frequency = <0>;
64*3601d98cSSergei Shtylyov	};
65*3601d98cSSergei Shtylyov
66f3a54d6cSSergei Shtylyov	soc {
67f3a54d6cSSergei Shtylyov		compatible = "simple-bus";
68f3a54d6cSSergei Shtylyov		interrupt-parent = <&gic>;
69f3a54d6cSSergei Shtylyov
70f3a54d6cSSergei Shtylyov		#address-cells = <2>;
71f3a54d6cSSergei Shtylyov		#size-cells = <2>;
72f3a54d6cSSergei Shtylyov		ranges;
73f3a54d6cSSergei Shtylyov
74f3a54d6cSSergei Shtylyov		cpg: clock-controller@e6150000 {
75f3a54d6cSSergei Shtylyov			compatible = "renesas,r8a77980-cpg-mssr";
76f3a54d6cSSergei Shtylyov			reg = <0 0xe6150000 0 0x1000>;
77f3a54d6cSSergei Shtylyov			clocks = <&extal_clk>, <&extalr_clk>;
78f3a54d6cSSergei Shtylyov			clock-names = "extal", "extalr";
79f3a54d6cSSergei Shtylyov			#clock-cells = <2>;
80f3a54d6cSSergei Shtylyov			#power-domain-cells = <0>;
81f3a54d6cSSergei Shtylyov			#reset-cells = <1>;
82f3a54d6cSSergei Shtylyov		};
83f3a54d6cSSergei Shtylyov
84f3a54d6cSSergei Shtylyov		rst: reset-controller@e6160000 {
85f3a54d6cSSergei Shtylyov			compatible = "renesas,r8a77980-rst";
86f3a54d6cSSergei Shtylyov			reg = <0 0xe6160000 0 0x200>;
87f3a54d6cSSergei Shtylyov		};
88f3a54d6cSSergei Shtylyov
89f3a54d6cSSergei Shtylyov		sysc: system-controller@e6180000 {
90f3a54d6cSSergei Shtylyov			compatible = "renesas,r8a77980-sysc";
91f3a54d6cSSergei Shtylyov			reg = <0 0xe6180000 0 0x440>;
92f3a54d6cSSergei Shtylyov			#power-domain-cells = <1>;
93f3a54d6cSSergei Shtylyov		};
94f3a54d6cSSergei Shtylyov
95*3601d98cSSergei Shtylyov		hscif0: serial@e6540000 {
96*3601d98cSSergei Shtylyov			compatible = "renesas,hscif-r8a77980",
97*3601d98cSSergei Shtylyov				     "renesas,rcar-gen3-hscif",
98*3601d98cSSergei Shtylyov				     "renesas,hscif";
99*3601d98cSSergei Shtylyov			reg = <0 0xe6540000 0 0x60>;
100*3601d98cSSergei Shtylyov			interrupts = <GIC_SPI 154 IRQ_TYPE_LEVEL_HIGH>;
101*3601d98cSSergei Shtylyov			clocks = <&cpg CPG_MOD 520>,
102*3601d98cSSergei Shtylyov				 <&cpg CPG_CORE 19>,
103*3601d98cSSergei Shtylyov				 <&scif_clk>;
104*3601d98cSSergei Shtylyov			clock-names = "fck", "brg_int", "scif_clk";
105*3601d98cSSergei Shtylyov			dmas = <&dmac1 0x31>, <&dmac1 0x30>,
106*3601d98cSSergei Shtylyov			       <&dmac2 0x31>, <&dmac2 0x30>;
107*3601d98cSSergei Shtylyov			dma-names = "tx", "rx", "tx", "rx";
108*3601d98cSSergei Shtylyov			power-domains = <&sysc 32>;
109*3601d98cSSergei Shtylyov			resets = <&cpg 520>;
110*3601d98cSSergei Shtylyov			status = "disabled";
111*3601d98cSSergei Shtylyov		};
112*3601d98cSSergei Shtylyov
113*3601d98cSSergei Shtylyov		hscif1: serial@e6550000 {
114*3601d98cSSergei Shtylyov			compatible = "renesas,hscif-r8a77980",
115*3601d98cSSergei Shtylyov				     "renesas,rcar-gen3-hscif",
116*3601d98cSSergei Shtylyov				     "renesas,hscif";
117*3601d98cSSergei Shtylyov			reg = <0 0xe6550000 0 0x60>;
118*3601d98cSSergei Shtylyov			interrupts = <GIC_SPI 155 IRQ_TYPE_LEVEL_HIGH>;
119*3601d98cSSergei Shtylyov			clocks = <&cpg CPG_MOD 519>,
120*3601d98cSSergei Shtylyov				 <&cpg CPG_CORE 19>,
121*3601d98cSSergei Shtylyov				 <&scif_clk>;
122*3601d98cSSergei Shtylyov			clock-names = "fck", "brg_int", "scif_clk";
123*3601d98cSSergei Shtylyov			dmas = <&dmac1 0x33>, <&dmac1 0x32>,
124*3601d98cSSergei Shtylyov			       <&dmac2 0x33>, <&dmac2 0x32>;
125*3601d98cSSergei Shtylyov			dma-names = "tx", "rx", "tx", "rx";
126*3601d98cSSergei Shtylyov			power-domains = <&sysc 32>;
127*3601d98cSSergei Shtylyov			resets = <&cpg 519>;
128*3601d98cSSergei Shtylyov			status = "disabled";
129*3601d98cSSergei Shtylyov		};
130*3601d98cSSergei Shtylyov
131*3601d98cSSergei Shtylyov		hscif2: serial@e6560000 {
132*3601d98cSSergei Shtylyov			compatible = "renesas,hscif-r8a77980",
133*3601d98cSSergei Shtylyov				     "renesas,rcar-gen3-hscif",
134*3601d98cSSergei Shtylyov				     "renesas,hscif";
135*3601d98cSSergei Shtylyov			reg = <0 0xe6560000 0 0x60>;
136*3601d98cSSergei Shtylyov			interrupts = <GIC_SPI 144 IRQ_TYPE_LEVEL_HIGH>;
137*3601d98cSSergei Shtylyov			clocks = <&cpg CPG_MOD 518>,
138*3601d98cSSergei Shtylyov				 <&cpg CPG_CORE 19>,
139*3601d98cSSergei Shtylyov				 <&scif_clk>;
140*3601d98cSSergei Shtylyov			clock-names = "fck", "brg_int", "scif_clk";
141*3601d98cSSergei Shtylyov			dmas = <&dmac1 0x35>, <&dmac1 0x34>,
142*3601d98cSSergei Shtylyov			       <&dmac2 0x35>, <&dmac2 0x34>;
143*3601d98cSSergei Shtylyov			dma-names = "tx", "rx", "tx", "rx";
144*3601d98cSSergei Shtylyov			power-domains = <&sysc 32>;
145*3601d98cSSergei Shtylyov			resets = <&cpg 518>;
146*3601d98cSSergei Shtylyov			status = "disabled";
147*3601d98cSSergei Shtylyov		};
148*3601d98cSSergei Shtylyov
149*3601d98cSSergei Shtylyov		hscif3: serial@e66a0000 {
150*3601d98cSSergei Shtylyov			compatible = "renesas,hscif-r8a77980",
151*3601d98cSSergei Shtylyov				     "renesas,rcar-gen3-hscif",
152*3601d98cSSergei Shtylyov				     "renesas,hscif";
153*3601d98cSSergei Shtylyov			reg = <0 0xe66a0000 0 0x60>;
154*3601d98cSSergei Shtylyov			interrupts = <GIC_SPI 145 IRQ_TYPE_LEVEL_HIGH>;
155*3601d98cSSergei Shtylyov			clocks = <&cpg CPG_MOD 517>,
156*3601d98cSSergei Shtylyov				 <&cpg CPG_CORE 19>,
157*3601d98cSSergei Shtylyov				 <&scif_clk>;
158*3601d98cSSergei Shtylyov			clock-names = "fck", "brg_int", "scif_clk";
159*3601d98cSSergei Shtylyov			dmas = <&dmac1 0x37>, <&dmac1 0x36>,
160*3601d98cSSergei Shtylyov			       <&dmac2 0x37>, <&dmac2 0x36>;
161*3601d98cSSergei Shtylyov			dma-names = "tx", "rx", "tx", "rx";
162*3601d98cSSergei Shtylyov			power-domains = <&sysc 32>;
163*3601d98cSSergei Shtylyov			resets = <&cpg 517>;
164*3601d98cSSergei Shtylyov			status = "disabled";
165*3601d98cSSergei Shtylyov		};
166*3601d98cSSergei Shtylyov
167*3601d98cSSergei Shtylyov		scif0: serial@e6e60000 {
168*3601d98cSSergei Shtylyov			compatible = "renesas,scif-r8a77980",
169*3601d98cSSergei Shtylyov				     "renesas,rcar-gen3-scif",
170*3601d98cSSergei Shtylyov				     "renesas,scif";
171*3601d98cSSergei Shtylyov			reg = <0 0xe6e60000 0 0x40>;
172*3601d98cSSergei Shtylyov			interrupts = <GIC_SPI 152 IRQ_TYPE_LEVEL_HIGH>;
173*3601d98cSSergei Shtylyov			clocks = <&cpg CPG_MOD 207>,
174*3601d98cSSergei Shtylyov				 <&cpg CPG_CORE 19>,
175*3601d98cSSergei Shtylyov				 <&scif_clk>;
176*3601d98cSSergei Shtylyov			clock-names = "fck", "brg_int", "scif_clk";
177*3601d98cSSergei Shtylyov			dmas = <&dmac1 0x51>, <&dmac1 0x50>,
178*3601d98cSSergei Shtylyov			       <&dmac2 0x51>, <&dmac2 0x50>;
179*3601d98cSSergei Shtylyov			dma-names = "tx", "rx", "tx", "rx";
180*3601d98cSSergei Shtylyov			power-domains = <&sysc 32>;
181*3601d98cSSergei Shtylyov			resets = <&cpg 207>;
182*3601d98cSSergei Shtylyov			status = "disabled";
183*3601d98cSSergei Shtylyov		};
184*3601d98cSSergei Shtylyov
185*3601d98cSSergei Shtylyov		scif1: serial@e6e68000 {
186*3601d98cSSergei Shtylyov			compatible = "renesas,scif-r8a77980",
187*3601d98cSSergei Shtylyov				     "renesas,rcar-gen3-scif",
188*3601d98cSSergei Shtylyov				     "renesas,scif";
189*3601d98cSSergei Shtylyov			reg = <0 0xe6e68000 0 0x40>;
190*3601d98cSSergei Shtylyov			interrupts = <GIC_SPI 153 IRQ_TYPE_LEVEL_HIGH>;
191*3601d98cSSergei Shtylyov			clocks = <&cpg CPG_MOD 206>,
192*3601d98cSSergei Shtylyov				 <&cpg CPG_CORE 19>,
193*3601d98cSSergei Shtylyov				 <&scif_clk>;
194*3601d98cSSergei Shtylyov			clock-names = "fck", "brg_int", "scif_clk";
195*3601d98cSSergei Shtylyov			dmas = <&dmac1 0x53>, <&dmac1 0x52>,
196*3601d98cSSergei Shtylyov			       <&dmac2 0x53>, <&dmac2 0x52>;
197*3601d98cSSergei Shtylyov			dma-names = "tx", "rx", "tx", "rx";
198*3601d98cSSergei Shtylyov			power-domains = <&sysc 32>;
199*3601d98cSSergei Shtylyov			resets = <&cpg 206>;
200*3601d98cSSergei Shtylyov			status = "disabled";
201*3601d98cSSergei Shtylyov		};
202*3601d98cSSergei Shtylyov
203*3601d98cSSergei Shtylyov		scif3: serial@e6c50000 {
204*3601d98cSSergei Shtylyov			compatible = "renesas,scif-r8a77980",
205*3601d98cSSergei Shtylyov				     "renesas,rcar-gen3-scif",
206*3601d98cSSergei Shtylyov				     "renesas,scif";
207*3601d98cSSergei Shtylyov			reg = <0 0xe6c50000 0 0x40>;
208*3601d98cSSergei Shtylyov			interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>;
209*3601d98cSSergei Shtylyov			clocks = <&cpg CPG_MOD 204>,
210*3601d98cSSergei Shtylyov				 <&cpg CPG_CORE 19>,
211*3601d98cSSergei Shtylyov				 <&scif_clk>;
212*3601d98cSSergei Shtylyov			clock-names = "fck", "brg_int", "scif_clk";
213*3601d98cSSergei Shtylyov			dmas = <&dmac1 0x57>, <&dmac1 0x56>,
214*3601d98cSSergei Shtylyov			       <&dmac2 0x57>, <&dmac2 0x56>;
215*3601d98cSSergei Shtylyov			dma-names = "tx", "rx", "tx", "rx";
216*3601d98cSSergei Shtylyov			power-domains = <&sysc 32>;
217*3601d98cSSergei Shtylyov			resets = <&cpg 204>;
218*3601d98cSSergei Shtylyov			status = "disabled";
219*3601d98cSSergei Shtylyov		};
220*3601d98cSSergei Shtylyov
221*3601d98cSSergei Shtylyov		scif4: serial@e6c40000 {
222*3601d98cSSergei Shtylyov			compatible = "renesas,scif-r8a77980",
223*3601d98cSSergei Shtylyov				     "renesas,rcar-gen3-scif",
224*3601d98cSSergei Shtylyov				     "renesas,scif";
225*3601d98cSSergei Shtylyov			reg = <0 0xe6c40000 0 0x40>;
226*3601d98cSSergei Shtylyov			interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>;
227*3601d98cSSergei Shtylyov			clocks = <&cpg CPG_MOD 203>,
228*3601d98cSSergei Shtylyov				 <&cpg CPG_CORE 19>,
229*3601d98cSSergei Shtylyov				 <&scif_clk>;
230*3601d98cSSergei Shtylyov			clock-names = "fck", "brg_int", "scif_clk";
231*3601d98cSSergei Shtylyov			dmas = <&dmac1 0x59>, <&dmac1 0x58>,
232*3601d98cSSergei Shtylyov			       <&dmac2 0x59>, <&dmac2 0x58>;
233*3601d98cSSergei Shtylyov			dma-names = "tx", "rx", "tx", "rx";
234*3601d98cSSergei Shtylyov			power-domains = <&sysc 32>;
235*3601d98cSSergei Shtylyov			resets = <&cpg 203>;
236*3601d98cSSergei Shtylyov			status = "disabled";
237*3601d98cSSergei Shtylyov		};
238*3601d98cSSergei Shtylyov
23900d3375fSSergei Shtylyov		dmac1: dma-controller@e7300000 {
24000d3375fSSergei Shtylyov			compatible = "renesas,dmac-r8a77980",
24100d3375fSSergei Shtylyov				     "renesas,rcar-dmac";
24200d3375fSSergei Shtylyov			reg = <0 0xe7300000 0 0x10000>;
24300d3375fSSergei Shtylyov			interrupts = <GIC_SPI 220 IRQ_TYPE_LEVEL_HIGH
24400d3375fSSergei Shtylyov				      GIC_SPI 216 IRQ_TYPE_LEVEL_HIGH
24500d3375fSSergei Shtylyov				      GIC_SPI 217 IRQ_TYPE_LEVEL_HIGH
24600d3375fSSergei Shtylyov				      GIC_SPI 218 IRQ_TYPE_LEVEL_HIGH
24700d3375fSSergei Shtylyov				      GIC_SPI 219 IRQ_TYPE_LEVEL_HIGH
24800d3375fSSergei Shtylyov				      GIC_SPI 308 IRQ_TYPE_LEVEL_HIGH
24900d3375fSSergei Shtylyov				      GIC_SPI 309 IRQ_TYPE_LEVEL_HIGH
25000d3375fSSergei Shtylyov				      GIC_SPI 310 IRQ_TYPE_LEVEL_HIGH
25100d3375fSSergei Shtylyov				      GIC_SPI 311 IRQ_TYPE_LEVEL_HIGH
25200d3375fSSergei Shtylyov				      GIC_SPI 353 IRQ_TYPE_LEVEL_HIGH
25300d3375fSSergei Shtylyov				      GIC_SPI 354 IRQ_TYPE_LEVEL_HIGH
25400d3375fSSergei Shtylyov				      GIC_SPI 355 IRQ_TYPE_LEVEL_HIGH
25500d3375fSSergei Shtylyov				      GIC_SPI 356 IRQ_TYPE_LEVEL_HIGH
25600d3375fSSergei Shtylyov				      GIC_SPI 357 IRQ_TYPE_LEVEL_HIGH
25700d3375fSSergei Shtylyov				      GIC_SPI 358 IRQ_TYPE_LEVEL_HIGH
25800d3375fSSergei Shtylyov				      GIC_SPI 359 IRQ_TYPE_LEVEL_HIGH
25900d3375fSSergei Shtylyov				      GIC_SPI 360 IRQ_TYPE_LEVEL_HIGH>;
26000d3375fSSergei Shtylyov			interrupt-names = "error",
26100d3375fSSergei Shtylyov					  "ch0", "ch1", "ch2", "ch3",
26200d3375fSSergei Shtylyov					  "ch4", "ch5", "ch6", "ch7",
26300d3375fSSergei Shtylyov					  "ch8", "ch9", "ch10", "ch11",
26400d3375fSSergei Shtylyov					  "ch12", "ch13", "ch14", "ch15";
26500d3375fSSergei Shtylyov			clocks = <&cpg CPG_MOD 218>;
26600d3375fSSergei Shtylyov			clock-names = "fck";
26700d3375fSSergei Shtylyov			power-domains = <&sysc 32>;
26800d3375fSSergei Shtylyov			resets = <&cpg 218>;
26900d3375fSSergei Shtylyov			#dma-cells = <1>;
27000d3375fSSergei Shtylyov			dma-channels = <16>;
27100d3375fSSergei Shtylyov		};
27200d3375fSSergei Shtylyov
27300d3375fSSergei Shtylyov		dmac2: dma-controller@e7310000 {
27400d3375fSSergei Shtylyov			compatible = "renesas,dmac-r8a77980",
27500d3375fSSergei Shtylyov				     "renesas,rcar-dmac";
27600d3375fSSergei Shtylyov			reg = <0 0xe7310000 0 0x10000>;
27700d3375fSSergei Shtylyov			interrupts = <GIC_SPI 307 IRQ_TYPE_LEVEL_HIGH
27800d3375fSSergei Shtylyov				      GIC_SPI 312 IRQ_TYPE_LEVEL_HIGH
27900d3375fSSergei Shtylyov				      GIC_SPI 313 IRQ_TYPE_LEVEL_HIGH
28000d3375fSSergei Shtylyov				      GIC_SPI 314 IRQ_TYPE_LEVEL_HIGH
28100d3375fSSergei Shtylyov				      GIC_SPI 315 IRQ_TYPE_LEVEL_HIGH
28200d3375fSSergei Shtylyov				      GIC_SPI 316 IRQ_TYPE_LEVEL_HIGH
28300d3375fSSergei Shtylyov				      GIC_SPI 317 IRQ_TYPE_LEVEL_HIGH
28400d3375fSSergei Shtylyov				      GIC_SPI 318 IRQ_TYPE_LEVEL_HIGH
28500d3375fSSergei Shtylyov				      GIC_SPI 319 IRQ_TYPE_LEVEL_HIGH
28600d3375fSSergei Shtylyov				      GIC_SPI 361 IRQ_TYPE_LEVEL_HIGH
28700d3375fSSergei Shtylyov				      GIC_SPI 362 IRQ_TYPE_LEVEL_HIGH
28800d3375fSSergei Shtylyov				      GIC_SPI 363 IRQ_TYPE_LEVEL_HIGH
28900d3375fSSergei Shtylyov				      GIC_SPI 364 IRQ_TYPE_LEVEL_HIGH
29000d3375fSSergei Shtylyov				      GIC_SPI 365 IRQ_TYPE_LEVEL_HIGH
29100d3375fSSergei Shtylyov				      GIC_SPI 366 IRQ_TYPE_LEVEL_HIGH
29200d3375fSSergei Shtylyov				      GIC_SPI 367 IRQ_TYPE_LEVEL_HIGH
29300d3375fSSergei Shtylyov				      GIC_SPI 368 IRQ_TYPE_LEVEL_HIGH>;
29400d3375fSSergei Shtylyov			interrupt-names = "error",
29500d3375fSSergei Shtylyov					  "ch0", "ch1", "ch2", "ch3",
29600d3375fSSergei Shtylyov					  "ch4", "ch5", "ch6", "ch7",
29700d3375fSSergei Shtylyov					  "ch8", "ch9", "ch10", "ch11",
29800d3375fSSergei Shtylyov					  "ch12", "ch13", "ch14", "ch15";
29900d3375fSSergei Shtylyov			clocks = <&cpg CPG_MOD 217>;
30000d3375fSSergei Shtylyov			clock-names = "fck";
30100d3375fSSergei Shtylyov			power-domains = <&sysc 32>;
30200d3375fSSergei Shtylyov			resets = <&cpg 217>;
30300d3375fSSergei Shtylyov			#dma-cells = <1>;
30400d3375fSSergei Shtylyov			dma-channels = <16>;
30500d3375fSSergei Shtylyov		};
30600d3375fSSergei Shtylyov
307f3a54d6cSSergei Shtylyov		gic: interrupt-controller@f1010000 {
308f3a54d6cSSergei Shtylyov			compatible = "arm,gic-400";
309f3a54d6cSSergei Shtylyov			#interrupt-cells = <3>;
310f3a54d6cSSergei Shtylyov			#address-cells = <0>;
311f3a54d6cSSergei Shtylyov			interrupt-controller;
312f3a54d6cSSergei Shtylyov			reg = <0x0 0xf1010000 0 0x1000>,
313f3a54d6cSSergei Shtylyov			      <0x0 0xf1020000 0 0x20000>,
314f3a54d6cSSergei Shtylyov			      <0x0 0xf1040000 0 0x20000>,
315f3a54d6cSSergei Shtylyov			      <0x0 0xf1060000 0 0x20000>;
316f3a54d6cSSergei Shtylyov			interrupts = <GIC_PPI 9	(GIC_CPU_MASK_SIMPLE(1) |
317f3a54d6cSSergei Shtylyov				      IRQ_TYPE_LEVEL_HIGH)>;
318f3a54d6cSSergei Shtylyov			clocks = <&cpg CPG_MOD 408>;
319f3a54d6cSSergei Shtylyov			clock-names = "clk";
320f3a54d6cSSergei Shtylyov			power-domains = <&sysc 32>;
321f3a54d6cSSergei Shtylyov			resets = <&cpg 408>;
322f3a54d6cSSergei Shtylyov		};
323f3a54d6cSSergei Shtylyov
324f3a54d6cSSergei Shtylyov		prr: chipid@fff00044 {
325f3a54d6cSSergei Shtylyov			compatible = "renesas,prr";
326f3a54d6cSSergei Shtylyov			reg = <0 0xfff00044 0 4>;
327f3a54d6cSSergei Shtylyov		};
328f3a54d6cSSergei Shtylyov	};
329f3a54d6cSSergei Shtylyov
330f3a54d6cSSergei Shtylyov	timer {
331f3a54d6cSSergei Shtylyov		compatible = "arm,armv8-timer";
332f3a54d6cSSergei Shtylyov		interrupts-extended = <&gic GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(1) |
333f3a54d6cSSergei Shtylyov				       IRQ_TYPE_LEVEL_LOW)>,
334f3a54d6cSSergei Shtylyov				      <&gic GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(1) |
335f3a54d6cSSergei Shtylyov				       IRQ_TYPE_LEVEL_LOW)>,
336f3a54d6cSSergei Shtylyov				      <&gic GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(1) |
337f3a54d6cSSergei Shtylyov				       IRQ_TYPE_LEVEL_LOW)>,
338f3a54d6cSSergei Shtylyov				      <&gic GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(1) |
339f3a54d6cSSergei Shtylyov				       IRQ_TYPE_LEVEL_LOW)>;
340f3a54d6cSSergei Shtylyov	};
341f3a54d6cSSergei Shtylyov};
342