blob: 8e53b25b55084ed3b8712156f21d357510be207c [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";
29 reg = <0x00000000 0x80000000>; /* 2 GB */
30 };
31
32 soc {
33 serial@d0012000 {
34 clock-frequency = <250000000>;
35 status = "okay";
36 };
37 serial@d0012100 {
38 clock-frequency = <250000000>;
39 status = "okay";
40 };
41 serial@d0012200 {
42 clock-frequency = <250000000>;
43 status = "okay";
44 };
45 serial@d0012300 {
46 clock-frequency = <250000000>;
47 status = "okay";
48 };
Thomas Petazzonif01959a2012-09-04 15:06:44 +020049
Gregory CLEMENT3d82daa2012-10-26 14:30:49 +020050 sata@d00a0000 {
51 nr-ports = <2>;
52 status = "okay";
53 };
Thomas Petazzoni089c38e2012-11-20 23:35:16 +010054
Thomas Petazzonif01959a2012-09-04 15:06:44 +020055 mdio {
56 phy0: ethernet-phy@0 {
57 reg = <0>;
58 };
59
60 phy1: ethernet-phy@1 {
61 reg = <1>;
62 };
63
64 phy2: ethernet-phy@2 {
65 reg = <25>;
66 };
67
68 phy3: ethernet-phy@3 {
69 reg = <27>;
70 };
71 };
72
73 ethernet@d0070000 {
Thomas Petazzonif01959a2012-09-04 15:06:44 +020074 status = "okay";
75 phy = <&phy0>;
76 phy-mode = "rgmii-id";
77 };
78 ethernet@d0074000 {
Thomas Petazzonif01959a2012-09-04 15:06:44 +020079 status = "okay";
80 phy = <&phy1>;
81 phy-mode = "rgmii-id";
82 };
83 ethernet@d0030000 {
Thomas Petazzonif01959a2012-09-04 15:06:44 +020084 status = "okay";
85 phy = <&phy2>;
86 phy-mode = "sgmii";
87 };
88 ethernet@d0034000 {
Thomas Petazzonif01959a2012-09-04 15:06:44 +020089 status = "okay";
90 phy = <&phy3>;
91 phy-mode = "sgmii";
92 };
Thomas Petazzoni9ae6f742012-06-13 19:01:28 +020093 };
94};