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";
23 stdout-path = "serial0:115200n8";
27 device_type = "memory";
28 reg = <0x00000000 0x00000000 0x00000000 0x20000000>;
31 vcc_sd_reg1: regulator {
32 compatible = "regulator-gpio";
33 regulator-name = "vcc_sd1";
34 regulator-min-microvolt = <1800000>;
35 regulator-max-microvolt = <3300000>;
38 gpios = <&gpionb 4 GPIO_ACTIVE_HIGH>;
60 cd-gpios = <&gpionb 3 GPIO_ACTIVE_LOW>;
61 marvell,pad-type = "sd";
62 vqmmc-supply = <&vcc_sd_reg1>;
64 pinctrl-names = "default";
65 pinctrl-0 = <&sdio_pins>;
76 marvell,xenon-tun-count = <9>;
77 marvell,pad-type = "fixed-1-8v";
79 pinctrl-names = "default";
80 pinctrl-0 = <&mmc_pins>;
82 * This eMMC is not populated on all boards, so disable it by
83 * default and let the bootloader enable it, if it is present
93 compatible = "winbond,w25q32dw", "jedec,spi-flash";
94 spi-max-frequency = <104000000>;
98 compatible = "fixed-partitions";
109 reg = <0x180000 0x10000>;
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>;
164 phy-handle = <&switch0phy0>;
170 phy-handle = <&switch0phy1>;
176 phy-handle = <&switch0phy2>;
182 #address-cells = <1>;
185 switch0phy0: switch0phy0@11 {
188 switch0phy1: switch0phy1@12 {
191 switch0phy2: switch0phy2@13 {
199 phy-mode = "rgmii-id";