blob: 7d6babdab03911aa089d08946df6f9e66e9bd590 [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 {
14 bootargs = "console=ttyS0,115200 rootfstype=ubifs ubi.mtd=5 root=ubi0:rootfs";
15 };
16
17 memory {
18 reg = <0x20000000 0x20000000>;
19 };
20
Alexandre Belloni334394c2014-06-17 15:30:20 +020021 clocks {
22 slow_xtal {
23 clock-frequency = <32768>;
24 };
Boris BREZILLON221bfd02014-04-22 15:12:35 +020025
Alexandre Belloni334394c2014-06-17 15:30:20 +020026 main_xtal {
27 clock-frequency = <12000000>;
28 };
Boris BREZILLON221bfd02014-04-22 15:12:35 +020029 };
30
Ludovic Desroches655ff2662013-03-22 13:24:13 +000031 ahb {
32 apb {
Ludovic Desroches3f8112722013-04-24 15:56:48 +020033 spi0: spi@f0004000 {
34 cs-gpios = <&pioD 13 0>, <0>, <0>, <0>;
35 };
36
Ludovic Desroches655ff2662013-03-22 13:24:13 +000037 macb0: ethernet@f0028000 {
38 phy-mode = "rgmii";
Boris BREZILLON71e8a322014-07-10 21:59:53 +020039 #address-cells = <1>;
40 #size-cells = <0>;
41
42 ethernet-phy@1 {
43 reg = <0x1>;
44 interrupt-parent = <&pioB>;
45 interrupts = <25 IRQ_TYPE_EDGE_FALLING>;
46 txen-skew-ps = <800>;
47 txc-skew-ps = <3000>;
48 rxdv-skew-ps = <400>;
49 rxc-skew-ps = <3000>;
50 rxd0-skew-ps = <400>;
51 rxd1-skew-ps = <400>;
52 rxd2-skew-ps = <400>;
53 rxd3-skew-ps = <400>;
54 };
55
56 ethernet-phy@7 {
57 reg = <0x7>;
58 interrupt-parent = <&pioB>;
59 interrupts = <25 IRQ_TYPE_EDGE_FALLING>;
60 txen-skew-ps = <800>;
61 txc-skew-ps = <3000>;
62 rxdv-skew-ps = <400>;
63 rxc-skew-ps = <3000>;
64 rxd0-skew-ps = <400>;
65 rxd1-skew-ps = <400>;
66 rxd2-skew-ps = <400>;
67 rxd3-skew-ps = <400>;
68 };
Ludovic Desroches655ff2662013-03-22 13:24:13 +000069 };
Boris BREZILLON72163e52013-10-11 14:43:34 +020070
71 pmc: pmc@fffffc00 {
72 main: mainck {
73 clock-frequency = <12000000>;
74 };
75 };
Ludovic Desroches655ff2662013-03-22 13:24:13 +000076 };
77
78 nand0: nand@60000000 {
79 nand-bus-width = <8>;
80 nand-ecc-mode = "hw";
81 atmel,has-pmecc;
82 atmel,pmecc-cap = <4>;
83 atmel,pmecc-sector-size = <512>;
Ludovic Desroches655ff2662013-03-22 13:24:13 +000084 nand-on-flash-bbt;
85 status = "okay";
86
87 at91bootstrap@0 {
88 label = "at91bootstrap";
89 reg = <0x0 0x40000>;
90 };
91
92 bootloader@40000 {
93 label = "bootloader";
94 reg = <0x40000 0x80000>;
95 };
96
97 bootloaderenv@c0000 {
98 label = "bootloader env";
99 reg = <0xc0000 0xc0000>;
100 };
101
102 dtb@180000 {
103 label = "device tree";
104 reg = <0x180000 0x80000>;
105 };
106
107 kernel@200000 {
108 label = "kernel";
109 reg = <0x200000 0x600000>;
110 };
111
112 rootfs@800000 {
113 label = "rootfs";
114 reg = <0x800000 0x0f800000>;
115 };
116 };
117 };
118
119 leds {
120 compatible = "gpio-leds";
121
122 d2 {
123 label = "d2";
Jean-Christophe PLAGNIOL-VILLARD92f86292013-04-24 08:34:25 +0800124 gpios = <&pioE 25 GPIO_ACTIVE_LOW>; /* PE25, conflicts with A25, RXD2 */
Josh Wuce596f0f2014-12-09 18:54:46 +0800125 linux,default-trigger = "heartbeat";
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000126 };
127 };
128};