blob: b0b1331c1974cf1a3c70a708cda0044e887ced54 [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 */
Ludovic Desroches655ff2662013-03-22 13:24:13 +00009
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
Boris BREZILLON221bfd02014-04-22 15:12:35 +020021 slow_xtal {
22 clock-frequency = <32768>;
23 };
24
25 main_xtal {
26 clock-frequency = <12000000>;
27 };
28
Ludovic Desroches655ff2662013-03-22 13:24:13 +000029 ahb {
30 apb {
Ludovic Desroches3f8112722013-04-24 15:56:48 +020031 spi0: spi@f0004000 {
32 cs-gpios = <&pioD 13 0>, <0>, <0>, <0>;
33 };
34
Ludovic Desroches655ff2662013-03-22 13:24:13 +000035 macb0: ethernet@f0028000 {
36 phy-mode = "rgmii";
37 };
Boris BREZILLON72163e52013-10-11 14:43:34 +020038
39 pmc: pmc@fffffc00 {
40 main: mainck {
41 clock-frequency = <12000000>;
42 };
43 };
Ludovic Desroches655ff2662013-03-22 13:24:13 +000044 };
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>;
Ludovic Desroches655ff2662013-03-22 13:24:13 +000052 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";
Jean-Christophe PLAGNIOL-VILLARD92f86292013-04-24 08:34:25 +080092 gpios = <&pioE 25 GPIO_ACTIVE_LOW>; /* PE25, conflicts with A25, RXD2 */
Ludovic Desroches655ff2662013-03-22 13:24:13 +000093 };
94 };
95};