Commit | Line | Data |
---|---|---|
655ff266 LD |
1 | /* |
2 | * sama5d3xcm.dtsi - Device Tree Include file for SAMA5D3x CPU Module | |
3 | * | |
4 | * Copyright (C) 2013 Atmel, | |
5 | * 2013 Ludovic Desroches <ludovic.desroches@atmel.com> | |
6 | * | |
7 | * Licensed under GPLv2 or later. | |
8 | */ | |
655ff266 LD |
9 | |
10 | / { | |
11 | compatible = "atmel,samad3xcm", "atmel,sama5d3", "atmel,sama5"; | |
12 | ||
13 | chosen { | |
14 | bootargs = "console=ttyS0,115200 rootfstype=ubifs ubi.mtd=5 root=ubi0:rootfs"; | |
15 | }; | |
16 | ||
17 | memory { | |
18 | reg = <0x20000000 0x20000000>; | |
19 | }; | |
20 | ||
221bfd05 BB |
21 | slow_xtal { |
22 | clock-frequency = <32768>; | |
23 | }; | |
24 | ||
25 | main_xtal { | |
26 | clock-frequency = <12000000>; | |
27 | }; | |
28 | ||
655ff266 LD |
29 | ahb { |
30 | apb { | |
3f811272 LD |
31 | spi0: spi@f0004000 { |
32 | cs-gpios = <&pioD 13 0>, <0>, <0>, <0>; | |
33 | }; | |
34 | ||
655ff266 LD |
35 | macb0: ethernet@f0028000 { |
36 | phy-mode = "rgmii"; | |
37 | }; | |
72163e5a BB |
38 | |
39 | pmc: pmc@fffffc00 { | |
40 | main: mainck { | |
41 | clock-frequency = <12000000>; | |
42 | }; | |
43 | }; | |
655ff266 LD |
44 | }; |
45 | ||
46 | nand0: nand@60000000 { | |
47 | nand-bus-width = <8>; | |
48 | nand-ecc-mode = "hw"; | |
49 | atmel,has-pmecc; | |
50 | atmel,pmecc-cap = <4>; | |
51 | atmel,pmecc-sector-size = <512>; | |
655ff266 LD |
52 | nand-on-flash-bbt; |
53 | status = "okay"; | |
54 | ||
55 | at91bootstrap@0 { | |
56 | label = "at91bootstrap"; | |
57 | reg = <0x0 0x40000>; | |
58 | }; | |
59 | ||
60 | bootloader@40000 { | |
61 | label = "bootloader"; | |
62 | reg = <0x40000 0x80000>; | |
63 | }; | |
64 | ||
65 | bootloaderenv@c0000 { | |
66 | label = "bootloader env"; | |
67 | reg = <0xc0000 0xc0000>; | |
68 | }; | |
69 | ||
70 | dtb@180000 { | |
71 | label = "device tree"; | |
72 | reg = <0x180000 0x80000>; | |
73 | }; | |
74 | ||
75 | kernel@200000 { | |
76 | label = "kernel"; | |
77 | reg = <0x200000 0x600000>; | |
78 | }; | |
79 | ||
80 | rootfs@800000 { | |
81 | label = "rootfs"; | |
82 | reg = <0x800000 0x0f800000>; | |
83 | }; | |
84 | }; | |
85 | }; | |
86 | ||
87 | leds { | |
88 | compatible = "gpio-leds"; | |
89 | ||
90 | d2 { | |
91 | label = "d2"; | |
92f8629b | 92 | gpios = <&pioE 25 GPIO_ACTIVE_LOW>; /* PE25, conflicts with A25, RXD2 */ |
655ff266 LD |
93 | }; |
94 | }; | |
95 | }; |