]>
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 | */ | |
6db64d29 | 9 | #include "sama5d3.dtsi" |
655ff266 LD |
10 | |
11 | / { | |
12 | compatible = "atmel,samad3xcm", "atmel,sama5d3", "atmel,sama5"; | |
13 | ||
14 | chosen { | |
15 | bootargs = "console=ttyS0,115200 rootfstype=ubifs ubi.mtd=5 root=ubi0:rootfs"; | |
16 | }; | |
17 | ||
18 | memory { | |
19 | reg = <0x20000000 0x20000000>; | |
20 | }; | |
21 | ||
22 | clocks { | |
23 | #address-cells = <1>; | |
24 | #size-cells = <1>; | |
25 | ranges; | |
26 | ||
27 | main_clock: clock@0 { | |
28 | compatible = "atmel,osc", "fixed-clock"; | |
29 | clock-frequency = <12000000>; | |
30 | }; | |
31 | }; | |
32 | ||
33 | ahb { | |
34 | apb { | |
3f811272 LD |
35 | spi0: spi@f0004000 { |
36 | cs-gpios = <&pioD 13 0>, <0>, <0>, <0>; | |
37 | }; | |
38 | ||
655ff266 LD |
39 | macb0: ethernet@f0028000 { |
40 | phy-mode = "rgmii"; | |
41 | }; | |
42 | }; | |
43 | ||
44 | nand0: nand@60000000 { | |
45 | nand-bus-width = <8>; | |
46 | nand-ecc-mode = "hw"; | |
47 | atmel,has-pmecc; | |
48 | atmel,pmecc-cap = <4>; | |
49 | atmel,pmecc-sector-size = <512>; | |
655ff266 LD |
50 | nand-on-flash-bbt; |
51 | status = "okay"; | |
52 | ||
53 | at91bootstrap@0 { | |
54 | label = "at91bootstrap"; | |
55 | reg = <0x0 0x40000>; | |
56 | }; | |
57 | ||
58 | bootloader@40000 { | |
59 | label = "bootloader"; | |
60 | reg = <0x40000 0x80000>; | |
61 | }; | |
62 | ||
63 | bootloaderenv@c0000 { | |
64 | label = "bootloader env"; | |
65 | reg = <0xc0000 0xc0000>; | |
66 | }; | |
67 | ||
68 | dtb@180000 { | |
69 | label = "device tree"; | |
70 | reg = <0x180000 0x80000>; | |
71 | }; | |
72 | ||
73 | kernel@200000 { | |
74 | label = "kernel"; | |
75 | reg = <0x200000 0x600000>; | |
76 | }; | |
77 | ||
78 | rootfs@800000 { | |
79 | label = "rootfs"; | |
80 | reg = <0x800000 0x0f800000>; | |
81 | }; | |
82 | }; | |
83 | }; | |
84 | ||
85 | leds { | |
86 | compatible = "gpio-leds"; | |
87 | ||
88 | d2 { | |
89 | label = "d2"; | |
92f8629b | 90 | gpios = <&pioE 25 GPIO_ACTIVE_LOW>; /* PE25, conflicts with A25, RXD2 */ |
655ff266 LD |
91 | }; |
92 | }; | |
93 | }; |