blob: 7de58e4a1f84013693b01d6edee2bd1ba5f87f54 [file] [log] [blame]
Wenyou Yang86ba2212016-07-25 17:46:17 +08001#include "skeleton.dtsi"
2
3/ {
4 model = "Atmel SAMA5D2 family SoC";
5 compatible = "atmel,sama5d2";
Clément Léger8cde6162022-03-31 10:55:07 +02006 interrupt-parent = <&aic>;
Wenyou Yang86ba2212016-07-25 17:46:17 +08007
8 aliases {
9 spi0 = &spi0;
10 spi1 = &qspi0;
Eugen Hristev235e8972019-08-26 06:47:03 +000011 spi2 = &qspi1;
Wenyou Yang86ba2212016-07-25 17:46:17 +080012 i2c0 = &i2c0;
13 i2c1 = &i2c1;
14 };
15
16 clocks {
17 slow_xtal: slow_xtal {
18 compatible = "fixed-clock";
19 #clock-cells = <0>;
20 clock-frequency = <0>;
21 };
22
23 main_xtal: main_xtal {
24 compatible = "fixed-clock";
25 #clock-cells = <0>;
26 clock-frequency = <0>;
27 };
28 };
29
30 ahb {
31 compatible = "simple-bus";
32 #address-cells = <1>;
33 #size-cells = <1>;
Wenyou Yang035acb22017-03-23 14:26:23 +080034 u-boot,dm-pre-reloc;
Wenyou Yang86ba2212016-07-25 17:46:17 +080035
Eugen Hristev21de2842021-08-17 13:29:24 +030036 usb1: ohci@400000 {
Wenyou Yang86ba2212016-07-25 17:46:17 +080037 compatible = "atmel,at91rm9200-ohci", "usb-ohci";
38 reg = <0x00400000 0x100000>;
39 clocks = <&uhphs_clk>, <&uhphs_clk>, <&uhpck>;
40 clock-names = "ohci_clk", "hclk", "uhpck";
41 status = "disabled";
42 };
43
Eugen Hristev21de2842021-08-17 13:29:24 +030044 usb2: ehci@500000 {
Wenyou Yang86ba2212016-07-25 17:46:17 +080045 compatible = "atmel,at91sam9g45-ehci", "usb-ehci";
46 reg = <0x00500000 0x100000>;
47 clocks = <&utmi>, <&uhphs_clk>;
48 clock-names = "usb_clk", "ehci_clk";
49 status = "disabled";
50 };
51
52 sdmmc0: sdio-host@a0000000 {
53 compatible = "atmel,sama5d2-sdhci";
54 reg = <0xa0000000 0x300>;
55 clocks = <&sdmmc0_hclk>, <&sdmmc0_gclk>, <&main>;
56 clock-names = "hclock", "multclk", "baseclk";
57 status = "disabled";
58 };
59
60 sdmmc1: sdio-host@b0000000 {
61 compatible = "atmel,sama5d2-sdhci";
62 reg = <0xb0000000 0x300>;
63 clocks = <&sdmmc1_hclk>, <&sdmmc1_gclk>, <&main>;
64 clock-names = "hclock", "multclk", "baseclk";
65 status = "disabled";
66 };
67
68 apb {
69 compatible = "simple-bus";
70 #address-cells = <1>;
71 #size-cells = <1>;
Wenyou Yang035acb22017-03-23 14:26:23 +080072 u-boot,dm-pre-reloc;
Wenyou Yang86ba2212016-07-25 17:46:17 +080073
Wenyou Yang3ec18a62017-09-18 15:25:57 +080074 hlcdc: hlcdc@f0000000 {
75 compatible = "atmel,at91sam9x5-hlcdc";
76 reg = <0xf0000000 0x2000>;
77 clocks = <&lcdc_clk>;
78 status = "disabled";
79 };
80
Wenyou Yang86ba2212016-07-25 17:46:17 +080081 pmc: pmc@f0014000 {
82 compatible = "atmel,sama5d2-pmc", "syscon";
83 reg = <0xf0014000 0x160>;
84 #address-cells = <1>;
85 #size-cells = <0>;
86 #interrupt-cells = <1>;
Wenyou Yang035acb22017-03-23 14:26:23 +080087 u-boot,dm-pre-reloc;
Wenyou Yang86ba2212016-07-25 17:46:17 +080088
89 main: mainck {
90 compatible = "atmel,at91sam9x5-clk-main";
91 #clock-cells = <0>;
Wenyou Yang035acb22017-03-23 14:26:23 +080092 u-boot,dm-pre-reloc;
Wenyou Yang86ba2212016-07-25 17:46:17 +080093 };
94
Wenyou Yang354e10c2016-09-18 15:37:47 +080095 plla: pllack@0 {
Wenyou Yang86ba2212016-07-25 17:46:17 +080096 compatible = "atmel,sama5d3-clk-pll";
97 #clock-cells = <0>;
98 clocks = <&main>;
99 reg = <0>;
100 atmel,clk-input-range = <12000000 12000000>;
101 #atmel,pll-clk-output-range-cells = <4>;
102 atmel,pll-clk-output-ranges = <600000000 1200000000 0 0>;
Wenyou Yang035acb22017-03-23 14:26:23 +0800103 u-boot,dm-pre-reloc;
Wenyou Yang86ba2212016-07-25 17:46:17 +0800104 };
105
106 plladiv: plladivck {
107 compatible = "atmel,at91sam9x5-clk-plldiv";
108 #clock-cells = <0>;
109 clocks = <&plla>;
110 };
111
112 audio_pll_frac: audiopll_fracck {
113 compatible = "atmel,sama5d2-clk-audio-pll-frac";
114 #clock-cells = <0>;
115 clocks = <&main>;
116 };
117
118 audio_pll_pad: audiopll_padck {
119 compatible = "atmel,sama5d2-clk-audio-pll-pad";
120 #clock-cells = <0>;
121 clocks = <&audio_pll_frac>;
122 };
123
124 audio_pll_pmc: audiopll_pmcck {
125 compatible = "atmel,sama5d2-clk-audio-pll-pmc";
126 #clock-cells = <0>;
127 clocks = <&audio_pll_frac>;
128 };
129
130 utmi: utmick {
131 compatible = "atmel,at91sam9x5-clk-utmi";
132 #clock-cells = <0>;
133 clocks = <&main>;
Wenyou Yang75648fb2017-09-05 18:30:08 +0800134 regmap-sfr = <&sfr>;
Wenyou Yang035acb22017-03-23 14:26:23 +0800135 u-boot,dm-pre-reloc;
Wenyou Yang86ba2212016-07-25 17:46:17 +0800136 };
137
138 mck: masterck {
139 compatible = "atmel,at91sam9x5-clk-master";
140 #clock-cells = <0>;
141 clocks = <&main>, <&plladiv>, <&utmi>;
142 atmel,clk-output-range = <124000000 166000000>;
143 atmel,clk-divisors = <1 2 4 3>;
Wenyou Yang035acb22017-03-23 14:26:23 +0800144 u-boot,dm-pre-reloc;
Wenyou Yang86ba2212016-07-25 17:46:17 +0800145 };
146
147 h32ck: h32mxck {
148 #clock-cells = <0>;
149 compatible = "atmel,sama5d4-clk-h32mx";
150 clocks = <&mck>;
Wenyou Yang035acb22017-03-23 14:26:23 +0800151 u-boot,dm-pre-reloc;
Wenyou Yang86ba2212016-07-25 17:46:17 +0800152 };
153
154 usb: usbck {
155 compatible = "atmel,at91sam9x5-clk-usb";
156 #clock-cells = <0>;
157 clocks = <&plladiv>, <&utmi>;
158 };
159
160 prog: progck {
161 compatible = "atmel,at91sam9x5-clk-programmable";
162 #address-cells = <1>;
163 #size-cells = <0>;
164 interrupt-parent = <&pmc>;
165 clocks = <&main>, <&plladiv>, <&utmi>, <&mck>;
166
Wenyou Yang354e10c2016-09-18 15:37:47 +0800167 prog0: prog@0 {
Wenyou Yang86ba2212016-07-25 17:46:17 +0800168 #clock-cells = <0>;
169 reg = <0>;
170 };
171
Wenyou Yang354e10c2016-09-18 15:37:47 +0800172 prog1: prog@1 {
Wenyou Yang86ba2212016-07-25 17:46:17 +0800173 #clock-cells = <0>;
174 reg = <1>;
175 };
176
Wenyou Yang354e10c2016-09-18 15:37:47 +0800177 prog2: prog@2 {
Wenyou Yang86ba2212016-07-25 17:46:17 +0800178 #clock-cells = <0>;
179 reg = <2>;
180 };
181 };
182
183 systemck {
184 compatible = "atmel,at91rm9200-clk-system";
185 #address-cells = <1>;
186 #size-cells = <0>;
187
Wenyou Yang354e10c2016-09-18 15:37:47 +0800188 ddrck: ddrck@2 {
Wenyou Yang86ba2212016-07-25 17:46:17 +0800189 #clock-cells = <0>;
190 reg = <2>;
191 clocks = <&mck>;
192 };
193
Wenyou Yang354e10c2016-09-18 15:37:47 +0800194 lcdck: lcdck@3 {
Wenyou Yang86ba2212016-07-25 17:46:17 +0800195 #clock-cells = <0>;
196 reg = <3>;
197 clocks = <&mck>;
198 };
199
Wenyou Yang354e10c2016-09-18 15:37:47 +0800200 uhpck: uhpck@6 {
Wenyou Yang86ba2212016-07-25 17:46:17 +0800201 #clock-cells = <0>;
202 reg = <6>;
203 clocks = <&usb>;
204 };
205
Wenyou Yang354e10c2016-09-18 15:37:47 +0800206 udpck: udpck@7 {
Wenyou Yang86ba2212016-07-25 17:46:17 +0800207 #clock-cells = <0>;
208 reg = <7>;
209 clocks = <&usb>;
210 };
211
Wenyou Yang354e10c2016-09-18 15:37:47 +0800212 pck0: pck0@8 {
Wenyou Yang86ba2212016-07-25 17:46:17 +0800213 #clock-cells = <0>;
214 reg = <8>;
215 clocks = <&prog0>;
216 };
217
Wenyou Yang354e10c2016-09-18 15:37:47 +0800218 pck1: pck1@9 {
Wenyou Yang86ba2212016-07-25 17:46:17 +0800219 #clock-cells = <0>;
220 reg = <9>;
221 clocks = <&prog1>;
222 };
223
Wenyou Yang354e10c2016-09-18 15:37:47 +0800224 pck2: pck2@10 {
Wenyou Yang86ba2212016-07-25 17:46:17 +0800225 #clock-cells = <0>;
226 reg = <10>;
227 clocks = <&prog2>;
228 };
229
Wenyou Yang354e10c2016-09-18 15:37:47 +0800230 iscck: iscck@18 {
Wenyou Yang86ba2212016-07-25 17:46:17 +0800231 #clock-cells = <0>;
232 reg = <18>;
233 clocks = <&mck>;
234 };
235 };
236
237 periph32ck {
238 compatible = "atmel,at91sam9x5-clk-peripheral";
239 #address-cells = <1>;
240 #size-cells = <0>;
241 clocks = <&h32ck>;
Wenyou Yang035acb22017-03-23 14:26:23 +0800242 u-boot,dm-pre-reloc;
Wenyou Yang86ba2212016-07-25 17:46:17 +0800243
Wenyou Yang354e10c2016-09-18 15:37:47 +0800244 macb0_clk: macb0_clk@5 {
Wenyou Yang86ba2212016-07-25 17:46:17 +0800245 #clock-cells = <0>;
246 reg = <5>;
247 atmel,clk-output-range = <0 83000000>;
248 };
249
Wenyou Yang354e10c2016-09-18 15:37:47 +0800250 tdes_clk: tdes_clk@11 {
Wenyou Yang86ba2212016-07-25 17:46:17 +0800251 #clock-cells = <0>;
252 reg = <11>;
253 atmel,clk-output-range = <0 83000000>;
254 };
255
Wenyou Yang354e10c2016-09-18 15:37:47 +0800256 matrix1_clk: matrix1_clk@14 {
Wenyou Yang86ba2212016-07-25 17:46:17 +0800257 #clock-cells = <0>;
258 reg = <14>;
259 };
260
Wenyou Yang354e10c2016-09-18 15:37:47 +0800261 hsmc_clk: hsmc_clk@17 {
Wenyou Yang86ba2212016-07-25 17:46:17 +0800262 #clock-cells = <0>;
263 reg = <17>;
264 };
265
Wenyou Yang354e10c2016-09-18 15:37:47 +0800266 pioA_clk: pioA_clk@18 {
Wenyou Yang86ba2212016-07-25 17:46:17 +0800267 #clock-cells = <0>;
268 reg = <18>;
269 atmel,clk-output-range = <0 83000000>;
Wenyou Yang035acb22017-03-23 14:26:23 +0800270 u-boot,dm-pre-reloc;
Wenyou Yang86ba2212016-07-25 17:46:17 +0800271 };
272
Wenyou Yang354e10c2016-09-18 15:37:47 +0800273 flx0_clk: flx0_clk@19 {
Wenyou Yang86ba2212016-07-25 17:46:17 +0800274 #clock-cells = <0>;
275 reg = <19>;
276 atmel,clk-output-range = <0 83000000>;
277 };
278
Wenyou Yang354e10c2016-09-18 15:37:47 +0800279 flx1_clk: flx1_clk@20 {
Wenyou Yang86ba2212016-07-25 17:46:17 +0800280 #clock-cells = <0>;
281 reg = <20>;
282 atmel,clk-output-range = <0 83000000>;
283 };
284
Wenyou Yang354e10c2016-09-18 15:37:47 +0800285 flx2_clk: flx2_clk@21 {
Wenyou Yang86ba2212016-07-25 17:46:17 +0800286 #clock-cells = <0>;
287 reg = <21>;
288 atmel,clk-output-range = <0 83000000>;
289 };
290
Wenyou Yang354e10c2016-09-18 15:37:47 +0800291 flx3_clk: flx3_clk@22 {
Wenyou Yang86ba2212016-07-25 17:46:17 +0800292 #clock-cells = <0>;
293 reg = <22>;
294 atmel,clk-output-range = <0 83000000>;
295 };
296
Wenyou Yang354e10c2016-09-18 15:37:47 +0800297 flx4_clk: flx4_clk@23 {
Wenyou Yang86ba2212016-07-25 17:46:17 +0800298 #clock-cells = <0>;
299 reg = <23>;
300 atmel,clk-output-range = <0 83000000>;
301 };
302
Wenyou Yang354e10c2016-09-18 15:37:47 +0800303 uart0_clk: uart0_clk@24 {
Wenyou Yang86ba2212016-07-25 17:46:17 +0800304 #clock-cells = <0>;
305 reg = <24>;
306 atmel,clk-output-range = <0 83000000>;
Ludovic Desroches1240d882017-11-17 14:57:12 +0800307 u-boot,dm-pre-reloc;
Wenyou Yang86ba2212016-07-25 17:46:17 +0800308 };
309
Wenyou Yang354e10c2016-09-18 15:37:47 +0800310 uart1_clk: uart1_clk@25 {
Wenyou Yang86ba2212016-07-25 17:46:17 +0800311 #clock-cells = <0>;
312 reg = <25>;
313 atmel,clk-output-range = <0 83000000>;
Wenyou Yang035acb22017-03-23 14:26:23 +0800314 u-boot,dm-pre-reloc;
Wenyou Yang86ba2212016-07-25 17:46:17 +0800315 };
316
Wenyou Yang354e10c2016-09-18 15:37:47 +0800317 uart2_clk: uart2_clk@26 {
Wenyou Yang86ba2212016-07-25 17:46:17 +0800318 #clock-cells = <0>;
319 reg = <26>;
320 atmel,clk-output-range = <0 83000000>;
Ludovic Desroches1240d882017-11-17 14:57:12 +0800321 u-boot,dm-pre-reloc;
Wenyou Yang86ba2212016-07-25 17:46:17 +0800322 };
323
Wenyou Yang354e10c2016-09-18 15:37:47 +0800324 uart3_clk: uart3_clk@27 {
Wenyou Yang86ba2212016-07-25 17:46:17 +0800325 #clock-cells = <0>;
326 reg = <27>;
327 atmel,clk-output-range = <0 83000000>;
328 };
329
Wenyou Yang354e10c2016-09-18 15:37:47 +0800330 uart4_clk: uart4_clk@28 {
Wenyou Yang86ba2212016-07-25 17:46:17 +0800331 #clock-cells = <0>;
332 reg = <28>;
333 atmel,clk-output-range = <0 83000000>;
334 };
335
Wenyou Yang354e10c2016-09-18 15:37:47 +0800336 twi0_clk: twi0_clk@29 {
Wenyou Yang86ba2212016-07-25 17:46:17 +0800337 reg = <29>;
338 #clock-cells = <0>;
339 atmel,clk-output-range = <0 83000000>;
340 };
341
Wenyou Yang354e10c2016-09-18 15:37:47 +0800342 twi1_clk: twi1_clk@30 {
Wenyou Yang86ba2212016-07-25 17:46:17 +0800343 #clock-cells = <0>;
344 reg = <30>;
345 atmel,clk-output-range = <0 83000000>;
346 };
347
Wenyou Yang354e10c2016-09-18 15:37:47 +0800348 spi0_clk: spi0_clk@33 {
Wenyou Yang86ba2212016-07-25 17:46:17 +0800349 #clock-cells = <0>;
350 reg = <33>;
351 atmel,clk-output-range = <0 83000000>;
Wenyou Yang035acb22017-03-23 14:26:23 +0800352 u-boot,dm-pre-reloc;
Wenyou Yang86ba2212016-07-25 17:46:17 +0800353 };
354
Wenyou Yang354e10c2016-09-18 15:37:47 +0800355 spi1_clk: spi1_clk@34 {
Wenyou Yang86ba2212016-07-25 17:46:17 +0800356 #clock-cells = <0>;
357 reg = <34>;
358 atmel,clk-output-range = <0 83000000>;
359 };
360
Wenyou Yang354e10c2016-09-18 15:37:47 +0800361 tcb0_clk: tcb0_clk@35 {
Wenyou Yang86ba2212016-07-25 17:46:17 +0800362 #clock-cells = <0>;
363 reg = <35>;
364 atmel,clk-output-range = <0 83000000>;
365 };
366
Wenyou Yang354e10c2016-09-18 15:37:47 +0800367 tcb1_clk: tcb1_clk@36 {
Wenyou Yang86ba2212016-07-25 17:46:17 +0800368 #clock-cells = <0>;
369 reg = <36>;
370 atmel,clk-output-range = <0 83000000>;
371 };
372
Wenyou Yang354e10c2016-09-18 15:37:47 +0800373 pwm_clk: pwm_clk@38 {
Wenyou Yang86ba2212016-07-25 17:46:17 +0800374 #clock-cells = <0>;
375 reg = <38>;
376 atmel,clk-output-range = <0 83000000>;
377 };
378
Wenyou Yang354e10c2016-09-18 15:37:47 +0800379 adc_clk: adc_clk@40 {
Wenyou Yang86ba2212016-07-25 17:46:17 +0800380 #clock-cells = <0>;
381 reg = <40>;
382 atmel,clk-output-range = <0 83000000>;
383 };
384
Wenyou Yang354e10c2016-09-18 15:37:47 +0800385 uhphs_clk: uhphs_clk@41 {
Wenyou Yang86ba2212016-07-25 17:46:17 +0800386 #clock-cells = <0>;
387 reg = <41>;
388 atmel,clk-output-range = <0 83000000>;
389 };
390
Wenyou Yang354e10c2016-09-18 15:37:47 +0800391 udphs_clk: udphs_clk@42 {
Wenyou Yang86ba2212016-07-25 17:46:17 +0800392 #clock-cells = <0>;
393 reg = <42>;
394 atmel,clk-output-range = <0 83000000>;
395 };
396
Wenyou Yang354e10c2016-09-18 15:37:47 +0800397 ssc0_clk: ssc0_clk@43 {
Wenyou Yang86ba2212016-07-25 17:46:17 +0800398 #clock-cells = <0>;
399 reg = <43>;
400 atmel,clk-output-range = <0 83000000>;
401 };
402
Wenyou Yang354e10c2016-09-18 15:37:47 +0800403 ssc1_clk: ssc1_clk@44 {
Wenyou Yang86ba2212016-07-25 17:46:17 +0800404 #clock-cells = <0>;
405 reg = <44>;
406 atmel,clk-output-range = <0 83000000>;
407 };
408
Wenyou Yang354e10c2016-09-18 15:37:47 +0800409 trng_clk: trng_clk@47 {
Wenyou Yang86ba2212016-07-25 17:46:17 +0800410 #clock-cells = <0>;
411 reg = <47>;
412 atmel,clk-output-range = <0 83000000>;
413 };
414
Wenyou Yang354e10c2016-09-18 15:37:47 +0800415 pdmic_clk: pdmic_clk@48 {
Wenyou Yang86ba2212016-07-25 17:46:17 +0800416 #clock-cells = <0>;
417 reg = <48>;
418 atmel,clk-output-range = <0 83000000>;
419 };
420
Wenyou Yang354e10c2016-09-18 15:37:47 +0800421 i2s0_clk: i2s0_clk@54 {
Wenyou Yang86ba2212016-07-25 17:46:17 +0800422 #clock-cells = <0>;
423 reg = <54>;
424 atmel,clk-output-range = <0 83000000>;
425 };
426
Wenyou Yang354e10c2016-09-18 15:37:47 +0800427 i2s1_clk: i2s1_clk@55 {
Wenyou Yang86ba2212016-07-25 17:46:17 +0800428 #clock-cells = <0>;
429 reg = <55>;
430 atmel,clk-output-range = <0 83000000>;
431 };
432
Wenyou Yang354e10c2016-09-18 15:37:47 +0800433 can0_clk: can0_clk@56 {
Wenyou Yang86ba2212016-07-25 17:46:17 +0800434 #clock-cells = <0>;
435 reg = <56>;
436 atmel,clk-output-range = <0 83000000>;
437 };
438
Wenyou Yang354e10c2016-09-18 15:37:47 +0800439 can1_clk: can1_clk@57 {
Wenyou Yang86ba2212016-07-25 17:46:17 +0800440 #clock-cells = <0>;
441 reg = <57>;
442 atmel,clk-output-range = <0 83000000>;
443 };
444
Wenyou Yang354e10c2016-09-18 15:37:47 +0800445 classd_clk: classd_clk@59 {
Wenyou Yang86ba2212016-07-25 17:46:17 +0800446 #clock-cells = <0>;
447 reg = <59>;
448 atmel,clk-output-range = <0 83000000>;
449 };
450 };
451
452 periph64ck {
453 compatible = "atmel,at91sam9x5-clk-peripheral";
454 #address-cells = <1>;
455 #size-cells = <0>;
456 clocks = <&mck>;
Wenyou Yang035acb22017-03-23 14:26:23 +0800457 u-boot,dm-pre-reloc;
Wenyou Yang86ba2212016-07-25 17:46:17 +0800458
Wenyou Yang354e10c2016-09-18 15:37:47 +0800459 dma0_clk: dma0_clk@6 {
Wenyou Yang86ba2212016-07-25 17:46:17 +0800460 #clock-cells = <0>;
461 reg = <6>;
462 };
463
Wenyou Yang354e10c2016-09-18 15:37:47 +0800464 dma1_clk: dma1_clk@7 {
Wenyou Yang86ba2212016-07-25 17:46:17 +0800465 #clock-cells = <0>;
466 reg = <7>;
467 };
468
Wenyou Yang354e10c2016-09-18 15:37:47 +0800469 aes_clk: aes_clk@9 {
Wenyou Yang86ba2212016-07-25 17:46:17 +0800470 #clock-cells = <0>;
471 reg = <9>;
472 };
473
Wenyou Yang354e10c2016-09-18 15:37:47 +0800474 aesb_clk: aesb_clk@10 {
Wenyou Yang86ba2212016-07-25 17:46:17 +0800475 #clock-cells = <0>;
476 reg = <10>;
477 };
478
Wenyou Yang354e10c2016-09-18 15:37:47 +0800479 sha_clk: sha_clk@12 {
Wenyou Yang86ba2212016-07-25 17:46:17 +0800480 #clock-cells = <0>;
481 reg = <12>;
482 };
483
Wenyou Yang354e10c2016-09-18 15:37:47 +0800484 mpddr_clk: mpddr_clk@13 {
Wenyou Yang86ba2212016-07-25 17:46:17 +0800485 #clock-cells = <0>;
486 reg = <13>;
487 };
488
Wenyou Yang354e10c2016-09-18 15:37:47 +0800489 matrix0_clk: matrix0_clk@15 {
Wenyou Yang86ba2212016-07-25 17:46:17 +0800490 #clock-cells = <0>;
491 reg = <15>;
492 };
493
Wenyou Yang354e10c2016-09-18 15:37:47 +0800494 sdmmc0_hclk: sdmmc0_hclk@31 {
Wenyou Yang86ba2212016-07-25 17:46:17 +0800495 #clock-cells = <0>;
496 reg = <31>;
Wenyou Yang035acb22017-03-23 14:26:23 +0800497 u-boot,dm-pre-reloc;
Wenyou Yang86ba2212016-07-25 17:46:17 +0800498 };
499
Wenyou Yang354e10c2016-09-18 15:37:47 +0800500 sdmmc1_hclk: sdmmc1_hclk@32 {
Wenyou Yang86ba2212016-07-25 17:46:17 +0800501 #clock-cells = <0>;
502 reg = <32>;
Wenyou Yang035acb22017-03-23 14:26:23 +0800503 u-boot,dm-pre-reloc;
Wenyou Yang86ba2212016-07-25 17:46:17 +0800504 };
505
Wenyou Yang354e10c2016-09-18 15:37:47 +0800506 lcdc_clk: lcdc_clk@45 {
Wenyou Yang86ba2212016-07-25 17:46:17 +0800507 #clock-cells = <0>;
508 reg = <45>;
509 };
510
Wenyou Yang354e10c2016-09-18 15:37:47 +0800511 isc_clk: isc_clk@46 {
Wenyou Yang86ba2212016-07-25 17:46:17 +0800512 #clock-cells = <0>;
513 reg = <46>;
514 };
515
Wenyou Yang354e10c2016-09-18 15:37:47 +0800516 qspi0_clk: qspi0_clk@52 {
Wenyou Yang86ba2212016-07-25 17:46:17 +0800517 #clock-cells = <0>;
518 reg = <52>;
Wenyou Yangeebb0732017-09-13 14:58:54 +0800519 u-boot,dm-pre-reloc;
Wenyou Yang86ba2212016-07-25 17:46:17 +0800520 };
521
Wenyou Yang354e10c2016-09-18 15:37:47 +0800522 qspi1_clk: qspi1_clk@53 {
Wenyou Yang86ba2212016-07-25 17:46:17 +0800523 #clock-cells = <0>;
524 reg = <53>;
Wenyou Yangeebb0732017-09-13 14:58:54 +0800525 u-boot,dm-pre-reloc;
Wenyou Yang86ba2212016-07-25 17:46:17 +0800526 };
527 };
528
529 gck {
530 compatible = "atmel,sama5d2-clk-generated";
531 #address-cells = <1>;
532 #size-cells = <0>;
533 interrupt-parent = <&pmc>;
534 clocks = <&main>, <&plla>, <&utmi>, <&mck>;
Wenyou Yang035acb22017-03-23 14:26:23 +0800535 u-boot,dm-pre-reloc;
Wenyou Yang86ba2212016-07-25 17:46:17 +0800536
Wenyou Yang354e10c2016-09-18 15:37:47 +0800537 sdmmc0_gclk: sdmmc0_gclk@31 {
Wenyou Yang86ba2212016-07-25 17:46:17 +0800538 #clock-cells = <0>;
539 reg = <31>;
Wenyou Yang035acb22017-03-23 14:26:23 +0800540 u-boot,dm-pre-reloc;
Wenyou Yang86ba2212016-07-25 17:46:17 +0800541 };
542
Wenyou Yang354e10c2016-09-18 15:37:47 +0800543 sdmmc1_gclk: sdmmc1_gclk@32 {
Wenyou Yang86ba2212016-07-25 17:46:17 +0800544 #clock-cells = <0>;
545 reg = <32>;
Wenyou Yang035acb22017-03-23 14:26:23 +0800546 u-boot,dm-pre-reloc;
Wenyou Yang86ba2212016-07-25 17:46:17 +0800547 };
548
Wenyou Yang354e10c2016-09-18 15:37:47 +0800549 tcb0_gclk: tcb0_gclk@35 {
Wenyou Yang86ba2212016-07-25 17:46:17 +0800550 #clock-cells = <0>;
551 reg = <35>;
552 atmel,clk-output-range = <0 83000000>;
553 };
554
Wenyou Yang354e10c2016-09-18 15:37:47 +0800555 tcb1_gclk: tcb1_gclk@36 {
Wenyou Yang86ba2212016-07-25 17:46:17 +0800556 #clock-cells = <0>;
557 reg = <36>;
558 atmel,clk-output-range = <0 83000000>;
559 };
560
Wenyou Yang354e10c2016-09-18 15:37:47 +0800561 pwm_gclk: pwm_gclk@38 {
Wenyou Yang86ba2212016-07-25 17:46:17 +0800562 #clock-cells = <0>;
563 reg = <38>;
564 atmel,clk-output-range = <0 83000000>;
565 };
566
Wenyou Yang354e10c2016-09-18 15:37:47 +0800567 pdmic_gclk: pdmic_gclk@48 {
Wenyou Yang86ba2212016-07-25 17:46:17 +0800568 #clock-cells = <0>;
569 reg = <48>;
570 };
571
Wenyou Yang354e10c2016-09-18 15:37:47 +0800572 i2s0_gclk: i2s0_gclk@54 {
Wenyou Yang86ba2212016-07-25 17:46:17 +0800573 #clock-cells = <0>;
574 reg = <54>;
575 };
576
Wenyou Yang354e10c2016-09-18 15:37:47 +0800577 i2s1_gclk: i2s1_gclk@55 {
Wenyou Yang86ba2212016-07-25 17:46:17 +0800578 #clock-cells = <0>;
579 reg = <55>;
580 };
581
Wenyou Yang354e10c2016-09-18 15:37:47 +0800582 can0_gclk: can0_gclk@56 {
Wenyou Yang86ba2212016-07-25 17:46:17 +0800583 #clock-cells = <0>;
584 reg = <56>;
585 atmel,clk-output-range = <0 80000000>;
586 };
587
Wenyou Yang354e10c2016-09-18 15:37:47 +0800588 can1_gclk: can1_gclk@57 {
Wenyou Yang86ba2212016-07-25 17:46:17 +0800589 #clock-cells = <0>;
590 reg = <57>;
591 atmel,clk-output-range = <0 80000000>;
592 };
593
Wenyou Yang354e10c2016-09-18 15:37:47 +0800594 classd_gclk: classd_gclk@59 {
Wenyou Yang86ba2212016-07-25 17:46:17 +0800595 #clock-cells = <0>;
596 reg = <59>;
597 atmel,clk-output-range = <0 100000000>;
598 };
599 };
600 };
601
602 qspi0: spi@f0020000 {
603 compatible = "atmel,sama5d2-qspi";
604 reg = <0xf0020000 0x100>, <0xd0000000 0x08000000>;
605 reg-names = "qspi_base", "qspi_mmap";
606 #address-cells = <1>;
607 #size-cells = <0>;
608 clocks = <&qspi0_clk>;
609 status = "disabled";
610 };
611
Wenyou Yangeebb0732017-09-13 14:58:54 +0800612 qspi1: spi@f0024000 {
613 compatible = "atmel,sama5d2-qspi";
614 reg = <0xf0024000 0x100>, <0xd8000000 0x08000000>;
615 reg-names = "qspi_base", "qspi_mmap";
616 #address-cells = <1>;
617 #size-cells = <0>;
618 clocks = <&qspi1_clk>;
619 status = "disabled";
620 };
621
Wenyou Yang86ba2212016-07-25 17:46:17 +0800622 spi0: spi@f8000000 {
623 compatible = "atmel,at91rm9200-spi";
624 reg = <0xf8000000 0x100>;
625 clocks = <&spi0_clk>;
626 clock-names = "spi_clk";
627 #address-cells = <1>;
628 #size-cells = <0>;
629 status = "disabled";
630 };
631
632 macb0: ethernet@f8008000 {
633 compatible = "cdns,macb";
634 reg = <0xf8008000 0x1000>;
635 #address-cells = <1>;
636 #size-cells = <0>;
637 clocks = <&macb0_clk>, <&macb0_clk>;
638 clock-names = "hclk", "pclk";
639 status = "disabled";
640 };
641
Ludovic Desroches1240d882017-11-17 14:57:12 +0800642 uart0: serial@f801c000 {
643 compatible = "atmel,at91sam9260-usart";
644 reg = <0xf801c000 0x100>;
645 clocks = <&uart0_clk>;
646 clock-names = "usart";
647 status = "disabled";
648 };
649
Wenyou Yang86ba2212016-07-25 17:46:17 +0800650 uart1: serial@f8020000 {
651 compatible = "atmel,at91sam9260-usart";
652 reg = <0xf8020000 0x100>;
Wenyou Yang4e3524d2017-03-23 14:26:22 +0800653 clocks = <&uart1_clk>;
654 clock-names = "usart";
Wenyou Yang86ba2212016-07-25 17:46:17 +0800655 status = "disabled";
656 };
657
Ludovic Desroches1240d882017-11-17 14:57:12 +0800658 uart2: serial@f8024000 {
659 compatible = "atmel,at91sam9260-usart";
660 reg = <0xf8024000 0x100>;
661 clocks = <&uart2_clk>;
662 clock-names = "usart";
663 status = "disabled";
664 };
665
Wenyou Yang86ba2212016-07-25 17:46:17 +0800666 i2c0: i2c@f8028000 {
667 compatible = "atmel,sama5d2-i2c";
668 reg = <0xf8028000 0x100>;
669 #address-cells = <1>;
670 #size-cells = <0>;
671 clocks = <&twi0_clk>;
672 status = "disabled";
673 };
674
Dan Sneddonf09aa3f2021-09-20 16:28:46 -0700675 pwm0: pwm@f802c000 {
676 compatible = "atmel,sama5d2-pwm";
677 reg = <0xf802c000 0x4000>;
678 clocks = <&pwm_clk>;
679 #pwm-cells = <3>;
680 status = "disabled";
681 };
682
Wenyou.Yang@microchip.com272167d2017-08-15 17:40:27 +0800683 rstc@f8048000 {
684 compatible = "atmel,sama5d3-rstc";
685 reg = <0xf8048000 0x10>;
686 clocks = <&clk32k>;
687 };
688
689 shdwc@f8048010 {
690 compatible = "atmel,sama5d2-shdwc";
691 reg = <0xf8048010 0x10>;
692 clocks = <&clk32k>;
693 #address-cells = <1>;
694 #size-cells = <0>;
695 atmel,wakeup-rtc-timer;
696 };
697
698 pit: timer@f8048030 {
699 compatible = "atmel,at91sam9260-pit";
700 reg = <0xf8048030 0x10>;
701 clocks = <&h32ck>;
702 };
703
704 watchdog@f8048040 {
705 compatible = "atmel,sama5d4-wdt";
706 reg = <0xf8048040 0x10>;
707 clocks = <&clk32k>;
708 status = "disabled";
709 };
710
Wenyou Yang75648fb2017-09-05 18:30:08 +0800711 sfr: sfr@f8030000 {
712 compatible = "atmel,sama5d2-sfr", "syscon";
713 reg = <0xf8030000 0x98>;
714 };
715
Wenyou Yang86ba2212016-07-25 17:46:17 +0800716 sckc@f8048050 {
717 compatible = "atmel,at91sam9x5-sckc";
718 reg = <0xf8048050 0x4>;
719
720 slow_rc_osc: slow_rc_osc {
721 compatible = "atmel,at91sam9x5-clk-slow-rc-osc";
722 #clock-cells = <0>;
723 clock-frequency = <32768>;
724 clock-accuracy = <250000000>;
725 atmel,startup-time-usec = <75>;
726 };
727
728 slow_osc: slow_osc {
729 compatible = "atmel,at91sam9x5-clk-slow-osc";
730 #clock-cells = <0>;
731 clocks = <&slow_xtal>;
732 atmel,startup-time-usec = <1200000>;
733 };
734
735 clk32k: slowck {
736 compatible = "atmel,at91sam9x5-clk-slow";
737 #clock-cells = <0>;
738 clocks = <&slow_rc_osc &slow_osc>;
739 };
740 };
741
742 spi1: spi@fc000000 {
743 compatible = "atmel,at91rm9200-spi";
744 reg = <0xfc000000 0x100>;
745 #address-cells = <1>;
746 #size-cells = <0>;
747 status = "disabled";
748 };
749
Wenyou Yangeebb0732017-09-13 14:58:54 +0800750 uart3: serial@fc008000 {
751 compatible = "atmel,at91sam9260-usart";
752 reg = <0xfc008000 0x100>;
753 clocks = <&uart3_clk>;
754 clock-names = "usart";
755 status = "disabled";
756 };
757
Tiaki Riced5d8cab2020-05-08 01:56:32 +0000758 uart4: serial@fc00c000 {
759 compatible = "atmel,at91sam9260-usart";
760 reg = <0xfc00c000 0x100>;
761 clocks = <&uart4_clk>;
762 clock-names = "usart";
763 status = "disabled";
764 };
765
Clément Léger8cde6162022-03-31 10:55:07 +0200766 aic: interrupt-controller@fc020000 {
767 #interrupt-cells = <3>;
768 compatible = "atmel,sama5d2-aic";
769 interrupt-controller;
770 reg = <0xfc020000 0x200>;
771 atmel,external-irqs = <49>;
772 };
773
Wenyou Yang86ba2212016-07-25 17:46:17 +0800774 i2c1: i2c@fc028000 {
775 compatible = "atmel,sama5d2-i2c";
776 reg = <0xfc028000 0x100>;
777 #address-cells = <1>;
778 #size-cells = <0>;
779 clocks = <&twi1_clk>;
780 status = "disabled";
781 };
782
783 pioA: gpio@fc038000 {
784 compatible = "atmel,sama5d2-gpio";
785 reg = <0xfc038000 0x600>;
786 clocks = <&pioA_clk>;
787 gpio-controller;
788 #gpio-cells = <2>;
Wenyou Yang035acb22017-03-23 14:26:23 +0800789 u-boot,dm-pre-reloc;
Wenyou Yang86ba2212016-07-25 17:46:17 +0800790
791 pinctrl {
792 compatible = "atmel,sama5d2-pinctrl";
Wenyou Yang035acb22017-03-23 14:26:23 +0800793 u-boot,dm-pre-reloc;
Wenyou Yang86ba2212016-07-25 17:46:17 +0800794 };
795 };
796 };
797 };
Eugen Hristev8ab0bd72018-09-18 10:35:53 +0300798
799 onewire_tm: onewire {
800 compatible = "w1-gpio";
801 status = "disabled";
802 };
Wenyou Yang86ba2212016-07-25 17:46:17 +0800803};