blob: c28865d2d7da914fa3535eb0f94c9c7b276896f2 [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/;
Thomas Petazzoni29e74f82014-02-11 18:07:12 +010015#include <dt-bindings/gpio/gpio.h>
Ezequiel Garcia38149882013-07-26 10:17:56 -030016#include "armada-370.dtsi"
Florian Fainelli49122142013-01-09 20:56:07 +010017
18/ {
19 model = "Marvell Armada 370 Reference Design";
20 compatible = "marvell,a370-rd", "marvell,armada370", "marvell,armada-370-xp";
21
22 chosen {
23 bootargs = "console=ttyS0,115200 earlyprintk";
24 };
25
26 memory {
27 device_type = "memory";
28 reg = <0x00000000 0x20000000>; /* 512 MB */
29 };
30
31 soc {
Ezequiel Garcia0cd37542013-07-26 10:17:58 -030032 ranges = <MBUS_ID(0xf0, 0x01) 0 0xd0000000 0x100000
33 MBUS_ID(0x01, 0xe0) 0 0xfff00000 0x100000>;
Ezequiel Garcia5e12a612013-07-26 10:17:57 -030034
Ezequiel Garcia0af83302013-08-08 18:03:09 -030035 pcie-controller {
36 status = "okay";
37
38 /* Internal mini-PCIe connector */
39 pcie@1,0 {
40 /* Port 0, Lane 0 */
41 status = "okay";
42 };
43
44 /* Internal mini-PCIe connector */
45 pcie@2,0 {
46 /* Port 1, Lane 0 */
47 status = "okay";
48 };
49 };
50
Gregory CLEMENT467f54b2013-04-12 16:29:09 +020051 internal-regs {
52 serial@12000 {
53 clock-frequency = <200000000>;
54 status = "okay";
55 };
56 sata@a0000 {
57 nr-ports = <2>;
58 status = "okay";
Florian Fainelli49122142013-01-09 20:56:07 +010059 };
60
Gregory CLEMENT467f54b2013-04-12 16:29:09 +020061 mdio {
62 phy0: ethernet-phy@0 {
63 reg = <0>;
64 };
65
66 phy1: ethernet-phy@1 {
67 reg = <1>;
68 };
69 };
70
71 ethernet@70000 {
72 status = "okay";
73 phy = <&phy0>;
74 phy-mode = "sgmii";
75 };
76 ethernet@74000 {
77 status = "okay";
78 phy = <&phy1>;
79 phy-mode = "rgmii-id";
80 };
81
82 mvsdio@d4000 {
83 pinctrl-0 = <&sdio_pins1>;
84 pinctrl-names = "default";
85 status = "okay";
86 /* No CD or WP GPIOs */
Simon Baatzd87b5fb2013-05-13 23:18:58 +020087 broken-cd;
Gregory CLEMENT467f54b2013-04-12 16:29:09 +020088 };
89
90 usb@50000 {
91 status = "okay";
92 };
93
94 usb@51000 {
95 status = "okay";
96 };
97
98 gpio-keys {
99 compatible = "gpio-keys";
100 #address-cells = <1>;
101 #size-cells = <0>;
102 button@1 {
103 label = "Software Button";
104 linux,code = <116>;
Thomas Petazzoni29e74f82014-02-11 18:07:12 +0100105 gpios = <&gpio0 6 GPIO_ACTIVE_LOW>;
Gregory CLEMENT467f54b2013-04-12 16:29:09 +0200106 };
Florian Fainelli49122142013-01-09 20:56:07 +0100107 };
Ezequiel Garcia69e18e22013-12-11 19:28:39 -0300108
109 nand@d0000 {
110 status = "okay";
111 num-cs = <1>;
112 marvell,nand-keep-config;
113 marvell,nand-enable-arbiter;
114 nand-on-flash-bbt;
115
116 partition@0 {
117 label = "U-Boot";
118 reg = <0 0x800000>;
119 };
120 partition@800000 {
121 label = "Linux";
122 reg = <0x800000 0x800000>;
123 };
124 partition@1000000 {
125 label = "Filesystem";
126 reg = <0x1000000 0x3f000000>;
127 };
128 };
Florian Fainelli49122142013-01-09 20:56:07 +0100129 };
Florian Fainelli49122142013-01-09 20:56:07 +0100130 };
Gregory CLEMENT467f54b2013-04-12 16:29:09 +0200131 };