blob: 22df970df2a1c88c9150b3800375b9abdb7d1bd5 [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";
Sebastian Hesselbarthab833612014-04-30 14:56:30 +020025 stdout-path = &uart0;
Thomas Petazzoni0d0632f2013-05-15 15:37:01 +020026 };
27
28 ocp@f1000000 {
29 pinctrl@10000 {
30 pmx_sdio_gpios: pmx-sdio-gpios {
31 marvell,pins = "mpp37", "mpp38";
32 marvell,function = "gpio";
33 };
34 };
35
36 serial@12000 {
37 pinctrl-0 = <&pmx_uart0>;
38 pinctrl-names = "default";
39 clock-frequency = <200000000>;
40 status = "ok";
41 };
42
Thomas Petazzoni0d0632f2013-05-15 15:37:01 +020043 sata@80000 {
44 nr-ports = <2>;
45 status = "okay";
46 };
47
48 ehci@50000 {
49 status = "okay";
50 };
51
52 mvsdio@90000 {
53 pinctrl-0 = <&pmx_sdio_gpios>;
54 pinctrl-names = "default";
Andrew Lunn3a31f2d72013-12-04 16:51:39 +010055 wp-gpios = <&gpio1 5 GPIO_ACTIVE_HIGH>;
56 cd-gpios = <&gpio1 6 GPIO_ACTIVE_HIGH>;
Thomas Petazzoni0d0632f2013-05-15 15:37:01 +020057 status = "okay";
58 };
Thomas Petazzoni0d0632f2013-05-15 15:37:01 +020059 };
60};
Sebastian Hesselbarth876e2332013-07-07 22:34:56 +020061
Jason Gunthorpe7045ff52013-09-17 12:44:33 -060062&nand {
63 pinctrl-0 = <&pmx_nand>;
64 pinctrl-names = "default";
65 chip-delay = <25>;
66 status = "okay";
67
68 partition@0 {
69 label = "uboot";
70 reg = <0x0 0x100000>;
71 };
72
73 partition@100000 {
74 label = "uImage";
75 reg = <0x100000 0x400000>;
76 };
77
78 partition@500000 {
79 label = "root";
80 reg = <0x500000 0x1fb00000>;
81 };
82};
83
Sebastian Hesselbarth876e2332013-07-07 22:34:56 +020084&mdio {
85 status = "okay";
86
87 ethphy0: ethernet-phy@8 {
Sebastian Hesselbarth876e2332013-07-07 22:34:56 +020088 reg = <8>;
89 };
90};
91
92&eth0 {
93 status = "okay";
94 ethernet0-port@0 {
95 phy-handle = <&ethphy0>;
96 };
97};