1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * Device Tree file for Globalscale Marvell ESPRESSOBin Board
4 * Copyright (C) 2016 Marvell
6 * Romain Perier <romain.perier@free-electrons.com>
10 * Schematic available at http://espressobin.net/wp-content/uploads/2017/08/ESPRESSObin_V5_Schematics.pdf
15 #include <dt-bindings/gpio/gpio.h>
16 #include "armada-372x.dtsi"
19 model = "Globalscale Marvell ESPRESSOBin Board";
20 compatible = "globalscale,espressobin", "marvell,armada3720", "marvell,armada3710";
24 /* for dsa slave device */
25 ethernet1 = &switch0port1;
26 ethernet2 = &switch0port2;
27 ethernet3 = &switch0port3;
33 stdout-path = "serial0:115200n8";
37 device_type = "memory";
38 reg = <0x00000000 0x00000000 0x00000000 0x20000000>;
41 vcc_sd_reg1: regulator {
42 compatible = "regulator-gpio";
43 regulator-name = "vcc_sd1";
44 regulator-min-microvolt = <1800000>;
45 regulator-max-microvolt = <3300000>;
48 gpios = <&gpionb 4 GPIO_ACTIVE_HIGH>;
60 pinctrl-names = "default";
61 pinctrl-0 = <&pcie_reset_pins &pcie_clkreq_pins>;
62 reset-gpios = <&gpiosb 3 GPIO_ACTIVE_LOW>;
69 phy-names = "sata-phy";
76 cd-gpios = <&gpionb 3 GPIO_ACTIVE_LOW>;
77 marvell,pad-type = "sd";
78 vqmmc-supply = <&vcc_sd_reg1>;
80 pinctrl-names = "default";
81 pinctrl-0 = <&sdio_pins>;
92 marvell,xenon-tun-count = <9>;
93 marvell,pad-type = "fixed-1-8v";
95 pinctrl-names = "default";
96 pinctrl-0 = <&mmc_pins>;
98 * This eMMC is not populated on all boards, so disable it by
99 * default and let the bootloader enable it, if it is present
109 compatible = "jedec,spi-nor";
110 spi-max-frequency = <104000000>;
115 /* Exported on the micro USB connector J5 through an FTDI */
117 pinctrl-names = "default";
118 pinctrl-0 = <&uart1_pins>;
123 * Connector J17 and J18 expose a number of different features. Some pins are
124 * multiplexed. This is the case for instance for the following features:
125 * - UART1 (pin 24 = RX, pin 26 = TX). See armada-3720-db.dts for an example of
126 * how to enable it. Beware that the signals are 1.8V TTL.
144 compatible = "marvell,mv88e6085";
145 #address-cells = <1>;
152 #address-cells = <1>;
155 switch0port0: port@0 {
159 phy-mode = "rgmii-id";
166 switch0port1: port@1 {
169 phy-handle = <&switch0phy0>;
172 switch0port2: port@2 {
175 phy-handle = <&switch0phy1>;
178 switch0port3: port@3 {
181 phy-handle = <&switch0phy2>;
187 #address-cells = <1>;
190 switch0phy0: switch0phy0@11 {
193 switch0phy1: switch0phy1@12 {
196 switch0phy2: switch0phy2@13 {
204 pinctrl-names = "default";
205 pinctrl-0 = <&rgmii_pins>, <&smi_pins>;
206 phy-mode = "rgmii-id";