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>;
149 ostm0: timer@e803b000 {
150 compatible = "renesas,r7s9210-ostm", "renesas,ostm";
151 reg = <0xe803b000 0x30>;
152 interrupts = <GIC_SPI 56 IRQ_TYPE_EDGE_RISING>;
153 clocks = <&cpg CPG_MOD 36>;
154 clock-names = "ostm0";
155 power-domains = <&cpg>;
159 ostm1: timer@e803c000 {
160 compatible = "renesas,r7s9210-ostm", "renesas,ostm";
161 reg = <0xe803c000 0x30>;
162 interrupts = <GIC_SPI 57 IRQ_TYPE_EDGE_RISING>;
163 clocks = <&cpg CPG_MOD 35>;
164 clock-names = "ostm1";
165 power-domains = <&cpg>;
169 ostm2: timer@e803d000 {
170 compatible = "renesas,r7s9210-ostm", "renesas,ostm";
171 reg = <0xe803d000 0x30>;
172 interrupts = <GIC_SPI 58 IRQ_TYPE_EDGE_RISING>;
173 clocks = <&cpg CPG_MOD 34>;
174 clock-names = "ostm2";
175 power-domains = <&cpg>;
179 gic: interrupt-controller@e8221000 {
180 compatible = "arm,gic-400";
181 #interrupt-cells = <3>;
182 #address-cells = <0>;
183 interrupt-controller;
184 reg = <0xe8221000 0x1000>,
188 cpg: clock-controller@fcfe0010 {
189 compatible = "renesas,r7s9210-cpg-mssr";
190 reg = <0xfcfe0010 0x455>;
191 clocks = <&extal_clk>;
192 clock-names = "extal";
194 #power-domain-cells = <0>;
197 wdt: watchdog@fcfe7000 {
198 compatible = "renesas,r7s9210-wdt", "renesas,rza-wdt";
199 reg = <0xfcfe7000 0x26>;
200 interrupts = <GIC_SPI 61 IRQ_TYPE_LEVEL_HIGH>;
201 clocks = <&cpg CPG_CORE R7S9210_CLK_P0>;
204 bsid: chipid@fcfe8004 {
205 compatible = "renesas,bsid";
206 reg = <0xfcfe8004 4>;
209 pinctrl: pin-controller@fcffe000 {
210 compatible = "renesas,r7s9210-pinctrl";
211 reg = <0xfcffe000 0x1000>;
215 gpio-ranges = <&pinctrl 0 0 176>;