blob: 790b746ed1aae18e3db179a04eac796daf1b7ecd [file] [log] [blame]
Wenyou Yang86ba2212016-07-25 17:46:17 +08001#include "skeleton.dtsi"
Clément Légere664bce2022-03-31 10:55:08 +02002#include <dt-bindings/interrupt-controller/irq.h>
Wenyou Yang86ba2212016-07-25 17:46:17 +08003
4/ {
5 model = "Atmel SAMA5D2 family SoC";
6 compatible = "atmel,sama5d2";
Clément Léger8cde6162022-03-31 10:55:07 +02007 interrupt-parent = <&aic>;
Wenyou Yang86ba2212016-07-25 17:46:17 +08008
9 aliases {
10 spi0 = &spi0;
11 spi1 = &qspi0;
Eugen Hristev235e8972019-08-26 06:47:03 +000012 spi2 = &qspi1;
Wenyou Yang86ba2212016-07-25 17:46:17 +080013 i2c0 = &i2c0;
14 i2c1 = &i2c1;
15 };
16
17 clocks {
18 slow_xtal: slow_xtal {
19 compatible = "fixed-clock";
20 #clock-cells = <0>;
21 clock-frequency = <0>;
22 };
23
24 main_xtal: main_xtal {
25 compatible = "fixed-clock";
26 #clock-cells = <0>;
27 clock-frequency = <0>;
28 };
29 };
30
31 ahb {
32 compatible = "simple-bus";
33 #address-cells = <1>;
34 #size-cells = <1>;
Wenyou Yang035acb22017-03-23 14:26:23 +080035 u-boot,dm-pre-reloc;
Wenyou Yang86ba2212016-07-25 17:46:17 +080036
Eugen Hristev21de2842021-08-17 13:29:24 +030037 usb1: ohci@400000 {
Wenyou Yang86ba2212016-07-25 17:46:17 +080038 compatible = "atmel,at91rm9200-ohci", "usb-ohci";
39 reg = <0x00400000 0x100000>;
40 clocks = <&uhphs_clk>, <&uhphs_clk>, <&uhpck>;
41 clock-names = "ohci_clk", "hclk", "uhpck";
42 status = "disabled";
43 };
44
Eugen Hristev21de2842021-08-17 13:29:24 +030045 usb2: ehci@500000 {
Wenyou Yang86ba2212016-07-25 17:46:17 +080046 compatible = "atmel,at91sam9g45-ehci", "usb-ehci";
47 reg = <0x00500000 0x100000>;
48 clocks = <&utmi>, <&uhphs_clk>;
49 clock-names = "usb_clk", "ehci_clk";
50 status = "disabled";
51 };
52
53 sdmmc0: sdio-host@a0000000 {
54 compatible = "atmel,sama5d2-sdhci";
55 reg = <0xa0000000 0x300>;
56 clocks = <&sdmmc0_hclk>, <&sdmmc0_gclk>, <&main>;
57 clock-names = "hclock", "multclk", "baseclk";
58 status = "disabled";
59 };
60
61 sdmmc1: sdio-host@b0000000 {
62 compatible = "atmel,sama5d2-sdhci";
63 reg = <0xb0000000 0x300>;
64 clocks = <&sdmmc1_hclk>, <&sdmmc1_gclk>, <&main>;
65 clock-names = "hclock", "multclk", "baseclk";
66 status = "disabled";
67 };
68
69 apb {
70 compatible = "simple-bus";
71 #address-cells = <1>;
72 #size-cells = <1>;
Wenyou Yang035acb22017-03-23 14:26:23 +080073 u-boot,dm-pre-reloc;
Wenyou Yang86ba2212016-07-25 17:46:17 +080074
Wenyou Yang3ec18a62017-09-18 15:25:57 +080075 hlcdc: hlcdc@f0000000 {
76 compatible = "atmel,at91sam9x5-hlcdc";
77 reg = <0xf0000000 0x2000>;
78 clocks = <&lcdc_clk>;
79 status = "disabled";
80 };
81
Wenyou Yang86ba2212016-07-25 17:46:17 +080082 pmc: pmc@f0014000 {
83 compatible = "atmel,sama5d2-pmc", "syscon";
84 reg = <0xf0014000 0x160>;
85 #address-cells = <1>;
86 #size-cells = <0>;
87 #interrupt-cells = <1>;
Wenyou Yang035acb22017-03-23 14:26:23 +080088 u-boot,dm-pre-reloc;
Wenyou Yang86ba2212016-07-25 17:46:17 +080089
90 main: mainck {
91 compatible = "atmel,at91sam9x5-clk-main";
92 #clock-cells = <0>;
Wenyou Yang035acb22017-03-23 14:26:23 +080093 u-boot,dm-pre-reloc;
Wenyou Yang86ba2212016-07-25 17:46:17 +080094 };
95
Wenyou Yang354e10c2016-09-18 15:37:47 +080096 plla: pllack@0 {
Wenyou Yang86ba2212016-07-25 17:46:17 +080097 compatible = "atmel,sama5d3-clk-pll";
98 #clock-cells = <0>;
99 clocks = <&main>;
100 reg = <0>;
101 atmel,clk-input-range = <12000000 12000000>;
102 #atmel,pll-clk-output-range-cells = <4>;
103 atmel,pll-clk-output-ranges = <600000000 1200000000 0 0>;
Wenyou Yang035acb22017-03-23 14:26:23 +0800104 u-boot,dm-pre-reloc;
Wenyou Yang86ba2212016-07-25 17:46:17 +0800105 };
106
107 plladiv: plladivck {
108 compatible = "atmel,at91sam9x5-clk-plldiv";
109 #clock-cells = <0>;
110 clocks = <&plla>;
111 };
112
113 audio_pll_frac: audiopll_fracck {
114 compatible = "atmel,sama5d2-clk-audio-pll-frac";
115 #clock-cells = <0>;
116 clocks = <&main>;
117 };
118
119 audio_pll_pad: audiopll_padck {
120 compatible = "atmel,sama5d2-clk-audio-pll-pad";
121 #clock-cells = <0>;
122 clocks = <&audio_pll_frac>;
123 };
124
125 audio_pll_pmc: audiopll_pmcck {
126 compatible = "atmel,sama5d2-clk-audio-pll-pmc";
127 #clock-cells = <0>;
128 clocks = <&audio_pll_frac>;
129 };
130
131 utmi: utmick {
132 compatible = "atmel,at91sam9x5-clk-utmi";
133 #clock-cells = <0>;
134 clocks = <&main>;
Wenyou Yang75648fb2017-09-05 18:30:08 +0800135 regmap-sfr = <&sfr>;
Wenyou Yang035acb22017-03-23 14:26:23 +0800136 u-boot,dm-pre-reloc;
Wenyou Yang86ba2212016-07-25 17:46:17 +0800137 };
138
139 mck: masterck {
140 compatible = "atmel,at91sam9x5-clk-master";
141 #clock-cells = <0>;
142 clocks = <&main>, <&plladiv>, <&utmi>;
143 atmel,clk-output-range = <124000000 166000000>;
144 atmel,clk-divisors = <1 2 4 3>;
Wenyou Yang035acb22017-03-23 14:26:23 +0800145 u-boot,dm-pre-reloc;
Wenyou Yang86ba2212016-07-25 17:46:17 +0800146 };
147
148 h32ck: h32mxck {
149 #clock-cells = <0>;
150 compatible = "atmel,sama5d4-clk-h32mx";
151 clocks = <&mck>;
Wenyou Yang035acb22017-03-23 14:26:23 +0800152 u-boot,dm-pre-reloc;
Wenyou Yang86ba2212016-07-25 17:46:17 +0800153 };
154
155 usb: usbck {
156 compatible = "atmel,at91sam9x5-clk-usb";
157 #clock-cells = <0>;
158 clocks = <&plladiv>, <&utmi>;
159 };
160
161 prog: progck {
162 compatible = "atmel,at91sam9x5-clk-programmable";
163 #address-cells = <1>;
164 #size-cells = <0>;
165 interrupt-parent = <&pmc>;
166 clocks = <&main>, <&plladiv>, <&utmi>, <&mck>;
167
Wenyou Yang354e10c2016-09-18 15:37:47 +0800168 prog0: prog@0 {
Wenyou Yang86ba2212016-07-25 17:46:17 +0800169 #clock-cells = <0>;
170 reg = <0>;
171 };
172
Wenyou Yang354e10c2016-09-18 15:37:47 +0800173 prog1: prog@1 {
Wenyou Yang86ba2212016-07-25 17:46:17 +0800174 #clock-cells = <0>;
175 reg = <1>;
176 };
177
Wenyou Yang354e10c2016-09-18 15:37:47 +0800178 prog2: prog@2 {
Wenyou Yang86ba2212016-07-25 17:46:17 +0800179 #clock-cells = <0>;
180 reg = <2>;
181 };
182 };
183
184 systemck {
185 compatible = "atmel,at91rm9200-clk-system";
186 #address-cells = <1>;
187 #size-cells = <0>;
188
Wenyou Yang354e10c2016-09-18 15:37:47 +0800189 ddrck: ddrck@2 {
Wenyou Yang86ba2212016-07-25 17:46:17 +0800190 #clock-cells = <0>;
191 reg = <2>;
192 clocks = <&mck>;
193 };
194
Wenyou Yang354e10c2016-09-18 15:37:47 +0800195 lcdck: lcdck@3 {
Wenyou Yang86ba2212016-07-25 17:46:17 +0800196 #clock-cells = <0>;
197 reg = <3>;
198 clocks = <&mck>;
199 };
200
Wenyou Yang354e10c2016-09-18 15:37:47 +0800201 uhpck: uhpck@6 {
Wenyou Yang86ba2212016-07-25 17:46:17 +0800202 #clock-cells = <0>;
203 reg = <6>;
204 clocks = <&usb>;
205 };
206
Wenyou Yang354e10c2016-09-18 15:37:47 +0800207 udpck: udpck@7 {
Wenyou Yang86ba2212016-07-25 17:46:17 +0800208 #clock-cells = <0>;
209 reg = <7>;
210 clocks = <&usb>;
211 };
212
Wenyou Yang354e10c2016-09-18 15:37:47 +0800213 pck0: pck0@8 {
Wenyou Yang86ba2212016-07-25 17:46:17 +0800214 #clock-cells = <0>;
215 reg = <8>;
216 clocks = <&prog0>;
217 };
218
Wenyou Yang354e10c2016-09-18 15:37:47 +0800219 pck1: pck1@9 {
Wenyou Yang86ba2212016-07-25 17:46:17 +0800220 #clock-cells = <0>;
221 reg = <9>;
222 clocks = <&prog1>;
223 };
224
Wenyou Yang354e10c2016-09-18 15:37:47 +0800225 pck2: pck2@10 {
Wenyou Yang86ba2212016-07-25 17:46:17 +0800226 #clock-cells = <0>;
227 reg = <10>;
228 clocks = <&prog2>;
229 };
230
Wenyou Yang354e10c2016-09-18 15:37:47 +0800231 iscck: iscck@18 {
Wenyou Yang86ba2212016-07-25 17:46:17 +0800232 #clock-cells = <0>;
233 reg = <18>;
234 clocks = <&mck>;
235 };
236 };
237
238 periph32ck {
239 compatible = "atmel,at91sam9x5-clk-peripheral";
240 #address-cells = <1>;
241 #size-cells = <0>;
242 clocks = <&h32ck>;
Wenyou Yang035acb22017-03-23 14:26:23 +0800243 u-boot,dm-pre-reloc;
Wenyou Yang86ba2212016-07-25 17:46:17 +0800244
Wenyou Yang354e10c2016-09-18 15:37:47 +0800245 macb0_clk: macb0_clk@5 {
Wenyou Yang86ba2212016-07-25 17:46:17 +0800246 #clock-cells = <0>;
247 reg = <5>;
248 atmel,clk-output-range = <0 83000000>;
249 };
250
Wenyou Yang354e10c2016-09-18 15:37:47 +0800251 tdes_clk: tdes_clk@11 {
Wenyou Yang86ba2212016-07-25 17:46:17 +0800252 #clock-cells = <0>;
253 reg = <11>;
254 atmel,clk-output-range = <0 83000000>;
255 };
256
Wenyou Yang354e10c2016-09-18 15:37:47 +0800257 matrix1_clk: matrix1_clk@14 {
Wenyou Yang86ba2212016-07-25 17:46:17 +0800258 #clock-cells = <0>;
259 reg = <14>;
260 };
261
Wenyou Yang354e10c2016-09-18 15:37:47 +0800262 hsmc_clk: hsmc_clk@17 {
Wenyou Yang86ba2212016-07-25 17:46:17 +0800263 #clock-cells = <0>;
264 reg = <17>;
265 };
266
Wenyou Yang354e10c2016-09-18 15:37:47 +0800267 pioA_clk: pioA_clk@18 {
Wenyou Yang86ba2212016-07-25 17:46:17 +0800268 #clock-cells = <0>;
269 reg = <18>;
270 atmel,clk-output-range = <0 83000000>;
Wenyou Yang035acb22017-03-23 14:26:23 +0800271 u-boot,dm-pre-reloc;
Wenyou Yang86ba2212016-07-25 17:46:17 +0800272 };
273
Wenyou Yang354e10c2016-09-18 15:37:47 +0800274 flx0_clk: flx0_clk@19 {
Wenyou Yang86ba2212016-07-25 17:46:17 +0800275 #clock-cells = <0>;
276 reg = <19>;
277 atmel,clk-output-range = <0 83000000>;
278 };
279
Wenyou Yang354e10c2016-09-18 15:37:47 +0800280 flx1_clk: flx1_clk@20 {
Wenyou Yang86ba2212016-07-25 17:46:17 +0800281 #clock-cells = <0>;
282 reg = <20>;
283 atmel,clk-output-range = <0 83000000>;
284 };
285
Wenyou Yang354e10c2016-09-18 15:37:47 +0800286 flx2_clk: flx2_clk@21 {
Wenyou Yang86ba2212016-07-25 17:46:17 +0800287 #clock-cells = <0>;
288 reg = <21>;
289 atmel,clk-output-range = <0 83000000>;
290 };
291
Wenyou Yang354e10c2016-09-18 15:37:47 +0800292 flx3_clk: flx3_clk@22 {
Wenyou Yang86ba2212016-07-25 17:46:17 +0800293 #clock-cells = <0>;
294 reg = <22>;
295 atmel,clk-output-range = <0 83000000>;
296 };
297
Wenyou Yang354e10c2016-09-18 15:37:47 +0800298 flx4_clk: flx4_clk@23 {
Wenyou Yang86ba2212016-07-25 17:46:17 +0800299 #clock-cells = <0>;
300 reg = <23>;
301 atmel,clk-output-range = <0 83000000>;
302 };
303
Wenyou Yang354e10c2016-09-18 15:37:47 +0800304 uart0_clk: uart0_clk@24 {
Wenyou Yang86ba2212016-07-25 17:46:17 +0800305 #clock-cells = <0>;
306 reg = <24>;
307 atmel,clk-output-range = <0 83000000>;
Ludovic Desroches1240d882017-11-17 14:57:12 +0800308 u-boot,dm-pre-reloc;
Wenyou Yang86ba2212016-07-25 17:46:17 +0800309 };
310
Wenyou Yang354e10c2016-09-18 15:37:47 +0800311 uart1_clk: uart1_clk@25 {
Wenyou Yang86ba2212016-07-25 17:46:17 +0800312 #clock-cells = <0>;
313 reg = <25>;
314 atmel,clk-output-range = <0 83000000>;
Wenyou Yang035acb22017-03-23 14:26:23 +0800315 u-boot,dm-pre-reloc;
Wenyou Yang86ba2212016-07-25 17:46:17 +0800316 };
317
Wenyou Yang354e10c2016-09-18 15:37:47 +0800318 uart2_clk: uart2_clk@26 {
Wenyou Yang86ba2212016-07-25 17:46:17 +0800319 #clock-cells = <0>;
320 reg = <26>;
321 atmel,clk-output-range = <0 83000000>;
Ludovic Desroches1240d882017-11-17 14:57:12 +0800322 u-boot,dm-pre-reloc;
Wenyou Yang86ba2212016-07-25 17:46:17 +0800323 };
324
Wenyou Yang354e10c2016-09-18 15:37:47 +0800325 uart3_clk: uart3_clk@27 {
Wenyou Yang86ba2212016-07-25 17:46:17 +0800326 #clock-cells = <0>;
327 reg = <27>;
328 atmel,clk-output-range = <0 83000000>;
329 };
330
Wenyou Yang354e10c2016-09-18 15:37:47 +0800331 uart4_clk: uart4_clk@28 {
Wenyou Yang86ba2212016-07-25 17:46:17 +0800332 #clock-cells = <0>;
333 reg = <28>;
334 atmel,clk-output-range = <0 83000000>;
335 };
336
Wenyou Yang354e10c2016-09-18 15:37:47 +0800337 twi0_clk: twi0_clk@29 {
Wenyou Yang86ba2212016-07-25 17:46:17 +0800338 reg = <29>;
339 #clock-cells = <0>;
340 atmel,clk-output-range = <0 83000000>;
341 };
342
Wenyou Yang354e10c2016-09-18 15:37:47 +0800343 twi1_clk: twi1_clk@30 {
Wenyou Yang86ba2212016-07-25 17:46:17 +0800344 #clock-cells = <0>;
345 reg = <30>;
346 atmel,clk-output-range = <0 83000000>;
347 };
348
Wenyou Yang354e10c2016-09-18 15:37:47 +0800349 spi0_clk: spi0_clk@33 {
Wenyou Yang86ba2212016-07-25 17:46:17 +0800350 #clock-cells = <0>;
351 reg = <33>;
352 atmel,clk-output-range = <0 83000000>;
Wenyou Yang035acb22017-03-23 14:26:23 +0800353 u-boot,dm-pre-reloc;
Wenyou Yang86ba2212016-07-25 17:46:17 +0800354 };
355
Wenyou Yang354e10c2016-09-18 15:37:47 +0800356 spi1_clk: spi1_clk@34 {
Wenyou Yang86ba2212016-07-25 17:46:17 +0800357 #clock-cells = <0>;
358 reg = <34>;
359 atmel,clk-output-range = <0 83000000>;
360 };
361
Wenyou Yang354e10c2016-09-18 15:37:47 +0800362 tcb0_clk: tcb0_clk@35 {
Wenyou Yang86ba2212016-07-25 17:46:17 +0800363 #clock-cells = <0>;
364 reg = <35>;
365 atmel,clk-output-range = <0 83000000>;
Clément Légere4debf02022-03-31 10:55:09 +0200366 u-boot,dm-pre-reloc;
Wenyou Yang86ba2212016-07-25 17:46:17 +0800367 };
368
Wenyou Yang354e10c2016-09-18 15:37:47 +0800369 tcb1_clk: tcb1_clk@36 {
Wenyou Yang86ba2212016-07-25 17:46:17 +0800370 #clock-cells = <0>;
371 reg = <36>;
372 atmel,clk-output-range = <0 83000000>;
373 };
374
Wenyou Yang354e10c2016-09-18 15:37:47 +0800375 pwm_clk: pwm_clk@38 {
Wenyou Yang86ba2212016-07-25 17:46:17 +0800376 #clock-cells = <0>;
377 reg = <38>;
378 atmel,clk-output-range = <0 83000000>;
379 };
380
Wenyou Yang354e10c2016-09-18 15:37:47 +0800381 adc_clk: adc_clk@40 {
Wenyou Yang86ba2212016-07-25 17:46:17 +0800382 #clock-cells = <0>;
383 reg = <40>;
384 atmel,clk-output-range = <0 83000000>;
385 };
386
Wenyou Yang354e10c2016-09-18 15:37:47 +0800387 uhphs_clk: uhphs_clk@41 {
Wenyou Yang86ba2212016-07-25 17:46:17 +0800388 #clock-cells = <0>;
389 reg = <41>;
390 atmel,clk-output-range = <0 83000000>;
391 };
392
Wenyou Yang354e10c2016-09-18 15:37:47 +0800393 udphs_clk: udphs_clk@42 {
Wenyou Yang86ba2212016-07-25 17:46:17 +0800394 #clock-cells = <0>;
395 reg = <42>;
396 atmel,clk-output-range = <0 83000000>;
397 };
398
Wenyou Yang354e10c2016-09-18 15:37:47 +0800399 ssc0_clk: ssc0_clk@43 {
Wenyou Yang86ba2212016-07-25 17:46:17 +0800400 #clock-cells = <0>;
401 reg = <43>;
402 atmel,clk-output-range = <0 83000000>;
403 };
404
Wenyou Yang354e10c2016-09-18 15:37:47 +0800405 ssc1_clk: ssc1_clk@44 {
Wenyou Yang86ba2212016-07-25 17:46:17 +0800406 #clock-cells = <0>;
407 reg = <44>;
408 atmel,clk-output-range = <0 83000000>;
409 };
410
Wenyou Yang354e10c2016-09-18 15:37:47 +0800411 trng_clk: trng_clk@47 {
Wenyou Yang86ba2212016-07-25 17:46:17 +0800412 #clock-cells = <0>;
413 reg = <47>;
414 atmel,clk-output-range = <0 83000000>;
415 };
416
Wenyou Yang354e10c2016-09-18 15:37:47 +0800417 pdmic_clk: pdmic_clk@48 {
Wenyou Yang86ba2212016-07-25 17:46:17 +0800418 #clock-cells = <0>;
419 reg = <48>;
420 atmel,clk-output-range = <0 83000000>;
421 };
422
Wenyou Yang354e10c2016-09-18 15:37:47 +0800423 i2s0_clk: i2s0_clk@54 {
Wenyou Yang86ba2212016-07-25 17:46:17 +0800424 #clock-cells = <0>;
425 reg = <54>;
426 atmel,clk-output-range = <0 83000000>;
427 };
428
Wenyou Yang354e10c2016-09-18 15:37:47 +0800429 i2s1_clk: i2s1_clk@55 {
Wenyou Yang86ba2212016-07-25 17:46:17 +0800430 #clock-cells = <0>;
431 reg = <55>;
432 atmel,clk-output-range = <0 83000000>;
433 };
434
Wenyou Yang354e10c2016-09-18 15:37:47 +0800435 can0_clk: can0_clk@56 {
Wenyou Yang86ba2212016-07-25 17:46:17 +0800436 #clock-cells = <0>;
437 reg = <56>;
438 atmel,clk-output-range = <0 83000000>;
439 };
440
Wenyou Yang354e10c2016-09-18 15:37:47 +0800441 can1_clk: can1_clk@57 {
Wenyou Yang86ba2212016-07-25 17:46:17 +0800442 #clock-cells = <0>;
443 reg = <57>;
444 atmel,clk-output-range = <0 83000000>;
445 };
446
Wenyou Yang354e10c2016-09-18 15:37:47 +0800447 classd_clk: classd_clk@59 {
Wenyou Yang86ba2212016-07-25 17:46:17 +0800448 #clock-cells = <0>;
449 reg = <59>;
450 atmel,clk-output-range = <0 83000000>;
451 };
452 };
453
454 periph64ck {
455 compatible = "atmel,at91sam9x5-clk-peripheral";
456 #address-cells = <1>;
457 #size-cells = <0>;
458 clocks = <&mck>;
Wenyou Yang035acb22017-03-23 14:26:23 +0800459 u-boot,dm-pre-reloc;
Wenyou Yang86ba2212016-07-25 17:46:17 +0800460
Wenyou Yang354e10c2016-09-18 15:37:47 +0800461 dma0_clk: dma0_clk@6 {
Wenyou Yang86ba2212016-07-25 17:46:17 +0800462 #clock-cells = <0>;
463 reg = <6>;
464 };
465
Wenyou Yang354e10c2016-09-18 15:37:47 +0800466 dma1_clk: dma1_clk@7 {
Wenyou Yang86ba2212016-07-25 17:46:17 +0800467 #clock-cells = <0>;
468 reg = <7>;
469 };
470
Wenyou Yang354e10c2016-09-18 15:37:47 +0800471 aes_clk: aes_clk@9 {
Wenyou Yang86ba2212016-07-25 17:46:17 +0800472 #clock-cells = <0>;
473 reg = <9>;
474 };
475
Wenyou Yang354e10c2016-09-18 15:37:47 +0800476 aesb_clk: aesb_clk@10 {
Wenyou Yang86ba2212016-07-25 17:46:17 +0800477 #clock-cells = <0>;
478 reg = <10>;
479 };
480
Wenyou Yang354e10c2016-09-18 15:37:47 +0800481 sha_clk: sha_clk@12 {
Wenyou Yang86ba2212016-07-25 17:46:17 +0800482 #clock-cells = <0>;
483 reg = <12>;
484 };
485
Wenyou Yang354e10c2016-09-18 15:37:47 +0800486 mpddr_clk: mpddr_clk@13 {
Wenyou Yang86ba2212016-07-25 17:46:17 +0800487 #clock-cells = <0>;
488 reg = <13>;
489 };
490
Wenyou Yang354e10c2016-09-18 15:37:47 +0800491 matrix0_clk: matrix0_clk@15 {
Wenyou Yang86ba2212016-07-25 17:46:17 +0800492 #clock-cells = <0>;
493 reg = <15>;
494 };
495
Wenyou Yang354e10c2016-09-18 15:37:47 +0800496 sdmmc0_hclk: sdmmc0_hclk@31 {
Wenyou Yang86ba2212016-07-25 17:46:17 +0800497 #clock-cells = <0>;
498 reg = <31>;
Wenyou Yang035acb22017-03-23 14:26:23 +0800499 u-boot,dm-pre-reloc;
Wenyou Yang86ba2212016-07-25 17:46:17 +0800500 };
501
Wenyou Yang354e10c2016-09-18 15:37:47 +0800502 sdmmc1_hclk: sdmmc1_hclk@32 {
Wenyou Yang86ba2212016-07-25 17:46:17 +0800503 #clock-cells = <0>;
504 reg = <32>;
Wenyou Yang035acb22017-03-23 14:26:23 +0800505 u-boot,dm-pre-reloc;
Wenyou Yang86ba2212016-07-25 17:46:17 +0800506 };
507
Wenyou Yang354e10c2016-09-18 15:37:47 +0800508 lcdc_clk: lcdc_clk@45 {
Wenyou Yang86ba2212016-07-25 17:46:17 +0800509 #clock-cells = <0>;
510 reg = <45>;
511 };
512
Wenyou Yang354e10c2016-09-18 15:37:47 +0800513 isc_clk: isc_clk@46 {
Wenyou Yang86ba2212016-07-25 17:46:17 +0800514 #clock-cells = <0>;
515 reg = <46>;
516 };
517
Wenyou Yang354e10c2016-09-18 15:37:47 +0800518 qspi0_clk: qspi0_clk@52 {
Wenyou Yang86ba2212016-07-25 17:46:17 +0800519 #clock-cells = <0>;
520 reg = <52>;
Wenyou Yangeebb0732017-09-13 14:58:54 +0800521 u-boot,dm-pre-reloc;
Wenyou Yang86ba2212016-07-25 17:46:17 +0800522 };
523
Wenyou Yang354e10c2016-09-18 15:37:47 +0800524 qspi1_clk: qspi1_clk@53 {
Wenyou Yang86ba2212016-07-25 17:46:17 +0800525 #clock-cells = <0>;
526 reg = <53>;
Wenyou Yangeebb0732017-09-13 14:58:54 +0800527 u-boot,dm-pre-reloc;
Wenyou Yang86ba2212016-07-25 17:46:17 +0800528 };
529 };
530
531 gck {
532 compatible = "atmel,sama5d2-clk-generated";
533 #address-cells = <1>;
534 #size-cells = <0>;
535 interrupt-parent = <&pmc>;
536 clocks = <&main>, <&plla>, <&utmi>, <&mck>;
Wenyou Yang035acb22017-03-23 14:26:23 +0800537 u-boot,dm-pre-reloc;
Wenyou Yang86ba2212016-07-25 17:46:17 +0800538
Wenyou Yang354e10c2016-09-18 15:37:47 +0800539 sdmmc0_gclk: sdmmc0_gclk@31 {
Wenyou Yang86ba2212016-07-25 17:46:17 +0800540 #clock-cells = <0>;
541 reg = <31>;
Wenyou Yang035acb22017-03-23 14:26:23 +0800542 u-boot,dm-pre-reloc;
Wenyou Yang86ba2212016-07-25 17:46:17 +0800543 };
544
Wenyou Yang354e10c2016-09-18 15:37:47 +0800545 sdmmc1_gclk: sdmmc1_gclk@32 {
Wenyou Yang86ba2212016-07-25 17:46:17 +0800546 #clock-cells = <0>;
547 reg = <32>;
Wenyou Yang035acb22017-03-23 14:26:23 +0800548 u-boot,dm-pre-reloc;
Wenyou Yang86ba2212016-07-25 17:46:17 +0800549 };
550
Wenyou Yang354e10c2016-09-18 15:37:47 +0800551 tcb0_gclk: tcb0_gclk@35 {
Wenyou Yang86ba2212016-07-25 17:46:17 +0800552 #clock-cells = <0>;
553 reg = <35>;
554 atmel,clk-output-range = <0 83000000>;
555 };
556
Wenyou Yang354e10c2016-09-18 15:37:47 +0800557 tcb1_gclk: tcb1_gclk@36 {
Wenyou Yang86ba2212016-07-25 17:46:17 +0800558 #clock-cells = <0>;
559 reg = <36>;
560 atmel,clk-output-range = <0 83000000>;
561 };
562
Wenyou Yang354e10c2016-09-18 15:37:47 +0800563 pwm_gclk: pwm_gclk@38 {
Wenyou Yang86ba2212016-07-25 17:46:17 +0800564 #clock-cells = <0>;
565 reg = <38>;
566 atmel,clk-output-range = <0 83000000>;
567 };
568
Wenyou Yang354e10c2016-09-18 15:37:47 +0800569 pdmic_gclk: pdmic_gclk@48 {
Wenyou Yang86ba2212016-07-25 17:46:17 +0800570 #clock-cells = <0>;
571 reg = <48>;
572 };
573
Wenyou Yang354e10c2016-09-18 15:37:47 +0800574 i2s0_gclk: i2s0_gclk@54 {
Wenyou Yang86ba2212016-07-25 17:46:17 +0800575 #clock-cells = <0>;
576 reg = <54>;
577 };
578
Wenyou Yang354e10c2016-09-18 15:37:47 +0800579 i2s1_gclk: i2s1_gclk@55 {
Wenyou Yang86ba2212016-07-25 17:46:17 +0800580 #clock-cells = <0>;
581 reg = <55>;
582 };
583
Wenyou Yang354e10c2016-09-18 15:37:47 +0800584 can0_gclk: can0_gclk@56 {
Wenyou Yang86ba2212016-07-25 17:46:17 +0800585 #clock-cells = <0>;
586 reg = <56>;
587 atmel,clk-output-range = <0 80000000>;
588 };
589
Wenyou Yang354e10c2016-09-18 15:37:47 +0800590 can1_gclk: can1_gclk@57 {
Wenyou Yang86ba2212016-07-25 17:46:17 +0800591 #clock-cells = <0>;
592 reg = <57>;
593 atmel,clk-output-range = <0 80000000>;
594 };
595
Wenyou Yang354e10c2016-09-18 15:37:47 +0800596 classd_gclk: classd_gclk@59 {
Wenyou Yang86ba2212016-07-25 17:46:17 +0800597 #clock-cells = <0>;
598 reg = <59>;
599 atmel,clk-output-range = <0 100000000>;
600 };
601 };
602 };
603
604 qspi0: spi@f0020000 {
605 compatible = "atmel,sama5d2-qspi";
606 reg = <0xf0020000 0x100>, <0xd0000000 0x08000000>;
607 reg-names = "qspi_base", "qspi_mmap";
608 #address-cells = <1>;
609 #size-cells = <0>;
610 clocks = <&qspi0_clk>;
611 status = "disabled";
612 };
613
Wenyou Yangeebb0732017-09-13 14:58:54 +0800614 qspi1: spi@f0024000 {
615 compatible = "atmel,sama5d2-qspi";
616 reg = <0xf0024000 0x100>, <0xd8000000 0x08000000>;
617 reg-names = "qspi_base", "qspi_mmap";
618 #address-cells = <1>;
619 #size-cells = <0>;
620 clocks = <&qspi1_clk>;
621 status = "disabled";
622 };
623
Wenyou Yang86ba2212016-07-25 17:46:17 +0800624 spi0: spi@f8000000 {
625 compatible = "atmel,at91rm9200-spi";
626 reg = <0xf8000000 0x100>;
627 clocks = <&spi0_clk>;
628 clock-names = "spi_clk";
629 #address-cells = <1>;
630 #size-cells = <0>;
631 status = "disabled";
632 };
633
634 macb0: ethernet@f8008000 {
635 compatible = "cdns,macb";
636 reg = <0xf8008000 0x1000>;
637 #address-cells = <1>;
638 #size-cells = <0>;
639 clocks = <&macb0_clk>, <&macb0_clk>;
640 clock-names = "hclk", "pclk";
641 status = "disabled";
642 };
643
Clément Légere664bce2022-03-31 10:55:08 +0200644 tcb0: timer@f800c000 {
645 compatible = "atmel,sama5d2-tcb", "simple-mfd", "syscon";
646 reg = <0xf800c000 0x100>;
647 interrupts = <35 IRQ_TYPE_LEVEL_HIGH 0>;
648 clocks = <&tcb0_clk>, <&tcb0_gclk>, <&clk32k>;
649 clock-names = "t0_clk", "gclk", "slow_clk";
650 #address-cells = <1>;
651 #size-cells = <0>;
Clément Légere4debf02022-03-31 10:55:09 +0200652 u-boot,dm-pre-reloc;
Clément Légere664bce2022-03-31 10:55:08 +0200653
654 timer0: timer@0 {
655 compatible = "atmel,tcb-timer";
656 reg = <0>, <1>;
Clément Légere4debf02022-03-31 10:55:09 +0200657 u-boot,dm-pre-reloc;
Clément Légere664bce2022-03-31 10:55:08 +0200658 };
659 };
660
Ludovic Desroches1240d882017-11-17 14:57:12 +0800661 uart0: serial@f801c000 {
662 compatible = "atmel,at91sam9260-usart";
663 reg = <0xf801c000 0x100>;
664 clocks = <&uart0_clk>;
665 clock-names = "usart";
666 status = "disabled";
667 };
668
Wenyou Yang86ba2212016-07-25 17:46:17 +0800669 uart1: serial@f8020000 {
670 compatible = "atmel,at91sam9260-usart";
671 reg = <0xf8020000 0x100>;
Wenyou Yang4e3524d2017-03-23 14:26:22 +0800672 clocks = <&uart1_clk>;
673 clock-names = "usart";
Wenyou Yang86ba2212016-07-25 17:46:17 +0800674 status = "disabled";
675 };
676
Ludovic Desroches1240d882017-11-17 14:57:12 +0800677 uart2: serial@f8024000 {
678 compatible = "atmel,at91sam9260-usart";
679 reg = <0xf8024000 0x100>;
680 clocks = <&uart2_clk>;
681 clock-names = "usart";
682 status = "disabled";
683 };
684
Wenyou Yang86ba2212016-07-25 17:46:17 +0800685 i2c0: i2c@f8028000 {
686 compatible = "atmel,sama5d2-i2c";
687 reg = <0xf8028000 0x100>;
688 #address-cells = <1>;
689 #size-cells = <0>;
690 clocks = <&twi0_clk>;
691 status = "disabled";
692 };
693
Dan Sneddonf09aa3f2021-09-20 16:28:46 -0700694 pwm0: pwm@f802c000 {
695 compatible = "atmel,sama5d2-pwm";
696 reg = <0xf802c000 0x4000>;
697 clocks = <&pwm_clk>;
698 #pwm-cells = <3>;
699 status = "disabled";
700 };
701
Wenyou.Yang@microchip.com272167d2017-08-15 17:40:27 +0800702 rstc@f8048000 {
703 compatible = "atmel,sama5d3-rstc";
704 reg = <0xf8048000 0x10>;
705 clocks = <&clk32k>;
706 };
707
708 shdwc@f8048010 {
709 compatible = "atmel,sama5d2-shdwc";
710 reg = <0xf8048010 0x10>;
711 clocks = <&clk32k>;
712 #address-cells = <1>;
713 #size-cells = <0>;
714 atmel,wakeup-rtc-timer;
715 };
716
717 pit: timer@f8048030 {
718 compatible = "atmel,at91sam9260-pit";
719 reg = <0xf8048030 0x10>;
720 clocks = <&h32ck>;
721 };
722
723 watchdog@f8048040 {
724 compatible = "atmel,sama5d4-wdt";
725 reg = <0xf8048040 0x10>;
726 clocks = <&clk32k>;
727 status = "disabled";
728 };
729
Wenyou Yang75648fb2017-09-05 18:30:08 +0800730 sfr: sfr@f8030000 {
731 compatible = "atmel,sama5d2-sfr", "syscon";
732 reg = <0xf8030000 0x98>;
733 };
734
Wenyou Yang86ba2212016-07-25 17:46:17 +0800735 sckc@f8048050 {
736 compatible = "atmel,at91sam9x5-sckc";
737 reg = <0xf8048050 0x4>;
738
739 slow_rc_osc: slow_rc_osc {
740 compatible = "atmel,at91sam9x5-clk-slow-rc-osc";
741 #clock-cells = <0>;
742 clock-frequency = <32768>;
743 clock-accuracy = <250000000>;
744 atmel,startup-time-usec = <75>;
745 };
746
747 slow_osc: slow_osc {
748 compatible = "atmel,at91sam9x5-clk-slow-osc";
749 #clock-cells = <0>;
750 clocks = <&slow_xtal>;
751 atmel,startup-time-usec = <1200000>;
752 };
753
754 clk32k: slowck {
755 compatible = "atmel,at91sam9x5-clk-slow";
756 #clock-cells = <0>;
757 clocks = <&slow_rc_osc &slow_osc>;
758 };
759 };
760
761 spi1: spi@fc000000 {
762 compatible = "atmel,at91rm9200-spi";
763 reg = <0xfc000000 0x100>;
764 #address-cells = <1>;
765 #size-cells = <0>;
766 status = "disabled";
767 };
768
Wenyou Yangeebb0732017-09-13 14:58:54 +0800769 uart3: serial@fc008000 {
770 compatible = "atmel,at91sam9260-usart";
771 reg = <0xfc008000 0x100>;
772 clocks = <&uart3_clk>;
773 clock-names = "usart";
774 status = "disabled";
775 };
776
Tiaki Riced5d8cab2020-05-08 01:56:32 +0000777 uart4: serial@fc00c000 {
778 compatible = "atmel,at91sam9260-usart";
779 reg = <0xfc00c000 0x100>;
780 clocks = <&uart4_clk>;
781 clock-names = "usart";
782 status = "disabled";
783 };
784
Clément Léger8cde6162022-03-31 10:55:07 +0200785 aic: interrupt-controller@fc020000 {
786 #interrupt-cells = <3>;
787 compatible = "atmel,sama5d2-aic";
788 interrupt-controller;
789 reg = <0xfc020000 0x200>;
790 atmel,external-irqs = <49>;
791 };
792
Wenyou Yang86ba2212016-07-25 17:46:17 +0800793 i2c1: i2c@fc028000 {
794 compatible = "atmel,sama5d2-i2c";
795 reg = <0xfc028000 0x100>;
796 #address-cells = <1>;
797 #size-cells = <0>;
798 clocks = <&twi1_clk>;
799 status = "disabled";
800 };
801
Sergiu Moga7c8ad0e2022-09-01 17:22:39 +0300802 pioA: pinctrl@fc038000 {
803 compatible = "atmel,sama5d2-pinctrl";
Wenyou Yang86ba2212016-07-25 17:46:17 +0800804 reg = <0xfc038000 0x600>;
805 clocks = <&pioA_clk>;
806 gpio-controller;
807 #gpio-cells = <2>;
Wenyou Yang035acb22017-03-23 14:26:23 +0800808 u-boot,dm-pre-reloc;
Wenyou Yang86ba2212016-07-25 17:46:17 +0800809 };
810 };
811 };
Eugen Hristev8ab0bd72018-09-18 10:35:53 +0300812
813 onewire_tm: onewire {
814 compatible = "w1-gpio";
815 status = "disabled";
816 };
Wenyou Yang86ba2212016-07-25 17:46:17 +0800817};