xref: /linux/scripts/dtc/include-prefixes/arm64/renesas/r8a77980.dtsi (revision bf6f90832f81710ee944dce05ecbef04d1943664)
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
593601d98cSSergei Shtylyov	/* External SCIF clock - to be overridden by boards that provide it */
603601d98cSSergei Shtylyov	scif_clk: scif {
613601d98cSSergei Shtylyov		compatible = "fixed-clock";
623601d98cSSergei Shtylyov		#clock-cells = <0>;
633601d98cSSergei Shtylyov		clock-frequency = <0>;
643601d98cSSergei Shtylyov	};
653601d98cSSergei 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
953601d98cSSergei Shtylyov		hscif0: serial@e6540000 {
963601d98cSSergei Shtylyov			compatible = "renesas,hscif-r8a77980",
973601d98cSSergei Shtylyov				     "renesas,rcar-gen3-hscif",
983601d98cSSergei Shtylyov				     "renesas,hscif";
993601d98cSSergei Shtylyov			reg = <0 0xe6540000 0 0x60>;
1003601d98cSSergei Shtylyov			interrupts = <GIC_SPI 154 IRQ_TYPE_LEVEL_HIGH>;
1013601d98cSSergei Shtylyov			clocks = <&cpg CPG_MOD 520>,
1023601d98cSSergei Shtylyov				 <&cpg CPG_CORE 19>,
1033601d98cSSergei Shtylyov				 <&scif_clk>;
1043601d98cSSergei Shtylyov			clock-names = "fck", "brg_int", "scif_clk";
1053601d98cSSergei Shtylyov			dmas = <&dmac1 0x31>, <&dmac1 0x30>,
1063601d98cSSergei Shtylyov			       <&dmac2 0x31>, <&dmac2 0x30>;
1073601d98cSSergei Shtylyov			dma-names = "tx", "rx", "tx", "rx";
1083601d98cSSergei Shtylyov			power-domains = <&sysc 32>;
1093601d98cSSergei Shtylyov			resets = <&cpg 520>;
1103601d98cSSergei Shtylyov			status = "disabled";
1113601d98cSSergei Shtylyov		};
1123601d98cSSergei Shtylyov
1133601d98cSSergei Shtylyov		hscif1: serial@e6550000 {
1143601d98cSSergei Shtylyov			compatible = "renesas,hscif-r8a77980",
1153601d98cSSergei Shtylyov				     "renesas,rcar-gen3-hscif",
1163601d98cSSergei Shtylyov				     "renesas,hscif";
1173601d98cSSergei Shtylyov			reg = <0 0xe6550000 0 0x60>;
1183601d98cSSergei Shtylyov			interrupts = <GIC_SPI 155 IRQ_TYPE_LEVEL_HIGH>;
1193601d98cSSergei Shtylyov			clocks = <&cpg CPG_MOD 519>,
1203601d98cSSergei Shtylyov				 <&cpg CPG_CORE 19>,
1213601d98cSSergei Shtylyov				 <&scif_clk>;
1223601d98cSSergei Shtylyov			clock-names = "fck", "brg_int", "scif_clk";
1233601d98cSSergei Shtylyov			dmas = <&dmac1 0x33>, <&dmac1 0x32>,
1243601d98cSSergei Shtylyov			       <&dmac2 0x33>, <&dmac2 0x32>;
1253601d98cSSergei Shtylyov			dma-names = "tx", "rx", "tx", "rx";
1263601d98cSSergei Shtylyov			power-domains = <&sysc 32>;
1273601d98cSSergei Shtylyov			resets = <&cpg 519>;
1283601d98cSSergei Shtylyov			status = "disabled";
1293601d98cSSergei Shtylyov		};
1303601d98cSSergei Shtylyov
1313601d98cSSergei Shtylyov		hscif2: serial@e6560000 {
1323601d98cSSergei Shtylyov			compatible = "renesas,hscif-r8a77980",
1333601d98cSSergei Shtylyov				     "renesas,rcar-gen3-hscif",
1343601d98cSSergei Shtylyov				     "renesas,hscif";
1353601d98cSSergei Shtylyov			reg = <0 0xe6560000 0 0x60>;
1363601d98cSSergei Shtylyov			interrupts = <GIC_SPI 144 IRQ_TYPE_LEVEL_HIGH>;
1373601d98cSSergei Shtylyov			clocks = <&cpg CPG_MOD 518>,
1383601d98cSSergei Shtylyov				 <&cpg CPG_CORE 19>,
1393601d98cSSergei Shtylyov				 <&scif_clk>;
1403601d98cSSergei Shtylyov			clock-names = "fck", "brg_int", "scif_clk";
1413601d98cSSergei Shtylyov			dmas = <&dmac1 0x35>, <&dmac1 0x34>,
1423601d98cSSergei Shtylyov			       <&dmac2 0x35>, <&dmac2 0x34>;
1433601d98cSSergei Shtylyov			dma-names = "tx", "rx", "tx", "rx";
1443601d98cSSergei Shtylyov			power-domains = <&sysc 32>;
1453601d98cSSergei Shtylyov			resets = <&cpg 518>;
1463601d98cSSergei Shtylyov			status = "disabled";
1473601d98cSSergei Shtylyov		};
1483601d98cSSergei Shtylyov
1493601d98cSSergei Shtylyov		hscif3: serial@e66a0000 {
1503601d98cSSergei Shtylyov			compatible = "renesas,hscif-r8a77980",
1513601d98cSSergei Shtylyov				     "renesas,rcar-gen3-hscif",
1523601d98cSSergei Shtylyov				     "renesas,hscif";
1533601d98cSSergei Shtylyov			reg = <0 0xe66a0000 0 0x60>;
1543601d98cSSergei Shtylyov			interrupts = <GIC_SPI 145 IRQ_TYPE_LEVEL_HIGH>;
1553601d98cSSergei Shtylyov			clocks = <&cpg CPG_MOD 517>,
1563601d98cSSergei Shtylyov				 <&cpg CPG_CORE 19>,
1573601d98cSSergei Shtylyov				 <&scif_clk>;
1583601d98cSSergei Shtylyov			clock-names = "fck", "brg_int", "scif_clk";
1593601d98cSSergei Shtylyov			dmas = <&dmac1 0x37>, <&dmac1 0x36>,
1603601d98cSSergei Shtylyov			       <&dmac2 0x37>, <&dmac2 0x36>;
1613601d98cSSergei Shtylyov			dma-names = "tx", "rx", "tx", "rx";
1623601d98cSSergei Shtylyov			power-domains = <&sysc 32>;
1633601d98cSSergei Shtylyov			resets = <&cpg 517>;
1643601d98cSSergei Shtylyov			status = "disabled";
1653601d98cSSergei Shtylyov		};
1663601d98cSSergei Shtylyov
167*bf6f9083SSergei Shtylyov		avb: ethernet@e6800000 {
168*bf6f9083SSergei Shtylyov			compatible = "renesas,etheravb-r8a77980",
169*bf6f9083SSergei Shtylyov				     "renesas,etheravb-rcar-gen3";
170*bf6f9083SSergei Shtylyov			reg = <0 0xe6800000 0 0x800>;
171*bf6f9083SSergei Shtylyov			interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>,
172*bf6f9083SSergei Shtylyov				     <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>,
173*bf6f9083SSergei Shtylyov				     <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>,
174*bf6f9083SSergei Shtylyov				     <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>,
175*bf6f9083SSergei Shtylyov				     <GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>,
176*bf6f9083SSergei Shtylyov				     <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>,
177*bf6f9083SSergei Shtylyov				     <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>,
178*bf6f9083SSergei Shtylyov				     <GIC_SPI 46 IRQ_TYPE_LEVEL_HIGH>,
179*bf6f9083SSergei Shtylyov				     <GIC_SPI 47 IRQ_TYPE_LEVEL_HIGH>,
180*bf6f9083SSergei Shtylyov				     <GIC_SPI 48 IRQ_TYPE_LEVEL_HIGH>,
181*bf6f9083SSergei Shtylyov				     <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>,
182*bf6f9083SSergei Shtylyov				     <GIC_SPI 50 IRQ_TYPE_LEVEL_HIGH>,
183*bf6f9083SSergei Shtylyov				     <GIC_SPI 51 IRQ_TYPE_LEVEL_HIGH>,
184*bf6f9083SSergei Shtylyov				     <GIC_SPI 52 IRQ_TYPE_LEVEL_HIGH>,
185*bf6f9083SSergei Shtylyov				     <GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH>,
186*bf6f9083SSergei Shtylyov				     <GIC_SPI 54 IRQ_TYPE_LEVEL_HIGH>,
187*bf6f9083SSergei Shtylyov				     <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>,
188*bf6f9083SSergei Shtylyov				     <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>,
189*bf6f9083SSergei Shtylyov				     <GIC_SPI 57 IRQ_TYPE_LEVEL_HIGH>,
190*bf6f9083SSergei Shtylyov				     <GIC_SPI 58 IRQ_TYPE_LEVEL_HIGH>,
191*bf6f9083SSergei Shtylyov				     <GIC_SPI 59 IRQ_TYPE_LEVEL_HIGH>,
192*bf6f9083SSergei Shtylyov				     <GIC_SPI 60 IRQ_TYPE_LEVEL_HIGH>,
193*bf6f9083SSergei Shtylyov				     <GIC_SPI 61 IRQ_TYPE_LEVEL_HIGH>,
194*bf6f9083SSergei Shtylyov				     <GIC_SPI 62 IRQ_TYPE_LEVEL_HIGH>,
195*bf6f9083SSergei Shtylyov				     <GIC_SPI 63 IRQ_TYPE_LEVEL_HIGH>;
196*bf6f9083SSergei Shtylyov			interrupt-names = "ch0", "ch1", "ch2", "ch3",
197*bf6f9083SSergei Shtylyov					  "ch4", "ch5", "ch6", "ch7",
198*bf6f9083SSergei Shtylyov					  "ch8", "ch9", "ch10", "ch11",
199*bf6f9083SSergei Shtylyov					  "ch12", "ch13", "ch14", "ch15",
200*bf6f9083SSergei Shtylyov					  "ch16", "ch17", "ch18", "ch19",
201*bf6f9083SSergei Shtylyov					  "ch20", "ch21", "ch22", "ch23",
202*bf6f9083SSergei Shtylyov					  "ch24";
203*bf6f9083SSergei Shtylyov			clocks = <&cpg CPG_MOD 812>;
204*bf6f9083SSergei Shtylyov			power-domains = <&sysc 32>;
205*bf6f9083SSergei Shtylyov			resets = <&cpg 812>;
206*bf6f9083SSergei Shtylyov			phy-mode = "rgmii";
207*bf6f9083SSergei Shtylyov			#address-cells = <1>;
208*bf6f9083SSergei Shtylyov			#size-cells = <0>;
209*bf6f9083SSergei Shtylyov		};
210*bf6f9083SSergei Shtylyov
2113601d98cSSergei Shtylyov		scif0: serial@e6e60000 {
2123601d98cSSergei Shtylyov			compatible = "renesas,scif-r8a77980",
2133601d98cSSergei Shtylyov				     "renesas,rcar-gen3-scif",
2143601d98cSSergei Shtylyov				     "renesas,scif";
2153601d98cSSergei Shtylyov			reg = <0 0xe6e60000 0 0x40>;
2163601d98cSSergei Shtylyov			interrupts = <GIC_SPI 152 IRQ_TYPE_LEVEL_HIGH>;
2173601d98cSSergei Shtylyov			clocks = <&cpg CPG_MOD 207>,
2183601d98cSSergei Shtylyov				 <&cpg CPG_CORE 19>,
2193601d98cSSergei Shtylyov				 <&scif_clk>;
2203601d98cSSergei Shtylyov			clock-names = "fck", "brg_int", "scif_clk";
2213601d98cSSergei Shtylyov			dmas = <&dmac1 0x51>, <&dmac1 0x50>,
2223601d98cSSergei Shtylyov			       <&dmac2 0x51>, <&dmac2 0x50>;
2233601d98cSSergei Shtylyov			dma-names = "tx", "rx", "tx", "rx";
2243601d98cSSergei Shtylyov			power-domains = <&sysc 32>;
2253601d98cSSergei Shtylyov			resets = <&cpg 207>;
2263601d98cSSergei Shtylyov			status = "disabled";
2273601d98cSSergei Shtylyov		};
2283601d98cSSergei Shtylyov
2293601d98cSSergei Shtylyov		scif1: serial@e6e68000 {
2303601d98cSSergei Shtylyov			compatible = "renesas,scif-r8a77980",
2313601d98cSSergei Shtylyov				     "renesas,rcar-gen3-scif",
2323601d98cSSergei Shtylyov				     "renesas,scif";
2333601d98cSSergei Shtylyov			reg = <0 0xe6e68000 0 0x40>;
2343601d98cSSergei Shtylyov			interrupts = <GIC_SPI 153 IRQ_TYPE_LEVEL_HIGH>;
2353601d98cSSergei Shtylyov			clocks = <&cpg CPG_MOD 206>,
2363601d98cSSergei Shtylyov				 <&cpg CPG_CORE 19>,
2373601d98cSSergei Shtylyov				 <&scif_clk>;
2383601d98cSSergei Shtylyov			clock-names = "fck", "brg_int", "scif_clk";
2393601d98cSSergei Shtylyov			dmas = <&dmac1 0x53>, <&dmac1 0x52>,
2403601d98cSSergei Shtylyov			       <&dmac2 0x53>, <&dmac2 0x52>;
2413601d98cSSergei Shtylyov			dma-names = "tx", "rx", "tx", "rx";
2423601d98cSSergei Shtylyov			power-domains = <&sysc 32>;
2433601d98cSSergei Shtylyov			resets = <&cpg 206>;
2443601d98cSSergei Shtylyov			status = "disabled";
2453601d98cSSergei Shtylyov		};
2463601d98cSSergei Shtylyov
2473601d98cSSergei Shtylyov		scif3: serial@e6c50000 {
2483601d98cSSergei Shtylyov			compatible = "renesas,scif-r8a77980",
2493601d98cSSergei Shtylyov				     "renesas,rcar-gen3-scif",
2503601d98cSSergei Shtylyov				     "renesas,scif";
2513601d98cSSergei Shtylyov			reg = <0 0xe6c50000 0 0x40>;
2523601d98cSSergei Shtylyov			interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>;
2533601d98cSSergei Shtylyov			clocks = <&cpg CPG_MOD 204>,
2543601d98cSSergei Shtylyov				 <&cpg CPG_CORE 19>,
2553601d98cSSergei Shtylyov				 <&scif_clk>;
2563601d98cSSergei Shtylyov			clock-names = "fck", "brg_int", "scif_clk";
2573601d98cSSergei Shtylyov			dmas = <&dmac1 0x57>, <&dmac1 0x56>,
2583601d98cSSergei Shtylyov			       <&dmac2 0x57>, <&dmac2 0x56>;
2593601d98cSSergei Shtylyov			dma-names = "tx", "rx", "tx", "rx";
2603601d98cSSergei Shtylyov			power-domains = <&sysc 32>;
2613601d98cSSergei Shtylyov			resets = <&cpg 204>;
2623601d98cSSergei Shtylyov			status = "disabled";
2633601d98cSSergei Shtylyov		};
2643601d98cSSergei Shtylyov
2653601d98cSSergei Shtylyov		scif4: serial@e6c40000 {
2663601d98cSSergei Shtylyov			compatible = "renesas,scif-r8a77980",
2673601d98cSSergei Shtylyov				     "renesas,rcar-gen3-scif",
2683601d98cSSergei Shtylyov				     "renesas,scif";
2693601d98cSSergei Shtylyov			reg = <0 0xe6c40000 0 0x40>;
2703601d98cSSergei Shtylyov			interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>;
2713601d98cSSergei Shtylyov			clocks = <&cpg CPG_MOD 203>,
2723601d98cSSergei Shtylyov				 <&cpg CPG_CORE 19>,
2733601d98cSSergei Shtylyov				 <&scif_clk>;
2743601d98cSSergei Shtylyov			clock-names = "fck", "brg_int", "scif_clk";
2753601d98cSSergei Shtylyov			dmas = <&dmac1 0x59>, <&dmac1 0x58>,
2763601d98cSSergei Shtylyov			       <&dmac2 0x59>, <&dmac2 0x58>;
2773601d98cSSergei Shtylyov			dma-names = "tx", "rx", "tx", "rx";
2783601d98cSSergei Shtylyov			power-domains = <&sysc 32>;
2793601d98cSSergei Shtylyov			resets = <&cpg 203>;
2803601d98cSSergei Shtylyov			status = "disabled";
2813601d98cSSergei Shtylyov		};
2823601d98cSSergei Shtylyov
28300d3375fSSergei Shtylyov		dmac1: dma-controller@e7300000 {
28400d3375fSSergei Shtylyov			compatible = "renesas,dmac-r8a77980",
28500d3375fSSergei Shtylyov				     "renesas,rcar-dmac";
28600d3375fSSergei Shtylyov			reg = <0 0xe7300000 0 0x10000>;
28700d3375fSSergei Shtylyov			interrupts = <GIC_SPI 220 IRQ_TYPE_LEVEL_HIGH
28800d3375fSSergei Shtylyov				      GIC_SPI 216 IRQ_TYPE_LEVEL_HIGH
28900d3375fSSergei Shtylyov				      GIC_SPI 217 IRQ_TYPE_LEVEL_HIGH
29000d3375fSSergei Shtylyov				      GIC_SPI 218 IRQ_TYPE_LEVEL_HIGH
29100d3375fSSergei Shtylyov				      GIC_SPI 219 IRQ_TYPE_LEVEL_HIGH
29200d3375fSSergei Shtylyov				      GIC_SPI 308 IRQ_TYPE_LEVEL_HIGH
29300d3375fSSergei Shtylyov				      GIC_SPI 309 IRQ_TYPE_LEVEL_HIGH
29400d3375fSSergei Shtylyov				      GIC_SPI 310 IRQ_TYPE_LEVEL_HIGH
29500d3375fSSergei Shtylyov				      GIC_SPI 311 IRQ_TYPE_LEVEL_HIGH
29600d3375fSSergei Shtylyov				      GIC_SPI 353 IRQ_TYPE_LEVEL_HIGH
29700d3375fSSergei Shtylyov				      GIC_SPI 354 IRQ_TYPE_LEVEL_HIGH
29800d3375fSSergei Shtylyov				      GIC_SPI 355 IRQ_TYPE_LEVEL_HIGH
29900d3375fSSergei Shtylyov				      GIC_SPI 356 IRQ_TYPE_LEVEL_HIGH
30000d3375fSSergei Shtylyov				      GIC_SPI 357 IRQ_TYPE_LEVEL_HIGH
30100d3375fSSergei Shtylyov				      GIC_SPI 358 IRQ_TYPE_LEVEL_HIGH
30200d3375fSSergei Shtylyov				      GIC_SPI 359 IRQ_TYPE_LEVEL_HIGH
30300d3375fSSergei Shtylyov				      GIC_SPI 360 IRQ_TYPE_LEVEL_HIGH>;
30400d3375fSSergei Shtylyov			interrupt-names = "error",
30500d3375fSSergei Shtylyov					  "ch0", "ch1", "ch2", "ch3",
30600d3375fSSergei Shtylyov					  "ch4", "ch5", "ch6", "ch7",
30700d3375fSSergei Shtylyov					  "ch8", "ch9", "ch10", "ch11",
30800d3375fSSergei Shtylyov					  "ch12", "ch13", "ch14", "ch15";
30900d3375fSSergei Shtylyov			clocks = <&cpg CPG_MOD 218>;
31000d3375fSSergei Shtylyov			clock-names = "fck";
31100d3375fSSergei Shtylyov			power-domains = <&sysc 32>;
31200d3375fSSergei Shtylyov			resets = <&cpg 218>;
31300d3375fSSergei Shtylyov			#dma-cells = <1>;
31400d3375fSSergei Shtylyov			dma-channels = <16>;
31500d3375fSSergei Shtylyov		};
31600d3375fSSergei Shtylyov
31700d3375fSSergei Shtylyov		dmac2: dma-controller@e7310000 {
31800d3375fSSergei Shtylyov			compatible = "renesas,dmac-r8a77980",
31900d3375fSSergei Shtylyov				     "renesas,rcar-dmac";
32000d3375fSSergei Shtylyov			reg = <0 0xe7310000 0 0x10000>;
32100d3375fSSergei Shtylyov			interrupts = <GIC_SPI 307 IRQ_TYPE_LEVEL_HIGH
32200d3375fSSergei Shtylyov				      GIC_SPI 312 IRQ_TYPE_LEVEL_HIGH
32300d3375fSSergei Shtylyov				      GIC_SPI 313 IRQ_TYPE_LEVEL_HIGH
32400d3375fSSergei Shtylyov				      GIC_SPI 314 IRQ_TYPE_LEVEL_HIGH
32500d3375fSSergei Shtylyov				      GIC_SPI 315 IRQ_TYPE_LEVEL_HIGH
32600d3375fSSergei Shtylyov				      GIC_SPI 316 IRQ_TYPE_LEVEL_HIGH
32700d3375fSSergei Shtylyov				      GIC_SPI 317 IRQ_TYPE_LEVEL_HIGH
32800d3375fSSergei Shtylyov				      GIC_SPI 318 IRQ_TYPE_LEVEL_HIGH
32900d3375fSSergei Shtylyov				      GIC_SPI 319 IRQ_TYPE_LEVEL_HIGH
33000d3375fSSergei Shtylyov				      GIC_SPI 361 IRQ_TYPE_LEVEL_HIGH
33100d3375fSSergei Shtylyov				      GIC_SPI 362 IRQ_TYPE_LEVEL_HIGH
33200d3375fSSergei Shtylyov				      GIC_SPI 363 IRQ_TYPE_LEVEL_HIGH
33300d3375fSSergei Shtylyov				      GIC_SPI 364 IRQ_TYPE_LEVEL_HIGH
33400d3375fSSergei Shtylyov				      GIC_SPI 365 IRQ_TYPE_LEVEL_HIGH
33500d3375fSSergei Shtylyov				      GIC_SPI 366 IRQ_TYPE_LEVEL_HIGH
33600d3375fSSergei Shtylyov				      GIC_SPI 367 IRQ_TYPE_LEVEL_HIGH
33700d3375fSSergei Shtylyov				      GIC_SPI 368 IRQ_TYPE_LEVEL_HIGH>;
33800d3375fSSergei Shtylyov			interrupt-names = "error",
33900d3375fSSergei Shtylyov					  "ch0", "ch1", "ch2", "ch3",
34000d3375fSSergei Shtylyov					  "ch4", "ch5", "ch6", "ch7",
34100d3375fSSergei Shtylyov					  "ch8", "ch9", "ch10", "ch11",
34200d3375fSSergei Shtylyov					  "ch12", "ch13", "ch14", "ch15";
34300d3375fSSergei Shtylyov			clocks = <&cpg CPG_MOD 217>;
34400d3375fSSergei Shtylyov			clock-names = "fck";
34500d3375fSSergei Shtylyov			power-domains = <&sysc 32>;
34600d3375fSSergei Shtylyov			resets = <&cpg 217>;
34700d3375fSSergei Shtylyov			#dma-cells = <1>;
34800d3375fSSergei Shtylyov			dma-channels = <16>;
34900d3375fSSergei Shtylyov		};
35000d3375fSSergei Shtylyov
351f3a54d6cSSergei Shtylyov		gic: interrupt-controller@f1010000 {
352f3a54d6cSSergei Shtylyov			compatible = "arm,gic-400";
353f3a54d6cSSergei Shtylyov			#interrupt-cells = <3>;
354f3a54d6cSSergei Shtylyov			#address-cells = <0>;
355f3a54d6cSSergei Shtylyov			interrupt-controller;
356f3a54d6cSSergei Shtylyov			reg = <0x0 0xf1010000 0 0x1000>,
357f3a54d6cSSergei Shtylyov			      <0x0 0xf1020000 0 0x20000>,
358f3a54d6cSSergei Shtylyov			      <0x0 0xf1040000 0 0x20000>,
359f3a54d6cSSergei Shtylyov			      <0x0 0xf1060000 0 0x20000>;
360f3a54d6cSSergei Shtylyov			interrupts = <GIC_PPI 9	(GIC_CPU_MASK_SIMPLE(1) |
361f3a54d6cSSergei Shtylyov				      IRQ_TYPE_LEVEL_HIGH)>;
362f3a54d6cSSergei Shtylyov			clocks = <&cpg CPG_MOD 408>;
363f3a54d6cSSergei Shtylyov			clock-names = "clk";
364f3a54d6cSSergei Shtylyov			power-domains = <&sysc 32>;
365f3a54d6cSSergei Shtylyov			resets = <&cpg 408>;
366f3a54d6cSSergei Shtylyov		};
367f3a54d6cSSergei Shtylyov
368f3a54d6cSSergei Shtylyov		prr: chipid@fff00044 {
369f3a54d6cSSergei Shtylyov			compatible = "renesas,prr";
370f3a54d6cSSergei Shtylyov			reg = <0 0xfff00044 0 4>;
371f3a54d6cSSergei Shtylyov		};
372f3a54d6cSSergei Shtylyov	};
373f3a54d6cSSergei Shtylyov
374f3a54d6cSSergei Shtylyov	timer {
375f3a54d6cSSergei Shtylyov		compatible = "arm,armv8-timer";
376f3a54d6cSSergei Shtylyov		interrupts-extended = <&gic GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(1) |
377f3a54d6cSSergei Shtylyov				       IRQ_TYPE_LEVEL_LOW)>,
378f3a54d6cSSergei Shtylyov				      <&gic GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(1) |
379f3a54d6cSSergei Shtylyov				       IRQ_TYPE_LEVEL_LOW)>,
380f3a54d6cSSergei Shtylyov				      <&gic GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(1) |
381f3a54d6cSSergei Shtylyov				       IRQ_TYPE_LEVEL_LOW)>,
382f3a54d6cSSergei Shtylyov				      <&gic GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(1) |
383f3a54d6cSSergei Shtylyov				       IRQ_TYPE_LEVEL_LOW)>;
384f3a54d6cSSergei Shtylyov	};
385f3a54d6cSSergei Shtylyov};
386