blob: 2cf9c3611db60a5f6566be6898adab72e8a629d2 [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 };
37
Ludovic Desroches655ff2662013-03-22 13:24:13 +000038 macb0: ethernet@f0028000 {
39 phy-mode = "rgmii";
Boris BREZILLON71e8a322014-07-10 21:59:53 +020040 #address-cells = <1>;
41 #size-cells = <0>;
42
43 ethernet-phy@1 {
44 reg = <0x1>;
45 interrupt-parent = <&pioB>;
46 interrupts = <25 IRQ_TYPE_EDGE_FALLING>;
47 txen-skew-ps = <800>;
48 txc-skew-ps = <3000>;
49 rxdv-skew-ps = <400>;
50 rxc-skew-ps = <3000>;
51 rxd0-skew-ps = <400>;
52 rxd1-skew-ps = <400>;
53 rxd2-skew-ps = <400>;
54 rxd3-skew-ps = <400>;
55 };
56
57 ethernet-phy@7 {
58 reg = <0x7>;
59 interrupt-parent = <&pioB>;
60 interrupts = <25 IRQ_TYPE_EDGE_FALLING>;
61 txen-skew-ps = <800>;
62 txc-skew-ps = <3000>;
63 rxdv-skew-ps = <400>;
64 rxc-skew-ps = <3000>;
65 rxd0-skew-ps = <400>;
66 rxd1-skew-ps = <400>;
67 rxd2-skew-ps = <400>;
68 rxd3-skew-ps = <400>;
69 };
Ludovic Desroches655ff2662013-03-22 13:24:13 +000070 };
71 };
72
73 nand0: nand@60000000 {
74 nand-bus-width = <8>;
75 nand-ecc-mode = "hw";
76 atmel,has-pmecc;
77 atmel,pmecc-cap = <4>;
78 atmel,pmecc-sector-size = <512>;
Ludovic Desroches655ff2662013-03-22 13:24:13 +000079 nand-on-flash-bbt;
80 status = "okay";
81
82 at91bootstrap@0 {
83 label = "at91bootstrap";
84 reg = <0x0 0x40000>;
85 };
86
87 bootloader@40000 {
88 label = "bootloader";
89 reg = <0x40000 0x80000>;
90 };
91
92 bootloaderenv@c0000 {
93 label = "bootloader env";
94 reg = <0xc0000 0xc0000>;
95 };
96
97 dtb@180000 {
98 label = "device tree";
99 reg = <0x180000 0x80000>;
100 };
101
102 kernel@200000 {
103 label = "kernel";
104 reg = <0x200000 0x600000>;
105 };
106
107 rootfs@800000 {
108 label = "rootfs";
109 reg = <0x800000 0x0f800000>;
110 };
111 };
112 };
113
114 leds {
115 compatible = "gpio-leds";
116
117 d2 {
118 label = "d2";
Jean-Christophe PLAGNIOL-VILLARD92f86292013-04-24 08:34:25 +0800119 gpios = <&pioE 25 GPIO_ACTIVE_LOW>; /* PE25, conflicts with A25, RXD2 */
Josh Wuce596f0f2014-12-09 18:54:46 +0800120 linux,default-trigger = "heartbeat";
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000121 };
122 };
123};