1279377Simp/*
2279377Simp * Device Tree file for Marvell Armada XP Matrix board
3279377Simp *
4279377Simp * Copyright (C) 2013 Marvell
5279377Simp *
6279377Simp * Lior Amsalem <alior@marvell.com>
7279377Simp *
8279377Simp * This file is dual-licensed: you can use it either under the terms
9279377Simp * of the GPL or the X11 license, at your option. Note that this dual
10279377Simp * licensing only applies to this file, and not this project as a
11279377Simp * whole.
12279377Simp *
13279377Simp *  a) This file is free software; you can redistribute it and/or
14279377Simp *     modify it under the terms of the GNU General Public License as
15279377Simp *     published by the Free Software Foundation; either version 2 of the
16279377Simp *     License, or (at your option) any later version.
17279377Simp *
18279377Simp *     This file is distributed in the hope that it will be useful
19279377Simp *     but WITHOUT ANY WARRANTY; without even the implied warranty of
20279377Simp *     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
21279377Simp *     GNU General Public License for more details.
22279377Simp *
23279377Simp * Or, alternatively
24279377Simp *
25279377Simp *  b) Permission is hereby granted, free of charge, to any person
26279377Simp *     obtaining a copy of this software and associated documentation
27279377Simp *     files (the "Software"), to deal in the Software without
28279377Simp *     restriction, including without limitation the rights to use
29279377Simp *     copy, modify, merge, publish, distribute, sublicense, and/or
30279377Simp *     sell copies of the Software, and to permit persons to whom the
31279377Simp *     Software is furnished to do so, subject to the following
32279377Simp *     conditions:
33279377Simp *
34279377Simp *     The above copyright notice and this permission notice shall be
35279377Simp *     included in all copies or substantial portions of the Software.
36279377Simp *
37279377Simp *     THE SOFTWARE IS PROVIDED , WITHOUT WARRANTY OF ANY KIND
38279377Simp *     EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
39279377Simp *     OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
40279377Simp *     NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
41279377Simp *     HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY
42279377Simp *     WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
43279377Simp *     FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
44279377Simp *     OTHER DEALINGS IN THE SOFTWARE.
45279377Simp */
46279377Simp
47279377Simp/dts-v1/;
48279377Simp#include "armada-xp-mv78460.dtsi"
49279377Simp
50279377Simp/ {
51279377Simp	model = "Marvell Armada XP Matrix Board";
52279377Simp	compatible = "marvell,axp-matrix", "marvell,armadaxp-mv78460", "marvell,armadaxp", "marvell,armada-370-xp";
53279377Simp
54279377Simp	chosen {
55295436Sandrew		stdout-path = "serial0:115200n8";
56279377Simp	};
57279377Simp
58279377Simp	memory {
59279377Simp		device_type = "memory";
60279377Simp		/*
61279377Simp		 * This board has 4 GB of RAM, but the last 256 MB of
62279377Simp		 * RAM are not usable due to the overlap with the MBus
63279377Simp		 * Window address range
64279377Simp		 */
65279377Simp		reg = <0 0x00000000 0 0xf0000000>;
66279377Simp	};
67279377Simp
68279377Simp	soc {
69279377Simp		ranges = <MBUS_ID(0xf0, 0x01) 0 0 0xf1000000 0x100000
70295436Sandrew			  MBUS_ID(0x01, 0x1d) 0 0 0xfff00000 0x100000
71295436Sandrew			  MBUS_ID(0x09, 0x09) 0 0 0xf8100000 0x10000
72295436Sandrew			  MBUS_ID(0x09, 0x05) 0 0 0xf8110000 0x10000>;
73279377Simp
74279377Simp		internal-regs {
75279377Simp			serial@12000 {
76279377Simp				status = "okay";
77279377Simp			};
78279377Simp			serial@12100 {
79279377Simp				status = "okay";
80279377Simp			};
81279377Simp			serial@12200 {
82279377Simp				status = "okay";
83279377Simp			};
84279377Simp			serial@12300 {
85279377Simp				status = "okay";
86279377Simp			};
87279377Simp
88279377Simp			sata@a0000 {
89279377Simp				nr-ports = <2>;
90279377Simp				status = "okay";
91279377Simp			};
92279377Simp
93279377Simp			ethernet@30000 {
94279377Simp				status = "okay";
95279377Simp				phy-mode = "sgmii";
96279377Simp				fixed-link {
97279377Simp					speed = <1000>;
98279377Simp					full-duplex;
99279377Simp				};
100279377Simp			};
101279377Simp
102279377Simp			pcie-controller {
103279377Simp				status = "okay";
104279377Simp
105279377Simp				pcie@1,0 {
106279377Simp					/* Port 0, Lane 0 */
107279377Simp					status = "okay";
108279377Simp				};
109279377Simp			};
110279377Simp
111279377Simp			usb@50000 {
112279377Simp				status = "okay";
113279377Simp			};
114279377Simp		};
115279377Simp	};
116279377Simp};
117