xref: /linux/scripts/dtc/include-prefixes/arm64/renesas/r8a77980.dtsi (revision 52d2e0cec73e61123860230d6d034cd07775dd78)
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
19f3a54d6cSSergei Shtylyov	cpus {
20f3a54d6cSSergei Shtylyov		#address-cells = <1>;
21f3a54d6cSSergei Shtylyov		#size-cells = <0>;
22f3a54d6cSSergei Shtylyov
23f3a54d6cSSergei Shtylyov		a53_0: cpu@0 {
24f3a54d6cSSergei Shtylyov			device_type = "cpu";
25f3a54d6cSSergei Shtylyov			compatible = "arm,cortex-a53", "arm,armv8";
26f3a54d6cSSergei Shtylyov			reg = <0>;
27c64cc368SSergei Shtylyov			clocks = <&cpg CPG_CORE R8A77980_CLK_Z2>;
281184ea3fSSergei Shtylyov			power-domains = <&sysc R8A77980_PD_CA53_CPU0>;
29f3a54d6cSSergei Shtylyov			next-level-cache = <&L2_CA53>;
30f3a54d6cSSergei Shtylyov			enable-method = "psci";
31f3a54d6cSSergei Shtylyov		};
32f3a54d6cSSergei Shtylyov
33f3a54d6cSSergei Shtylyov		L2_CA53: cache-controller {
34f3a54d6cSSergei Shtylyov			compatible = "cache";
351184ea3fSSergei Shtylyov			power-domains = <&sysc R8A77980_PD_CA53_SCU>;
36f3a54d6cSSergei Shtylyov			cache-unified;
37f3a54d6cSSergei Shtylyov			cache-level = <2>;
38f3a54d6cSSergei Shtylyov		};
39f3a54d6cSSergei Shtylyov	};
40f3a54d6cSSergei Shtylyov
41f38c4172SSergei Shtylyov	/* External CAN clock - to be overridden by boards that provide it */
42f38c4172SSergei Shtylyov	can_clk: can {
43f38c4172SSergei Shtylyov		compatible = "fixed-clock";
44f38c4172SSergei Shtylyov		#clock-cells = <0>;
45f38c4172SSergei Shtylyov		clock-frequency = <0>;
46f38c4172SSergei Shtylyov	};
47f38c4172SSergei Shtylyov
48f3a54d6cSSergei Shtylyov	extal_clk: extal {
49f3a54d6cSSergei Shtylyov		compatible = "fixed-clock";
50f3a54d6cSSergei Shtylyov		#clock-cells = <0>;
51f3a54d6cSSergei Shtylyov		/* This value must be overridden by the board */
52f3a54d6cSSergei Shtylyov		clock-frequency = <0>;
53f3a54d6cSSergei Shtylyov	};
54f3a54d6cSSergei Shtylyov
55f3a54d6cSSergei Shtylyov	extalr_clk: extalr {
56f3a54d6cSSergei Shtylyov		compatible = "fixed-clock";
57f3a54d6cSSergei Shtylyov		#clock-cells = <0>;
58f3a54d6cSSergei Shtylyov		/* This value must be overridden by the board */
59f3a54d6cSSergei Shtylyov		clock-frequency = <0>;
60f3a54d6cSSergei Shtylyov	};
61f3a54d6cSSergei Shtylyov
62f3a54d6cSSergei Shtylyov	psci {
63f3a54d6cSSergei Shtylyov		compatible = "arm,psci-1.0", "arm,psci-0.2";
64f3a54d6cSSergei Shtylyov		method = "smc";
65f3a54d6cSSergei Shtylyov	};
66f3a54d6cSSergei Shtylyov
673601d98cSSergei Shtylyov	/* External SCIF clock - to be overridden by boards that provide it */
683601d98cSSergei Shtylyov	scif_clk: scif {
693601d98cSSergei Shtylyov		compatible = "fixed-clock";
703601d98cSSergei Shtylyov		#clock-cells = <0>;
713601d98cSSergei Shtylyov		clock-frequency = <0>;
723601d98cSSergei Shtylyov	};
733601d98cSSergei Shtylyov
74f3a54d6cSSergei Shtylyov	soc {
75f3a54d6cSSergei Shtylyov		compatible = "simple-bus";
76f3a54d6cSSergei Shtylyov		interrupt-parent = <&gic>;
77f3a54d6cSSergei Shtylyov
78f3a54d6cSSergei Shtylyov		#address-cells = <2>;
79f3a54d6cSSergei Shtylyov		#size-cells = <2>;
80f3a54d6cSSergei Shtylyov		ranges;
81f3a54d6cSSergei Shtylyov
82cef26946SSergei Shtylyov		pfc: pin-controller@e6060000 {
83cef26946SSergei Shtylyov			compatible = "renesas,pfc-r8a77980";
84cef26946SSergei Shtylyov			reg = <0 0xe6060000 0 0x50c>;
85cef26946SSergei Shtylyov		};
86cef26946SSergei Shtylyov
87f3a54d6cSSergei Shtylyov		cpg: clock-controller@e6150000 {
88f3a54d6cSSergei Shtylyov			compatible = "renesas,r8a77980-cpg-mssr";
89f3a54d6cSSergei Shtylyov			reg = <0 0xe6150000 0 0x1000>;
90f3a54d6cSSergei Shtylyov			clocks = <&extal_clk>, <&extalr_clk>;
91f3a54d6cSSergei Shtylyov			clock-names = "extal", "extalr";
92f3a54d6cSSergei Shtylyov			#clock-cells = <2>;
93f3a54d6cSSergei Shtylyov			#power-domain-cells = <0>;
94f3a54d6cSSergei Shtylyov			#reset-cells = <1>;
95f3a54d6cSSergei Shtylyov		};
96f3a54d6cSSergei Shtylyov
97f3a54d6cSSergei Shtylyov		rst: reset-controller@e6160000 {
98f3a54d6cSSergei Shtylyov			compatible = "renesas,r8a77980-rst";
99f3a54d6cSSergei Shtylyov			reg = <0 0xe6160000 0 0x200>;
100f3a54d6cSSergei Shtylyov		};
101f3a54d6cSSergei Shtylyov
102f3a54d6cSSergei Shtylyov		sysc: system-controller@e6180000 {
103f3a54d6cSSergei Shtylyov			compatible = "renesas,r8a77980-sysc";
104f3a54d6cSSergei Shtylyov			reg = <0 0xe6180000 0 0x440>;
105f3a54d6cSSergei Shtylyov			#power-domain-cells = <1>;
106f3a54d6cSSergei Shtylyov		};
107f3a54d6cSSergei Shtylyov
1083601d98cSSergei Shtylyov		hscif0: serial@e6540000 {
1093601d98cSSergei Shtylyov			compatible = "renesas,hscif-r8a77980",
1103601d98cSSergei Shtylyov				     "renesas,rcar-gen3-hscif",
1113601d98cSSergei Shtylyov				     "renesas,hscif";
1123601d98cSSergei Shtylyov			reg = <0 0xe6540000 0 0x60>;
1133601d98cSSergei Shtylyov			interrupts = <GIC_SPI 154 IRQ_TYPE_LEVEL_HIGH>;
1143601d98cSSergei Shtylyov			clocks = <&cpg CPG_MOD 520>,
115c64cc368SSergei Shtylyov				 <&cpg CPG_CORE R8A77980_CLK_S3D1>,
1163601d98cSSergei Shtylyov				 <&scif_clk>;
1173601d98cSSergei Shtylyov			clock-names = "fck", "brg_int", "scif_clk";
1183601d98cSSergei Shtylyov			dmas = <&dmac1 0x31>, <&dmac1 0x30>,
1193601d98cSSergei Shtylyov			       <&dmac2 0x31>, <&dmac2 0x30>;
1203601d98cSSergei Shtylyov			dma-names = "tx", "rx", "tx", "rx";
1211184ea3fSSergei Shtylyov			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
1223601d98cSSergei Shtylyov			resets = <&cpg 520>;
1233601d98cSSergei Shtylyov			status = "disabled";
1243601d98cSSergei Shtylyov		};
1253601d98cSSergei Shtylyov
1263601d98cSSergei Shtylyov		hscif1: serial@e6550000 {
1273601d98cSSergei Shtylyov			compatible = "renesas,hscif-r8a77980",
1283601d98cSSergei Shtylyov				     "renesas,rcar-gen3-hscif",
1293601d98cSSergei Shtylyov				     "renesas,hscif";
1303601d98cSSergei Shtylyov			reg = <0 0xe6550000 0 0x60>;
1313601d98cSSergei Shtylyov			interrupts = <GIC_SPI 155 IRQ_TYPE_LEVEL_HIGH>;
1323601d98cSSergei Shtylyov			clocks = <&cpg CPG_MOD 519>,
133c64cc368SSergei Shtylyov				 <&cpg CPG_CORE R8A77980_CLK_S3D1>,
1343601d98cSSergei Shtylyov				 <&scif_clk>;
1353601d98cSSergei Shtylyov			clock-names = "fck", "brg_int", "scif_clk";
1363601d98cSSergei Shtylyov			dmas = <&dmac1 0x33>, <&dmac1 0x32>,
1373601d98cSSergei Shtylyov			       <&dmac2 0x33>, <&dmac2 0x32>;
1383601d98cSSergei Shtylyov			dma-names = "tx", "rx", "tx", "rx";
1391184ea3fSSergei Shtylyov			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
1403601d98cSSergei Shtylyov			resets = <&cpg 519>;
1413601d98cSSergei Shtylyov			status = "disabled";
1423601d98cSSergei Shtylyov		};
1433601d98cSSergei Shtylyov
1443601d98cSSergei Shtylyov		hscif2: serial@e6560000 {
1453601d98cSSergei Shtylyov			compatible = "renesas,hscif-r8a77980",
1463601d98cSSergei Shtylyov				     "renesas,rcar-gen3-hscif",
1473601d98cSSergei Shtylyov				     "renesas,hscif";
1483601d98cSSergei Shtylyov			reg = <0 0xe6560000 0 0x60>;
1493601d98cSSergei Shtylyov			interrupts = <GIC_SPI 144 IRQ_TYPE_LEVEL_HIGH>;
1503601d98cSSergei Shtylyov			clocks = <&cpg CPG_MOD 518>,
151c64cc368SSergei Shtylyov				 <&cpg CPG_CORE R8A77980_CLK_S3D1>,
1523601d98cSSergei Shtylyov				 <&scif_clk>;
1533601d98cSSergei Shtylyov			clock-names = "fck", "brg_int", "scif_clk";
1543601d98cSSergei Shtylyov			dmas = <&dmac1 0x35>, <&dmac1 0x34>,
1553601d98cSSergei Shtylyov			       <&dmac2 0x35>, <&dmac2 0x34>;
1563601d98cSSergei Shtylyov			dma-names = "tx", "rx", "tx", "rx";
1571184ea3fSSergei Shtylyov			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
1583601d98cSSergei Shtylyov			resets = <&cpg 518>;
1593601d98cSSergei Shtylyov			status = "disabled";
1603601d98cSSergei Shtylyov		};
1613601d98cSSergei Shtylyov
1623601d98cSSergei Shtylyov		hscif3: serial@e66a0000 {
1633601d98cSSergei Shtylyov			compatible = "renesas,hscif-r8a77980",
1643601d98cSSergei Shtylyov				     "renesas,rcar-gen3-hscif",
1653601d98cSSergei Shtylyov				     "renesas,hscif";
1663601d98cSSergei Shtylyov			reg = <0 0xe66a0000 0 0x60>;
1673601d98cSSergei Shtylyov			interrupts = <GIC_SPI 145 IRQ_TYPE_LEVEL_HIGH>;
1683601d98cSSergei Shtylyov			clocks = <&cpg CPG_MOD 517>,
169c64cc368SSergei Shtylyov				 <&cpg CPG_CORE R8A77980_CLK_S3D1>,
1703601d98cSSergei Shtylyov				 <&scif_clk>;
1713601d98cSSergei Shtylyov			clock-names = "fck", "brg_int", "scif_clk";
1723601d98cSSergei Shtylyov			dmas = <&dmac1 0x37>, <&dmac1 0x36>,
1733601d98cSSergei Shtylyov			       <&dmac2 0x37>, <&dmac2 0x36>;
1743601d98cSSergei Shtylyov			dma-names = "tx", "rx", "tx", "rx";
1751184ea3fSSergei Shtylyov			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
1763601d98cSSergei Shtylyov			resets = <&cpg 517>;
1773601d98cSSergei Shtylyov			status = "disabled";
1783601d98cSSergei Shtylyov		};
1793601d98cSSergei Shtylyov
180f38c4172SSergei Shtylyov		canfd: can@e66c0000 {
181f38c4172SSergei Shtylyov			compatible = "renesas,r8a77980-canfd",
182f38c4172SSergei Shtylyov				     "renesas,rcar-gen3-canfd";
183f38c4172SSergei Shtylyov			reg = <0 0xe66c0000 0 0x8000>;
184f38c4172SSergei Shtylyov			interrupts = <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>,
185f38c4172SSergei Shtylyov				     <GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>;
186f38c4172SSergei Shtylyov			clocks = <&cpg CPG_MOD 914>,
187f38c4172SSergei Shtylyov				 <&cpg CPG_CORE R8A77980_CLK_CANFD>,
188f38c4172SSergei Shtylyov				 <&can_clk>;
189f38c4172SSergei Shtylyov			clock-names = "fck", "canfd", "can_clk";
190f38c4172SSergei Shtylyov			assigned-clocks = <&cpg CPG_CORE R8A77980_CLK_CANFD>;
191f38c4172SSergei Shtylyov			assigned-clock-rates = <40000000>;
192f38c4172SSergei Shtylyov			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
19322fb06cdSSimon Horman			resets = <&cpg 914>;
194f38c4172SSergei Shtylyov			status = "disabled";
195f38c4172SSergei Shtylyov
196f38c4172SSergei Shtylyov			channel0 {
197f38c4172SSergei Shtylyov				status = "disabled";
198f38c4172SSergei Shtylyov			};
199f38c4172SSergei Shtylyov
200f38c4172SSergei Shtylyov			channel1 {
201f38c4172SSergei Shtylyov				status = "disabled";
202f38c4172SSergei Shtylyov			};
203f38c4172SSergei Shtylyov		};
204f38c4172SSergei Shtylyov
205bf6f9083SSergei Shtylyov		avb: ethernet@e6800000 {
206bf6f9083SSergei Shtylyov			compatible = "renesas,etheravb-r8a77980",
207bf6f9083SSergei Shtylyov				     "renesas,etheravb-rcar-gen3";
208bf6f9083SSergei Shtylyov			reg = <0 0xe6800000 0 0x800>;
209bf6f9083SSergei Shtylyov			interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>,
210bf6f9083SSergei Shtylyov				     <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>,
211bf6f9083SSergei Shtylyov				     <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>,
212bf6f9083SSergei Shtylyov				     <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>,
213bf6f9083SSergei Shtylyov				     <GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>,
214bf6f9083SSergei Shtylyov				     <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>,
215bf6f9083SSergei Shtylyov				     <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>,
216bf6f9083SSergei Shtylyov				     <GIC_SPI 46 IRQ_TYPE_LEVEL_HIGH>,
217bf6f9083SSergei Shtylyov				     <GIC_SPI 47 IRQ_TYPE_LEVEL_HIGH>,
218bf6f9083SSergei Shtylyov				     <GIC_SPI 48 IRQ_TYPE_LEVEL_HIGH>,
219bf6f9083SSergei Shtylyov				     <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>,
220bf6f9083SSergei Shtylyov				     <GIC_SPI 50 IRQ_TYPE_LEVEL_HIGH>,
221bf6f9083SSergei Shtylyov				     <GIC_SPI 51 IRQ_TYPE_LEVEL_HIGH>,
222bf6f9083SSergei Shtylyov				     <GIC_SPI 52 IRQ_TYPE_LEVEL_HIGH>,
223bf6f9083SSergei Shtylyov				     <GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH>,
224bf6f9083SSergei Shtylyov				     <GIC_SPI 54 IRQ_TYPE_LEVEL_HIGH>,
225bf6f9083SSergei Shtylyov				     <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>,
226bf6f9083SSergei Shtylyov				     <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>,
227bf6f9083SSergei Shtylyov				     <GIC_SPI 57 IRQ_TYPE_LEVEL_HIGH>,
228bf6f9083SSergei Shtylyov				     <GIC_SPI 58 IRQ_TYPE_LEVEL_HIGH>,
229bf6f9083SSergei Shtylyov				     <GIC_SPI 59 IRQ_TYPE_LEVEL_HIGH>,
230bf6f9083SSergei Shtylyov				     <GIC_SPI 60 IRQ_TYPE_LEVEL_HIGH>,
231bf6f9083SSergei Shtylyov				     <GIC_SPI 61 IRQ_TYPE_LEVEL_HIGH>,
232bf6f9083SSergei Shtylyov				     <GIC_SPI 62 IRQ_TYPE_LEVEL_HIGH>,
233bf6f9083SSergei Shtylyov				     <GIC_SPI 63 IRQ_TYPE_LEVEL_HIGH>;
234bf6f9083SSergei Shtylyov			interrupt-names = "ch0", "ch1", "ch2", "ch3",
235bf6f9083SSergei Shtylyov					  "ch4", "ch5", "ch6", "ch7",
236bf6f9083SSergei Shtylyov					  "ch8", "ch9", "ch10", "ch11",
237bf6f9083SSergei Shtylyov					  "ch12", "ch13", "ch14", "ch15",
238bf6f9083SSergei Shtylyov					  "ch16", "ch17", "ch18", "ch19",
239bf6f9083SSergei Shtylyov					  "ch20", "ch21", "ch22", "ch23",
240bf6f9083SSergei Shtylyov					  "ch24";
241bf6f9083SSergei Shtylyov			clocks = <&cpg CPG_MOD 812>;
2421184ea3fSSergei Shtylyov			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
243bf6f9083SSergei Shtylyov			resets = <&cpg 812>;
244bf6f9083SSergei Shtylyov			phy-mode = "rgmii";
245bf6f9083SSergei Shtylyov			#address-cells = <1>;
246bf6f9083SSergei Shtylyov			#size-cells = <0>;
247*52d2e0ceSSergei Shtylyov			status = "disabled";
248bf6f9083SSergei Shtylyov		};
249bf6f9083SSergei Shtylyov
2503601d98cSSergei Shtylyov		scif0: serial@e6e60000 {
2513601d98cSSergei Shtylyov			compatible = "renesas,scif-r8a77980",
2523601d98cSSergei Shtylyov				     "renesas,rcar-gen3-scif",
2533601d98cSSergei Shtylyov				     "renesas,scif";
2543601d98cSSergei Shtylyov			reg = <0 0xe6e60000 0 0x40>;
2553601d98cSSergei Shtylyov			interrupts = <GIC_SPI 152 IRQ_TYPE_LEVEL_HIGH>;
2563601d98cSSergei Shtylyov			clocks = <&cpg CPG_MOD 207>,
257c64cc368SSergei Shtylyov				 <&cpg CPG_CORE R8A77980_CLK_S3D1>,
2583601d98cSSergei Shtylyov				 <&scif_clk>;
2593601d98cSSergei Shtylyov			clock-names = "fck", "brg_int", "scif_clk";
2603601d98cSSergei Shtylyov			dmas = <&dmac1 0x51>, <&dmac1 0x50>,
2613601d98cSSergei Shtylyov			       <&dmac2 0x51>, <&dmac2 0x50>;
2623601d98cSSergei Shtylyov			dma-names = "tx", "rx", "tx", "rx";
2631184ea3fSSergei Shtylyov			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
2643601d98cSSergei Shtylyov			resets = <&cpg 207>;
2653601d98cSSergei Shtylyov			status = "disabled";
2663601d98cSSergei Shtylyov		};
2673601d98cSSergei Shtylyov
2683601d98cSSergei Shtylyov		scif1: serial@e6e68000 {
2693601d98cSSergei Shtylyov			compatible = "renesas,scif-r8a77980",
2703601d98cSSergei Shtylyov				     "renesas,rcar-gen3-scif",
2713601d98cSSergei Shtylyov				     "renesas,scif";
2723601d98cSSergei Shtylyov			reg = <0 0xe6e68000 0 0x40>;
2733601d98cSSergei Shtylyov			interrupts = <GIC_SPI 153 IRQ_TYPE_LEVEL_HIGH>;
2743601d98cSSergei Shtylyov			clocks = <&cpg CPG_MOD 206>,
275c64cc368SSergei Shtylyov				 <&cpg CPG_CORE R8A77980_CLK_S3D1>,
2763601d98cSSergei Shtylyov				 <&scif_clk>;
2773601d98cSSergei Shtylyov			clock-names = "fck", "brg_int", "scif_clk";
2783601d98cSSergei Shtylyov			dmas = <&dmac1 0x53>, <&dmac1 0x52>,
2793601d98cSSergei Shtylyov			       <&dmac2 0x53>, <&dmac2 0x52>;
2803601d98cSSergei Shtylyov			dma-names = "tx", "rx", "tx", "rx";
2811184ea3fSSergei Shtylyov			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
2823601d98cSSergei Shtylyov			resets = <&cpg 206>;
2833601d98cSSergei Shtylyov			status = "disabled";
2843601d98cSSergei Shtylyov		};
2853601d98cSSergei Shtylyov
2863601d98cSSergei Shtylyov		scif3: serial@e6c50000 {
2873601d98cSSergei Shtylyov			compatible = "renesas,scif-r8a77980",
2883601d98cSSergei Shtylyov				     "renesas,rcar-gen3-scif",
2893601d98cSSergei Shtylyov				     "renesas,scif";
2903601d98cSSergei Shtylyov			reg = <0 0xe6c50000 0 0x40>;
2913601d98cSSergei Shtylyov			interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>;
2923601d98cSSergei Shtylyov			clocks = <&cpg CPG_MOD 204>,
293c64cc368SSergei Shtylyov				 <&cpg CPG_CORE R8A77980_CLK_S3D1>,
2943601d98cSSergei Shtylyov				 <&scif_clk>;
2953601d98cSSergei Shtylyov			clock-names = "fck", "brg_int", "scif_clk";
2963601d98cSSergei Shtylyov			dmas = <&dmac1 0x57>, <&dmac1 0x56>,
2973601d98cSSergei Shtylyov			       <&dmac2 0x57>, <&dmac2 0x56>;
2983601d98cSSergei Shtylyov			dma-names = "tx", "rx", "tx", "rx";
2991184ea3fSSergei Shtylyov			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
3003601d98cSSergei Shtylyov			resets = <&cpg 204>;
3013601d98cSSergei Shtylyov			status = "disabled";
3023601d98cSSergei Shtylyov		};
3033601d98cSSergei Shtylyov
3043601d98cSSergei Shtylyov		scif4: serial@e6c40000 {
3053601d98cSSergei Shtylyov			compatible = "renesas,scif-r8a77980",
3063601d98cSSergei Shtylyov				     "renesas,rcar-gen3-scif",
3073601d98cSSergei Shtylyov				     "renesas,scif";
3083601d98cSSergei Shtylyov			reg = <0 0xe6c40000 0 0x40>;
3093601d98cSSergei Shtylyov			interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>;
3103601d98cSSergei Shtylyov			clocks = <&cpg CPG_MOD 203>,
311c64cc368SSergei Shtylyov				 <&cpg CPG_CORE R8A77980_CLK_S3D1>,
3123601d98cSSergei Shtylyov				 <&scif_clk>;
3133601d98cSSergei Shtylyov			clock-names = "fck", "brg_int", "scif_clk";
3143601d98cSSergei Shtylyov			dmas = <&dmac1 0x59>, <&dmac1 0x58>,
3153601d98cSSergei Shtylyov			       <&dmac2 0x59>, <&dmac2 0x58>;
3163601d98cSSergei Shtylyov			dma-names = "tx", "rx", "tx", "rx";
3171184ea3fSSergei Shtylyov			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
3183601d98cSSergei Shtylyov			resets = <&cpg 203>;
3193601d98cSSergei Shtylyov			status = "disabled";
3203601d98cSSergei Shtylyov		};
3213601d98cSSergei Shtylyov
32200d3375fSSergei Shtylyov		dmac1: dma-controller@e7300000 {
32300d3375fSSergei Shtylyov			compatible = "renesas,dmac-r8a77980",
32400d3375fSSergei Shtylyov				     "renesas,rcar-dmac";
32500d3375fSSergei Shtylyov			reg = <0 0xe7300000 0 0x10000>;
32600d3375fSSergei Shtylyov			interrupts = <GIC_SPI 220 IRQ_TYPE_LEVEL_HIGH
32700d3375fSSergei Shtylyov				      GIC_SPI 216 IRQ_TYPE_LEVEL_HIGH
32800d3375fSSergei Shtylyov				      GIC_SPI 217 IRQ_TYPE_LEVEL_HIGH
32900d3375fSSergei Shtylyov				      GIC_SPI 218 IRQ_TYPE_LEVEL_HIGH
33000d3375fSSergei Shtylyov				      GIC_SPI 219 IRQ_TYPE_LEVEL_HIGH
33100d3375fSSergei Shtylyov				      GIC_SPI 308 IRQ_TYPE_LEVEL_HIGH
33200d3375fSSergei Shtylyov				      GIC_SPI 309 IRQ_TYPE_LEVEL_HIGH
33300d3375fSSergei Shtylyov				      GIC_SPI 310 IRQ_TYPE_LEVEL_HIGH
33400d3375fSSergei Shtylyov				      GIC_SPI 311 IRQ_TYPE_LEVEL_HIGH
33500d3375fSSergei Shtylyov				      GIC_SPI 353 IRQ_TYPE_LEVEL_HIGH
33600d3375fSSergei Shtylyov				      GIC_SPI 354 IRQ_TYPE_LEVEL_HIGH
33700d3375fSSergei Shtylyov				      GIC_SPI 355 IRQ_TYPE_LEVEL_HIGH
33800d3375fSSergei Shtylyov				      GIC_SPI 356 IRQ_TYPE_LEVEL_HIGH
33900d3375fSSergei Shtylyov				      GIC_SPI 357 IRQ_TYPE_LEVEL_HIGH
34000d3375fSSergei Shtylyov				      GIC_SPI 358 IRQ_TYPE_LEVEL_HIGH
34100d3375fSSergei Shtylyov				      GIC_SPI 359 IRQ_TYPE_LEVEL_HIGH
34200d3375fSSergei Shtylyov				      GIC_SPI 360 IRQ_TYPE_LEVEL_HIGH>;
34300d3375fSSergei Shtylyov			interrupt-names = "error",
34400d3375fSSergei Shtylyov					  "ch0", "ch1", "ch2", "ch3",
34500d3375fSSergei Shtylyov					  "ch4", "ch5", "ch6", "ch7",
34600d3375fSSergei Shtylyov					  "ch8", "ch9", "ch10", "ch11",
34700d3375fSSergei Shtylyov					  "ch12", "ch13", "ch14", "ch15";
34800d3375fSSergei Shtylyov			clocks = <&cpg CPG_MOD 218>;
34900d3375fSSergei Shtylyov			clock-names = "fck";
3501184ea3fSSergei Shtylyov			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
35100d3375fSSergei Shtylyov			resets = <&cpg 218>;
35200d3375fSSergei Shtylyov			#dma-cells = <1>;
35300d3375fSSergei Shtylyov			dma-channels = <16>;
35400d3375fSSergei Shtylyov		};
35500d3375fSSergei Shtylyov
35600d3375fSSergei Shtylyov		dmac2: dma-controller@e7310000 {
35700d3375fSSergei Shtylyov			compatible = "renesas,dmac-r8a77980",
35800d3375fSSergei Shtylyov				     "renesas,rcar-dmac";
35900d3375fSSergei Shtylyov			reg = <0 0xe7310000 0 0x10000>;
36000d3375fSSergei Shtylyov			interrupts = <GIC_SPI 307 IRQ_TYPE_LEVEL_HIGH
36100d3375fSSergei Shtylyov				      GIC_SPI 312 IRQ_TYPE_LEVEL_HIGH
36200d3375fSSergei Shtylyov				      GIC_SPI 313 IRQ_TYPE_LEVEL_HIGH
36300d3375fSSergei Shtylyov				      GIC_SPI 314 IRQ_TYPE_LEVEL_HIGH
36400d3375fSSergei Shtylyov				      GIC_SPI 315 IRQ_TYPE_LEVEL_HIGH
36500d3375fSSergei Shtylyov				      GIC_SPI 316 IRQ_TYPE_LEVEL_HIGH
36600d3375fSSergei Shtylyov				      GIC_SPI 317 IRQ_TYPE_LEVEL_HIGH
36700d3375fSSergei Shtylyov				      GIC_SPI 318 IRQ_TYPE_LEVEL_HIGH
36800d3375fSSergei Shtylyov				      GIC_SPI 319 IRQ_TYPE_LEVEL_HIGH
36900d3375fSSergei Shtylyov				      GIC_SPI 361 IRQ_TYPE_LEVEL_HIGH
37000d3375fSSergei Shtylyov				      GIC_SPI 362 IRQ_TYPE_LEVEL_HIGH
37100d3375fSSergei Shtylyov				      GIC_SPI 363 IRQ_TYPE_LEVEL_HIGH
37200d3375fSSergei Shtylyov				      GIC_SPI 364 IRQ_TYPE_LEVEL_HIGH
37300d3375fSSergei Shtylyov				      GIC_SPI 365 IRQ_TYPE_LEVEL_HIGH
37400d3375fSSergei Shtylyov				      GIC_SPI 366 IRQ_TYPE_LEVEL_HIGH
37500d3375fSSergei Shtylyov				      GIC_SPI 367 IRQ_TYPE_LEVEL_HIGH
37600d3375fSSergei Shtylyov				      GIC_SPI 368 IRQ_TYPE_LEVEL_HIGH>;
37700d3375fSSergei Shtylyov			interrupt-names = "error",
37800d3375fSSergei Shtylyov					  "ch0", "ch1", "ch2", "ch3",
37900d3375fSSergei Shtylyov					  "ch4", "ch5", "ch6", "ch7",
38000d3375fSSergei Shtylyov					  "ch8", "ch9", "ch10", "ch11",
38100d3375fSSergei Shtylyov					  "ch12", "ch13", "ch14", "ch15";
38200d3375fSSergei Shtylyov			clocks = <&cpg CPG_MOD 217>;
38300d3375fSSergei Shtylyov			clock-names = "fck";
3841184ea3fSSergei Shtylyov			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
38500d3375fSSergei Shtylyov			resets = <&cpg 217>;
38600d3375fSSergei Shtylyov			#dma-cells = <1>;
38700d3375fSSergei Shtylyov			dma-channels = <16>;
38800d3375fSSergei Shtylyov		};
38900d3375fSSergei Shtylyov
39063eb8ee5SSergei Shtylyov		mmc0: mmc@ee140000 {
39163eb8ee5SSergei Shtylyov			compatible = "renesas,sdhi-r8a77980",
39263eb8ee5SSergei Shtylyov				     "renesas,rcar-gen3-sdhi";
39363eb8ee5SSergei Shtylyov			reg = <0 0xee140000 0 0x2000>;
39463eb8ee5SSergei Shtylyov			interrupts = <GIC_SPI 165 IRQ_TYPE_LEVEL_HIGH>;
39563eb8ee5SSergei Shtylyov			clocks = <&cpg CPG_MOD 314>;
3961184ea3fSSergei Shtylyov			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
39763eb8ee5SSergei Shtylyov			resets = <&cpg 314>;
39863eb8ee5SSergei Shtylyov			max-frequency = <200000000>;
39963eb8ee5SSergei Shtylyov			status = "disabled";
40063eb8ee5SSergei Shtylyov		};
40163eb8ee5SSergei Shtylyov
402f3a54d6cSSergei Shtylyov		gic: interrupt-controller@f1010000 {
403f3a54d6cSSergei Shtylyov			compatible = "arm,gic-400";
404f3a54d6cSSergei Shtylyov			#interrupt-cells = <3>;
405f3a54d6cSSergei Shtylyov			#address-cells = <0>;
406f3a54d6cSSergei Shtylyov			interrupt-controller;
407f3a54d6cSSergei Shtylyov			reg = <0x0 0xf1010000 0 0x1000>,
408f3a54d6cSSergei Shtylyov			      <0x0 0xf1020000 0 0x20000>,
409f3a54d6cSSergei Shtylyov			      <0x0 0xf1040000 0 0x20000>,
410f3a54d6cSSergei Shtylyov			      <0x0 0xf1060000 0 0x20000>;
411f3a54d6cSSergei Shtylyov			interrupts = <GIC_PPI 9	(GIC_CPU_MASK_SIMPLE(1) |
412f3a54d6cSSergei Shtylyov				      IRQ_TYPE_LEVEL_HIGH)>;
413f3a54d6cSSergei Shtylyov			clocks = <&cpg CPG_MOD 408>;
414f3a54d6cSSergei Shtylyov			clock-names = "clk";
4151184ea3fSSergei Shtylyov			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
416f3a54d6cSSergei Shtylyov			resets = <&cpg 408>;
417f3a54d6cSSergei Shtylyov		};
418f3a54d6cSSergei Shtylyov
419f3a54d6cSSergei Shtylyov		prr: chipid@fff00044 {
420f3a54d6cSSergei Shtylyov			compatible = "renesas,prr";
421f3a54d6cSSergei Shtylyov			reg = <0 0xfff00044 0 4>;
422f3a54d6cSSergei Shtylyov		};
423f3a54d6cSSergei Shtylyov	};
424f3a54d6cSSergei Shtylyov
425f3a54d6cSSergei Shtylyov	timer {
426f3a54d6cSSergei Shtylyov		compatible = "arm,armv8-timer";
427f3a54d6cSSergei Shtylyov		interrupts-extended = <&gic GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(1) |
428f3a54d6cSSergei Shtylyov				       IRQ_TYPE_LEVEL_LOW)>,
429f3a54d6cSSergei Shtylyov				      <&gic GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(1) |
430f3a54d6cSSergei Shtylyov				       IRQ_TYPE_LEVEL_LOW)>,
431f3a54d6cSSergei Shtylyov				      <&gic GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(1) |
432f3a54d6cSSergei Shtylyov				       IRQ_TYPE_LEVEL_LOW)>,
433f3a54d6cSSergei Shtylyov				      <&gic GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(1) |
434f3a54d6cSSergei Shtylyov				       IRQ_TYPE_LEVEL_LOW)>;
435f3a54d6cSSergei Shtylyov	};
436f3a54d6cSSergei Shtylyov};
437