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 | */ | |
9 | /include/ "sama5d3.dtsi" | |
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 { | |
35 | macb0: ethernet@f0028000 { | |
36 | phy-mode = "rgmii"; | |
37 | }; | |
38 | }; | |
39 | ||
40 | nand0: nand@60000000 { | |
41 | nand-bus-width = <8>; | |
42 | nand-ecc-mode = "hw"; | |
43 | atmel,has-pmecc; | |
44 | atmel,pmecc-cap = <4>; | |
45 | atmel,pmecc-sector-size = <512>; | |
46 | atmel,has-nfc; | |
47 | atmel,use-nfc-sram; | |
48 | nand-on-flash-bbt; | |
49 | status = "okay"; | |
50 | ||
51 | at91bootstrap@0 { | |
52 | label = "at91bootstrap"; | |
53 | reg = <0x0 0x40000>; | |
54 | }; | |
55 | ||
56 | bootloader@40000 { | |
57 | label = "bootloader"; | |
58 | reg = <0x40000 0x80000>; | |
59 | }; | |
60 | ||
61 | bootloaderenv@c0000 { | |
62 | label = "bootloader env"; | |
63 | reg = <0xc0000 0xc0000>; | |
64 | }; | |
65 | ||
66 | dtb@180000 { | |
67 | label = "device tree"; | |
68 | reg = <0x180000 0x80000>; | |
69 | }; | |
70 | ||
71 | kernel@200000 { | |
72 | label = "kernel"; | |
73 | reg = <0x200000 0x600000>; | |
74 | }; | |
75 | ||
76 | rootfs@800000 { | |
77 | label = "rootfs"; | |
78 | reg = <0x800000 0x0f800000>; | |
79 | }; | |
80 | }; | |
81 | }; | |
82 | ||
83 | leds { | |
84 | compatible = "gpio-leds"; | |
85 | ||
86 | d2 { | |
87 | label = "d2"; | |
88 | gpios = <&pioE 25 1>; /* PE25, conflicts with A25, RXD2 */ | |
89 | }; | |
90 | }; | |
91 | }; |