blob: 76ae1a95111bf287b37df39671ac1e0928ff8d63 [file] [log] [blame]
Thomas Petazzoni9ae6f742012-06-13 19:01:28 +02001/*
2 * Device Tree file for Marvell Armada XP evaluation board
3 * (DB-78460-BP)
4 *
5 * Copyright (C) 2012 Marvell
6 *
7 * Lior Amsalem <alior@marvell.com>
8 * Gregory CLEMENT <gregory.clement@free-electrons.com>
9 * Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 *
11 * This file is licensed under the terms of the GNU General Public
12 * License version 2. This program is licensed "as is" without any
13 * warranty of any kind, whether express or implied.
14 */
15
16/dts-v1/;
Ezequiel Garcia38149882013-07-26 10:17:56 -030017#include "armada-xp-mv78460.dtsi"
Thomas Petazzoni9ae6f742012-06-13 19:01:28 +020018
19/ {
20 model = "Marvell Armada XP Evaluation Board";
Thomas Petazzoni0bec30a2012-09-13 17:41:50 +020021 compatible = "marvell,axp-db", "marvell,armadaxp-mv78460", "marvell,armadaxp", "marvell,armada-370-xp";
Thomas Petazzoni9ae6f742012-06-13 19:01:28 +020022
23 chosen {
24 bootargs = "console=ttyS0,115200 earlyprintk";
25 };
26
27 memory {
28 device_type = "memory";
Gregory CLEMENT74898362013-04-12 16:29:10 +020029 reg = <0 0x00000000 0 0x80000000>; /* 2 GB */
Thomas Petazzoni9ae6f742012-06-13 19:01:28 +020030 };
31
32 soc {
Ezequiel Garcia0cd37542013-07-26 10:17:58 -030033 ranges = <MBUS_ID(0xf0, 0x01) 0 0 0xd0000000 0x100000
Ezequiel Garciade1af8d2013-07-26 10:17:59 -030034 MBUS_ID(0x01, 0x1d) 0 0 0xfff00000 0x100000
35 MBUS_ID(0x01, 0x2f) 0 0 0xf0000000 0x1000000>;
36
37 devbus-bootcs {
38 status = "okay";
39
40 /* Device Bus parameters are required */
41
42 /* Read parameters */
43 devbus,bus-width = <8>;
44 devbus,turn-off-ps = <60000>;
45 devbus,badr-skew-ps = <0>;
46 devbus,acc-first-ps = <124000>;
47 devbus,acc-next-ps = <248000>;
48 devbus,rd-setup-ps = <0>;
49 devbus,rd-hold-ps = <0>;
50
51 /* Write parameters */
52 devbus,sync-enable = <0>;
53 devbus,wr-high-ps = <60000>;
54 devbus,wr-low-ps = <60000>;
55 devbus,ale-wr-ps = <60000>;
56
57 /* NOR 16 MiB */
58 nor@0 {
59 compatible = "cfi-flash";
60 reg = <0 0x1000000>;
61 bank-width = <2>;
62 };
63 };
Ezequiel Garciab484ff42013-05-17 08:09:58 -030064
Gregory CLEMENT467f54b2013-04-12 16:29:09 +020065 internal-regs {
66 serial@12000 {
67 clock-frequency = <250000000>;
Thomas Petazzonibf4f9c62013-04-09 23:06:36 +020068 status = "okay";
69 };
Gregory CLEMENT467f54b2013-04-12 16:29:09 +020070 serial@12100 {
71 clock-frequency = <250000000>;
Thomas Petazzonibf4f9c62013-04-09 23:06:36 +020072 status = "okay";
73 };
Gregory CLEMENT467f54b2013-04-12 16:29:09 +020074 serial@12200 {
75 clock-frequency = <250000000>;
Thomas Petazzonibf4f9c62013-04-09 23:06:36 +020076 status = "okay";
77 };
Gregory CLEMENT467f54b2013-04-12 16:29:09 +020078 serial@12300 {
79 clock-frequency = <250000000>;
Thomas Petazzonibf4f9c62013-04-09 23:06:36 +020080 status = "okay";
81 };
Gregory CLEMENT467f54b2013-04-12 16:29:09 +020082
83 sata@a0000 {
84 nr-ports = <2>;
Thomas Petazzonibf4f9c62013-04-09 23:06:36 +020085 status = "okay";
86 };
Gregory CLEMENT467f54b2013-04-12 16:29:09 +020087
88 mdio {
89 phy0: ethernet-phy@0 {
90 reg = <0>;
91 };
92
93 phy1: ethernet-phy@1 {
94 reg = <1>;
95 };
96
97 phy2: ethernet-phy@2 {
98 reg = <25>;
99 };
100
101 phy3: ethernet-phy@3 {
102 reg = <27>;
103 };
104 };
105
106 ethernet@70000 {
Thomas Petazzonibf4f9c62013-04-09 23:06:36 +0200107 status = "okay";
Gregory CLEMENT467f54b2013-04-12 16:29:09 +0200108 phy = <&phy0>;
109 phy-mode = "rgmii-id";
110 };
111 ethernet@74000 {
112 status = "okay";
113 phy = <&phy1>;
114 phy-mode = "rgmii-id";
115 };
116 ethernet@30000 {
117 status = "okay";
118 phy = <&phy2>;
119 phy-mode = "sgmii";
120 };
121 ethernet@34000 {
122 status = "okay";
123 phy = <&phy3>;
124 phy-mode = "sgmii";
125 };
126
127 mvsdio@d4000 {
128 pinctrl-0 = <&sdio_pins>;
129 pinctrl-names = "default";
130 status = "okay";
131 /* No CD or WP GPIOs */
Simon Baatzd87b5fb2013-05-13 23:18:58 +0200132 broken-cd;
Gregory CLEMENT467f54b2013-04-12 16:29:09 +0200133 };
134
135 usb@50000 {
136 status = "okay";
137 };
138
139 usb@51000 {
140 status = "okay";
141 };
142
143 usb@52000 {
144 status = "okay";
145 };
146
147 spi0: spi@10600 {
148 status = "okay";
149
150 spi-flash@0 {
151 #address-cells = <1>;
152 #size-cells = <1>;
153 compatible = "m25p64";
154 reg = <0>; /* Chip select 0 */
155 spi-max-frequency = <20000000>;
156 };
157 };
158
159 pcie-controller {
160 status = "okay";
161
162 /*
163 * All 6 slots are physically present as
164 * standard PCIe slots on the board.
165 */
166 pcie@1,0 {
167 /* Port 0, Lane 0 */
168 status = "okay";
169 };
170 pcie@2,0 {
171 /* Port 0, Lane 1 */
172 status = "okay";
173 };
174 pcie@3,0 {
175 /* Port 0, Lane 2 */
176 status = "okay";
177 };
178 pcie@4,0 {
179 /* Port 0, Lane 3 */
180 status = "okay";
181 };
182 pcie@9,0 {
183 /* Port 2, Lane 0 */
184 status = "okay";
185 };
186 pcie@10,0 {
187 /* Port 3, Lane 0 */
188 status = "okay";
189 };
Thomas Petazzonibf4f9c62013-04-09 23:06:36 +0200190 };
Ezequiel Garciab484ff42013-05-17 08:09:58 -0300191
Thomas Petazzonibf4f9c62013-04-09 23:06:36 +0200192 };
Thomas Petazzoni9ae6f742012-06-13 19:01:28 +0200193 };
194};