xref: /linux/scripts/dtc/include-prefixes/arm64/renesas/r8a77970.dtsi (revision c6a7fd98966015df742fe15d5a01827262f4fc41)
141f4345aSSergei Shtylyov/*
241f4345aSSergei Shtylyov * Device Tree Source for the r8a77970 SoC
341f4345aSSergei Shtylyov *
441f4345aSSergei Shtylyov * Copyright (C) 2016-2017 Renesas Electronics Corp.
541f4345aSSergei Shtylyov * Copyright (C) 2017 Cogent Embedded, Inc.
641f4345aSSergei Shtylyov *
741f4345aSSergei Shtylyov * This file is licensed under the terms of the GNU General Public License
841f4345aSSergei Shtylyov * version 2.  This program is licensed "as is" without any warranty of any
941f4345aSSergei Shtylyov * kind, whether express or implied.
1041f4345aSSergei Shtylyov */
1141f4345aSSergei Shtylyov
1241f4345aSSergei Shtylyov#include <dt-bindings/interrupt-controller/irq.h>
1341f4345aSSergei Shtylyov#include <dt-bindings/interrupt-controller/arm-gic.h>
1441f4345aSSergei Shtylyov#include <dt-bindings/clock/renesas-cpg-mssr.h>
1541f4345aSSergei Shtylyov
1641f4345aSSergei Shtylyov/ {
1741f4345aSSergei Shtylyov	compatible = "renesas,r8a77970";
1841f4345aSSergei Shtylyov	#address-cells = <2>;
1941f4345aSSergei Shtylyov	#size-cells = <2>;
2041f4345aSSergei Shtylyov
2141f4345aSSergei Shtylyov	psci {
2241f4345aSSergei Shtylyov		compatible = "arm,psci-1.0", "arm,psci-0.2";
2341f4345aSSergei Shtylyov		method = "smc";
2441f4345aSSergei Shtylyov	};
2541f4345aSSergei Shtylyov
2641f4345aSSergei Shtylyov	cpus {
2741f4345aSSergei Shtylyov		#address-cells = <1>;
2841f4345aSSergei Shtylyov		#size-cells = <0>;
2941f4345aSSergei Shtylyov
3041f4345aSSergei Shtylyov		a53_0: cpu@0 {
3141f4345aSSergei Shtylyov			device_type = "cpu";
3241f4345aSSergei Shtylyov			compatible = "arm,cortex-a53", "arm,armv8";
3341f4345aSSergei Shtylyov			reg = <0>;
3441f4345aSSergei Shtylyov			clocks = <&cpg CPG_CORE 0>;
3541f4345aSSergei Shtylyov			power-domains = <&sysc 5>;
3641f4345aSSergei Shtylyov			next-level-cache = <&L2_CA53>;
3741f4345aSSergei Shtylyov			enable-method = "psci";
3841f4345aSSergei Shtylyov		};
3941f4345aSSergei Shtylyov
4041f4345aSSergei Shtylyov		L2_CA53: cache-controller {
4141f4345aSSergei Shtylyov			compatible = "cache";
4241f4345aSSergei Shtylyov			power-domains = <&sysc 21>;
4341f4345aSSergei Shtylyov			cache-unified;
4441f4345aSSergei Shtylyov			cache-level = <2>;
4541f4345aSSergei Shtylyov		};
4641f4345aSSergei Shtylyov	};
4741f4345aSSergei Shtylyov
4841f4345aSSergei Shtylyov	extal_clk: extal {
4941f4345aSSergei Shtylyov		compatible = "fixed-clock";
5041f4345aSSergei Shtylyov		#clock-cells = <0>;
5141f4345aSSergei Shtylyov		/* This value must be overridden by the board */
5241f4345aSSergei Shtylyov		clock-frequency = <0>;
5341f4345aSSergei Shtylyov	};
5441f4345aSSergei Shtylyov
5541f4345aSSergei Shtylyov	extalr_clk: extalr {
5641f4345aSSergei Shtylyov		compatible = "fixed-clock";
5741f4345aSSergei Shtylyov		#clock-cells = <0>;
5841f4345aSSergei Shtylyov		/* This value must be overridden by the board */
5941f4345aSSergei Shtylyov		clock-frequency = <0>;
6041f4345aSSergei Shtylyov	};
6141f4345aSSergei Shtylyov
6238dbb6fcSSergei Shtylyov	/* External SCIF clock - to be overridden by boards that provide it */
6338dbb6fcSSergei Shtylyov	scif_clk: scif {
6438dbb6fcSSergei Shtylyov		compatible = "fixed-clock";
6538dbb6fcSSergei Shtylyov		#clock-cells = <0>;
6638dbb6fcSSergei Shtylyov		clock-frequency = <0>;
6738dbb6fcSSergei Shtylyov	};
6838dbb6fcSSergei Shtylyov
6941f4345aSSergei Shtylyov	soc {
7041f4345aSSergei Shtylyov		compatible = "simple-bus";
7141f4345aSSergei Shtylyov		interrupt-parent = <&gic>;
7241f4345aSSergei Shtylyov
7341f4345aSSergei Shtylyov		#address-cells = <2>;
7441f4345aSSergei Shtylyov		#size-cells = <2>;
7541f4345aSSergei Shtylyov		ranges;
7641f4345aSSergei Shtylyov
7741f4345aSSergei Shtylyov		gic: interrupt-controller@f1010000 {
7841f4345aSSergei Shtylyov			compatible = "arm,gic-400";
7941f4345aSSergei Shtylyov			#interrupt-cells = <3>;
8041f4345aSSergei Shtylyov			#address-cells = <0>;
8141f4345aSSergei Shtylyov			interrupt-controller;
8241f4345aSSergei Shtylyov			reg = <0 0xf1010000 0 0x1000>,
8341f4345aSSergei Shtylyov			      <0 0xf1020000 0 0x20000>,
8441f4345aSSergei Shtylyov			      <0 0xf1040000 0 0x20000>,
8541f4345aSSergei Shtylyov			      <0 0xf1060000 0 0x20000>;
8641f4345aSSergei Shtylyov			interrupts = <GIC_PPI 9	(GIC_CPU_MASK_SIMPLE(1) |
8741f4345aSSergei Shtylyov				      IRQ_TYPE_LEVEL_HIGH)>;
8841f4345aSSergei Shtylyov			clocks = <&cpg CPG_MOD 408>;
8941f4345aSSergei Shtylyov			clock-names = "clk";
9041f4345aSSergei Shtylyov			power-domains = <&sysc 32>;
9141f4345aSSergei Shtylyov			resets = <&cpg 408>;
9241f4345aSSergei Shtylyov		};
9341f4345aSSergei Shtylyov
9441f4345aSSergei Shtylyov		timer {
9541f4345aSSergei Shtylyov			compatible = "arm,armv8-timer";
9641f4345aSSergei Shtylyov			interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(1) |
9741f4345aSSergei Shtylyov						  IRQ_TYPE_LEVEL_LOW)>,
9841f4345aSSergei Shtylyov				     <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(1) |
9941f4345aSSergei Shtylyov						  IRQ_TYPE_LEVEL_LOW)>,
10041f4345aSSergei Shtylyov				     <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(1) |
10141f4345aSSergei Shtylyov						  IRQ_TYPE_LEVEL_LOW)>,
10241f4345aSSergei Shtylyov				     <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(1) |
10341f4345aSSergei Shtylyov						  IRQ_TYPE_LEVEL_LOW)>;
10441f4345aSSergei Shtylyov		};
10541f4345aSSergei Shtylyov
10641f4345aSSergei Shtylyov		cpg: clock-controller@e6150000 {
10741f4345aSSergei Shtylyov			compatible = "renesas,r8a77970-cpg-mssr";
10841f4345aSSergei Shtylyov			reg = <0 0xe6150000 0 0x1000>;
10941f4345aSSergei Shtylyov			clocks = <&extal_clk>, <&extalr_clk>;
11041f4345aSSergei Shtylyov			clock-names = "extal", "extalr";
11141f4345aSSergei Shtylyov			#clock-cells = <2>;
11241f4345aSSergei Shtylyov			#power-domain-cells = <0>;
11341f4345aSSergei Shtylyov			#reset-cells = <1>;
11441f4345aSSergei Shtylyov		};
11541f4345aSSergei Shtylyov
11641f4345aSSergei Shtylyov		rst: reset-controller@e6160000 {
11741f4345aSSergei Shtylyov			compatible = "renesas,r8a77970-rst";
11841f4345aSSergei Shtylyov			reg = <0 0xe6160000 0 0x200>;
11941f4345aSSergei Shtylyov		};
12041f4345aSSergei Shtylyov
12141f4345aSSergei Shtylyov		sysc: system-controller@e6180000 {
12241f4345aSSergei Shtylyov			compatible = "renesas,r8a77970-sysc";
12341f4345aSSergei Shtylyov			reg = <0 0xe6180000 0 0x440>;
12441f4345aSSergei Shtylyov			#power-domain-cells = <1>;
12541f4345aSSergei Shtylyov		};
12641f4345aSSergei Shtylyov
127*c6a7fd98SGeert Uytterhoeven		intc_ex: interrupt-controller@e61c0000 {
128*c6a7fd98SGeert Uytterhoeven			compatible = "renesas,intc-ex-r8a77970", "renesas,irqc";
129*c6a7fd98SGeert Uytterhoeven			#interrupt-cells = <2>;
130*c6a7fd98SGeert Uytterhoeven			interrupt-controller;
131*c6a7fd98SGeert Uytterhoeven			reg = <0 0xe61c0000 0 0x200>;
132*c6a7fd98SGeert Uytterhoeven			interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH
133*c6a7fd98SGeert Uytterhoeven				      GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH
134*c6a7fd98SGeert Uytterhoeven				      GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH
135*c6a7fd98SGeert Uytterhoeven				      GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH
136*c6a7fd98SGeert Uytterhoeven				      GIC_SPI 18 IRQ_TYPE_LEVEL_HIGH
137*c6a7fd98SGeert Uytterhoeven				      GIC_SPI 161 IRQ_TYPE_LEVEL_HIGH>;
138*c6a7fd98SGeert Uytterhoeven			clocks = <&cpg CPG_MOD 407>;
139*c6a7fd98SGeert Uytterhoeven			power-domains = <&sysc 32>;
140*c6a7fd98SGeert Uytterhoeven			resets = <&cpg 407>;
141*c6a7fd98SGeert Uytterhoeven		};
142*c6a7fd98SGeert Uytterhoeven
14341f4345aSSergei Shtylyov		prr: chipid@fff00044 {
14441f4345aSSergei Shtylyov			compatible = "renesas,prr";
14541f4345aSSergei Shtylyov			reg = <0 0xfff00044 0 4>;
14641f4345aSSergei Shtylyov		};
147bd746e70SSergei Shtylyov
148bd746e70SSergei Shtylyov		dmac1: dma-controller@e7300000 {
149bd746e70SSergei Shtylyov			compatible = "renesas,dmac-r8a77970",
150bd746e70SSergei Shtylyov				     "renesas,rcar-dmac";
151bd746e70SSergei Shtylyov			reg = <0 0xe7300000 0 0x10000>;
152bd746e70SSergei Shtylyov			interrupts = <GIC_SPI 220 IRQ_TYPE_LEVEL_HIGH
153bd746e70SSergei Shtylyov				      GIC_SPI 216 IRQ_TYPE_LEVEL_HIGH
154bd746e70SSergei Shtylyov				      GIC_SPI 217 IRQ_TYPE_LEVEL_HIGH
155bd746e70SSergei Shtylyov				      GIC_SPI 218 IRQ_TYPE_LEVEL_HIGH
156bd746e70SSergei Shtylyov				      GIC_SPI 219 IRQ_TYPE_LEVEL_HIGH
157bd746e70SSergei Shtylyov				      GIC_SPI 308 IRQ_TYPE_LEVEL_HIGH
158bd746e70SSergei Shtylyov				      GIC_SPI 309 IRQ_TYPE_LEVEL_HIGH
159bd746e70SSergei Shtylyov				      GIC_SPI 310 IRQ_TYPE_LEVEL_HIGH
160bd746e70SSergei Shtylyov				      GIC_SPI 311 IRQ_TYPE_LEVEL_HIGH>;
161bd746e70SSergei Shtylyov			interrupt-names = "error",
162bd746e70SSergei Shtylyov					  "ch0", "ch1", "ch2", "ch3",
163bd746e70SSergei Shtylyov					  "ch4", "ch5", "ch6", "ch7";
164bd746e70SSergei Shtylyov			clocks = <&cpg CPG_MOD 218>;
165bd746e70SSergei Shtylyov			clock-names = "fck";
166bd746e70SSergei Shtylyov			power-domains = <&sysc 32>;
167bd746e70SSergei Shtylyov			resets = <&cpg 218>;
168bd746e70SSergei Shtylyov			#dma-cells = <1>;
169bd746e70SSergei Shtylyov			dma-channels = <8>;
170bd746e70SSergei Shtylyov		};
171bd746e70SSergei Shtylyov
172bd746e70SSergei Shtylyov		dmac2: dma-controller@e7310000 {
173bd746e70SSergei Shtylyov			compatible = "renesas,dmac-r8a77970",
174bd746e70SSergei Shtylyov				     "renesas,rcar-dmac";
175bd746e70SSergei Shtylyov			reg = <0 0xe7310000 0 0x10000>;
176bd746e70SSergei Shtylyov			interrupts = <GIC_SPI 307 IRQ_TYPE_LEVEL_HIGH
177bd746e70SSergei Shtylyov				      GIC_SPI 312 IRQ_TYPE_LEVEL_HIGH
178bd746e70SSergei Shtylyov				      GIC_SPI 313 IRQ_TYPE_LEVEL_HIGH
179bd746e70SSergei Shtylyov				      GIC_SPI 314 IRQ_TYPE_LEVEL_HIGH
180bd746e70SSergei Shtylyov				      GIC_SPI 315 IRQ_TYPE_LEVEL_HIGH
181bd746e70SSergei Shtylyov				      GIC_SPI 316 IRQ_TYPE_LEVEL_HIGH
182bd746e70SSergei Shtylyov				      GIC_SPI 317 IRQ_TYPE_LEVEL_HIGH
183bd746e70SSergei Shtylyov				      GIC_SPI 318 IRQ_TYPE_LEVEL_HIGH
184bd746e70SSergei Shtylyov				      GIC_SPI 319 IRQ_TYPE_LEVEL_HIGH>;
185bd746e70SSergei Shtylyov			interrupt-names = "error",
186bd746e70SSergei Shtylyov					  "ch0", "ch1", "ch2", "ch3",
187bd746e70SSergei Shtylyov					  "ch4", "ch5", "ch6", "ch7";
188bd746e70SSergei Shtylyov			clocks = <&cpg CPG_MOD 217>;
189bd746e70SSergei Shtylyov			clock-names = "fck";
190bd746e70SSergei Shtylyov			power-domains = <&sysc 32>;
191bd746e70SSergei Shtylyov			resets = <&cpg 217>;
192bd746e70SSergei Shtylyov			#dma-cells = <1>;
193bd746e70SSergei Shtylyov			dma-channels = <8>;
194bd746e70SSergei Shtylyov		};
19538dbb6fcSSergei Shtylyov
19638dbb6fcSSergei Shtylyov		hscif0: serial@e6540000 {
19738dbb6fcSSergei Shtylyov			compatible = "renesas,hscif-r8a77970",
19838dbb6fcSSergei Shtylyov				     "renesas,rcar-gen3-hscif",
19938dbb6fcSSergei Shtylyov				     "renesas,hscif";
20038dbb6fcSSergei Shtylyov			reg = <0 0xe6540000 0 96>;
20138dbb6fcSSergei Shtylyov			interrupts = <GIC_SPI 154 IRQ_TYPE_LEVEL_HIGH>;
20238dbb6fcSSergei Shtylyov			clocks = <&cpg CPG_MOD 520>,
20338dbb6fcSSergei Shtylyov				 <&cpg CPG_CORE 9>,
20438dbb6fcSSergei Shtylyov				 <&scif_clk>;
20538dbb6fcSSergei Shtylyov			clock-names = "fck", "brg_int", "scif_clk";
20638dbb6fcSSergei Shtylyov			dmas = <&dmac1 0x31>, <&dmac1 0x30>,
20738dbb6fcSSergei Shtylyov			       <&dmac2 0x31>, <&dmac2 0x30>;
20838dbb6fcSSergei Shtylyov			dma-names = "tx", "rx", "tx", "rx";
20938dbb6fcSSergei Shtylyov			power-domains = <&sysc 32>;
21038dbb6fcSSergei Shtylyov			resets = <&cpg 520>;
21138dbb6fcSSergei Shtylyov			status = "disabled";
21238dbb6fcSSergei Shtylyov		};
21338dbb6fcSSergei Shtylyov
21438dbb6fcSSergei Shtylyov		hscif1: serial@e6550000 {
21538dbb6fcSSergei Shtylyov			compatible = "renesas,hscif-r8a77970",
21638dbb6fcSSergei Shtylyov				     "renesas,rcar-gen3-hscif",
21738dbb6fcSSergei Shtylyov				     "renesas,hscif";
21838dbb6fcSSergei Shtylyov			reg = <0 0xe6550000 0 96>;
21938dbb6fcSSergei Shtylyov			interrupts = <GIC_SPI 155 IRQ_TYPE_LEVEL_HIGH>;
22038dbb6fcSSergei Shtylyov			clocks = <&cpg CPG_MOD 519>,
22138dbb6fcSSergei Shtylyov				 <&cpg CPG_CORE 9>,
22238dbb6fcSSergei Shtylyov				 <&scif_clk>;
22338dbb6fcSSergei Shtylyov			clock-names = "fck", "brg_int", "scif_clk";
22438dbb6fcSSergei Shtylyov			dmas = <&dmac1 0x33>, <&dmac1 0x32>,
22538dbb6fcSSergei Shtylyov			       <&dmac2 0x33>, <&dmac2 0x32>;
22638dbb6fcSSergei Shtylyov			dma-names = "tx", "rx", "tx", "rx";
22738dbb6fcSSergei Shtylyov			power-domains = <&sysc 32>;
22838dbb6fcSSergei Shtylyov			resets = <&cpg 519>;
22938dbb6fcSSergei Shtylyov			status = "disabled";
23038dbb6fcSSergei Shtylyov		};
23138dbb6fcSSergei Shtylyov
23238dbb6fcSSergei Shtylyov		hscif2: serial@e6560000 {
23338dbb6fcSSergei Shtylyov			compatible = "renesas,hscif-r8a77970",
23438dbb6fcSSergei Shtylyov				     "renesas,rcar-gen3-hscif",
23538dbb6fcSSergei Shtylyov				     "renesas,hscif";
23638dbb6fcSSergei Shtylyov			reg = <0 0xe6560000 0 96>;
23738dbb6fcSSergei Shtylyov			interrupts = <GIC_SPI 144 IRQ_TYPE_LEVEL_HIGH>;
23838dbb6fcSSergei Shtylyov			clocks = <&cpg CPG_MOD 518>,
23938dbb6fcSSergei Shtylyov				 <&cpg CPG_CORE 9>,
24038dbb6fcSSergei Shtylyov				 <&scif_clk>;
24138dbb6fcSSergei Shtylyov			clock-names = "fck", "brg_int", "scif_clk";
24238dbb6fcSSergei Shtylyov			dmas = <&dmac1 0x35>, <&dmac1 0x34>,
24338dbb6fcSSergei Shtylyov			       <&dmac2 0x35>, <&dmac2 0x34>;
24438dbb6fcSSergei Shtylyov			dma-names = "tx", "rx", "tx", "rx";
24538dbb6fcSSergei Shtylyov			power-domains = <&sysc 32>;
24638dbb6fcSSergei Shtylyov			resets = <&cpg 518>;
24738dbb6fcSSergei Shtylyov			status = "disabled";
24838dbb6fcSSergei Shtylyov		};
24938dbb6fcSSergei Shtylyov
25038dbb6fcSSergei Shtylyov		hscif3: serial@e66a0000 {
25138dbb6fcSSergei Shtylyov			compatible = "renesas,hscif-r8a77970",
25238dbb6fcSSergei Shtylyov				     "renesas,rcar-gen3-hscif", "renesas,hscif";
25338dbb6fcSSergei Shtylyov			reg = <0 0xe66a0000 0 96>;
25438dbb6fcSSergei Shtylyov			interrupts = <GIC_SPI 145 IRQ_TYPE_LEVEL_HIGH>;
25538dbb6fcSSergei Shtylyov			clocks = <&cpg CPG_MOD 517>,
25638dbb6fcSSergei Shtylyov				 <&cpg CPG_CORE 9>,
25738dbb6fcSSergei Shtylyov				 <&scif_clk>;
25838dbb6fcSSergei Shtylyov			clock-names = "fck", "brg_int", "scif_clk";
25938dbb6fcSSergei Shtylyov			dmas = <&dmac1 0x37>, <&dmac1 0x36>,
26038dbb6fcSSergei Shtylyov			       <&dmac2 0x37>, <&dmac2 0x36>;
26138dbb6fcSSergei Shtylyov			dma-names = "tx", "rx", "tx", "rx";
26238dbb6fcSSergei Shtylyov			power-domains = <&sysc 32>;
26338dbb6fcSSergei Shtylyov			resets = <&cpg 517>;
26438dbb6fcSSergei Shtylyov			status = "disabled";
26538dbb6fcSSergei Shtylyov		};
26638dbb6fcSSergei Shtylyov
26738dbb6fcSSergei Shtylyov		scif0: serial@e6e60000 {
26838dbb6fcSSergei Shtylyov			compatible = "renesas,scif-r8a77970",
26938dbb6fcSSergei Shtylyov				     "renesas,rcar-gen3-scif",
27038dbb6fcSSergei Shtylyov				     "renesas,scif";
27138dbb6fcSSergei Shtylyov			reg = <0 0xe6e60000 0 64>;
27238dbb6fcSSergei Shtylyov			interrupts = <GIC_SPI 152 IRQ_TYPE_LEVEL_HIGH>;
27338dbb6fcSSergei Shtylyov			clocks = <&cpg CPG_MOD 207>,
27438dbb6fcSSergei Shtylyov				 <&cpg CPG_CORE 9>,
27538dbb6fcSSergei Shtylyov				 <&scif_clk>;
27638dbb6fcSSergei Shtylyov			clock-names = "fck", "brg_int", "scif_clk";
27738dbb6fcSSergei Shtylyov			dmas = <&dmac1 0x51>, <&dmac1 0x50>,
27838dbb6fcSSergei Shtylyov			       <&dmac2 0x51>, <&dmac2 0x50>;
27938dbb6fcSSergei Shtylyov			dma-names = "tx", "rx", "tx", "rx";
28038dbb6fcSSergei Shtylyov			power-domains = <&sysc 32>;
28138dbb6fcSSergei Shtylyov			resets = <&cpg 207>;
28238dbb6fcSSergei Shtylyov			status = "disabled";
28338dbb6fcSSergei Shtylyov		};
28438dbb6fcSSergei Shtylyov
28538dbb6fcSSergei Shtylyov		scif1: serial@e6e68000 {
28638dbb6fcSSergei Shtylyov			compatible = "renesas,scif-r8a77970",
28738dbb6fcSSergei Shtylyov				     "renesas,rcar-gen3-scif",
28838dbb6fcSSergei Shtylyov				     "renesas,scif";
28938dbb6fcSSergei Shtylyov			reg = <0 0xe6e68000 0 64>;
29038dbb6fcSSergei Shtylyov			interrupts = <GIC_SPI 153 IRQ_TYPE_LEVEL_HIGH>;
29138dbb6fcSSergei Shtylyov			clocks = <&cpg CPG_MOD 206>,
29238dbb6fcSSergei Shtylyov				 <&cpg CPG_CORE 9>,
29338dbb6fcSSergei Shtylyov				 <&scif_clk>;
29438dbb6fcSSergei Shtylyov			clock-names = "fck", "brg_int", "scif_clk";
29538dbb6fcSSergei Shtylyov			dmas = <&dmac1 0x53>, <&dmac1 0x52>,
29638dbb6fcSSergei Shtylyov			       <&dmac2 0x53>, <&dmac2 0x52>;
29738dbb6fcSSergei Shtylyov			dma-names = "tx", "rx", "tx", "rx";
29838dbb6fcSSergei Shtylyov			power-domains = <&sysc 32>;
29938dbb6fcSSergei Shtylyov			resets = <&cpg 206>;
30038dbb6fcSSergei Shtylyov			status = "disabled";
30138dbb6fcSSergei Shtylyov		};
30238dbb6fcSSergei Shtylyov
30338dbb6fcSSergei Shtylyov		scif3: serial@e6c50000 {
30438dbb6fcSSergei Shtylyov			compatible = "renesas,scif-r8a77970",
30538dbb6fcSSergei Shtylyov				     "renesas,rcar-gen3-scif",
30638dbb6fcSSergei Shtylyov				     "renesas,scif";
30738dbb6fcSSergei Shtylyov			reg = <0 0xe6c50000 0 64>;
30838dbb6fcSSergei Shtylyov			interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>;
30938dbb6fcSSergei Shtylyov			clocks = <&cpg CPG_MOD 204>,
31038dbb6fcSSergei Shtylyov				 <&cpg CPG_CORE 9>,
31138dbb6fcSSergei Shtylyov				 <&scif_clk>;
31238dbb6fcSSergei Shtylyov			clock-names = "fck", "brg_int", "scif_clk";
31338dbb6fcSSergei Shtylyov			dmas = <&dmac1 0x57>, <&dmac1 0x56>,
31438dbb6fcSSergei Shtylyov			       <&dmac2 0x57>, <&dmac2 0x56>;
31538dbb6fcSSergei Shtylyov			dma-names = "tx", "rx", "tx", "rx";
31638dbb6fcSSergei Shtylyov			power-domains = <&sysc 32>;
31738dbb6fcSSergei Shtylyov			resets = <&cpg 204>;
31838dbb6fcSSergei Shtylyov			status = "disabled";
31938dbb6fcSSergei Shtylyov		};
32038dbb6fcSSergei Shtylyov
32138dbb6fcSSergei Shtylyov		scif4: serial@e6c40000 {
32238dbb6fcSSergei Shtylyov			compatible = "renesas,scif-r8a77970",
32338dbb6fcSSergei Shtylyov				     "renesas,rcar-gen3-scif", "renesas,scif";
32438dbb6fcSSergei Shtylyov			reg = <0 0xe6c40000 0 64>;
32538dbb6fcSSergei Shtylyov			interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>;
32638dbb6fcSSergei Shtylyov			clocks = <&cpg CPG_MOD 203>,
32738dbb6fcSSergei Shtylyov				 <&cpg CPG_CORE 9>,
32838dbb6fcSSergei Shtylyov				 <&scif_clk>;
32938dbb6fcSSergei Shtylyov			clock-names = "fck", "brg_int", "scif_clk";
33038dbb6fcSSergei Shtylyov			dmas = <&dmac1 0x59>, <&dmac1 0x58>,
33138dbb6fcSSergei Shtylyov			       <&dmac2 0x59>, <&dmac2 0x58>;
33238dbb6fcSSergei Shtylyov			dma-names = "tx", "rx", "tx", "rx";
33338dbb6fcSSergei Shtylyov			power-domains = <&sysc 32>;
33438dbb6fcSSergei Shtylyov			resets = <&cpg 203>;
33538dbb6fcSSergei Shtylyov			status = "disabled";
33638dbb6fcSSergei Shtylyov		};
337bea2ab13SSergei Shtylyov
338bea2ab13SSergei Shtylyov		avb: ethernet@e6800000 {
339bea2ab13SSergei Shtylyov			compatible = "renesas,etheravb-r8a77970",
340bea2ab13SSergei Shtylyov				     "renesas,etheravb-rcar-gen3";
341bea2ab13SSergei Shtylyov			reg = <0 0xe6800000 0 0x800>, <0 0xe6a00000 0 0x10000>;
342bea2ab13SSergei Shtylyov			interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>,
343bea2ab13SSergei Shtylyov				     <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>,
344bea2ab13SSergei Shtylyov				     <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>,
345bea2ab13SSergei Shtylyov				     <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>,
346bea2ab13SSergei Shtylyov				     <GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>,
347bea2ab13SSergei Shtylyov				     <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>,
348bea2ab13SSergei Shtylyov				     <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>,
349bea2ab13SSergei Shtylyov				     <GIC_SPI 46 IRQ_TYPE_LEVEL_HIGH>,
350bea2ab13SSergei Shtylyov				     <GIC_SPI 47 IRQ_TYPE_LEVEL_HIGH>,
351bea2ab13SSergei Shtylyov				     <GIC_SPI 48 IRQ_TYPE_LEVEL_HIGH>,
352bea2ab13SSergei Shtylyov				     <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>,
353bea2ab13SSergei Shtylyov				     <GIC_SPI 50 IRQ_TYPE_LEVEL_HIGH>,
354bea2ab13SSergei Shtylyov				     <GIC_SPI 51 IRQ_TYPE_LEVEL_HIGH>,
355bea2ab13SSergei Shtylyov				     <GIC_SPI 52 IRQ_TYPE_LEVEL_HIGH>,
356bea2ab13SSergei Shtylyov				     <GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH>,
357bea2ab13SSergei Shtylyov				     <GIC_SPI 54 IRQ_TYPE_LEVEL_HIGH>,
358bea2ab13SSergei Shtylyov				     <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>,
359bea2ab13SSergei Shtylyov				     <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>,
360bea2ab13SSergei Shtylyov				     <GIC_SPI 57 IRQ_TYPE_LEVEL_HIGH>,
361bea2ab13SSergei Shtylyov				     <GIC_SPI 58 IRQ_TYPE_LEVEL_HIGH>,
362bea2ab13SSergei Shtylyov				     <GIC_SPI 59 IRQ_TYPE_LEVEL_HIGH>,
363bea2ab13SSergei Shtylyov				     <GIC_SPI 60 IRQ_TYPE_LEVEL_HIGH>,
364bea2ab13SSergei Shtylyov				     <GIC_SPI 61 IRQ_TYPE_LEVEL_HIGH>,
365bea2ab13SSergei Shtylyov				     <GIC_SPI 62 IRQ_TYPE_LEVEL_HIGH>,
366bea2ab13SSergei Shtylyov				     <GIC_SPI 63 IRQ_TYPE_LEVEL_HIGH>;
367bea2ab13SSergei Shtylyov			interrupt-names = "ch0", "ch1", "ch2", "ch3",
368bea2ab13SSergei Shtylyov					  "ch4", "ch5", "ch6", "ch7",
369bea2ab13SSergei Shtylyov					  "ch8", "ch9", "ch10", "ch11",
370bea2ab13SSergei Shtylyov					  "ch12", "ch13", "ch14", "ch15",
371bea2ab13SSergei Shtylyov					  "ch16", "ch17", "ch18", "ch19",
372bea2ab13SSergei Shtylyov					  "ch20", "ch21", "ch22", "ch23",
373bea2ab13SSergei Shtylyov					  "ch24";
374bea2ab13SSergei Shtylyov			clocks = <&cpg CPG_MOD 812>;
375bea2ab13SSergei Shtylyov			power-domains = <&sysc 32>;
376bea2ab13SSergei Shtylyov			resets = <&cpg 812>;
377bea2ab13SSergei Shtylyov			phy-mode = "rgmii-id";
378bea2ab13SSergei Shtylyov			#address-cells = <1>;
379bea2ab13SSergei Shtylyov			#size-cells = <0>;
380bea2ab13SSergei Shtylyov		};
38141f4345aSSergei Shtylyov	};
38241f4345aSSergei Shtylyov};
383