blob: 7520446dc1a5f79c9cc46c744c9dd7844e793715 [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
Wenyou Yangd2cd09b2017-09-18 15:25:57 +080072 hlcdc: hlcdc@f0000000 {
73 compatible = "atmel,at91sam9x5-hlcdc";
74 reg = <0xf0000000 0x2000>;
75 clocks = <&lcdc_clk>;
76 status = "disabled";
77 };
78
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +080079 pmc: pmc@f0014000 {
80 compatible = "atmel,sama5d2-pmc", "syscon";
81 reg = <0xf0014000 0x160>;
82 #address-cells = <1>;
83 #size-cells = <0>;
84 #interrupt-cells = <1>;
Wenyou Yang4529ee32017-03-23 14:26:23 +080085 u-boot,dm-pre-reloc;
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +080086
87 main: mainck {
88 compatible = "atmel,at91sam9x5-clk-main";
89 #clock-cells = <0>;
Wenyou Yang4529ee32017-03-23 14:26:23 +080090 u-boot,dm-pre-reloc;
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +080091 };
92
Wenyou Yang9e63c492016-09-18 15:37:47 +080093 plla: pllack@0 {
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +080094 compatible = "atmel,sama5d3-clk-pll";
95 #clock-cells = <0>;
96 clocks = <&main>;
97 reg = <0>;
98 atmel,clk-input-range = <12000000 12000000>;
99 #atmel,pll-clk-output-range-cells = <4>;
100 atmel,pll-clk-output-ranges = <600000000 1200000000 0 0>;
Wenyou Yang4529ee32017-03-23 14:26:23 +0800101 u-boot,dm-pre-reloc;
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +0800102 };
103
104 plladiv: plladivck {
105 compatible = "atmel,at91sam9x5-clk-plldiv";
106 #clock-cells = <0>;
107 clocks = <&plla>;
108 };
109
110 audio_pll_frac: audiopll_fracck {
111 compatible = "atmel,sama5d2-clk-audio-pll-frac";
112 #clock-cells = <0>;
113 clocks = <&main>;
114 };
115
116 audio_pll_pad: audiopll_padck {
117 compatible = "atmel,sama5d2-clk-audio-pll-pad";
118 #clock-cells = <0>;
119 clocks = <&audio_pll_frac>;
120 };
121
122 audio_pll_pmc: audiopll_pmcck {
123 compatible = "atmel,sama5d2-clk-audio-pll-pmc";
124 #clock-cells = <0>;
125 clocks = <&audio_pll_frac>;
126 };
127
128 utmi: utmick {
129 compatible = "atmel,at91sam9x5-clk-utmi";
130 #clock-cells = <0>;
131 clocks = <&main>;
Wenyou Yang56246d12017-09-05 18:30:08 +0800132 regmap-sfr = <&sfr>;
Wenyou Yang4529ee32017-03-23 14:26:23 +0800133 u-boot,dm-pre-reloc;
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +0800134 };
135
136 mck: masterck {
137 compatible = "atmel,at91sam9x5-clk-master";
138 #clock-cells = <0>;
139 clocks = <&main>, <&plladiv>, <&utmi>;
140 atmel,clk-output-range = <124000000 166000000>;
141 atmel,clk-divisors = <1 2 4 3>;
Wenyou Yang4529ee32017-03-23 14:26:23 +0800142 u-boot,dm-pre-reloc;
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +0800143 };
144
145 h32ck: h32mxck {
146 #clock-cells = <0>;
147 compatible = "atmel,sama5d4-clk-h32mx";
148 clocks = <&mck>;
Wenyou Yang4529ee32017-03-23 14:26:23 +0800149 u-boot,dm-pre-reloc;
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +0800150 };
151
152 usb: usbck {
153 compatible = "atmel,at91sam9x5-clk-usb";
154 #clock-cells = <0>;
155 clocks = <&plladiv>, <&utmi>;
156 };
157
158 prog: progck {
159 compatible = "atmel,at91sam9x5-clk-programmable";
160 #address-cells = <1>;
161 #size-cells = <0>;
162 interrupt-parent = <&pmc>;
163 clocks = <&main>, <&plladiv>, <&utmi>, <&mck>;
164
Wenyou Yang9e63c492016-09-18 15:37:47 +0800165 prog0: prog@0 {
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +0800166 #clock-cells = <0>;
167 reg = <0>;
168 };
169
Wenyou Yang9e63c492016-09-18 15:37:47 +0800170 prog1: prog@1 {
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +0800171 #clock-cells = <0>;
172 reg = <1>;
173 };
174
Wenyou Yang9e63c492016-09-18 15:37:47 +0800175 prog2: prog@2 {
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +0800176 #clock-cells = <0>;
177 reg = <2>;
178 };
179 };
180
181 systemck {
182 compatible = "atmel,at91rm9200-clk-system";
183 #address-cells = <1>;
184 #size-cells = <0>;
185
Wenyou Yang9e63c492016-09-18 15:37:47 +0800186 ddrck: ddrck@2 {
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +0800187 #clock-cells = <0>;
188 reg = <2>;
189 clocks = <&mck>;
190 };
191
Wenyou Yang9e63c492016-09-18 15:37:47 +0800192 lcdck: lcdck@3 {
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +0800193 #clock-cells = <0>;
194 reg = <3>;
195 clocks = <&mck>;
196 };
197
Wenyou Yang9e63c492016-09-18 15:37:47 +0800198 uhpck: uhpck@6 {
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +0800199 #clock-cells = <0>;
200 reg = <6>;
201 clocks = <&usb>;
202 };
203
Wenyou Yang9e63c492016-09-18 15:37:47 +0800204 udpck: udpck@7 {
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +0800205 #clock-cells = <0>;
206 reg = <7>;
207 clocks = <&usb>;
208 };
209
Wenyou Yang9e63c492016-09-18 15:37:47 +0800210 pck0: pck0@8 {
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +0800211 #clock-cells = <0>;
212 reg = <8>;
213 clocks = <&prog0>;
214 };
215
Wenyou Yang9e63c492016-09-18 15:37:47 +0800216 pck1: pck1@9 {
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +0800217 #clock-cells = <0>;
218 reg = <9>;
219 clocks = <&prog1>;
220 };
221
Wenyou Yang9e63c492016-09-18 15:37:47 +0800222 pck2: pck2@10 {
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +0800223 #clock-cells = <0>;
224 reg = <10>;
225 clocks = <&prog2>;
226 };
227
Wenyou Yang9e63c492016-09-18 15:37:47 +0800228 iscck: iscck@18 {
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +0800229 #clock-cells = <0>;
230 reg = <18>;
231 clocks = <&mck>;
232 };
233 };
234
235 periph32ck {
236 compatible = "atmel,at91sam9x5-clk-peripheral";
237 #address-cells = <1>;
238 #size-cells = <0>;
239 clocks = <&h32ck>;
Wenyou Yang4529ee32017-03-23 14:26:23 +0800240 u-boot,dm-pre-reloc;
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +0800241
Wenyou Yang9e63c492016-09-18 15:37:47 +0800242 macb0_clk: macb0_clk@5 {
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +0800243 #clock-cells = <0>;
244 reg = <5>;
245 atmel,clk-output-range = <0 83000000>;
246 };
247
Wenyou Yang9e63c492016-09-18 15:37:47 +0800248 tdes_clk: tdes_clk@11 {
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +0800249 #clock-cells = <0>;
250 reg = <11>;
251 atmel,clk-output-range = <0 83000000>;
252 };
253
Wenyou Yang9e63c492016-09-18 15:37:47 +0800254 matrix1_clk: matrix1_clk@14 {
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +0800255 #clock-cells = <0>;
256 reg = <14>;
257 };
258
Wenyou Yang9e63c492016-09-18 15:37:47 +0800259 hsmc_clk: hsmc_clk@17 {
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +0800260 #clock-cells = <0>;
261 reg = <17>;
262 };
263
Wenyou Yang9e63c492016-09-18 15:37:47 +0800264 pioA_clk: pioA_clk@18 {
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +0800265 #clock-cells = <0>;
266 reg = <18>;
267 atmel,clk-output-range = <0 83000000>;
Wenyou Yang4529ee32017-03-23 14:26:23 +0800268 u-boot,dm-pre-reloc;
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +0800269 };
270
Wenyou Yang9e63c492016-09-18 15:37:47 +0800271 flx0_clk: flx0_clk@19 {
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +0800272 #clock-cells = <0>;
273 reg = <19>;
274 atmel,clk-output-range = <0 83000000>;
275 };
276
Wenyou Yang9e63c492016-09-18 15:37:47 +0800277 flx1_clk: flx1_clk@20 {
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +0800278 #clock-cells = <0>;
279 reg = <20>;
280 atmel,clk-output-range = <0 83000000>;
281 };
282
Wenyou Yang9e63c492016-09-18 15:37:47 +0800283 flx2_clk: flx2_clk@21 {
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +0800284 #clock-cells = <0>;
285 reg = <21>;
286 atmel,clk-output-range = <0 83000000>;
287 };
288
Wenyou Yang9e63c492016-09-18 15:37:47 +0800289 flx3_clk: flx3_clk@22 {
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +0800290 #clock-cells = <0>;
291 reg = <22>;
292 atmel,clk-output-range = <0 83000000>;
293 };
294
Wenyou Yang9e63c492016-09-18 15:37:47 +0800295 flx4_clk: flx4_clk@23 {
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +0800296 #clock-cells = <0>;
297 reg = <23>;
298 atmel,clk-output-range = <0 83000000>;
299 };
300
Wenyou Yang9e63c492016-09-18 15:37:47 +0800301 uart0_clk: uart0_clk@24 {
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +0800302 #clock-cells = <0>;
303 reg = <24>;
304 atmel,clk-output-range = <0 83000000>;
305 };
306
Wenyou Yang9e63c492016-09-18 15:37:47 +0800307 uart1_clk: uart1_clk@25 {
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +0800308 #clock-cells = <0>;
309 reg = <25>;
310 atmel,clk-output-range = <0 83000000>;
Wenyou Yang4529ee32017-03-23 14:26:23 +0800311 u-boot,dm-pre-reloc;
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +0800312 };
313
Wenyou Yang9e63c492016-09-18 15:37:47 +0800314 uart2_clk: uart2_clk@26 {
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +0800315 #clock-cells = <0>;
316 reg = <26>;
317 atmel,clk-output-range = <0 83000000>;
318 };
319
Wenyou Yang9e63c492016-09-18 15:37:47 +0800320 uart3_clk: uart3_clk@27 {
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +0800321 #clock-cells = <0>;
322 reg = <27>;
323 atmel,clk-output-range = <0 83000000>;
324 };
325
Wenyou Yang9e63c492016-09-18 15:37:47 +0800326 uart4_clk: uart4_clk@28 {
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +0800327 #clock-cells = <0>;
328 reg = <28>;
329 atmel,clk-output-range = <0 83000000>;
330 };
331
Wenyou Yang9e63c492016-09-18 15:37:47 +0800332 twi0_clk: twi0_clk@29 {
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +0800333 reg = <29>;
334 #clock-cells = <0>;
335 atmel,clk-output-range = <0 83000000>;
336 };
337
Wenyou Yang9e63c492016-09-18 15:37:47 +0800338 twi1_clk: twi1_clk@30 {
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +0800339 #clock-cells = <0>;
340 reg = <30>;
341 atmel,clk-output-range = <0 83000000>;
342 };
343
Wenyou Yang9e63c492016-09-18 15:37:47 +0800344 spi0_clk: spi0_clk@33 {
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +0800345 #clock-cells = <0>;
346 reg = <33>;
347 atmel,clk-output-range = <0 83000000>;
Wenyou Yang4529ee32017-03-23 14:26:23 +0800348 u-boot,dm-pre-reloc;
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +0800349 };
350
Wenyou Yang9e63c492016-09-18 15:37:47 +0800351 spi1_clk: spi1_clk@34 {
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +0800352 #clock-cells = <0>;
353 reg = <34>;
354 atmel,clk-output-range = <0 83000000>;
355 };
356
Wenyou Yang9e63c492016-09-18 15:37:47 +0800357 tcb0_clk: tcb0_clk@35 {
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +0800358 #clock-cells = <0>;
359 reg = <35>;
360 atmel,clk-output-range = <0 83000000>;
361 };
362
Wenyou Yang9e63c492016-09-18 15:37:47 +0800363 tcb1_clk: tcb1_clk@36 {
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +0800364 #clock-cells = <0>;
365 reg = <36>;
366 atmel,clk-output-range = <0 83000000>;
367 };
368
Wenyou Yang9e63c492016-09-18 15:37:47 +0800369 pwm_clk: pwm_clk@38 {
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +0800370 #clock-cells = <0>;
371 reg = <38>;
372 atmel,clk-output-range = <0 83000000>;
373 };
374
Wenyou Yang9e63c492016-09-18 15:37:47 +0800375 adc_clk: adc_clk@40 {
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +0800376 #clock-cells = <0>;
377 reg = <40>;
378 atmel,clk-output-range = <0 83000000>;
379 };
380
Wenyou Yang9e63c492016-09-18 15:37:47 +0800381 uhphs_clk: uhphs_clk@41 {
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +0800382 #clock-cells = <0>;
383 reg = <41>;
384 atmel,clk-output-range = <0 83000000>;
385 };
386
Wenyou Yang9e63c492016-09-18 15:37:47 +0800387 udphs_clk: udphs_clk@42 {
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +0800388 #clock-cells = <0>;
389 reg = <42>;
390 atmel,clk-output-range = <0 83000000>;
391 };
392
Wenyou Yang9e63c492016-09-18 15:37:47 +0800393 ssc0_clk: ssc0_clk@43 {
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +0800394 #clock-cells = <0>;
395 reg = <43>;
396 atmel,clk-output-range = <0 83000000>;
397 };
398
Wenyou Yang9e63c492016-09-18 15:37:47 +0800399 ssc1_clk: ssc1_clk@44 {
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +0800400 #clock-cells = <0>;
401 reg = <44>;
402 atmel,clk-output-range = <0 83000000>;
403 };
404
Wenyou Yang9e63c492016-09-18 15:37:47 +0800405 trng_clk: trng_clk@47 {
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +0800406 #clock-cells = <0>;
407 reg = <47>;
408 atmel,clk-output-range = <0 83000000>;
409 };
410
Wenyou Yang9e63c492016-09-18 15:37:47 +0800411 pdmic_clk: pdmic_clk@48 {
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +0800412 #clock-cells = <0>;
413 reg = <48>;
414 atmel,clk-output-range = <0 83000000>;
415 };
416
Wenyou Yang9e63c492016-09-18 15:37:47 +0800417 i2s0_clk: i2s0_clk@54 {
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +0800418 #clock-cells = <0>;
419 reg = <54>;
420 atmel,clk-output-range = <0 83000000>;
421 };
422
Wenyou Yang9e63c492016-09-18 15:37:47 +0800423 i2s1_clk: i2s1_clk@55 {
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +0800424 #clock-cells = <0>;
425 reg = <55>;
426 atmel,clk-output-range = <0 83000000>;
427 };
428
Wenyou Yang9e63c492016-09-18 15:37:47 +0800429 can0_clk: can0_clk@56 {
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +0800430 #clock-cells = <0>;
431 reg = <56>;
432 atmel,clk-output-range = <0 83000000>;
433 };
434
Wenyou Yang9e63c492016-09-18 15:37:47 +0800435 can1_clk: can1_clk@57 {
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +0800436 #clock-cells = <0>;
437 reg = <57>;
438 atmel,clk-output-range = <0 83000000>;
439 };
440
Wenyou Yang9e63c492016-09-18 15:37:47 +0800441 classd_clk: classd_clk@59 {
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +0800442 #clock-cells = <0>;
443 reg = <59>;
444 atmel,clk-output-range = <0 83000000>;
445 };
446 };
447
448 periph64ck {
449 compatible = "atmel,at91sam9x5-clk-peripheral";
450 #address-cells = <1>;
451 #size-cells = <0>;
452 clocks = <&mck>;
Wenyou Yang4529ee32017-03-23 14:26:23 +0800453 u-boot,dm-pre-reloc;
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +0800454
Wenyou Yang9e63c492016-09-18 15:37:47 +0800455 dma0_clk: dma0_clk@6 {
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +0800456 #clock-cells = <0>;
457 reg = <6>;
458 };
459
Wenyou Yang9e63c492016-09-18 15:37:47 +0800460 dma1_clk: dma1_clk@7 {
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +0800461 #clock-cells = <0>;
462 reg = <7>;
463 };
464
Wenyou Yang9e63c492016-09-18 15:37:47 +0800465 aes_clk: aes_clk@9 {
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +0800466 #clock-cells = <0>;
467 reg = <9>;
468 };
469
Wenyou Yang9e63c492016-09-18 15:37:47 +0800470 aesb_clk: aesb_clk@10 {
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +0800471 #clock-cells = <0>;
472 reg = <10>;
473 };
474
Wenyou Yang9e63c492016-09-18 15:37:47 +0800475 sha_clk: sha_clk@12 {
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +0800476 #clock-cells = <0>;
477 reg = <12>;
478 };
479
Wenyou Yang9e63c492016-09-18 15:37:47 +0800480 mpddr_clk: mpddr_clk@13 {
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +0800481 #clock-cells = <0>;
482 reg = <13>;
483 };
484
Wenyou Yang9e63c492016-09-18 15:37:47 +0800485 matrix0_clk: matrix0_clk@15 {
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +0800486 #clock-cells = <0>;
487 reg = <15>;
488 };
489
Wenyou Yang9e63c492016-09-18 15:37:47 +0800490 sdmmc0_hclk: sdmmc0_hclk@31 {
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +0800491 #clock-cells = <0>;
492 reg = <31>;
Wenyou Yang4529ee32017-03-23 14:26:23 +0800493 u-boot,dm-pre-reloc;
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +0800494 };
495
Wenyou Yang9e63c492016-09-18 15:37:47 +0800496 sdmmc1_hclk: sdmmc1_hclk@32 {
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +0800497 #clock-cells = <0>;
498 reg = <32>;
Wenyou Yang4529ee32017-03-23 14:26:23 +0800499 u-boot,dm-pre-reloc;
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +0800500 };
501
Wenyou Yang9e63c492016-09-18 15:37:47 +0800502 lcdc_clk: lcdc_clk@45 {
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +0800503 #clock-cells = <0>;
504 reg = <45>;
505 };
506
Wenyou Yang9e63c492016-09-18 15:37:47 +0800507 isc_clk: isc_clk@46 {
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +0800508 #clock-cells = <0>;
509 reg = <46>;
510 };
511
Wenyou Yang9e63c492016-09-18 15:37:47 +0800512 qspi0_clk: qspi0_clk@52 {
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +0800513 #clock-cells = <0>;
514 reg = <52>;
Wenyou Yangce4054b2017-09-13 14:58:54 +0800515 u-boot,dm-pre-reloc;
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +0800516 };
517
Wenyou Yang9e63c492016-09-18 15:37:47 +0800518 qspi1_clk: qspi1_clk@53 {
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +0800519 #clock-cells = <0>;
520 reg = <53>;
Wenyou Yangce4054b2017-09-13 14:58:54 +0800521 u-boot,dm-pre-reloc;
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +0800522 };
523 };
524
525 gck {
526 compatible = "atmel,sama5d2-clk-generated";
527 #address-cells = <1>;
528 #size-cells = <0>;
529 interrupt-parent = <&pmc>;
530 clocks = <&main>, <&plla>, <&utmi>, <&mck>;
Wenyou Yang4529ee32017-03-23 14:26:23 +0800531 u-boot,dm-pre-reloc;
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +0800532
Wenyou Yang9e63c492016-09-18 15:37:47 +0800533 sdmmc0_gclk: sdmmc0_gclk@31 {
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +0800534 #clock-cells = <0>;
535 reg = <31>;
Wenyou Yang4529ee32017-03-23 14:26:23 +0800536 u-boot,dm-pre-reloc;
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +0800537 };
538
Wenyou Yang9e63c492016-09-18 15:37:47 +0800539 sdmmc1_gclk: sdmmc1_gclk@32 {
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +0800540 #clock-cells = <0>;
541 reg = <32>;
Wenyou Yang4529ee32017-03-23 14:26:23 +0800542 u-boot,dm-pre-reloc;
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +0800543 };
544
Wenyou Yang9e63c492016-09-18 15:37:47 +0800545 tcb0_gclk: tcb0_gclk@35 {
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +0800546 #clock-cells = <0>;
547 reg = <35>;
548 atmel,clk-output-range = <0 83000000>;
549 };
550
Wenyou Yang9e63c492016-09-18 15:37:47 +0800551 tcb1_gclk: tcb1_gclk@36 {
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +0800552 #clock-cells = <0>;
553 reg = <36>;
554 atmel,clk-output-range = <0 83000000>;
555 };
556
Wenyou Yang9e63c492016-09-18 15:37:47 +0800557 pwm_gclk: pwm_gclk@38 {
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +0800558 #clock-cells = <0>;
559 reg = <38>;
560 atmel,clk-output-range = <0 83000000>;
561 };
562
Wenyou Yang9e63c492016-09-18 15:37:47 +0800563 pdmic_gclk: pdmic_gclk@48 {
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +0800564 #clock-cells = <0>;
565 reg = <48>;
566 };
567
Wenyou Yang9e63c492016-09-18 15:37:47 +0800568 i2s0_gclk: i2s0_gclk@54 {
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +0800569 #clock-cells = <0>;
570 reg = <54>;
571 };
572
Wenyou Yang9e63c492016-09-18 15:37:47 +0800573 i2s1_gclk: i2s1_gclk@55 {
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +0800574 #clock-cells = <0>;
575 reg = <55>;
576 };
577
Wenyou Yang9e63c492016-09-18 15:37:47 +0800578 can0_gclk: can0_gclk@56 {
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +0800579 #clock-cells = <0>;
580 reg = <56>;
581 atmel,clk-output-range = <0 80000000>;
582 };
583
Wenyou Yang9e63c492016-09-18 15:37:47 +0800584 can1_gclk: can1_gclk@57 {
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +0800585 #clock-cells = <0>;
586 reg = <57>;
587 atmel,clk-output-range = <0 80000000>;
588 };
589
Wenyou Yang9e63c492016-09-18 15:37:47 +0800590 classd_gclk: classd_gclk@59 {
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +0800591 #clock-cells = <0>;
592 reg = <59>;
593 atmel,clk-output-range = <0 100000000>;
594 };
595 };
596 };
597
598 qspi0: spi@f0020000 {
599 compatible = "atmel,sama5d2-qspi";
600 reg = <0xf0020000 0x100>, <0xd0000000 0x08000000>;
601 reg-names = "qspi_base", "qspi_mmap";
602 #address-cells = <1>;
603 #size-cells = <0>;
604 clocks = <&qspi0_clk>;
605 status = "disabled";
606 };
607
Wenyou Yangce4054b2017-09-13 14:58:54 +0800608 qspi1: spi@f0024000 {
609 compatible = "atmel,sama5d2-qspi";
610 reg = <0xf0024000 0x100>, <0xd8000000 0x08000000>;
611 reg-names = "qspi_base", "qspi_mmap";
612 #address-cells = <1>;
613 #size-cells = <0>;
614 clocks = <&qspi1_clk>;
615 status = "disabled";
616 };
617
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +0800618 spi0: spi@f8000000 {
619 compatible = "atmel,at91rm9200-spi";
620 reg = <0xf8000000 0x100>;
621 clocks = <&spi0_clk>;
622 clock-names = "spi_clk";
623 #address-cells = <1>;
624 #size-cells = <0>;
625 status = "disabled";
626 };
627
628 macb0: ethernet@f8008000 {
629 compatible = "cdns,macb";
630 reg = <0xf8008000 0x1000>;
631 #address-cells = <1>;
632 #size-cells = <0>;
633 clocks = <&macb0_clk>, <&macb0_clk>;
634 clock-names = "hclk", "pclk";
635 status = "disabled";
636 };
637
638 uart1: serial@f8020000 {
639 compatible = "atmel,at91sam9260-usart";
640 reg = <0xf8020000 0x100>;
Wenyou Yang20bb1652017-03-23 14:26:22 +0800641 clocks = <&uart1_clk>;
642 clock-names = "usart";
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +0800643 status = "disabled";
644 };
645
646 i2c0: i2c@f8028000 {
647 compatible = "atmel,sama5d2-i2c";
648 reg = <0xf8028000 0x100>;
649 #address-cells = <1>;
650 #size-cells = <0>;
651 clocks = <&twi0_clk>;
652 status = "disabled";
653 };
654
Wenyou.Yang@microchip.comfc6adeb2017-08-15 17:40:27 +0800655 rstc@f8048000 {
656 compatible = "atmel,sama5d3-rstc";
657 reg = <0xf8048000 0x10>;
658 clocks = <&clk32k>;
659 };
660
661 shdwc@f8048010 {
662 compatible = "atmel,sama5d2-shdwc";
663 reg = <0xf8048010 0x10>;
664 clocks = <&clk32k>;
665 #address-cells = <1>;
666 #size-cells = <0>;
667 atmel,wakeup-rtc-timer;
668 };
669
670 pit: timer@f8048030 {
671 compatible = "atmel,at91sam9260-pit";
672 reg = <0xf8048030 0x10>;
673 clocks = <&h32ck>;
674 };
675
676 watchdog@f8048040 {
677 compatible = "atmel,sama5d4-wdt";
678 reg = <0xf8048040 0x10>;
679 clocks = <&clk32k>;
680 status = "disabled";
681 };
682
Wenyou Yang56246d12017-09-05 18:30:08 +0800683 sfr: sfr@f8030000 {
684 compatible = "atmel,sama5d2-sfr", "syscon";
685 reg = <0xf8030000 0x98>;
686 };
687
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +0800688 sckc@f8048050 {
689 compatible = "atmel,at91sam9x5-sckc";
690 reg = <0xf8048050 0x4>;
691
692 slow_rc_osc: slow_rc_osc {
693 compatible = "atmel,at91sam9x5-clk-slow-rc-osc";
694 #clock-cells = <0>;
695 clock-frequency = <32768>;
696 clock-accuracy = <250000000>;
697 atmel,startup-time-usec = <75>;
698 };
699
700 slow_osc: slow_osc {
701 compatible = "atmel,at91sam9x5-clk-slow-osc";
702 #clock-cells = <0>;
703 clocks = <&slow_xtal>;
704 atmel,startup-time-usec = <1200000>;
705 };
706
707 clk32k: slowck {
708 compatible = "atmel,at91sam9x5-clk-slow";
709 #clock-cells = <0>;
710 clocks = <&slow_rc_osc &slow_osc>;
711 };
712 };
713
714 spi1: spi@fc000000 {
715 compatible = "atmel,at91rm9200-spi";
716 reg = <0xfc000000 0x100>;
717 #address-cells = <1>;
718 #size-cells = <0>;
719 status = "disabled";
720 };
721
Wenyou Yangce4054b2017-09-13 14:58:54 +0800722 uart3: serial@fc008000 {
723 compatible = "atmel,at91sam9260-usart";
724 reg = <0xfc008000 0x100>;
725 clocks = <&uart3_clk>;
726 clock-names = "usart";
727 status = "disabled";
728 };
729
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +0800730 i2c1: i2c@fc028000 {
731 compatible = "atmel,sama5d2-i2c";
732 reg = <0xfc028000 0x100>;
733 #address-cells = <1>;
734 #size-cells = <0>;
735 clocks = <&twi1_clk>;
736 status = "disabled";
737 };
738
739 pioA: gpio@fc038000 {
740 compatible = "atmel,sama5d2-gpio";
741 reg = <0xfc038000 0x600>;
742 clocks = <&pioA_clk>;
743 gpio-controller;
744 #gpio-cells = <2>;
Wenyou Yang4529ee32017-03-23 14:26:23 +0800745 u-boot,dm-pre-reloc;
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +0800746
747 pinctrl {
748 compatible = "atmel,sama5d2-pinctrl";
Wenyou Yang4529ee32017-03-23 14:26:23 +0800749 u-boot,dm-pre-reloc;
Wenyou Yang2c4b2dd2016-07-25 17:46:17 +0800750 };
751 };
752 };
753 };
754};