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