blob: 2298e4a910e230748dda13cb70cab55713932a10 [file] [log] [blame]
Gregory CLEMENT568fc0a2013-01-31 15:50:12 +01001/*
2 * Device Tree file for Marvell Armada XP development board
3 * (DB-MV784MP-GP)
4 *
5 * Copyright (C) 2013 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"
Gregory CLEMENT568fc0a2013-01-31 15:50:12 +010018
19/ {
20 model = "Marvell Armada XP Development Board DB-MV784MP-GP";
21 compatible = "marvell,axp-gp", "marvell,armadaxp-mv78460", "marvell,armadaxp", "marvell,armada-370-xp";
22
23 chosen {
24 bootargs = "console=ttyS0,115200 earlyprintk";
25 };
26
27 memory {
28 device_type = "memory";
Gregory CLEMENT568fc0a2013-01-31 15:50:12 +010029 /*
Gregory CLEMENT74898362013-04-12 16:29:10 +020030 * 8 GB of plug-in RAM modules by default.The amount
31 * of memory available can be changed by the
32 * bootloader according the size of the module
33 * actually plugged. Only 7GB are usable because
34 * addresses from 0xC0000000 to 0xffffffff are used by
35 * the internal registers of the SoC.
Gregory CLEMENT568fc0a2013-01-31 15:50:12 +010036 */
Gregory CLEMENT74898362013-04-12 16:29:10 +020037 reg = <0x00000000 0x00000000 0x00000000 0xC0000000>,
38 <0x00000001 0x00000000 0x00000001 0x00000000>;
Gregory CLEMENT568fc0a2013-01-31 15:50:12 +010039 };
40
41 soc {
Ezequiel Garcia0cd37542013-07-26 10:17:58 -030042 ranges = <MBUS_ID(0xf0, 0x01) 0 0 0xd0000000 0x100000
Ezequiel Garciade1af8d2013-07-26 10:17:59 -030043 MBUS_ID(0x01, 0x1d) 0 0 0xfff00000 0x100000
44 MBUS_ID(0x01, 0x2f) 0 0 0xf0000000 0x1000000>;
45
46 devbus-bootcs {
47 status = "okay";
48
49 /* Device Bus parameters are required */
50
51 /* Read parameters */
52 devbus,bus-width = <8>;
53 devbus,turn-off-ps = <60000>;
54 devbus,badr-skew-ps = <0>;
55 devbus,acc-first-ps = <124000>;
56 devbus,acc-next-ps = <248000>;
57 devbus,rd-setup-ps = <0>;
58 devbus,rd-hold-ps = <0>;
59
60 /* Write parameters */
61 devbus,sync-enable = <0>;
62 devbus,wr-high-ps = <60000>;
63 devbus,wr-low-ps = <60000>;
64 devbus,ale-wr-ps = <60000>;
65
66 /* NOR 16 MiB */
67 nor@0 {
68 compatible = "cfi-flash";
69 reg = <0 0x1000000>;
70 bank-width = <2>;
71 };
72 };
Ezequiel Garciac6c003a2013-05-17 08:09:57 -030073
Ezequiel Garcia14fd8ed2013-07-26 10:18:00 -030074 pcie-controller {
75 status = "okay";
76
77 /*
78 * The 3 slots are physically present as
79 * standard PCIe slots on the board.
80 */
81 pcie@1,0 {
82 /* Port 0, Lane 0 */
83 status = "okay";
84 };
85 pcie@9,0 {
86 /* Port 2, Lane 0 */
87 status = "okay";
88 };
89 pcie@10,0 {
90 /* Port 3, Lane 0 */
91 status = "okay";
92 };
93 };
94
Gregory CLEMENT467f54b2013-04-12 16:29:09 +020095 internal-regs {
96 serial@12000 {
97 clock-frequency = <250000000>;
Thomas Petazzoni513a7912013-04-09 23:06:39 +020098 status = "okay";
99 };
Gregory CLEMENT467f54b2013-04-12 16:29:09 +0200100 serial@12100 {
101 clock-frequency = <250000000>;
Thomas Petazzoni513a7912013-04-09 23:06:39 +0200102 status = "okay";
103 };
Gregory CLEMENT467f54b2013-04-12 16:29:09 +0200104 serial@12200 {
105 clock-frequency = <250000000>;
Thomas Petazzoni513a7912013-04-09 23:06:39 +0200106 status = "okay";
107 };
Gregory CLEMENT467f54b2013-04-12 16:29:09 +0200108 serial@12300 {
109 clock-frequency = <250000000>;
110 status = "okay";
111 };
112
113 sata@a0000 {
114 nr-ports = <2>;
115 status = "okay";
116 };
117
118 mdio {
119 phy0: ethernet-phy@0 {
120 reg = <16>;
121 };
122
123 phy1: ethernet-phy@1 {
124 reg = <17>;
125 };
126
127 phy2: ethernet-phy@2 {
128 reg = <18>;
129 };
130
131 phy3: ethernet-phy@3 {
132 reg = <19>;
133 };
134 };
135
136 ethernet@70000 {
137 status = "okay";
138 phy = <&phy0>;
139 phy-mode = "rgmii-id";
140 };
141 ethernet@74000 {
142 status = "okay";
143 phy = <&phy1>;
144 phy-mode = "rgmii-id";
145 };
146 ethernet@30000 {
147 status = "okay";
148 phy = <&phy2>;
149 phy-mode = "rgmii-id";
150 };
151 ethernet@34000 {
152 status = "okay";
153 phy = <&phy3>;
154 phy-mode = "rgmii-id";
155 };
156
Thomas Petazzoni0e99b152013-05-21 19:53:09 +0200157 /* Front-side USB slot */
158 usb@50000 {
159 status = "okay";
160 };
161
162 /* Back-side USB slot */
163 usb@51000 {
164 status = "okay";
165 };
166
Gregory CLEMENT467f54b2013-04-12 16:29:09 +0200167 spi0: spi@10600 {
168 status = "okay";
169
170 spi-flash@0 {
171 #address-cells = <1>;
172 #size-cells = <1>;
173 compatible = "n25q128a13";
174 reg = <0>; /* Chip select 0 */
175 spi-max-frequency = <108000000>;
176 };
177 };
Thomas Petazzoni513a7912013-04-09 23:06:39 +0200178 };
Gregory CLEMENT568fc0a2013-01-31 15:50:12 +0100179 };
180};