Loading...
1/*
2 * Device Tree Source for the EMEV2 SoC
3 *
4 * Copyright (C) 2012 Renesas Solutions Corp.
5 *
6 * This file is licensed under the terms of the GNU General Public License
7 * version 2. This program is licensed "as is" without any warranty of any
8 * kind, whether express or implied.
9 */
10
11#include <dt-bindings/interrupt-controller/arm-gic.h>
12#include <dt-bindings/interrupt-controller/irq.h>
13
14/ {
15 compatible = "renesas,emev2";
16 interrupt-parent = <&gic>;
17 #address-cells = <1>;
18 #size-cells = <1>;
19
20 aliases {
21 gpio0 = &gpio0;
22 gpio1 = &gpio1;
23 gpio2 = &gpio2;
24 gpio3 = &gpio3;
25 gpio4 = &gpio4;
26 i2c0 = &iic0;
27 i2c1 = &iic1;
28 };
29
30 cpus {
31 #address-cells = <1>;
32 #size-cells = <0>;
33
34 cpu@0 {
35 device_type = "cpu";
36 compatible = "arm,cortex-a9";
37 reg = <0>;
38 clock-frequency = <533000000>;
39 };
40 cpu@1 {
41 device_type = "cpu";
42 compatible = "arm,cortex-a9";
43 reg = <1>;
44 clock-frequency = <533000000>;
45 };
46 };
47
48 gic: interrupt-controller@e0020000 {
49 compatible = "arm,pl390";
50 interrupt-controller;
51 #interrupt-cells = <3>;
52 reg = <0xe0028000 0x1000>,
53 <0xe0020000 0x0100>;
54 };
55
56 pmu {
57 compatible = "arm,cortex-a9-pmu";
58 interrupts = <GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>,
59 <GIC_SPI 121 IRQ_TYPE_LEVEL_HIGH>;
60 };
61
62 clocks@e0110000 {
63 compatible = "renesas,emev2-smu";
64 reg = <0xe0110000 0x10000>;
65 #address-cells = <2>;
66 #size-cells = <0>;
67
68 c32ki: c32ki {
69 compatible = "fixed-clock";
70 clock-frequency = <32768>;
71 #clock-cells = <0>;
72 };
73 iic0_sclkdiv: iic0_sclkdiv@624,0 {
74 compatible = "renesas,emev2-smu-clkdiv";
75 reg = <0x624 0>;
76 clocks = <&pll3_fo>;
77 #clock-cells = <0>;
78 };
79 iic0_sclk: iic0_sclk@48c,1 {
80 compatible = "renesas,emev2-smu-gclk";
81 reg = <0x48c 1>;
82 clocks = <&iic0_sclkdiv>;
83 #clock-cells = <0>;
84 };
85 iic1_sclkdiv: iic1_sclkdiv@624,16 {
86 compatible = "renesas,emev2-smu-clkdiv";
87 reg = <0x624 16>;
88 clocks = <&pll3_fo>;
89 #clock-cells = <0>;
90 };
91 iic1_sclk: iic1_sclk@490,1 {
92 compatible = "renesas,emev2-smu-gclk";
93 reg = <0x490 1>;
94 clocks = <&iic1_sclkdiv>;
95 #clock-cells = <0>;
96 };
97 pll3_fo: pll3_fo {
98 compatible = "fixed-factor-clock";
99 clocks = <&c32ki>;
100 clock-div = <1>;
101 clock-mult = <7000>;
102 #clock-cells = <0>;
103 };
104 usia_u0_sclkdiv: usia_u0_sclkdiv@610,0 {
105 compatible = "renesas,emev2-smu-clkdiv";
106 reg = <0x610 0>;
107 clocks = <&pll3_fo>;
108 #clock-cells = <0>;
109 };
110 usib_u1_sclkdiv: usib_u1_sclkdiv@65c,0 {
111 compatible = "renesas,emev2-smu-clkdiv";
112 reg = <0x65c 0>;
113 clocks = <&pll3_fo>;
114 #clock-cells = <0>;
115 };
116 usib_u2_sclkdiv: usib_u2_sclkdiv@65c,16 {
117 compatible = "renesas,emev2-smu-clkdiv";
118 reg = <0x65c 16>;
119 clocks = <&pll3_fo>;
120 #clock-cells = <0>;
121 };
122 usib_u3_sclkdiv: usib_u3_sclkdiv@660,0 {
123 compatible = "renesas,emev2-smu-clkdiv";
124 reg = <0x660 0>;
125 clocks = <&pll3_fo>;
126 #clock-cells = <0>;
127 };
128 usia_u0_sclk: usia_u0_sclk@4a0,1 {
129 compatible = "renesas,emev2-smu-gclk";
130 reg = <0x4a0 1>;
131 clocks = <&usia_u0_sclkdiv>;
132 #clock-cells = <0>;
133 };
134 usib_u1_sclk: usib_u1_sclk@4b8,1 {
135 compatible = "renesas,emev2-smu-gclk";
136 reg = <0x4b8 1>;
137 clocks = <&usib_u1_sclkdiv>;
138 #clock-cells = <0>;
139 };
140 usib_u2_sclk: usib_u2_sclk@4bc,1 {
141 compatible = "renesas,emev2-smu-gclk";
142 reg = <0x4bc 1>;
143 clocks = <&usib_u2_sclkdiv>;
144 #clock-cells = <0>;
145 };
146 usib_u3_sclk: usib_u3_sclk@4c0,1 {
147 compatible = "renesas,emev2-smu-gclk";
148 reg = <0x4c0 1>;
149 clocks = <&usib_u3_sclkdiv>;
150 #clock-cells = <0>;
151 };
152 sti_sclk: sti_sclk@528,1 {
153 compatible = "renesas,emev2-smu-gclk";
154 reg = <0x528 1>;
155 clocks = <&c32ki>;
156 #clock-cells = <0>;
157 };
158 };
159
160 timer@e0180000 {
161 compatible = "renesas,em-sti";
162 reg = <0xe0180000 0x54>;
163 interrupts = <GIC_SPI 125 IRQ_TYPE_LEVEL_HIGH>;
164 clocks = <&sti_sclk>;
165 clock-names = "sclk";
166 };
167
168 uart0: serial@e1020000 {
169 compatible = "renesas,em-uart";
170 reg = <0xe1020000 0x38>;
171 interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>;
172 clocks = <&usia_u0_sclk>;
173 clock-names = "sclk";
174 };
175
176 uart1: serial@e1030000 {
177 compatible = "renesas,em-uart";
178 reg = <0xe1030000 0x38>;
179 interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>;
180 clocks = <&usib_u1_sclk>;
181 clock-names = "sclk";
182 };
183
184 uart2: serial@e1040000 {
185 compatible = "renesas,em-uart";
186 reg = <0xe1040000 0x38>;
187 interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
188 clocks = <&usib_u2_sclk>;
189 clock-names = "sclk";
190 };
191
192 uart3: serial@e1050000 {
193 compatible = "renesas,em-uart";
194 reg = <0xe1050000 0x38>;
195 interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>;
196 clocks = <&usib_u3_sclk>;
197 clock-names = "sclk";
198 };
199
200 pfc: pin-controller@e0140200 {
201 compatible = "renesas,pfc-emev2";
202 reg = <0xe0140200 0x100>;
203 };
204
205 gpio0: gpio@e0050000 {
206 compatible = "renesas,em-gio";
207 reg = <0xe0050000 0x2c>, <0xe0050040 0x20>;
208 interrupts = <GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>,
209 <GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH>;
210 gpio-controller;
211 gpio-ranges = <&pfc 0 0 32>;
212 #gpio-cells = <2>;
213 ngpios = <32>;
214 interrupt-controller;
215 #interrupt-cells = <2>;
216 };
217 gpio1: gpio@e0050080 {
218 compatible = "renesas,em-gio";
219 reg = <0xe0050080 0x2c>, <0xe00500c0 0x20>;
220 interrupts = <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>,
221 <GIC_SPI 70 IRQ_TYPE_LEVEL_HIGH>;
222 gpio-controller;
223 gpio-ranges = <&pfc 0 32 32>;
224 #gpio-cells = <2>;
225 ngpios = <32>;
226 interrupt-controller;
227 #interrupt-cells = <2>;
228 };
229 gpio2: gpio@e0050100 {
230 compatible = "renesas,em-gio";
231 reg = <0xe0050100 0x2c>, <0xe0050140 0x20>;
232 interrupts = <GIC_SPI 71 IRQ_TYPE_LEVEL_HIGH>,
233 <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>;
234 gpio-controller;
235 gpio-ranges = <&pfc 0 64 32>;
236 #gpio-cells = <2>;
237 ngpios = <32>;
238 interrupt-controller;
239 #interrupt-cells = <2>;
240 };
241 gpio3: gpio@e0050180 {
242 compatible = "renesas,em-gio";
243 reg = <0xe0050180 0x2c>, <0xe00501c0 0x20>;
244 interrupts = <GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>,
245 <GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH>;
246 gpio-controller;
247 gpio-ranges = <&pfc 0 96 32>;
248 #gpio-cells = <2>;
249 ngpios = <32>;
250 interrupt-controller;
251 #interrupt-cells = <2>;
252 };
253 gpio4: gpio@e0050200 {
254 compatible = "renesas,em-gio";
255 reg = <0xe0050200 0x2c>, <0xe0050240 0x20>;
256 interrupts = <GIC_SPI 75 IRQ_TYPE_LEVEL_HIGH>,
257 <GIC_SPI 76 IRQ_TYPE_LEVEL_HIGH>;
258 gpio-controller;
259 gpio-ranges = <&pfc 0 128 31>;
260 #gpio-cells = <2>;
261 ngpios = <31>;
262 interrupt-controller;
263 #interrupt-cells = <2>;
264 };
265
266 iic0: i2c@e0070000 {
267 #address-cells = <1>;
268 #size-cells = <0>;
269 compatible = "renesas,iic-emev2";
270 reg = <0xe0070000 0x28>;
271 interrupts = <GIC_SPI 32 IRQ_TYPE_EDGE_RISING>;
272 clocks = <&iic0_sclk>;
273 clock-names = "sclk";
274 status = "disabled";
275 };
276
277 iic1: i2c@e10a0000 {
278 #address-cells = <1>;
279 #size-cells = <0>;
280 compatible = "renesas,iic-emev2";
281 reg = <0xe10a0000 0x28>;
282 interrupts = <GIC_SPI 33 IRQ_TYPE_EDGE_RISING>;
283 clocks = <&iic1_sclk>;
284 clock-names = "sclk";
285 status = "disabled";
286 };
287};
1// SPDX-License-Identifier: GPL-2.0
2/*
3 * Device Tree Source for the Emma Mobile EV2 SoC
4 *
5 * Copyright (C) 2012 Renesas Solutions Corp.
6 */
7
8#include <dt-bindings/interrupt-controller/arm-gic.h>
9#include <dt-bindings/interrupt-controller/irq.h>
10
11/ {
12 compatible = "renesas,emev2";
13 interrupt-parent = <&gic>;
14 #address-cells = <1>;
15 #size-cells = <1>;
16
17 aliases {
18 gpio0 = &gpio0;
19 gpio1 = &gpio1;
20 gpio2 = &gpio2;
21 gpio3 = &gpio3;
22 gpio4 = &gpio4;
23 i2c0 = &iic0;
24 i2c1 = &iic1;
25 };
26
27 cpus {
28 #address-cells = <1>;
29 #size-cells = <0>;
30
31 cpu0: cpu@0 {
32 device_type = "cpu";
33 compatible = "arm,cortex-a9";
34 reg = <0>;
35 clock-frequency = <533000000>;
36 };
37 cpu1: cpu@1 {
38 device_type = "cpu";
39 compatible = "arm,cortex-a9";
40 reg = <1>;
41 clock-frequency = <533000000>;
42 };
43 };
44
45 gic: interrupt-controller@e0020000 {
46 compatible = "arm,pl390";
47 interrupt-controller;
48 #interrupt-cells = <3>;
49 reg = <0xe0028000 0x1000>,
50 <0xe0020000 0x0100>;
51 };
52
53 pmu {
54 compatible = "arm,cortex-a9-pmu";
55 interrupts = <GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>,
56 <GIC_SPI 121 IRQ_TYPE_LEVEL_HIGH>;
57 interrupt-affinity = <&cpu0>, <&cpu1>;
58 };
59
60 clocks@e0110000 {
61 compatible = "renesas,emev2-smu";
62 reg = <0xe0110000 0x10000>;
63 #address-cells = <2>;
64 #size-cells = <0>;
65
66 c32ki: c32ki {
67 compatible = "fixed-clock";
68 clock-frequency = <32768>;
69 #clock-cells = <0>;
70 };
71 iic0_sclkdiv: iic0_sclkdiv@624,0 {
72 compatible = "renesas,emev2-smu-clkdiv";
73 reg = <0x624 0>;
74 clocks = <&pll3_fo>;
75 #clock-cells = <0>;
76 };
77 iic0_sclk: iic0_sclk@48c,1 {
78 compatible = "renesas,emev2-smu-gclk";
79 reg = <0x48c 1>;
80 clocks = <&iic0_sclkdiv>;
81 #clock-cells = <0>;
82 };
83 iic1_sclkdiv: iic1_sclkdiv@624,16 {
84 compatible = "renesas,emev2-smu-clkdiv";
85 reg = <0x624 16>;
86 clocks = <&pll3_fo>;
87 #clock-cells = <0>;
88 };
89 iic1_sclk: iic1_sclk@490,1 {
90 compatible = "renesas,emev2-smu-gclk";
91 reg = <0x490 1>;
92 clocks = <&iic1_sclkdiv>;
93 #clock-cells = <0>;
94 };
95 pll3_fo: pll3_fo {
96 compatible = "fixed-factor-clock";
97 clocks = <&c32ki>;
98 clock-div = <1>;
99 clock-mult = <7000>;
100 #clock-cells = <0>;
101 };
102 usia_u0_sclkdiv: usia_u0_sclkdiv@610,0 {
103 compatible = "renesas,emev2-smu-clkdiv";
104 reg = <0x610 0>;
105 clocks = <&pll3_fo>;
106 #clock-cells = <0>;
107 };
108 usib_u1_sclkdiv: usib_u1_sclkdiv@65c,0 {
109 compatible = "renesas,emev2-smu-clkdiv";
110 reg = <0x65c 0>;
111 clocks = <&pll3_fo>;
112 #clock-cells = <0>;
113 };
114 usib_u2_sclkdiv: usib_u2_sclkdiv@65c,16 {
115 compatible = "renesas,emev2-smu-clkdiv";
116 reg = <0x65c 16>;
117 clocks = <&pll3_fo>;
118 #clock-cells = <0>;
119 };
120 usib_u3_sclkdiv: usib_u3_sclkdiv@660,0 {
121 compatible = "renesas,emev2-smu-clkdiv";
122 reg = <0x660 0>;
123 clocks = <&pll3_fo>;
124 #clock-cells = <0>;
125 };
126 usia_u0_sclk: usia_u0_sclk@4a0,1 {
127 compatible = "renesas,emev2-smu-gclk";
128 reg = <0x4a0 1>;
129 clocks = <&usia_u0_sclkdiv>;
130 #clock-cells = <0>;
131 };
132 usib_u1_sclk: usib_u1_sclk@4b8,1 {
133 compatible = "renesas,emev2-smu-gclk";
134 reg = <0x4b8 1>;
135 clocks = <&usib_u1_sclkdiv>;
136 #clock-cells = <0>;
137 };
138 usib_u2_sclk: usib_u2_sclk@4bc,1 {
139 compatible = "renesas,emev2-smu-gclk";
140 reg = <0x4bc 1>;
141 clocks = <&usib_u2_sclkdiv>;
142 #clock-cells = <0>;
143 };
144 usib_u3_sclk: usib_u3_sclk@4c0,1 {
145 compatible = "renesas,emev2-smu-gclk";
146 reg = <0x4c0 1>;
147 clocks = <&usib_u3_sclkdiv>;
148 #clock-cells = <0>;
149 };
150 sti_sclk: sti_sclk@528,1 {
151 compatible = "renesas,emev2-smu-gclk";
152 reg = <0x528 1>;
153 clocks = <&c32ki>;
154 #clock-cells = <0>;
155 };
156 };
157
158 timer@e0180000 {
159 compatible = "renesas,em-sti";
160 reg = <0xe0180000 0x54>;
161 interrupts = <GIC_SPI 125 IRQ_TYPE_LEVEL_HIGH>;
162 clocks = <&sti_sclk>;
163 clock-names = "sclk";
164 };
165
166 uart0: serial@e1020000 {
167 compatible = "renesas,em-uart";
168 reg = <0xe1020000 0x38>;
169 interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>;
170 clocks = <&usia_u0_sclk>;
171 clock-names = "sclk";
172 };
173
174 uart1: serial@e1030000 {
175 compatible = "renesas,em-uart";
176 reg = <0xe1030000 0x38>;
177 interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>;
178 clocks = <&usib_u1_sclk>;
179 clock-names = "sclk";
180 };
181
182 uart2: serial@e1040000 {
183 compatible = "renesas,em-uart";
184 reg = <0xe1040000 0x38>;
185 interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
186 clocks = <&usib_u2_sclk>;
187 clock-names = "sclk";
188 };
189
190 uart3: serial@e1050000 {
191 compatible = "renesas,em-uart";
192 reg = <0xe1050000 0x38>;
193 interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>;
194 clocks = <&usib_u3_sclk>;
195 clock-names = "sclk";
196 };
197
198 pfc: pinctrl@e0140200 {
199 compatible = "renesas,pfc-emev2";
200 reg = <0xe0140200 0x100>;
201 };
202
203 gpio0: gpio@e0050000 {
204 compatible = "renesas,em-gio";
205 reg = <0xe0050000 0x2c>, <0xe0050040 0x20>;
206 interrupts = <GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>,
207 <GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH>;
208 gpio-controller;
209 gpio-ranges = <&pfc 0 0 32>;
210 #gpio-cells = <2>;
211 ngpios = <32>;
212 interrupt-controller;
213 #interrupt-cells = <2>;
214 };
215
216 gpio1: gpio@e0050080 {
217 compatible = "renesas,em-gio";
218 reg = <0xe0050080 0x2c>, <0xe00500c0 0x20>;
219 interrupts = <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>,
220 <GIC_SPI 70 IRQ_TYPE_LEVEL_HIGH>;
221 gpio-controller;
222 gpio-ranges = <&pfc 0 32 32>;
223 #gpio-cells = <2>;
224 ngpios = <32>;
225 interrupt-controller;
226 #interrupt-cells = <2>;
227 };
228
229 gpio2: gpio@e0050100 {
230 compatible = "renesas,em-gio";
231 reg = <0xe0050100 0x2c>, <0xe0050140 0x20>;
232 interrupts = <GIC_SPI 71 IRQ_TYPE_LEVEL_HIGH>,
233 <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>;
234 gpio-controller;
235 gpio-ranges = <&pfc 0 64 32>;
236 #gpio-cells = <2>;
237 ngpios = <32>;
238 interrupt-controller;
239 #interrupt-cells = <2>;
240 };
241
242 gpio3: gpio@e0050180 {
243 compatible = "renesas,em-gio";
244 reg = <0xe0050180 0x2c>, <0xe00501c0 0x20>;
245 interrupts = <GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>,
246 <GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH>;
247 gpio-controller;
248 gpio-ranges = <&pfc 0 96 32>;
249 #gpio-cells = <2>;
250 ngpios = <32>;
251 interrupt-controller;
252 #interrupt-cells = <2>;
253 };
254
255 gpio4: gpio@e0050200 {
256 compatible = "renesas,em-gio";
257 reg = <0xe0050200 0x2c>, <0xe0050240 0x20>;
258 interrupts = <GIC_SPI 75 IRQ_TYPE_LEVEL_HIGH>,
259 <GIC_SPI 76 IRQ_TYPE_LEVEL_HIGH>;
260 gpio-controller;
261 gpio-ranges = <&pfc 0 128 31>;
262 #gpio-cells = <2>;
263 ngpios = <31>;
264 interrupt-controller;
265 #interrupt-cells = <2>;
266 };
267
268 iic0: i2c@e0070000 {
269 #address-cells = <1>;
270 #size-cells = <0>;
271 compatible = "renesas,iic-emev2";
272 reg = <0xe0070000 0x28>;
273 interrupts = <GIC_SPI 32 IRQ_TYPE_EDGE_RISING>;
274 clocks = <&iic0_sclk>;
275 clock-names = "sclk";
276 status = "disabled";
277 };
278
279 iic1: i2c@e10a0000 {
280 #address-cells = <1>;
281 #size-cells = <0>;
282 compatible = "renesas,iic-emev2";
283 reg = <0xe10a0000 0x28>;
284 interrupts = <GIC_SPI 33 IRQ_TYPE_EDGE_RISING>;
285 clocks = <&iic1_sclk>;
286 clock-names = "sclk";
287 status = "disabled";
288 };
289};