blob: f81810a596292ffa4494d5b50b34bdc974118ecf [file] [log] [blame]
Florian Fainelli49122142013-01-09 20:56:07 +01001/*
2 * Device Tree file for Marvell Armada 370 Reference Design board
3 * (RD-88F6710-A1)
4 *
5 * Copied from arch/arm/boot/dts/armada-370-db.dts
6 *
7 * Copyright (C) 2013 Florian Fainelli <florian@openwrt.org>
8 *
9 * This file is licensed under the terms of the GNU General Public
10 * License version 2. This program is licensed "as is" without any
11 * warranty of any kind, whether express or implied.
12 */
13
14/dts-v1/;
Ezequiel Garcia38149882013-07-26 10:17:56 -030015#include "armada-370.dtsi"
Florian Fainelli49122142013-01-09 20:56:07 +010016
17/ {
18 model = "Marvell Armada 370 Reference Design";
19 compatible = "marvell,a370-rd", "marvell,armada370", "marvell,armada-370-xp";
20
21 chosen {
22 bootargs = "console=ttyS0,115200 earlyprintk";
23 };
24
25 memory {
26 device_type = "memory";
27 reg = <0x00000000 0x20000000>; /* 512 MB */
28 };
29
30 soc {
Ezequiel Garcia0cd37542013-07-26 10:17:58 -030031 ranges = <MBUS_ID(0xf0, 0x01) 0 0xd0000000 0x100000
32 MBUS_ID(0x01, 0xe0) 0 0xfff00000 0x100000>;
Ezequiel Garcia5e12a612013-07-26 10:17:57 -030033
Ezequiel Garcia0af83302013-08-08 18:03:09 -030034 pcie-controller {
35 status = "okay";
36
37 /* Internal mini-PCIe connector */
38 pcie@1,0 {
39 /* Port 0, Lane 0 */
40 status = "okay";
41 };
42
43 /* Internal mini-PCIe connector */
44 pcie@2,0 {
45 /* Port 1, Lane 0 */
46 status = "okay";
47 };
48 };
49
Gregory CLEMENT467f54b2013-04-12 16:29:09 +020050 internal-regs {
51 serial@12000 {
52 clock-frequency = <200000000>;
53 status = "okay";
54 };
55 sata@a0000 {
56 nr-ports = <2>;
57 status = "okay";
Florian Fainelli49122142013-01-09 20:56:07 +010058 };
59
Gregory CLEMENT467f54b2013-04-12 16:29:09 +020060 mdio {
61 phy0: ethernet-phy@0 {
62 reg = <0>;
63 };
64
65 phy1: ethernet-phy@1 {
66 reg = <1>;
67 };
68 };
69
70 ethernet@70000 {
71 status = "okay";
72 phy = <&phy0>;
73 phy-mode = "sgmii";
74 };
75 ethernet@74000 {
76 status = "okay";
77 phy = <&phy1>;
78 phy-mode = "rgmii-id";
79 };
80
81 mvsdio@d4000 {
82 pinctrl-0 = <&sdio_pins1>;
83 pinctrl-names = "default";
84 status = "okay";
85 /* No CD or WP GPIOs */
Simon Baatzd87b5fb2013-05-13 23:18:58 +020086 broken-cd;
Gregory CLEMENT467f54b2013-04-12 16:29:09 +020087 };
88
89 usb@50000 {
90 status = "okay";
91 };
92
93 usb@51000 {
94 status = "okay";
95 };
96
97 gpio-keys {
98 compatible = "gpio-keys";
99 #address-cells = <1>;
100 #size-cells = <0>;
101 button@1 {
102 label = "Software Button";
103 linux,code = <116>;
104 gpios = <&gpio0 6 1>;
105 };
Florian Fainelli49122142013-01-09 20:56:07 +0100106 };
107 };
Florian Fainelli49122142013-01-09 20:56:07 +0100108 };
Gregory CLEMENT467f54b2013-04-12 16:29:09 +0200109 };