xref: /freebsd/sys/contrib/device-tree/src/arm/marvell/armada-388-rd.dts (revision f126890ac5386406dadf7c4cfa9566cbb56537c5)
1*f126890aSEmmanuel Vadot// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2*f126890aSEmmanuel Vadot/*
3*f126890aSEmmanuel Vadot * Device Tree file for Marvell Armada 388 Reference Design board
4*f126890aSEmmanuel Vadot * (RD-88F6820-AP)
5*f126890aSEmmanuel Vadot *
6*f126890aSEmmanuel Vadot *  Copyright (C) 2014 Marvell
7*f126890aSEmmanuel Vadot *
8*f126890aSEmmanuel Vadot * Gregory CLEMENT <gregory.clement@free-electrons.com>
9*f126890aSEmmanuel Vadot * Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10*f126890aSEmmanuel Vadot */
11*f126890aSEmmanuel Vadot
12*f126890aSEmmanuel Vadot/dts-v1/;
13*f126890aSEmmanuel Vadot#include "armada-388.dtsi"
14*f126890aSEmmanuel Vadot
15*f126890aSEmmanuel Vadot/ {
16*f126890aSEmmanuel Vadot	model = "Marvell Armada 385 Reference Design";
17*f126890aSEmmanuel Vadot	compatible = "marvell,a385-rd", "marvell,armada388",
18*f126890aSEmmanuel Vadot		"marvell,armada385","marvell,armada380";
19*f126890aSEmmanuel Vadot
20*f126890aSEmmanuel Vadot	chosen {
21*f126890aSEmmanuel Vadot		stdout-path = "serial0:115200n8";
22*f126890aSEmmanuel Vadot	};
23*f126890aSEmmanuel Vadot
24*f126890aSEmmanuel Vadot	memory {
25*f126890aSEmmanuel Vadot		device_type = "memory";
26*f126890aSEmmanuel Vadot		reg = <0x00000000 0x10000000>; /* 256 MB */
27*f126890aSEmmanuel Vadot	};
28*f126890aSEmmanuel Vadot
29*f126890aSEmmanuel Vadot	soc {
30*f126890aSEmmanuel Vadot		ranges = <MBUS_ID(0xf0, 0x01) 0 0xf1000000 0x100000
31*f126890aSEmmanuel Vadot			  MBUS_ID(0x01, 0x1d) 0 0xfff00000 0x100000
32*f126890aSEmmanuel Vadot			  MBUS_ID(0x09, 0x19) 0 0xf1100000 0x10000
33*f126890aSEmmanuel Vadot			  MBUS_ID(0x09, 0x15) 0 0xf1110000 0x10000>;
34*f126890aSEmmanuel Vadot
35*f126890aSEmmanuel Vadot		internal-regs {
36*f126890aSEmmanuel Vadot			i2c@11000 {
37*f126890aSEmmanuel Vadot				status = "okay";
38*f126890aSEmmanuel Vadot				clock-frequency = <100000>;
39*f126890aSEmmanuel Vadot			};
40*f126890aSEmmanuel Vadot
41*f126890aSEmmanuel Vadot			sdhci@d8000 {
42*f126890aSEmmanuel Vadot				pinctrl-names = "default";
43*f126890aSEmmanuel Vadot				pinctrl-0 = <&sdhci_pins>;
44*f126890aSEmmanuel Vadot				broken-cd;
45*f126890aSEmmanuel Vadot				no-1-8-v;
46*f126890aSEmmanuel Vadot				wp-inverted;
47*f126890aSEmmanuel Vadot				bus-width = <8>;
48*f126890aSEmmanuel Vadot				status = "okay";
49*f126890aSEmmanuel Vadot			};
50*f126890aSEmmanuel Vadot
51*f126890aSEmmanuel Vadot			serial@12000 {
52*f126890aSEmmanuel Vadot				status = "okay";
53*f126890aSEmmanuel Vadot			};
54*f126890aSEmmanuel Vadot
55*f126890aSEmmanuel Vadot			ethernet@30000 {
56*f126890aSEmmanuel Vadot				status = "okay";
57*f126890aSEmmanuel Vadot				phy = <&phy0>;
58*f126890aSEmmanuel Vadot				phy-mode = "rgmii-id";
59*f126890aSEmmanuel Vadot			};
60*f126890aSEmmanuel Vadot
61*f126890aSEmmanuel Vadot			ethernet@70000 {
62*f126890aSEmmanuel Vadot				status = "okay";
63*f126890aSEmmanuel Vadot				phy = <&phy1>;
64*f126890aSEmmanuel Vadot				phy-mode = "rgmii-id";
65*f126890aSEmmanuel Vadot			};
66*f126890aSEmmanuel Vadot
67*f126890aSEmmanuel Vadot
68*f126890aSEmmanuel Vadot			mdio@72004 {
69*f126890aSEmmanuel Vadot				phy0: ethernet-phy@0 {
70*f126890aSEmmanuel Vadot					reg = <0>;
71*f126890aSEmmanuel Vadot				};
72*f126890aSEmmanuel Vadot
73*f126890aSEmmanuel Vadot				phy1: ethernet-phy@1 {
74*f126890aSEmmanuel Vadot					reg = <1>;
75*f126890aSEmmanuel Vadot				};
76*f126890aSEmmanuel Vadot			};
77*f126890aSEmmanuel Vadot
78*f126890aSEmmanuel Vadot			usb3@f0000 {
79*f126890aSEmmanuel Vadot				status = "okay";
80*f126890aSEmmanuel Vadot			};
81*f126890aSEmmanuel Vadot		};
82*f126890aSEmmanuel Vadot
83*f126890aSEmmanuel Vadot		pcie {
84*f126890aSEmmanuel Vadot			status = "okay";
85*f126890aSEmmanuel Vadot			/*
86*f126890aSEmmanuel Vadot			 * One PCIe units is accessible through
87*f126890aSEmmanuel Vadot			 * standard PCIe slot on the board.
88*f126890aSEmmanuel Vadot			 */
89*f126890aSEmmanuel Vadot			pcie@1,0 {
90*f126890aSEmmanuel Vadot				/* Port 0, Lane 0 */
91*f126890aSEmmanuel Vadot				status = "okay";
92*f126890aSEmmanuel Vadot			};
93*f126890aSEmmanuel Vadot		};
94*f126890aSEmmanuel Vadot	};
95*f126890aSEmmanuel Vadot};
96*f126890aSEmmanuel Vadot
97*f126890aSEmmanuel Vadot&spi0 {
98*f126890aSEmmanuel Vadot	status = "okay";
99*f126890aSEmmanuel Vadot
100*f126890aSEmmanuel Vadot	flash@0 {
101*f126890aSEmmanuel Vadot		#address-cells = <1>;
102*f126890aSEmmanuel Vadot		#size-cells = <1>;
103*f126890aSEmmanuel Vadot		compatible = "st,m25p128", "jedec,spi-nor";
104*f126890aSEmmanuel Vadot		reg = <0>; /* Chip select 0 */
105*f126890aSEmmanuel Vadot		spi-max-frequency = <108000000>;
106*f126890aSEmmanuel Vadot	};
107*f126890aSEmmanuel Vadot};
108*f126890aSEmmanuel Vadot
109