blob: 7c22a20d51b56fc0f1fbfd20d8421b2b1008d931 [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/;
Thomas Petazzoni0bec30a2012-09-13 17:41:50 +020017/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 {
Gregory CLEMENT467f54b2013-04-12 16:29:09 +020033 internal-regs {
34 serial@12000 {
35 clock-frequency = <250000000>;
Thomas Petazzonibf4f9c62013-04-09 23:06:36 +020036 status = "okay";
37 };
Gregory CLEMENT467f54b2013-04-12 16:29:09 +020038 serial@12100 {
39 clock-frequency = <250000000>;
Thomas Petazzonibf4f9c62013-04-09 23:06:36 +020040 status = "okay";
41 };
Gregory CLEMENT467f54b2013-04-12 16:29:09 +020042 serial@12200 {
43 clock-frequency = <250000000>;
Thomas Petazzonibf4f9c62013-04-09 23:06:36 +020044 status = "okay";
45 };
Gregory CLEMENT467f54b2013-04-12 16:29:09 +020046 serial@12300 {
47 clock-frequency = <250000000>;
Thomas Petazzonibf4f9c62013-04-09 23:06:36 +020048 status = "okay";
49 };
Gregory CLEMENT467f54b2013-04-12 16:29:09 +020050
51 sata@a0000 {
52 nr-ports = <2>;
Thomas Petazzonibf4f9c62013-04-09 23:06:36 +020053 status = "okay";
54 };
Gregory CLEMENT467f54b2013-04-12 16:29:09 +020055
56 mdio {
57 phy0: ethernet-phy@0 {
58 reg = <0>;
59 };
60
61 phy1: ethernet-phy@1 {
62 reg = <1>;
63 };
64
65 phy2: ethernet-phy@2 {
66 reg = <25>;
67 };
68
69 phy3: ethernet-phy@3 {
70 reg = <27>;
71 };
72 };
73
74 ethernet@70000 {
Thomas Petazzonibf4f9c62013-04-09 23:06:36 +020075 status = "okay";
Gregory CLEMENT467f54b2013-04-12 16:29:09 +020076 phy = <&phy0>;
77 phy-mode = "rgmii-id";
78 };
79 ethernet@74000 {
80 status = "okay";
81 phy = <&phy1>;
82 phy-mode = "rgmii-id";
83 };
84 ethernet@30000 {
85 status = "okay";
86 phy = <&phy2>;
87 phy-mode = "sgmii";
88 };
89 ethernet@34000 {
90 status = "okay";
91 phy = <&phy3>;
92 phy-mode = "sgmii";
93 };
94
95 mvsdio@d4000 {
96 pinctrl-0 = <&sdio_pins>;
97 pinctrl-names = "default";
98 status = "okay";
99 /* No CD or WP GPIOs */
Simon Baatzd87b5fb2013-05-13 23:18:58 +0200100 broken-cd;
Gregory CLEMENT467f54b2013-04-12 16:29:09 +0200101 };
102
103 usb@50000 {
104 status = "okay";
105 };
106
107 usb@51000 {
108 status = "okay";
109 };
110
111 usb@52000 {
112 status = "okay";
113 };
114
115 spi0: spi@10600 {
116 status = "okay";
117
118 spi-flash@0 {
119 #address-cells = <1>;
120 #size-cells = <1>;
121 compatible = "m25p64";
122 reg = <0>; /* Chip select 0 */
123 spi-max-frequency = <20000000>;
124 };
125 };
126
127 pcie-controller {
128 status = "okay";
129
130 /*
131 * All 6 slots are physically present as
132 * standard PCIe slots on the board.
133 */
134 pcie@1,0 {
135 /* Port 0, Lane 0 */
136 status = "okay";
137 };
138 pcie@2,0 {
139 /* Port 0, Lane 1 */
140 status = "okay";
141 };
142 pcie@3,0 {
143 /* Port 0, Lane 2 */
144 status = "okay";
145 };
146 pcie@4,0 {
147 /* Port 0, Lane 3 */
148 status = "okay";
149 };
150 pcie@9,0 {
151 /* Port 2, Lane 0 */
152 status = "okay";
153 };
154 pcie@10,0 {
155 /* Port 3, Lane 0 */
156 status = "okay";
157 };
Thomas Petazzonibf4f9c62013-04-09 23:06:36 +0200158 };
159 };
Thomas Petazzoni9ae6f742012-06-13 19:01:28 +0200160 };
161};