xref: /freebsd-src/sys/contrib/device-tree/src/arm/marvell/kirkwood-db.dtsi (revision f126890ac5386406dadf7c4cfa9566cbb56537c5)
1*f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0
2*f126890aSEmmanuel Vadot/*
3*f126890aSEmmanuel Vadot * Marvell DB-{88F6281,88F6282}-BP Development Board Setup
4*f126890aSEmmanuel Vadot *
5*f126890aSEmmanuel Vadot * Saeed Bishara <saeed@marvell.com>
6*f126890aSEmmanuel Vadot * Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7*f126890aSEmmanuel Vadot *
8*f126890aSEmmanuel Vadot * This file contains the definitions that are common between the 6281
9*f126890aSEmmanuel Vadot * and 6282 variants of the Marvell Kirkwood Development Board.
10*f126890aSEmmanuel Vadot */
11*f126890aSEmmanuel Vadot
12*f126890aSEmmanuel Vadot#include "kirkwood.dtsi"
13*f126890aSEmmanuel Vadot
14*f126890aSEmmanuel Vadot/ {
15*f126890aSEmmanuel Vadot	memory {
16*f126890aSEmmanuel Vadot		device_type = "memory";
17*f126890aSEmmanuel Vadot		reg = <0x00000000 0x20000000>; /* 512 MB */
18*f126890aSEmmanuel Vadot	};
19*f126890aSEmmanuel Vadot
20*f126890aSEmmanuel Vadot	chosen {
21*f126890aSEmmanuel Vadot		bootargs = "console=ttyS0,115200n8 earlyprintk";
22*f126890aSEmmanuel Vadot		stdout-path = &uart0;
23*f126890aSEmmanuel Vadot	};
24*f126890aSEmmanuel Vadot
25*f126890aSEmmanuel Vadot	ocp@f1000000 {
26*f126890aSEmmanuel Vadot		pin-controller@10000 {
27*f126890aSEmmanuel Vadot			pmx_sdio_gpios: pmx-sdio-gpios {
28*f126890aSEmmanuel Vadot				marvell,pins = "mpp37", "mpp38";
29*f126890aSEmmanuel Vadot				marvell,function = "gpio";
30*f126890aSEmmanuel Vadot			};
31*f126890aSEmmanuel Vadot		};
32*f126890aSEmmanuel Vadot
33*f126890aSEmmanuel Vadot		serial@12000 {
34*f126890aSEmmanuel Vadot			status = "okay";
35*f126890aSEmmanuel Vadot		};
36*f126890aSEmmanuel Vadot
37*f126890aSEmmanuel Vadot		sata@80000 {
38*f126890aSEmmanuel Vadot			nr-ports = <2>;
39*f126890aSEmmanuel Vadot			status = "okay";
40*f126890aSEmmanuel Vadot		};
41*f126890aSEmmanuel Vadot
42*f126890aSEmmanuel Vadot		ehci@50000 {
43*f126890aSEmmanuel Vadot			status = "okay";
44*f126890aSEmmanuel Vadot		};
45*f126890aSEmmanuel Vadot
46*f126890aSEmmanuel Vadot		mvsdio@90000 {
47*f126890aSEmmanuel Vadot			pinctrl-0 = <&pmx_sdio_gpios>;
48*f126890aSEmmanuel Vadot			pinctrl-names = "default";
49*f126890aSEmmanuel Vadot			wp-gpios = <&gpio1 5 GPIO_ACTIVE_HIGH>;
50*f126890aSEmmanuel Vadot			cd-gpios = <&gpio1 6 GPIO_ACTIVE_HIGH>;
51*f126890aSEmmanuel Vadot			status = "okay";
52*f126890aSEmmanuel Vadot		};
53*f126890aSEmmanuel Vadot	};
54*f126890aSEmmanuel Vadot};
55*f126890aSEmmanuel Vadot
56*f126890aSEmmanuel Vadot&nand {
57*f126890aSEmmanuel Vadot	chip-delay = <25>;
58*f126890aSEmmanuel Vadot	status = "okay";
59*f126890aSEmmanuel Vadot
60*f126890aSEmmanuel Vadot	partition@0 {
61*f126890aSEmmanuel Vadot		label = "uboot";
62*f126890aSEmmanuel Vadot		reg = <0x0 0x100000>;
63*f126890aSEmmanuel Vadot	};
64*f126890aSEmmanuel Vadot
65*f126890aSEmmanuel Vadot	partition@100000 {
66*f126890aSEmmanuel Vadot		label = "uImage";
67*f126890aSEmmanuel Vadot		reg = <0x100000 0x400000>;
68*f126890aSEmmanuel Vadot	};
69*f126890aSEmmanuel Vadot
70*f126890aSEmmanuel Vadot	partition@500000 {
71*f126890aSEmmanuel Vadot		label = "root";
72*f126890aSEmmanuel Vadot		reg = <0x500000 0x1fb00000>;
73*f126890aSEmmanuel Vadot	};
74*f126890aSEmmanuel Vadot};
75*f126890aSEmmanuel Vadot
76*f126890aSEmmanuel Vadot&mdio {
77*f126890aSEmmanuel Vadot	status = "okay";
78*f126890aSEmmanuel Vadot
79*f126890aSEmmanuel Vadot	ethphy0: ethernet-phy@8 {
80*f126890aSEmmanuel Vadot		reg = <8>;
81*f126890aSEmmanuel Vadot	};
82*f126890aSEmmanuel Vadot};
83*f126890aSEmmanuel Vadot
84*f126890aSEmmanuel Vadot&eth0 {
85*f126890aSEmmanuel Vadot	status = "okay";
86*f126890aSEmmanuel Vadot	ethernet0-port@0 {
87*f126890aSEmmanuel Vadot		phy-handle = <&ethphy0>;
88*f126890aSEmmanuel Vadot	};
89*f126890aSEmmanuel Vadot};
90