blob: 058009adcade9f15f22d264d87dde47850f6cac9 [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>;
366 };
367
Wenyou Yang354e10c2016-09-18 15:37:47 +0800368 tcb1_clk: tcb1_clk@36 {
Wenyou Yang86ba2212016-07-25 17:46:17 +0800369 #clock-cells = <0>;
370 reg = <36>;
371 atmel,clk-output-range = <0 83000000>;
372 };
373
Wenyou Yang354e10c2016-09-18 15:37:47 +0800374 pwm_clk: pwm_clk@38 {
Wenyou Yang86ba2212016-07-25 17:46:17 +0800375 #clock-cells = <0>;
376 reg = <38>;
377 atmel,clk-output-range = <0 83000000>;
378 };
379
Wenyou Yang354e10c2016-09-18 15:37:47 +0800380 adc_clk: adc_clk@40 {
Wenyou Yang86ba2212016-07-25 17:46:17 +0800381 #clock-cells = <0>;
382 reg = <40>;
383 atmel,clk-output-range = <0 83000000>;
384 };
385
Wenyou Yang354e10c2016-09-18 15:37:47 +0800386 uhphs_clk: uhphs_clk@41 {
Wenyou Yang86ba2212016-07-25 17:46:17 +0800387 #clock-cells = <0>;
388 reg = <41>;
389 atmel,clk-output-range = <0 83000000>;
390 };
391
Wenyou Yang354e10c2016-09-18 15:37:47 +0800392 udphs_clk: udphs_clk@42 {
Wenyou Yang86ba2212016-07-25 17:46:17 +0800393 #clock-cells = <0>;
394 reg = <42>;
395 atmel,clk-output-range = <0 83000000>;
396 };
397
Wenyou Yang354e10c2016-09-18 15:37:47 +0800398 ssc0_clk: ssc0_clk@43 {
Wenyou Yang86ba2212016-07-25 17:46:17 +0800399 #clock-cells = <0>;
400 reg = <43>;
401 atmel,clk-output-range = <0 83000000>;
402 };
403
Wenyou Yang354e10c2016-09-18 15:37:47 +0800404 ssc1_clk: ssc1_clk@44 {
Wenyou Yang86ba2212016-07-25 17:46:17 +0800405 #clock-cells = <0>;
406 reg = <44>;
407 atmel,clk-output-range = <0 83000000>;
408 };
409
Wenyou Yang354e10c2016-09-18 15:37:47 +0800410 trng_clk: trng_clk@47 {
Wenyou Yang86ba2212016-07-25 17:46:17 +0800411 #clock-cells = <0>;
412 reg = <47>;
413 atmel,clk-output-range = <0 83000000>;
414 };
415
Wenyou Yang354e10c2016-09-18 15:37:47 +0800416 pdmic_clk: pdmic_clk@48 {
Wenyou Yang86ba2212016-07-25 17:46:17 +0800417 #clock-cells = <0>;
418 reg = <48>;
419 atmel,clk-output-range = <0 83000000>;
420 };
421
Wenyou Yang354e10c2016-09-18 15:37:47 +0800422 i2s0_clk: i2s0_clk@54 {
Wenyou Yang86ba2212016-07-25 17:46:17 +0800423 #clock-cells = <0>;
424 reg = <54>;
425 atmel,clk-output-range = <0 83000000>;
426 };
427
Wenyou Yang354e10c2016-09-18 15:37:47 +0800428 i2s1_clk: i2s1_clk@55 {
Wenyou Yang86ba2212016-07-25 17:46:17 +0800429 #clock-cells = <0>;
430 reg = <55>;
431 atmel,clk-output-range = <0 83000000>;
432 };
433
Wenyou Yang354e10c2016-09-18 15:37:47 +0800434 can0_clk: can0_clk@56 {
Wenyou Yang86ba2212016-07-25 17:46:17 +0800435 #clock-cells = <0>;
436 reg = <56>;
437 atmel,clk-output-range = <0 83000000>;
438 };
439
Wenyou Yang354e10c2016-09-18 15:37:47 +0800440 can1_clk: can1_clk@57 {
Wenyou Yang86ba2212016-07-25 17:46:17 +0800441 #clock-cells = <0>;
442 reg = <57>;
443 atmel,clk-output-range = <0 83000000>;
444 };
445
Wenyou Yang354e10c2016-09-18 15:37:47 +0800446 classd_clk: classd_clk@59 {
Wenyou Yang86ba2212016-07-25 17:46:17 +0800447 #clock-cells = <0>;
448 reg = <59>;
449 atmel,clk-output-range = <0 83000000>;
450 };
451 };
452
453 periph64ck {
454 compatible = "atmel,at91sam9x5-clk-peripheral";
455 #address-cells = <1>;
456 #size-cells = <0>;
457 clocks = <&mck>;
Wenyou Yang035acb22017-03-23 14:26:23 +0800458 u-boot,dm-pre-reloc;
Wenyou Yang86ba2212016-07-25 17:46:17 +0800459
Wenyou Yang354e10c2016-09-18 15:37:47 +0800460 dma0_clk: dma0_clk@6 {
Wenyou Yang86ba2212016-07-25 17:46:17 +0800461 #clock-cells = <0>;
462 reg = <6>;
463 };
464
Wenyou Yang354e10c2016-09-18 15:37:47 +0800465 dma1_clk: dma1_clk@7 {
Wenyou Yang86ba2212016-07-25 17:46:17 +0800466 #clock-cells = <0>;
467 reg = <7>;
468 };
469
Wenyou Yang354e10c2016-09-18 15:37:47 +0800470 aes_clk: aes_clk@9 {
Wenyou Yang86ba2212016-07-25 17:46:17 +0800471 #clock-cells = <0>;
472 reg = <9>;
473 };
474
Wenyou Yang354e10c2016-09-18 15:37:47 +0800475 aesb_clk: aesb_clk@10 {
Wenyou Yang86ba2212016-07-25 17:46:17 +0800476 #clock-cells = <0>;
477 reg = <10>;
478 };
479
Wenyou Yang354e10c2016-09-18 15:37:47 +0800480 sha_clk: sha_clk@12 {
Wenyou Yang86ba2212016-07-25 17:46:17 +0800481 #clock-cells = <0>;
482 reg = <12>;
483 };
484
Wenyou Yang354e10c2016-09-18 15:37:47 +0800485 mpddr_clk: mpddr_clk@13 {
Wenyou Yang86ba2212016-07-25 17:46:17 +0800486 #clock-cells = <0>;
487 reg = <13>;
488 };
489
Wenyou Yang354e10c2016-09-18 15:37:47 +0800490 matrix0_clk: matrix0_clk@15 {
Wenyou Yang86ba2212016-07-25 17:46:17 +0800491 #clock-cells = <0>;
492 reg = <15>;
493 };
494
Wenyou Yang354e10c2016-09-18 15:37:47 +0800495 sdmmc0_hclk: sdmmc0_hclk@31 {
Wenyou Yang86ba2212016-07-25 17:46:17 +0800496 #clock-cells = <0>;
497 reg = <31>;
Wenyou Yang035acb22017-03-23 14:26:23 +0800498 u-boot,dm-pre-reloc;
Wenyou Yang86ba2212016-07-25 17:46:17 +0800499 };
500
Wenyou Yang354e10c2016-09-18 15:37:47 +0800501 sdmmc1_hclk: sdmmc1_hclk@32 {
Wenyou Yang86ba2212016-07-25 17:46:17 +0800502 #clock-cells = <0>;
503 reg = <32>;
Wenyou Yang035acb22017-03-23 14:26:23 +0800504 u-boot,dm-pre-reloc;
Wenyou Yang86ba2212016-07-25 17:46:17 +0800505 };
506
Wenyou Yang354e10c2016-09-18 15:37:47 +0800507 lcdc_clk: lcdc_clk@45 {
Wenyou Yang86ba2212016-07-25 17:46:17 +0800508 #clock-cells = <0>;
509 reg = <45>;
510 };
511
Wenyou Yang354e10c2016-09-18 15:37:47 +0800512 isc_clk: isc_clk@46 {
Wenyou Yang86ba2212016-07-25 17:46:17 +0800513 #clock-cells = <0>;
514 reg = <46>;
515 };
516
Wenyou Yang354e10c2016-09-18 15:37:47 +0800517 qspi0_clk: qspi0_clk@52 {
Wenyou Yang86ba2212016-07-25 17:46:17 +0800518 #clock-cells = <0>;
519 reg = <52>;
Wenyou Yangeebb0732017-09-13 14:58:54 +0800520 u-boot,dm-pre-reloc;
Wenyou Yang86ba2212016-07-25 17:46:17 +0800521 };
522
Wenyou Yang354e10c2016-09-18 15:37:47 +0800523 qspi1_clk: qspi1_clk@53 {
Wenyou Yang86ba2212016-07-25 17:46:17 +0800524 #clock-cells = <0>;
525 reg = <53>;
Wenyou Yangeebb0732017-09-13 14:58:54 +0800526 u-boot,dm-pre-reloc;
Wenyou Yang86ba2212016-07-25 17:46:17 +0800527 };
528 };
529
530 gck {
531 compatible = "atmel,sama5d2-clk-generated";
532 #address-cells = <1>;
533 #size-cells = <0>;
534 interrupt-parent = <&pmc>;
535 clocks = <&main>, <&plla>, <&utmi>, <&mck>;
Wenyou Yang035acb22017-03-23 14:26:23 +0800536 u-boot,dm-pre-reloc;
Wenyou Yang86ba2212016-07-25 17:46:17 +0800537
Wenyou Yang354e10c2016-09-18 15:37:47 +0800538 sdmmc0_gclk: sdmmc0_gclk@31 {
Wenyou Yang86ba2212016-07-25 17:46:17 +0800539 #clock-cells = <0>;
540 reg = <31>;
Wenyou Yang035acb22017-03-23 14:26:23 +0800541 u-boot,dm-pre-reloc;
Wenyou Yang86ba2212016-07-25 17:46:17 +0800542 };
543
Wenyou Yang354e10c2016-09-18 15:37:47 +0800544 sdmmc1_gclk: sdmmc1_gclk@32 {
Wenyou Yang86ba2212016-07-25 17:46:17 +0800545 #clock-cells = <0>;
546 reg = <32>;
Wenyou Yang035acb22017-03-23 14:26:23 +0800547 u-boot,dm-pre-reloc;
Wenyou Yang86ba2212016-07-25 17:46:17 +0800548 };
549
Wenyou Yang354e10c2016-09-18 15:37:47 +0800550 tcb0_gclk: tcb0_gclk@35 {
Wenyou Yang86ba2212016-07-25 17:46:17 +0800551 #clock-cells = <0>;
552 reg = <35>;
553 atmel,clk-output-range = <0 83000000>;
554 };
555
Wenyou Yang354e10c2016-09-18 15:37:47 +0800556 tcb1_gclk: tcb1_gclk@36 {
Wenyou Yang86ba2212016-07-25 17:46:17 +0800557 #clock-cells = <0>;
558 reg = <36>;
559 atmel,clk-output-range = <0 83000000>;
560 };
561
Wenyou Yang354e10c2016-09-18 15:37:47 +0800562 pwm_gclk: pwm_gclk@38 {
Wenyou Yang86ba2212016-07-25 17:46:17 +0800563 #clock-cells = <0>;
564 reg = <38>;
565 atmel,clk-output-range = <0 83000000>;
566 };
567
Wenyou Yang354e10c2016-09-18 15:37:47 +0800568 pdmic_gclk: pdmic_gclk@48 {
Wenyou Yang86ba2212016-07-25 17:46:17 +0800569 #clock-cells = <0>;
570 reg = <48>;
571 };
572
Wenyou Yang354e10c2016-09-18 15:37:47 +0800573 i2s0_gclk: i2s0_gclk@54 {
Wenyou Yang86ba2212016-07-25 17:46:17 +0800574 #clock-cells = <0>;
575 reg = <54>;
576 };
577
Wenyou Yang354e10c2016-09-18 15:37:47 +0800578 i2s1_gclk: i2s1_gclk@55 {
Wenyou Yang86ba2212016-07-25 17:46:17 +0800579 #clock-cells = <0>;
580 reg = <55>;
581 };
582
Wenyou Yang354e10c2016-09-18 15:37:47 +0800583 can0_gclk: can0_gclk@56 {
Wenyou Yang86ba2212016-07-25 17:46:17 +0800584 #clock-cells = <0>;
585 reg = <56>;
586 atmel,clk-output-range = <0 80000000>;
587 };
588
Wenyou Yang354e10c2016-09-18 15:37:47 +0800589 can1_gclk: can1_gclk@57 {
Wenyou Yang86ba2212016-07-25 17:46:17 +0800590 #clock-cells = <0>;
591 reg = <57>;
592 atmel,clk-output-range = <0 80000000>;
593 };
594
Wenyou Yang354e10c2016-09-18 15:37:47 +0800595 classd_gclk: classd_gclk@59 {
Wenyou Yang86ba2212016-07-25 17:46:17 +0800596 #clock-cells = <0>;
597 reg = <59>;
598 atmel,clk-output-range = <0 100000000>;
599 };
600 };
601 };
602
603 qspi0: spi@f0020000 {
604 compatible = "atmel,sama5d2-qspi";
605 reg = <0xf0020000 0x100>, <0xd0000000 0x08000000>;
606 reg-names = "qspi_base", "qspi_mmap";
607 #address-cells = <1>;
608 #size-cells = <0>;
609 clocks = <&qspi0_clk>;
610 status = "disabled";
611 };
612
Wenyou Yangeebb0732017-09-13 14:58:54 +0800613 qspi1: spi@f0024000 {
614 compatible = "atmel,sama5d2-qspi";
615 reg = <0xf0024000 0x100>, <0xd8000000 0x08000000>;
616 reg-names = "qspi_base", "qspi_mmap";
617 #address-cells = <1>;
618 #size-cells = <0>;
619 clocks = <&qspi1_clk>;
620 status = "disabled";
621 };
622
Wenyou Yang86ba2212016-07-25 17:46:17 +0800623 spi0: spi@f8000000 {
624 compatible = "atmel,at91rm9200-spi";
625 reg = <0xf8000000 0x100>;
626 clocks = <&spi0_clk>;
627 clock-names = "spi_clk";
628 #address-cells = <1>;
629 #size-cells = <0>;
630 status = "disabled";
631 };
632
633 macb0: ethernet@f8008000 {
634 compatible = "cdns,macb";
635 reg = <0xf8008000 0x1000>;
636 #address-cells = <1>;
637 #size-cells = <0>;
638 clocks = <&macb0_clk>, <&macb0_clk>;
639 clock-names = "hclk", "pclk";
640 status = "disabled";
641 };
642
Clément Légere664bce2022-03-31 10:55:08 +0200643 tcb0: timer@f800c000 {
644 compatible = "atmel,sama5d2-tcb", "simple-mfd", "syscon";
645 reg = <0xf800c000 0x100>;
646 interrupts = <35 IRQ_TYPE_LEVEL_HIGH 0>;
647 clocks = <&tcb0_clk>, <&tcb0_gclk>, <&clk32k>;
648 clock-names = "t0_clk", "gclk", "slow_clk";
649 #address-cells = <1>;
650 #size-cells = <0>;
651
652 timer0: timer@0 {
653 compatible = "atmel,tcb-timer";
654 reg = <0>, <1>;
655 };
656 };
657
Ludovic Desroches1240d882017-11-17 14:57:12 +0800658 uart0: serial@f801c000 {
659 compatible = "atmel,at91sam9260-usart";
660 reg = <0xf801c000 0x100>;
661 clocks = <&uart0_clk>;
662 clock-names = "usart";
663 status = "disabled";
664 };
665
Wenyou Yang86ba2212016-07-25 17:46:17 +0800666 uart1: serial@f8020000 {
667 compatible = "atmel,at91sam9260-usart";
668 reg = <0xf8020000 0x100>;
Wenyou Yang4e3524d2017-03-23 14:26:22 +0800669 clocks = <&uart1_clk>;
670 clock-names = "usart";
Wenyou Yang86ba2212016-07-25 17:46:17 +0800671 status = "disabled";
672 };
673
Ludovic Desroches1240d882017-11-17 14:57:12 +0800674 uart2: serial@f8024000 {
675 compatible = "atmel,at91sam9260-usart";
676 reg = <0xf8024000 0x100>;
677 clocks = <&uart2_clk>;
678 clock-names = "usart";
679 status = "disabled";
680 };
681
Wenyou Yang86ba2212016-07-25 17:46:17 +0800682 i2c0: i2c@f8028000 {
683 compatible = "atmel,sama5d2-i2c";
684 reg = <0xf8028000 0x100>;
685 #address-cells = <1>;
686 #size-cells = <0>;
687 clocks = <&twi0_clk>;
688 status = "disabled";
689 };
690
Dan Sneddonf09aa3f2021-09-20 16:28:46 -0700691 pwm0: pwm@f802c000 {
692 compatible = "atmel,sama5d2-pwm";
693 reg = <0xf802c000 0x4000>;
694 clocks = <&pwm_clk>;
695 #pwm-cells = <3>;
696 status = "disabled";
697 };
698
Wenyou.Yang@microchip.com272167d2017-08-15 17:40:27 +0800699 rstc@f8048000 {
700 compatible = "atmel,sama5d3-rstc";
701 reg = <0xf8048000 0x10>;
702 clocks = <&clk32k>;
703 };
704
705 shdwc@f8048010 {
706 compatible = "atmel,sama5d2-shdwc";
707 reg = <0xf8048010 0x10>;
708 clocks = <&clk32k>;
709 #address-cells = <1>;
710 #size-cells = <0>;
711 atmel,wakeup-rtc-timer;
712 };
713
714 pit: timer@f8048030 {
715 compatible = "atmel,at91sam9260-pit";
716 reg = <0xf8048030 0x10>;
717 clocks = <&h32ck>;
718 };
719
720 watchdog@f8048040 {
721 compatible = "atmel,sama5d4-wdt";
722 reg = <0xf8048040 0x10>;
723 clocks = <&clk32k>;
724 status = "disabled";
725 };
726
Wenyou Yang75648fb2017-09-05 18:30:08 +0800727 sfr: sfr@f8030000 {
728 compatible = "atmel,sama5d2-sfr", "syscon";
729 reg = <0xf8030000 0x98>;
730 };
731
Wenyou Yang86ba2212016-07-25 17:46:17 +0800732 sckc@f8048050 {
733 compatible = "atmel,at91sam9x5-sckc";
734 reg = <0xf8048050 0x4>;
735
736 slow_rc_osc: slow_rc_osc {
737 compatible = "atmel,at91sam9x5-clk-slow-rc-osc";
738 #clock-cells = <0>;
739 clock-frequency = <32768>;
740 clock-accuracy = <250000000>;
741 atmel,startup-time-usec = <75>;
742 };
743
744 slow_osc: slow_osc {
745 compatible = "atmel,at91sam9x5-clk-slow-osc";
746 #clock-cells = <0>;
747 clocks = <&slow_xtal>;
748 atmel,startup-time-usec = <1200000>;
749 };
750
751 clk32k: slowck {
752 compatible = "atmel,at91sam9x5-clk-slow";
753 #clock-cells = <0>;
754 clocks = <&slow_rc_osc &slow_osc>;
755 };
756 };
757
758 spi1: spi@fc000000 {
759 compatible = "atmel,at91rm9200-spi";
760 reg = <0xfc000000 0x100>;
761 #address-cells = <1>;
762 #size-cells = <0>;
763 status = "disabled";
764 };
765
Wenyou Yangeebb0732017-09-13 14:58:54 +0800766 uart3: serial@fc008000 {
767 compatible = "atmel,at91sam9260-usart";
768 reg = <0xfc008000 0x100>;
769 clocks = <&uart3_clk>;
770 clock-names = "usart";
771 status = "disabled";
772 };
773
Tiaki Riced5d8cab2020-05-08 01:56:32 +0000774 uart4: serial@fc00c000 {
775 compatible = "atmel,at91sam9260-usart";
776 reg = <0xfc00c000 0x100>;
777 clocks = <&uart4_clk>;
778 clock-names = "usart";
779 status = "disabled";
780 };
781
Clément Léger8cde6162022-03-31 10:55:07 +0200782 aic: interrupt-controller@fc020000 {
783 #interrupt-cells = <3>;
784 compatible = "atmel,sama5d2-aic";
785 interrupt-controller;
786 reg = <0xfc020000 0x200>;
787 atmel,external-irqs = <49>;
788 };
789
Wenyou Yang86ba2212016-07-25 17:46:17 +0800790 i2c1: i2c@fc028000 {
791 compatible = "atmel,sama5d2-i2c";
792 reg = <0xfc028000 0x100>;
793 #address-cells = <1>;
794 #size-cells = <0>;
795 clocks = <&twi1_clk>;
796 status = "disabled";
797 };
798
799 pioA: gpio@fc038000 {
800 compatible = "atmel,sama5d2-gpio";
801 reg = <0xfc038000 0x600>;
802 clocks = <&pioA_clk>;
803 gpio-controller;
804 #gpio-cells = <2>;
Wenyou Yang035acb22017-03-23 14:26:23 +0800805 u-boot,dm-pre-reloc;
Wenyou Yang86ba2212016-07-25 17:46:17 +0800806
807 pinctrl {
808 compatible = "atmel,sama5d2-pinctrl";
Wenyou Yang035acb22017-03-23 14:26:23 +0800809 u-boot,dm-pre-reloc;
Wenyou Yang86ba2212016-07-25 17:46:17 +0800810 };
811 };
812 };
813 };
Eugen Hristev8ab0bd72018-09-18 10:35:53 +0300814
815 onewire_tm: onewire {
816 compatible = "w1-gpio";
817 status = "disabled";
818 };
Wenyou Yang86ba2212016-07-25 17:46:17 +0800819};