blob: 31ed9e3bb649ab9a6af644d58a36576bc0d3cabd [file] [log] [blame]
Ludovic Desroches655ff2662013-03-22 13:24:13 +00001/*
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 */
Jean-Christophe PLAGNIOL-VILLARD6db64d22013-05-15 01:21:50 +08009#include "sama5d3.dtsi"
Ludovic Desroches655ff2662013-03-22 13:24:13 +000010
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 {
Ludovic Desroches3f8112722013-04-24 15:56:48 +020035 spi0: spi@f0004000 {
36 cs-gpios = <&pioD 13 0>, <0>, <0>, <0>;
37 };
38
Ludovic Desroches655ff2662013-03-22 13:24:13 +000039 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>;
Ludovic Desroches655ff2662013-03-22 13:24:13 +000050 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";
Jean-Christophe PLAGNIOL-VILLARD92f86292013-04-24 08:34:25 +080090 gpios = <&pioE 25 GPIO_ACTIVE_LOW>; /* PE25, conflicts with A25, RXD2 */
Ludovic Desroches655ff2662013-03-22 13:24:13 +000091 };
92 };
93};