1 // SPDX-License-Identifier: GPL-2.0
3 * Device Tree Source for the R7S9210 SoC
5 * Copyright (C) 2018 Renesas Electronics Corporation
9 #include <dt-bindings/interrupt-controller/arm-gic.h>
10 #include <dt-bindings/clock/r7s9210-cpg-mssr.h>
13 compatible = "renesas,r7s9210";
14 interrupt-parent = <&gic>;
21 compatible = "fixed-clock";
22 /* Value must be set by board */
23 clock-frequency = <0>;
28 compatible = "fixed-clock";
29 /* If clk present, value (32678) must be set by board */
30 clock-frequency = <0>;
39 compatible = "arm,cortex-a9";
41 clock-frequency = <528000000>;
42 next-level-cache = <&L2>;
47 compatible = "simple-bus";
48 interrupt-parent = <&gic>;
54 L2: cache-controller@1f003000 {
55 compatible = "arm,pl310-cache";
56 reg = <0x1f003000 0x1000>;
57 interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>;
58 arm,early-bresp-disable;
59 arm,full-line-zero-disable;
64 scif0: serial@e8007000 {
65 compatible = "renesas,scif-r7s9210";
66 reg = <0xe8007000 0x18>;
67 interrupts = <GIC_SPI 265 IRQ_TYPE_LEVEL_HIGH>,
68 <GIC_SPI 266 IRQ_TYPE_LEVEL_HIGH>,
69 <GIC_SPI 267 IRQ_TYPE_LEVEL_HIGH>,
70 <GIC_SPI 265 IRQ_TYPE_LEVEL_HIGH>,
71 <GIC_SPI 268 IRQ_TYPE_LEVEL_HIGH>,
72 <GIC_SPI 268 IRQ_TYPE_LEVEL_HIGH>;
73 interrupt-names = "eri", "rxi", "txi",
75 clocks = <&cpg CPG_MOD 47>;
77 power-domains = <&cpg>;
81 scif1: serial@e8007800 {
82 compatible = "renesas,scif-r7s9210";
83 reg = <0xe8007800 0x18>;
84 interrupts = <GIC_SPI 271 IRQ_TYPE_LEVEL_HIGH>,
85 <GIC_SPI 272 IRQ_TYPE_LEVEL_HIGH>,
86 <GIC_SPI 273 IRQ_TYPE_LEVEL_HIGH>,
87 <GIC_SPI 271 IRQ_TYPE_LEVEL_HIGH>,
88 <GIC_SPI 274 IRQ_TYPE_LEVEL_HIGH>,
89 <GIC_SPI 274 IRQ_TYPE_LEVEL_HIGH>;
90 interrupt-names = "eri", "rxi", "txi",
92 clocks = <&cpg CPG_MOD 46>;
94 power-domains = <&cpg>;
98 scif2: serial@e8008000 {
99 compatible = "renesas,scif-r7s9210";
100 reg = <0xe8008000 0x18>;
101 interrupts = <GIC_SPI 277 IRQ_TYPE_LEVEL_HIGH>,
102 <GIC_SPI 278 IRQ_TYPE_LEVEL_HIGH>,
103 <GIC_SPI 279 IRQ_TYPE_LEVEL_HIGH>,
104 <GIC_SPI 277 IRQ_TYPE_LEVEL_HIGH>,
105 <GIC_SPI 280 IRQ_TYPE_LEVEL_HIGH>,
106 <GIC_SPI 280 IRQ_TYPE_LEVEL_HIGH>;
107 interrupt-names = "eri", "rxi", "txi",
109 clocks = <&cpg CPG_MOD 45>;
111 power-domains = <&cpg>;
115 scif3: serial@e8008800 {
116 compatible = "renesas,scif-r7s9210";
117 reg = <0xe8008800 0x18>;
118 interrupts = <GIC_SPI 283 IRQ_TYPE_LEVEL_HIGH>,
119 <GIC_SPI 284 IRQ_TYPE_LEVEL_HIGH>,
120 <GIC_SPI 285 IRQ_TYPE_LEVEL_HIGH>,
121 <GIC_SPI 283 IRQ_TYPE_LEVEL_HIGH>,
122 <GIC_SPI 286 IRQ_TYPE_LEVEL_HIGH>,
123 <GIC_SPI 286 IRQ_TYPE_LEVEL_HIGH>;
124 interrupt-names = "eri", "rxi", "txi",
126 clocks = <&cpg CPG_MOD 44>;
128 power-domains = <&cpg>;
132 scif4: serial@e8009000 {
133 compatible = "renesas,scif-r7s9210";
134 reg = <0xe8009000 0x18>;
135 interrupts = <GIC_SPI 289 IRQ_TYPE_LEVEL_HIGH>,
136 <GIC_SPI 290 IRQ_TYPE_LEVEL_HIGH>,
137 <GIC_SPI 291 IRQ_TYPE_LEVEL_HIGH>,
138 <GIC_SPI 289 IRQ_TYPE_LEVEL_HIGH>,
139 <GIC_SPI 292 IRQ_TYPE_LEVEL_HIGH>,
140 <GIC_SPI 292 IRQ_TYPE_LEVEL_HIGH>;
141 interrupt-names = "eri", "rxi", "txi",
143 clocks = <&cpg CPG_MOD 43>;
145 power-domains = <&cpg>;
150 compatible = "renesas,rspi-r7s9210", "renesas,rspi-rz";
151 reg = <0xe800c800 0x24>;
152 interrupts = <GIC_SPI 312 IRQ_TYPE_LEVEL_HIGH>,
153 <GIC_SPI 313 IRQ_TYPE_LEVEL_HIGH>,
154 <GIC_SPI 314 IRQ_TYPE_LEVEL_HIGH>;
155 interrupt-names = "error", "rx", "tx";
156 clocks = <&cpg CPG_MOD 97>;
157 power-domains = <&cpg>;
159 #address-cells = <1>;
165 compatible = "renesas,rspi-r7s9210", "renesas,rspi-rz";
166 reg = <0xe800d000 0x24>;
167 interrupts = <GIC_SPI 315 IRQ_TYPE_LEVEL_HIGH>,
168 <GIC_SPI 316 IRQ_TYPE_LEVEL_HIGH>,
169 <GIC_SPI 317 IRQ_TYPE_LEVEL_HIGH>;
170 interrupt-names = "error", "rx", "tx";
171 clocks = <&cpg CPG_MOD 96>;
172 power-domains = <&cpg>;
174 #address-cells = <1>;
180 compatible = "renesas,rspi-r7s9210", "renesas,rspi-rz";
181 reg = <0xe800d800 0x24>;
182 interrupts = <GIC_SPI 318 IRQ_TYPE_LEVEL_HIGH>,
183 <GIC_SPI 319 IRQ_TYPE_LEVEL_HIGH>,
184 <GIC_SPI 320 IRQ_TYPE_LEVEL_HIGH>;
185 interrupt-names = "error", "rx", "tx";
186 clocks = <&cpg CPG_MOD 95>;
187 power-domains = <&cpg>;
189 #address-cells = <1>;
194 ether0: ethernet@e8204000 {
195 compatible = "renesas,ether-r7s9210";
196 reg = <0xe8204000 0x200>;
197 interrupts = <GIC_SPI 341 IRQ_TYPE_LEVEL_HIGH>;
198 clocks = <&cpg CPG_MOD 65>;
199 power-domains = <&cpg>;
202 #address-cells = <1>;
207 ether1: ethernet@e8204200 {
208 compatible = "renesas,ether-r7s9210";
209 reg = <0xe8204200 0x200>;
210 interrupts = <GIC_SPI 342 IRQ_TYPE_LEVEL_HIGH>;
211 clocks = <&cpg CPG_MOD 64>;
212 power-domains = <&cpg>;
214 #address-cells = <1>;
219 ostm0: timer@e803b000 {
220 compatible = "renesas,r7s9210-ostm", "renesas,ostm";
221 reg = <0xe803b000 0x30>;
222 interrupts = <GIC_SPI 56 IRQ_TYPE_EDGE_RISING>;
223 clocks = <&cpg CPG_MOD 36>;
224 clock-names = "ostm0";
225 power-domains = <&cpg>;
229 ostm1: timer@e803c000 {
230 compatible = "renesas,r7s9210-ostm", "renesas,ostm";
231 reg = <0xe803c000 0x30>;
232 interrupts = <GIC_SPI 57 IRQ_TYPE_EDGE_RISING>;
233 clocks = <&cpg CPG_MOD 35>;
234 clock-names = "ostm1";
235 power-domains = <&cpg>;
239 ostm2: timer@e803d000 {
240 compatible = "renesas,r7s9210-ostm", "renesas,ostm";
241 reg = <0xe803d000 0x30>;
242 interrupts = <GIC_SPI 58 IRQ_TYPE_EDGE_RISING>;
243 clocks = <&cpg CPG_MOD 34>;
244 clock-names = "ostm2";
245 power-domains = <&cpg>;
249 gic: interrupt-controller@e8221000 {
250 compatible = "arm,gic-400";
251 #interrupt-cells = <3>;
252 #address-cells = <0>;
253 interrupt-controller;
254 reg = <0xe8221000 0x1000>,
258 cpg: clock-controller@fcfe0010 {
259 compatible = "renesas,r7s9210-cpg-mssr";
260 reg = <0xfcfe0010 0x455>;
261 clocks = <&extal_clk>;
262 clock-names = "extal";
264 #power-domain-cells = <0>;
267 wdt: watchdog@fcfe7000 {
268 compatible = "renesas,r7s9210-wdt", "renesas,rza-wdt";
269 reg = <0xfcfe7000 0x26>;
270 interrupts = <GIC_SPI 61 IRQ_TYPE_LEVEL_HIGH>;
271 clocks = <&cpg CPG_CORE R7S9210_CLK_P0>;
274 bsid: chipid@fcfe8004 {
275 compatible = "renesas,bsid";
276 reg = <0xfcfe8004 4>;
279 pinctrl: pin-controller@fcffe000 {
280 compatible = "renesas,r7s9210-pinctrl";
281 reg = <0xfcffe000 0x1000>;
285 gpio-ranges = <&pinctrl 0 0 176>;