blob: b02a602378ee81304f0ca2e1f269173ef8b9342f [file] [log] [blame]
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +08001#include "skeleton.dtsi"
2
3/ {
4 model = "Atmel SAMA5D2 family SoC";
5 compatible = "atmel,sama5d2";
6
7 aliases {
8 spi0 = &spi0;
9 spi1 = &qspi0;
10 i2c0 = &i2c0;
11 i2c1 = &i2c1;
12 };
13
14 clocks {
15 slow_xtal: slow_xtal {
16 compatible = "fixed-clock";
17 #clock-cells = <0>;
18 clock-frequency = <0>;
19 };
20
21 main_xtal: main_xtal {
22 compatible = "fixed-clock";
23 #clock-cells = <0>;
24 clock-frequency = <0>;
25 };
26 };
27
28 ahb {
29 compatible = "simple-bus";
30 #address-cells = <1>;
31 #size-cells = <1>;
Wenyou Yang4529ee32017-03-23 14:26:23 +080032 u-boot,dm-pre-reloc;
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +080033
34 usb1: ohci@00400000 {
35 compatible = "atmel,at91rm9200-ohci", "usb-ohci";
36 reg = <0x00400000 0x100000>;
37 clocks = <&uhphs_clk>, <&uhphs_clk>, <&uhpck>;
38 clock-names = "ohci_clk", "hclk", "uhpck";
39 status = "disabled";
40 };
41
42 usb2: ehci@00500000 {
43 compatible = "atmel,at91sam9g45-ehci", "usb-ehci";
44 reg = <0x00500000 0x100000>;
45 clocks = <&utmi>, <&uhphs_clk>;
46 clock-names = "usb_clk", "ehci_clk";
47 status = "disabled";
48 };
49
50 sdmmc0: sdio-host@a0000000 {
51 compatible = "atmel,sama5d2-sdhci";
52 reg = <0xa0000000 0x300>;
53 clocks = <&sdmmc0_hclk>, <&sdmmc0_gclk>, <&main>;
54 clock-names = "hclock", "multclk", "baseclk";
55 status = "disabled";
56 };
57
58 sdmmc1: sdio-host@b0000000 {
59 compatible = "atmel,sama5d2-sdhci";
60 reg = <0xb0000000 0x300>;
61 clocks = <&sdmmc1_hclk>, <&sdmmc1_gclk>, <&main>;
62 clock-names = "hclock", "multclk", "baseclk";
63 status = "disabled";
64 };
65
66 apb {
67 compatible = "simple-bus";
68 #address-cells = <1>;
69 #size-cells = <1>;
Wenyou Yang4529ee32017-03-23 14:26:23 +080070 u-boot,dm-pre-reloc;
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +080071
72 pmc: pmc@f0014000 {
73 compatible = "atmel,sama5d2-pmc", "syscon";
74 reg = <0xf0014000 0x160>;
75 #address-cells = <1>;
76 #size-cells = <0>;
77 #interrupt-cells = <1>;
Wenyou Yang4529ee32017-03-23 14:26:23 +080078 u-boot,dm-pre-reloc;
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +080079
80 main: mainck {
81 compatible = "atmel,at91sam9x5-clk-main";
82 #clock-cells = <0>;
Wenyou Yang4529ee32017-03-23 14:26:23 +080083 u-boot,dm-pre-reloc;
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +080084 };
85
Wenyou Yang9e63c492016-09-18 15:37:47 +080086 plla: pllack@0 {
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +080087 compatible = "atmel,sama5d3-clk-pll";
88 #clock-cells = <0>;
89 clocks = <&main>;
90 reg = <0>;
91 atmel,clk-input-range = <12000000 12000000>;
92 #atmel,pll-clk-output-range-cells = <4>;
93 atmel,pll-clk-output-ranges = <600000000 1200000000 0 0>;
Wenyou Yang4529ee32017-03-23 14:26:23 +080094 u-boot,dm-pre-reloc;
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +080095 };
96
97 plladiv: plladivck {
98 compatible = "atmel,at91sam9x5-clk-plldiv";
99 #clock-cells = <0>;
100 clocks = <&plla>;
101 };
102
103 audio_pll_frac: audiopll_fracck {
104 compatible = "atmel,sama5d2-clk-audio-pll-frac";
105 #clock-cells = <0>;
106 clocks = <&main>;
107 };
108
109 audio_pll_pad: audiopll_padck {
110 compatible = "atmel,sama5d2-clk-audio-pll-pad";
111 #clock-cells = <0>;
112 clocks = <&audio_pll_frac>;
113 };
114
115 audio_pll_pmc: audiopll_pmcck {
116 compatible = "atmel,sama5d2-clk-audio-pll-pmc";
117 #clock-cells = <0>;
118 clocks = <&audio_pll_frac>;
119 };
120
121 utmi: utmick {
122 compatible = "atmel,at91sam9x5-clk-utmi";
123 #clock-cells = <0>;
124 clocks = <&main>;
Wenyou Yang56246d12017-09-05 18:30:08 +0800125 regmap-sfr = <&sfr>;
Wenyou Yang4529ee32017-03-23 14:26:23 +0800126 u-boot,dm-pre-reloc;
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +0800127 };
128
129 mck: masterck {
130 compatible = "atmel,at91sam9x5-clk-master";
131 #clock-cells = <0>;
132 clocks = <&main>, <&plladiv>, <&utmi>;
133 atmel,clk-output-range = <124000000 166000000>;
134 atmel,clk-divisors = <1 2 4 3>;
Wenyou Yang4529ee32017-03-23 14:26:23 +0800135 u-boot,dm-pre-reloc;
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +0800136 };
137
138 h32ck: h32mxck {
139 #clock-cells = <0>;
140 compatible = "atmel,sama5d4-clk-h32mx";
141 clocks = <&mck>;
Wenyou Yang4529ee32017-03-23 14:26:23 +0800142 u-boot,dm-pre-reloc;
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +0800143 };
144
145 usb: usbck {
146 compatible = "atmel,at91sam9x5-clk-usb";
147 #clock-cells = <0>;
148 clocks = <&plladiv>, <&utmi>;
149 };
150
151 prog: progck {
152 compatible = "atmel,at91sam9x5-clk-programmable";
153 #address-cells = <1>;
154 #size-cells = <0>;
155 interrupt-parent = <&pmc>;
156 clocks = <&main>, <&plladiv>, <&utmi>, <&mck>;
157
Wenyou Yang9e63c492016-09-18 15:37:47 +0800158 prog0: prog@0 {
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +0800159 #clock-cells = <0>;
160 reg = <0>;
161 };
162
Wenyou Yang9e63c492016-09-18 15:37:47 +0800163 prog1: prog@1 {
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +0800164 #clock-cells = <0>;
165 reg = <1>;
166 };
167
Wenyou Yang9e63c492016-09-18 15:37:47 +0800168 prog2: prog@2 {
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +0800169 #clock-cells = <0>;
170 reg = <2>;
171 };
172 };
173
174 systemck {
175 compatible = "atmel,at91rm9200-clk-system";
176 #address-cells = <1>;
177 #size-cells = <0>;
178
Wenyou Yang9e63c492016-09-18 15:37:47 +0800179 ddrck: ddrck@2 {
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +0800180 #clock-cells = <0>;
181 reg = <2>;
182 clocks = <&mck>;
183 };
184
Wenyou Yang9e63c492016-09-18 15:37:47 +0800185 lcdck: lcdck@3 {
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +0800186 #clock-cells = <0>;
187 reg = <3>;
188 clocks = <&mck>;
189 };
190
Wenyou Yang9e63c492016-09-18 15:37:47 +0800191 uhpck: uhpck@6 {
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +0800192 #clock-cells = <0>;
193 reg = <6>;
194 clocks = <&usb>;
195 };
196
Wenyou Yang9e63c492016-09-18 15:37:47 +0800197 udpck: udpck@7 {
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +0800198 #clock-cells = <0>;
199 reg = <7>;
200 clocks = <&usb>;
201 };
202
Wenyou Yang9e63c492016-09-18 15:37:47 +0800203 pck0: pck0@8 {
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +0800204 #clock-cells = <0>;
205 reg = <8>;
206 clocks = <&prog0>;
207 };
208
Wenyou Yang9e63c492016-09-18 15:37:47 +0800209 pck1: pck1@9 {
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +0800210 #clock-cells = <0>;
211 reg = <9>;
212 clocks = <&prog1>;
213 };
214
Wenyou Yang9e63c492016-09-18 15:37:47 +0800215 pck2: pck2@10 {
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +0800216 #clock-cells = <0>;
217 reg = <10>;
218 clocks = <&prog2>;
219 };
220
Wenyou Yang9e63c492016-09-18 15:37:47 +0800221 iscck: iscck@18 {
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +0800222 #clock-cells = <0>;
223 reg = <18>;
224 clocks = <&mck>;
225 };
226 };
227
228 periph32ck {
229 compatible = "atmel,at91sam9x5-clk-peripheral";
230 #address-cells = <1>;
231 #size-cells = <0>;
232 clocks = <&h32ck>;
Wenyou Yang4529ee32017-03-23 14:26:23 +0800233 u-boot,dm-pre-reloc;
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +0800234
Wenyou Yang9e63c492016-09-18 15:37:47 +0800235 macb0_clk: macb0_clk@5 {
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +0800236 #clock-cells = <0>;
237 reg = <5>;
238 atmel,clk-output-range = <0 83000000>;
239 };
240
Wenyou Yang9e63c492016-09-18 15:37:47 +0800241 tdes_clk: tdes_clk@11 {
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +0800242 #clock-cells = <0>;
243 reg = <11>;
244 atmel,clk-output-range = <0 83000000>;
245 };
246
Wenyou Yang9e63c492016-09-18 15:37:47 +0800247 matrix1_clk: matrix1_clk@14 {
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +0800248 #clock-cells = <0>;
249 reg = <14>;
250 };
251
Wenyou Yang9e63c492016-09-18 15:37:47 +0800252 hsmc_clk: hsmc_clk@17 {
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +0800253 #clock-cells = <0>;
254 reg = <17>;
255 };
256
Wenyou Yang9e63c492016-09-18 15:37:47 +0800257 pioA_clk: pioA_clk@18 {
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +0800258 #clock-cells = <0>;
259 reg = <18>;
260 atmel,clk-output-range = <0 83000000>;
Wenyou Yang4529ee32017-03-23 14:26:23 +0800261 u-boot,dm-pre-reloc;
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +0800262 };
263
Wenyou Yang9e63c492016-09-18 15:37:47 +0800264 flx0_clk: flx0_clk@19 {
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +0800265 #clock-cells = <0>;
266 reg = <19>;
267 atmel,clk-output-range = <0 83000000>;
268 };
269
Wenyou Yang9e63c492016-09-18 15:37:47 +0800270 flx1_clk: flx1_clk@20 {
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +0800271 #clock-cells = <0>;
272 reg = <20>;
273 atmel,clk-output-range = <0 83000000>;
274 };
275
Wenyou Yang9e63c492016-09-18 15:37:47 +0800276 flx2_clk: flx2_clk@21 {
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +0800277 #clock-cells = <0>;
278 reg = <21>;
279 atmel,clk-output-range = <0 83000000>;
280 };
281
Wenyou Yang9e63c492016-09-18 15:37:47 +0800282 flx3_clk: flx3_clk@22 {
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +0800283 #clock-cells = <0>;
284 reg = <22>;
285 atmel,clk-output-range = <0 83000000>;
286 };
287
Wenyou Yang9e63c492016-09-18 15:37:47 +0800288 flx4_clk: flx4_clk@23 {
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +0800289 #clock-cells = <0>;
290 reg = <23>;
291 atmel,clk-output-range = <0 83000000>;
292 };
293
Wenyou Yang9e63c492016-09-18 15:37:47 +0800294 uart0_clk: uart0_clk@24 {
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +0800295 #clock-cells = <0>;
296 reg = <24>;
297 atmel,clk-output-range = <0 83000000>;
298 };
299
Wenyou Yang9e63c492016-09-18 15:37:47 +0800300 uart1_clk: uart1_clk@25 {
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +0800301 #clock-cells = <0>;
302 reg = <25>;
303 atmel,clk-output-range = <0 83000000>;
Wenyou Yang4529ee32017-03-23 14:26:23 +0800304 u-boot,dm-pre-reloc;
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +0800305 };
306
Wenyou Yang9e63c492016-09-18 15:37:47 +0800307 uart2_clk: uart2_clk@26 {
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +0800308 #clock-cells = <0>;
309 reg = <26>;
310 atmel,clk-output-range = <0 83000000>;
311 };
312
Wenyou Yang9e63c492016-09-18 15:37:47 +0800313 uart3_clk: uart3_clk@27 {
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +0800314 #clock-cells = <0>;
315 reg = <27>;
316 atmel,clk-output-range = <0 83000000>;
317 };
318
Wenyou Yang9e63c492016-09-18 15:37:47 +0800319 uart4_clk: uart4_clk@28 {
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +0800320 #clock-cells = <0>;
321 reg = <28>;
322 atmel,clk-output-range = <0 83000000>;
323 };
324
Wenyou Yang9e63c492016-09-18 15:37:47 +0800325 twi0_clk: twi0_clk@29 {
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +0800326 reg = <29>;
327 #clock-cells = <0>;
328 atmel,clk-output-range = <0 83000000>;
329 };
330
Wenyou Yang9e63c492016-09-18 15:37:47 +0800331 twi1_clk: twi1_clk@30 {
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +0800332 #clock-cells = <0>;
333 reg = <30>;
334 atmel,clk-output-range = <0 83000000>;
335 };
336
Wenyou Yang9e63c492016-09-18 15:37:47 +0800337 spi0_clk: spi0_clk@33 {
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +0800338 #clock-cells = <0>;
339 reg = <33>;
340 atmel,clk-output-range = <0 83000000>;
Wenyou Yang4529ee32017-03-23 14:26:23 +0800341 u-boot,dm-pre-reloc;
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +0800342 };
343
Wenyou Yang9e63c492016-09-18 15:37:47 +0800344 spi1_clk: spi1_clk@34 {
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +0800345 #clock-cells = <0>;
346 reg = <34>;
347 atmel,clk-output-range = <0 83000000>;
348 };
349
Wenyou Yang9e63c492016-09-18 15:37:47 +0800350 tcb0_clk: tcb0_clk@35 {
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +0800351 #clock-cells = <0>;
352 reg = <35>;
353 atmel,clk-output-range = <0 83000000>;
354 };
355
Wenyou Yang9e63c492016-09-18 15:37:47 +0800356 tcb1_clk: tcb1_clk@36 {
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +0800357 #clock-cells = <0>;
358 reg = <36>;
359 atmel,clk-output-range = <0 83000000>;
360 };
361
Wenyou Yang9e63c492016-09-18 15:37:47 +0800362 pwm_clk: pwm_clk@38 {
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +0800363 #clock-cells = <0>;
364 reg = <38>;
365 atmel,clk-output-range = <0 83000000>;
366 };
367
Wenyou Yang9e63c492016-09-18 15:37:47 +0800368 adc_clk: adc_clk@40 {
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +0800369 #clock-cells = <0>;
370 reg = <40>;
371 atmel,clk-output-range = <0 83000000>;
372 };
373
Wenyou Yang9e63c492016-09-18 15:37:47 +0800374 uhphs_clk: uhphs_clk@41 {
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +0800375 #clock-cells = <0>;
376 reg = <41>;
377 atmel,clk-output-range = <0 83000000>;
378 };
379
Wenyou Yang9e63c492016-09-18 15:37:47 +0800380 udphs_clk: udphs_clk@42 {
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +0800381 #clock-cells = <0>;
382 reg = <42>;
383 atmel,clk-output-range = <0 83000000>;
384 };
385
Wenyou Yang9e63c492016-09-18 15:37:47 +0800386 ssc0_clk: ssc0_clk@43 {
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +0800387 #clock-cells = <0>;
388 reg = <43>;
389 atmel,clk-output-range = <0 83000000>;
390 };
391
Wenyou Yang9e63c492016-09-18 15:37:47 +0800392 ssc1_clk: ssc1_clk@44 {
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +0800393 #clock-cells = <0>;
394 reg = <44>;
395 atmel,clk-output-range = <0 83000000>;
396 };
397
Wenyou Yang9e63c492016-09-18 15:37:47 +0800398 trng_clk: trng_clk@47 {
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +0800399 #clock-cells = <0>;
400 reg = <47>;
401 atmel,clk-output-range = <0 83000000>;
402 };
403
Wenyou Yang9e63c492016-09-18 15:37:47 +0800404 pdmic_clk: pdmic_clk@48 {
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +0800405 #clock-cells = <0>;
406 reg = <48>;
407 atmel,clk-output-range = <0 83000000>;
408 };
409
Wenyou Yang9e63c492016-09-18 15:37:47 +0800410 i2s0_clk: i2s0_clk@54 {
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +0800411 #clock-cells = <0>;
412 reg = <54>;
413 atmel,clk-output-range = <0 83000000>;
414 };
415
Wenyou Yang9e63c492016-09-18 15:37:47 +0800416 i2s1_clk: i2s1_clk@55 {
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +0800417 #clock-cells = <0>;
418 reg = <55>;
419 atmel,clk-output-range = <0 83000000>;
420 };
421
Wenyou Yang9e63c492016-09-18 15:37:47 +0800422 can0_clk: can0_clk@56 {
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +0800423 #clock-cells = <0>;
424 reg = <56>;
425 atmel,clk-output-range = <0 83000000>;
426 };
427
Wenyou Yang9e63c492016-09-18 15:37:47 +0800428 can1_clk: can1_clk@57 {
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +0800429 #clock-cells = <0>;
430 reg = <57>;
431 atmel,clk-output-range = <0 83000000>;
432 };
433
Wenyou Yang9e63c492016-09-18 15:37:47 +0800434 classd_clk: classd_clk@59 {
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +0800435 #clock-cells = <0>;
436 reg = <59>;
437 atmel,clk-output-range = <0 83000000>;
438 };
439 };
440
441 periph64ck {
442 compatible = "atmel,at91sam9x5-clk-peripheral";
443 #address-cells = <1>;
444 #size-cells = <0>;
445 clocks = <&mck>;
Wenyou Yang4529ee32017-03-23 14:26:23 +0800446 u-boot,dm-pre-reloc;
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +0800447
Wenyou Yang9e63c492016-09-18 15:37:47 +0800448 dma0_clk: dma0_clk@6 {
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +0800449 #clock-cells = <0>;
450 reg = <6>;
451 };
452
Wenyou Yang9e63c492016-09-18 15:37:47 +0800453 dma1_clk: dma1_clk@7 {
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +0800454 #clock-cells = <0>;
455 reg = <7>;
456 };
457
Wenyou Yang9e63c492016-09-18 15:37:47 +0800458 aes_clk: aes_clk@9 {
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +0800459 #clock-cells = <0>;
460 reg = <9>;
461 };
462
Wenyou Yang9e63c492016-09-18 15:37:47 +0800463 aesb_clk: aesb_clk@10 {
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +0800464 #clock-cells = <0>;
465 reg = <10>;
466 };
467
Wenyou Yang9e63c492016-09-18 15:37:47 +0800468 sha_clk: sha_clk@12 {
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +0800469 #clock-cells = <0>;
470 reg = <12>;
471 };
472
Wenyou Yang9e63c492016-09-18 15:37:47 +0800473 mpddr_clk: mpddr_clk@13 {
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +0800474 #clock-cells = <0>;
475 reg = <13>;
476 };
477
Wenyou Yang9e63c492016-09-18 15:37:47 +0800478 matrix0_clk: matrix0_clk@15 {
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +0800479 #clock-cells = <0>;
480 reg = <15>;
481 };
482
Wenyou Yang9e63c492016-09-18 15:37:47 +0800483 sdmmc0_hclk: sdmmc0_hclk@31 {
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +0800484 #clock-cells = <0>;
485 reg = <31>;
Wenyou Yang4529ee32017-03-23 14:26:23 +0800486 u-boot,dm-pre-reloc;
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +0800487 };
488
Wenyou Yang9e63c492016-09-18 15:37:47 +0800489 sdmmc1_hclk: sdmmc1_hclk@32 {
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +0800490 #clock-cells = <0>;
491 reg = <32>;
Wenyou Yang4529ee32017-03-23 14:26:23 +0800492 u-boot,dm-pre-reloc;
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +0800493 };
494
Wenyou Yang9e63c492016-09-18 15:37:47 +0800495 lcdc_clk: lcdc_clk@45 {
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +0800496 #clock-cells = <0>;
497 reg = <45>;
498 };
499
Wenyou Yang9e63c492016-09-18 15:37:47 +0800500 isc_clk: isc_clk@46 {
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +0800501 #clock-cells = <0>;
502 reg = <46>;
503 };
504
Wenyou Yang9e63c492016-09-18 15:37:47 +0800505 qspi0_clk: qspi0_clk@52 {
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +0800506 #clock-cells = <0>;
507 reg = <52>;
Wenyou Yangce4054b2017-09-13 14:58:54 +0800508 u-boot,dm-pre-reloc;
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +0800509 };
510
Wenyou Yang9e63c492016-09-18 15:37:47 +0800511 qspi1_clk: qspi1_clk@53 {
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +0800512 #clock-cells = <0>;
513 reg = <53>;
Wenyou Yangce4054b2017-09-13 14:58:54 +0800514 u-boot,dm-pre-reloc;
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +0800515 };
516 };
517
518 gck {
519 compatible = "atmel,sama5d2-clk-generated";
520 #address-cells = <1>;
521 #size-cells = <0>;
522 interrupt-parent = <&pmc>;
523 clocks = <&main>, <&plla>, <&utmi>, <&mck>;
Wenyou Yang4529ee32017-03-23 14:26:23 +0800524 u-boot,dm-pre-reloc;
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +0800525
Wenyou Yang9e63c492016-09-18 15:37:47 +0800526 sdmmc0_gclk: sdmmc0_gclk@31 {
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +0800527 #clock-cells = <0>;
528 reg = <31>;
Wenyou Yang4529ee32017-03-23 14:26:23 +0800529 u-boot,dm-pre-reloc;
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +0800530 };
531
Wenyou Yang9e63c492016-09-18 15:37:47 +0800532 sdmmc1_gclk: sdmmc1_gclk@32 {
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +0800533 #clock-cells = <0>;
534 reg = <32>;
Wenyou Yang4529ee32017-03-23 14:26:23 +0800535 u-boot,dm-pre-reloc;
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +0800536 };
537
Wenyou Yang9e63c492016-09-18 15:37:47 +0800538 tcb0_gclk: tcb0_gclk@35 {
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +0800539 #clock-cells = <0>;
540 reg = <35>;
541 atmel,clk-output-range = <0 83000000>;
542 };
543
Wenyou Yang9e63c492016-09-18 15:37:47 +0800544 tcb1_gclk: tcb1_gclk@36 {
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +0800545 #clock-cells = <0>;
546 reg = <36>;
547 atmel,clk-output-range = <0 83000000>;
548 };
549
Wenyou Yang9e63c492016-09-18 15:37:47 +0800550 pwm_gclk: pwm_gclk@38 {
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +0800551 #clock-cells = <0>;
552 reg = <38>;
553 atmel,clk-output-range = <0 83000000>;
554 };
555
Wenyou Yang9e63c492016-09-18 15:37:47 +0800556 pdmic_gclk: pdmic_gclk@48 {
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +0800557 #clock-cells = <0>;
558 reg = <48>;
559 };
560
Wenyou Yang9e63c492016-09-18 15:37:47 +0800561 i2s0_gclk: i2s0_gclk@54 {
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +0800562 #clock-cells = <0>;
563 reg = <54>;
564 };
565
Wenyou Yang9e63c492016-09-18 15:37:47 +0800566 i2s1_gclk: i2s1_gclk@55 {
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +0800567 #clock-cells = <0>;
568 reg = <55>;
569 };
570
Wenyou Yang9e63c492016-09-18 15:37:47 +0800571 can0_gclk: can0_gclk@56 {
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +0800572 #clock-cells = <0>;
573 reg = <56>;
574 atmel,clk-output-range = <0 80000000>;
575 };
576
Wenyou Yang9e63c492016-09-18 15:37:47 +0800577 can1_gclk: can1_gclk@57 {
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +0800578 #clock-cells = <0>;
579 reg = <57>;
580 atmel,clk-output-range = <0 80000000>;
581 };
582
Wenyou Yang9e63c492016-09-18 15:37:47 +0800583 classd_gclk: classd_gclk@59 {
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +0800584 #clock-cells = <0>;
585 reg = <59>;
586 atmel,clk-output-range = <0 100000000>;
587 };
588 };
589 };
590
591 qspi0: spi@f0020000 {
592 compatible = "atmel,sama5d2-qspi";
593 reg = <0xf0020000 0x100>, <0xd0000000 0x08000000>;
594 reg-names = "qspi_base", "qspi_mmap";
595 #address-cells = <1>;
596 #size-cells = <0>;
597 clocks = <&qspi0_clk>;
598 status = "disabled";
599 };
600
Wenyou Yangce4054b2017-09-13 14:58:54 +0800601 qspi1: spi@f0024000 {
602 compatible = "atmel,sama5d2-qspi";
603 reg = <0xf0024000 0x100>, <0xd8000000 0x08000000>;
604 reg-names = "qspi_base", "qspi_mmap";
605 #address-cells = <1>;
606 #size-cells = <0>;
607 clocks = <&qspi1_clk>;
608 status = "disabled";
609 };
610
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +0800611 spi0: spi@f8000000 {
612 compatible = "atmel,at91rm9200-spi";
613 reg = <0xf8000000 0x100>;
614 clocks = <&spi0_clk>;
615 clock-names = "spi_clk";
616 #address-cells = <1>;
617 #size-cells = <0>;
618 status = "disabled";
619 };
620
621 macb0: ethernet@f8008000 {
622 compatible = "cdns,macb";
623 reg = <0xf8008000 0x1000>;
624 #address-cells = <1>;
625 #size-cells = <0>;
626 clocks = <&macb0_clk>, <&macb0_clk>;
627 clock-names = "hclk", "pclk";
628 status = "disabled";
629 };
630
631 uart1: serial@f8020000 {
632 compatible = "atmel,at91sam9260-usart";
633 reg = <0xf8020000 0x100>;
Wenyou Yang20bb1652017-03-23 14:26:22 +0800634 clocks = <&uart1_clk>;
635 clock-names = "usart";
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +0800636 status = "disabled";
637 };
638
639 i2c0: i2c@f8028000 {
640 compatible = "atmel,sama5d2-i2c";
641 reg = <0xf8028000 0x100>;
642 #address-cells = <1>;
643 #size-cells = <0>;
644 clocks = <&twi0_clk>;
645 status = "disabled";
646 };
647
Wenyou.Yang@microchip.comfc6adeb2017-08-15 17:40:27 +0800648 rstc@f8048000 {
649 compatible = "atmel,sama5d3-rstc";
650 reg = <0xf8048000 0x10>;
651 clocks = <&clk32k>;
652 };
653
654 shdwc@f8048010 {
655 compatible = "atmel,sama5d2-shdwc";
656 reg = <0xf8048010 0x10>;
657 clocks = <&clk32k>;
658 #address-cells = <1>;
659 #size-cells = <0>;
660 atmel,wakeup-rtc-timer;
661 };
662
663 pit: timer@f8048030 {
664 compatible = "atmel,at91sam9260-pit";
665 reg = <0xf8048030 0x10>;
666 clocks = <&h32ck>;
667 };
668
669 watchdog@f8048040 {
670 compatible = "atmel,sama5d4-wdt";
671 reg = <0xf8048040 0x10>;
672 clocks = <&clk32k>;
673 status = "disabled";
674 };
675
Wenyou Yang56246d12017-09-05 18:30:08 +0800676 sfr: sfr@f8030000 {
677 compatible = "atmel,sama5d2-sfr", "syscon";
678 reg = <0xf8030000 0x98>;
679 };
680
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +0800681 sckc@f8048050 {
682 compatible = "atmel,at91sam9x5-sckc";
683 reg = <0xf8048050 0x4>;
684
685 slow_rc_osc: slow_rc_osc {
686 compatible = "atmel,at91sam9x5-clk-slow-rc-osc";
687 #clock-cells = <0>;
688 clock-frequency = <32768>;
689 clock-accuracy = <250000000>;
690 atmel,startup-time-usec = <75>;
691 };
692
693 slow_osc: slow_osc {
694 compatible = "atmel,at91sam9x5-clk-slow-osc";
695 #clock-cells = <0>;
696 clocks = <&slow_xtal>;
697 atmel,startup-time-usec = <1200000>;
698 };
699
700 clk32k: slowck {
701 compatible = "atmel,at91sam9x5-clk-slow";
702 #clock-cells = <0>;
703 clocks = <&slow_rc_osc &slow_osc>;
704 };
705 };
706
707 spi1: spi@fc000000 {
708 compatible = "atmel,at91rm9200-spi";
709 reg = <0xfc000000 0x100>;
710 #address-cells = <1>;
711 #size-cells = <0>;
712 status = "disabled";
713 };
714
Wenyou Yangce4054b2017-09-13 14:58:54 +0800715 uart3: serial@fc008000 {
716 compatible = "atmel,at91sam9260-usart";
717 reg = <0xfc008000 0x100>;
718 clocks = <&uart3_clk>;
719 clock-names = "usart";
720 status = "disabled";
721 };
722
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +0800723 i2c1: i2c@fc028000 {
724 compatible = "atmel,sama5d2-i2c";
725 reg = <0xfc028000 0x100>;
726 #address-cells = <1>;
727 #size-cells = <0>;
728 clocks = <&twi1_clk>;
729 status = "disabled";
730 };
731
732 pioA: gpio@fc038000 {
733 compatible = "atmel,sama5d2-gpio";
734 reg = <0xfc038000 0x600>;
735 clocks = <&pioA_clk>;
736 gpio-controller;
737 #gpio-cells = <2>;
Wenyou Yang4529ee32017-03-23 14:26:23 +0800738 u-boot,dm-pre-reloc;
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +0800739
740 pinctrl {
741 compatible = "atmel,sama5d2-pinctrl";
Wenyou Yang4529ee32017-03-23 14:26:23 +0800742 u-boot,dm-pre-reloc;
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +0800743 };
744 };
745 };
746 };
747};