blob: 053aa20fb30f88a0e13be1878e9d9d6ba241c4c2 [file] [log] [blame]
Thomas Petazzoni0d0632f2013-05-15 15:37:01 +02001/*
2 * Marvell DB-{88F6281,88F6282}-BP Development Board Setup
3 *
4 * Saeed Bishara <saeed@marvell.com>
5 * Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 *
7 * This file is licensed under the terms of the GNU General Public
8 * License version 2. This program is licensed "as is" without any
9 * warranty of any kind, whether express or implied.
10 *
11 * This file contains the definitions that are common between the 6281
12 * and 6282 variants of the Marvell Kirkwood Development Board.
13 */
14
Ezequiel Garcia0ab61292013-07-26 10:18:02 -030015#include "kirkwood.dtsi"
Thomas Petazzoni0d0632f2013-05-15 15:37:01 +020016
17/ {
18 memory {
19 device_type = "memory";
20 reg = <0x00000000 0x20000000>; /* 512 MB */
21 };
22
23 chosen {
24 bootargs = "console=ttyS0,115200n8 earlyprintk";
25 };
26
27 ocp@f1000000 {
28 pinctrl@10000 {
29 pmx_sdio_gpios: pmx-sdio-gpios {
30 marvell,pins = "mpp37", "mpp38";
31 marvell,function = "gpio";
32 };
33 };
34
35 serial@12000 {
36 pinctrl-0 = <&pmx_uart0>;
37 pinctrl-names = "default";
38 clock-frequency = <200000000>;
39 status = "ok";
40 };
41
Thomas Petazzoni0d0632f2013-05-15 15:37:01 +020042 sata@80000 {
43 nr-ports = <2>;
44 status = "okay";
45 };
46
47 ehci@50000 {
48 status = "okay";
49 };
50
51 mvsdio@90000 {
52 pinctrl-0 = <&pmx_sdio_gpios>;
53 pinctrl-names = "default";
54 wp-gpios = <&gpio1 5 0>;
55 cd-gpios = <&gpio1 6 0>;
56 status = "okay";
57 };
Thomas Petazzoni0d0632f2013-05-15 15:37:01 +020058 };
59};
Sebastian Hesselbarth876e2332013-07-07 22:34:56 +020060
Jason Gunthorpe7045ff52013-09-17 12:44:33 -060061&nand {
62 pinctrl-0 = <&pmx_nand>;
63 pinctrl-names = "default";
64 chip-delay = <25>;
65 status = "okay";
66
67 partition@0 {
68 label = "uboot";
69 reg = <0x0 0x100000>;
70 };
71
72 partition@100000 {
73 label = "uImage";
74 reg = <0x100000 0x400000>;
75 };
76
77 partition@500000 {
78 label = "root";
79 reg = <0x500000 0x1fb00000>;
80 };
81};
82
Sebastian Hesselbarth876e2332013-07-07 22:34:56 +020083&mdio {
84 status = "okay";
85
86 ethphy0: ethernet-phy@8 {
87 device_type = "ethernet-phy";
88 reg = <8>;
89 };
90};
91
92&eth0 {
93 status = "okay";
94 ethernet0-port@0 {
95 phy-handle = <&ethphy0>;
96 };
97};