blob: b5e111b29da101963a327fd44ae6ce90eda55343 [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/ {
Peter Rosine899dba2014-10-23 13:52:03 +020011 compatible = "atmel,sama5d3xcm", "atmel,sama5d3", "atmel,sama5";
Ludovic Desroches655ff2662013-03-22 13:24:13 +000012
13 chosen {
Alexandre Belloni980853a2015-06-03 14:24:14 +020014 bootargs = "rootfstype=ubifs ubi.mtd=5 root=ubi0:rootfs";
15 stdout-path = "serial0:115200n8";
Ludovic Desroches655ff2662013-03-22 13:24:13 +000016 };
17
18 memory {
19 reg = <0x20000000 0x20000000>;
20 };
21
Alexandre Belloni334394c2014-06-17 15:30:20 +020022 clocks {
23 slow_xtal {
24 clock-frequency = <32768>;
25 };
Boris BREZILLON221bfd02014-04-22 15:12:35 +020026
Alexandre Belloni334394c2014-06-17 15:30:20 +020027 main_xtal {
28 clock-frequency = <12000000>;
29 };
Boris BREZILLON221bfd02014-04-22 15:12:35 +020030 };
31
Ludovic Desroches655ff2662013-03-22 13:24:13 +000032 ahb {
33 apb {
Ludovic Desroches3f8112722013-04-24 15:56:48 +020034 spi0: spi@f0004000 {
35 cs-gpios = <&pioD 13 0>, <0>, <0>, <0>;
36 };
Ludovic Desroches655ff2662013-03-22 13:24:13 +000037 };
38
39 nand0: nand@60000000 {
40 nand-bus-width = <8>;
41 nand-ecc-mode = "hw";
42 atmel,has-pmecc;
43 atmel,pmecc-cap = <4>;
44 atmel,pmecc-sector-size = <512>;
Ludovic Desroches655ff2662013-03-22 13:24:13 +000045 nand-on-flash-bbt;
46 status = "okay";
47
48 at91bootstrap@0 {
49 label = "at91bootstrap";
50 reg = <0x0 0x40000>;
51 };
52
53 bootloader@40000 {
54 label = "bootloader";
55 reg = <0x40000 0x80000>;
56 };
57
58 bootloaderenv@c0000 {
59 label = "bootloader env";
60 reg = <0xc0000 0xc0000>;
61 };
62
63 dtb@180000 {
64 label = "device tree";
65 reg = <0x180000 0x80000>;
66 };
67
68 kernel@200000 {
69 label = "kernel";
70 reg = <0x200000 0x600000>;
71 };
72
73 rootfs@800000 {
74 label = "rootfs";
75 reg = <0x800000 0x0f800000>;
76 };
77 };
78 };
79
80 leds {
81 compatible = "gpio-leds";
82
83 d2 {
84 label = "d2";
Jean-Christophe PLAGNIOL-VILLARD92f86292013-04-24 08:34:25 +080085 gpios = <&pioE 25 GPIO_ACTIVE_LOW>; /* PE25, conflicts with A25, RXD2 */
Josh Wuce596f0f2014-12-09 18:54:46 +080086 linux,default-trigger = "heartbeat";
Ludovic Desroches655ff2662013-03-22 13:24:13 +000087 };
88 };
89};