1adbc3695SGregory CLEMENT/*
2adbc3695SGregory CLEMENT * Device Tree file for Marvell Armada 3720 development board
3adbc3695SGregory CLEMENT * (DB-88F3720-DDR3)
4adbc3695SGregory CLEMENT * Copyright (C) 2016 Marvell
5adbc3695SGregory CLEMENT *
6adbc3695SGregory CLEMENT * Gregory CLEMENT <gregory.clement@free-electrons.com>
7adbc3695SGregory CLEMENT *
8adbc3695SGregory CLEMENT * This file is dual-licensed: you can use it either under the terms
9adbc3695SGregory CLEMENT * of the GPL or the X11 license, at your option. Note that this dual
10adbc3695SGregory CLEMENT * licensing only applies to this file, and not this project as a
11adbc3695SGregory CLEMENT * whole.
12adbc3695SGregory CLEMENT *
13adbc3695SGregory CLEMENT *  a) This file is free software; you can redistribute it and/or
14adbc3695SGregory CLEMENT *     modify it under the terms of the GNU General Public License as
15adbc3695SGregory CLEMENT *     published by the Free Software Foundation; either version 2 of the
16adbc3695SGregory CLEMENT *     License, or (at your option) any later version.
17adbc3695SGregory CLEMENT *
18adbc3695SGregory CLEMENT *     This file is distributed in the hope that it will be useful
19adbc3695SGregory CLEMENT *     but WITHOUT ANY WARRANTY; without even the implied warranty of
20adbc3695SGregory CLEMENT *     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
21adbc3695SGregory CLEMENT *     GNU General Public License for more details.
22adbc3695SGregory CLEMENT *
23adbc3695SGregory CLEMENT * Or, alternatively
24adbc3695SGregory CLEMENT *
25adbc3695SGregory CLEMENT *  b) Permission is hereby granted, free of charge, to any person
26adbc3695SGregory CLEMENT *     obtaining a copy of this software and associated documentation
27adbc3695SGregory CLEMENT *     files (the "Software"), to deal in the Software without
28adbc3695SGregory CLEMENT *     restriction, including without limitation the rights to use
29adbc3695SGregory CLEMENT *     copy, modify, merge, publish, distribute, sublicense, and/or
30adbc3695SGregory CLEMENT *     sell copies of the Software, and to permit persons to whom the
31adbc3695SGregory CLEMENT *     Software is furnished to do so, subject to the following
32adbc3695SGregory CLEMENT *     conditions:
33adbc3695SGregory CLEMENT *
34adbc3695SGregory CLEMENT *     The above copyright notice and this permission notice shall be
35adbc3695SGregory CLEMENT *     included in all copies or substantial portions of the Software.
36adbc3695SGregory CLEMENT *
37adbc3695SGregory CLEMENT *     THE SOFTWARE IS PROVIDED , WITHOUT WARRANTY OF ANY KIND
38adbc3695SGregory CLEMENT *     EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
39adbc3695SGregory CLEMENT *     OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
40adbc3695SGregory CLEMENT *     NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
41adbc3695SGregory CLEMENT *     HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY
42adbc3695SGregory CLEMENT *     WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
43adbc3695SGregory CLEMENT *     FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
44adbc3695SGregory CLEMENT *     OTHER DEALINGS IN THE SOFTWARE.
45adbc3695SGregory CLEMENT */
46adbc3695SGregory CLEMENT
47adbc3695SGregory CLEMENT/dts-v1/;
48adbc3695SGregory CLEMENT
49adbc3695SGregory CLEMENT#include "armada-372x.dtsi"
50adbc3695SGregory CLEMENT
51adbc3695SGregory CLEMENT/ {
52adbc3695SGregory CLEMENT	model = "Marvell Armada 3720 Development Board DB-88F3720-DDR3";
53adbc3695SGregory CLEMENT	compatible = "marvell,armada-3720-db", "marvell,armada3720", "marvell,armada3710";
54adbc3695SGregory CLEMENT
55adbc3695SGregory CLEMENT	chosen {
56adbc3695SGregory CLEMENT		stdout-path = "serial0:115200n8";
57adbc3695SGregory CLEMENT	};
58adbc3695SGregory CLEMENT
5936845345SGregory CLEMENT	memory@0 {
60adbc3695SGregory CLEMENT		device_type = "memory";
61adbc3695SGregory CLEMENT		reg = <0x00000000 0x00000000 0x00000000 0x20000000>;
62adbc3695SGregory CLEMENT	};
637b01cff5SAndreas Färber};
64adbc3695SGregory CLEMENT
657b01cff5SAndreas Färber/* CON3 */
667b01cff5SAndreas Färber&sata {
677b01cff5SAndreas Färber	status = "okay";
687b01cff5SAndreas Färber};
697b01cff5SAndreas Färber
70bc357393SRomain Perier&spi0 {
71bc357393SRomain Perier	status = "okay";
72bc357393SRomain Perier
73bc357393SRomain Perier	m25p80@0 {
74bc357393SRomain Perier		compatible = "jedec,spi-nor";
75bc357393SRomain Perier		reg = <0>;
76bc357393SRomain Perier		spi-max-frequency = <108000000>;
77bc357393SRomain Perier		spi-rx-bus-width = <4>;
78bc357393SRomain Perier		spi-tx-bus-width = <4>;
79bc357393SRomain Perier
80bc357393SRomain Perier		partitions {
81bc357393SRomain Perier			compatible = "fixed-partitions";
82bc357393SRomain Perier			#address-cells = <1>;
83bc357393SRomain Perier			#size-cells = <1>;
84bc357393SRomain Perier			partition@0 {
85bc357393SRomain Perier				label = "bootloader";
86bc357393SRomain Perier				reg = <0x0 0x200000>;
87bc357393SRomain Perier			};
88bc357393SRomain Perier			partition@200000 {
89bc357393SRomain Perier				label = "U-boot Env";
90bc357393SRomain Perier				reg = <0x200000 0x10000>;
91bc357393SRomain Perier			};
92bc357393SRomain Perier			partition@210000 {
93bc357393SRomain Perier				label = "Linux";
94bc357393SRomain Perier				reg = <0x210000 0xDF0000>;
95bc357393SRomain Perier			};
96bc357393SRomain Perier		};
97bc357393SRomain Perier	};
98bc357393SRomain Perier};
99bc357393SRomain Perier
1007b01cff5SAndreas Färber/* Exported on the micro USB connector CON32 through an FTDI */
1017b01cff5SAndreas Färber&uart0 {
102adbc3695SGregory CLEMENT	status = "okay";
103adbc3695SGregory CLEMENT};
104adbc3695SGregory CLEMENT
105adbc3695SGregory CLEMENT/* CON31 */
1067b01cff5SAndreas Färber&usb3 {
107adbc3695SGregory CLEMENT	status = "okay";
108adbc3695SGregory CLEMENT};
10976f6386bSThomas Petazzoni
11076f6386bSThomas Petazzoni/* CON17 (PCIe) / CON12 (mini-PCIe) */
11176f6386bSThomas Petazzoni&pcie0 {
11276f6386bSThomas Petazzoni	status = "okay";
11376f6386bSThomas Petazzoni};
114ea7ae885SGregory CLEMENT
115ea7ae885SGregory CLEMENT&mdio {
116ea7ae885SGregory CLEMENT	status = "okay";
117ea7ae885SGregory CLEMENT	phy0: ethernet-phy@0 {
118ea7ae885SGregory CLEMENT		reg = <0>;
119ea7ae885SGregory CLEMENT	};
120ea7ae885SGregory CLEMENT
121ea7ae885SGregory CLEMENT	phy1: ethernet-phy@1 {
122ea7ae885SGregory CLEMENT		reg = <1>;
123ea7ae885SGregory CLEMENT	};
124ea7ae885SGregory CLEMENT};
125ea7ae885SGregory CLEMENT
126ea7ae885SGregory CLEMENT&eth0 {
127ea7ae885SGregory CLEMENT	phy-mode = "rgmii-id";
128ea7ae885SGregory CLEMENT	phy = <&phy0>;
129ea7ae885SGregory CLEMENT	status = "okay";
130ea7ae885SGregory CLEMENT};
131ea7ae885SGregory CLEMENT
132ea7ae885SGregory CLEMENT&eth1 {
133ea7ae885SGregory CLEMENT	phy-mode = "sgmii";
134ea7ae885SGregory CLEMENT	phy = <&phy1>;
135ea7ae885SGregory CLEMENT	status = "okay";
136ea7ae885SGregory CLEMENT};
137