2 * Device Tree file for Marvell Armada 3720 development board
4 * Copyright (C) 2016 Marvell
6 * Gregory CLEMENT <gregory.clement@free-electrons.com>
8 * This file is dual-licensed: you can use it either under the terms
9 * of the GPL or the X11 license, at your option. Note that this dual
10 * licensing only applies to this file, and not this project as a
13 * a) This file is free software; you can redistribute it and/or
14 * modify it under the terms of the GNU General Public License as
15 * published by the Free Software Foundation; either version 2 of the
16 * License, or (at your option) any later version.
18 * This file is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU General Public License for more details.
25 * b) Permission is hereby granted, free of charge, to any person
26 * obtaining a copy of this software and associated documentation
27 * files (the "Software"), to deal in the Software without
28 * restriction, including without limitation the rights to use,
29 * copy, modify, merge, publish, distribute, sublicense, and/or
30 * sell copies of the Software, and to permit persons to whom the
31 * Software is furnished to do so, subject to the following
34 * The above copyright notice and this permission notice shall be
35 * included in all copies or substantial portions of the Software.
37 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
38 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
39 * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
40 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
41 * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
42 * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
43 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
44 * OTHER DEALINGS IN THE SOFTWARE.
46 * This file is compatible with the version 1.4 and the version 2.0 of
47 * the board, however the CON numbers are different between the 2
53 #include <dt-bindings/gpio/gpio.h>
54 #include "armada-372x.dtsi"
57 model = "Marvell Armada 3720 Development Board DB-88F3720-DDR3";
58 compatible = "marvell,armada-3720-db", "marvell,armada3720", "marvell,armada3710";
61 stdout-path = "serial0:115200n8";
65 device_type = "memory";
66 reg = <0x00000000 0x00000000 0x00000000 0x20000000>;
69 exp_usb3_vbus: usb3-vbus {
70 compatible = "regulator-fixed";
71 regulator-name = "usb3-vbus";
72 regulator-min-microvolt = <5000000>;
73 regulator-max-microvolt = <5000000>;
76 gpio = <&gpio_exp 1 GPIO_ACTIVE_HIGH>;
80 compatible = "usb-nop-xceiv";
81 vcc-supply = <&exp_usb3_vbus>;
84 vcc_sd_reg1: regulator {
85 compatible = "regulator-gpio";
86 regulator-name = "vcc_sd1";
87 regulator-min-microvolt = <1800000>;
88 regulator-max-microvolt = <3300000>;
91 gpios = <&gpiosb 23 GPIO_ACTIVE_HIGH>;
98 vcc_sd_reg2: regulator-vmcc {
99 compatible = "regulator-fixed";
100 regulator-name = "vcc_sd2";
101 regulator-min-microvolt = <3300000>;
102 regulator-max-microvolt = <3300000>;
105 gpio = <&gpio_exp 4 GPIO_ACTIVE_HIGH>;
109 /* Gigabit module on CON19(V2.0)/CON21(V1.4) */
111 pinctrl-names = "default";
112 pinctrl-0 = <&rgmii_pins>;
113 phy-mode = "rgmii-id";
118 /* Gigabit module on CON18(V2.0)/CON20(V1.4) */
126 pinctrl-names = "default";
127 pinctrl-0 = <&i2c1_pins>;
130 gpio_exp: pca9555@22 {
131 compatible = "nxp,pca9555";
137 * IO0_0: PWR_EN_USB2 IO1_0: PWR_EN_VTT
138 * IO0_1: PWR_EN_USB23 IO1_1: MPCIE_WDISABLE
139 * IO0_2: PWR_EN_SATA IO1_2: RGMII_DEV_RSTN
140 * IO0_3: PWR_EN_PCIE IO1_3: SGMII_DEV_RSTN
143 * IO0_6: PWR_EN_RGMII IO1_6: SATA_USB3.0_SEL
144 * IO0_7: PWR_EN_SGMII IO1_7: PWR_MCI_PS
149 /* PT7C4337A from pericom fully compatible with the ds1337 */
150 compatible = "dallas,ds1337";
157 phy0: ethernet-phy@0 {
161 phy1: ethernet-phy@1 {
166 /* CON15(V2.0)/CON17(V1.4) : PCIe / CON15(V2.0)/CON12(V1.4) :mini-PCIe */
181 marvell,pad-type = "fixed-1-8v";
185 /* SD slot module on CON14(V2.0)/CON15(V1.4) */
188 cd-gpios = <&gpiosb 2 GPIO_ACTIVE_LOW>;
190 marvell,pad-type = "sd";
191 vqmmc-supply = <&vcc_sd_reg1>;
192 vmmc-supply = <&vcc_sd_reg2>;
198 pinctrl-names = "default";
199 pinctrl-0 = <&spi_quad_pins>;
202 compatible = "jedec,spi-nor";
204 spi-max-frequency = <108000000>;
205 spi-rx-bus-width = <4>;
206 spi-tx-bus-width = <4>;
209 compatible = "fixed-partitions";
210 #address-cells = <1>;
213 label = "bootloader";
214 reg = <0x0 0x200000>;
217 label = "U-boot Env";
218 reg = <0x200000 0x10000>;
222 reg = <0x210000 0xDF0000>;
229 * Exported on the micro USB connector CON30(V2.0)/CON32(V1.4) through
230 * an FTDI (also on CON24(V2.0)/CON26(V1.4)).
233 pinctrl-names = "default";
234 pinctrl-0 = <&uart1_pins>;
238 /* CON26(V2.0)/CON28(V1.4) */
240 pinctrl-names = "default";
241 pinctrl-0 = <&uart2_pins>;
245 /* CON27(V2.0)/CON29(V1.4) */
250 /* CON29(V2.0)/CON31(V1.4) */
253 usb-phy = <&usb3_phy>;