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>;
70 cd-gpios = <&gpionb 3 GPIO_ACTIVE_LOW>;
71 marvell,pad-type = "sd";
72 vqmmc-supply = <&vcc_sd_reg1>;
81 compatible = "winbond,w25q32dw", "jedec,spi-flash";
82 spi-max-frequency = <104000000>;
86 compatible = "fixed-partitions";
97 reg = <0x180000 0x10000>;
103 /* Exported on the micro USB connector J5 through an FTDI */
105 pinctrl-names = "default";
106 pinctrl-0 = <&uart1_pins>;
111 * Connector J17 and J18 expose a number of different features. Some pins are
112 * multiplexed. This is the case for instance for the following features:
113 * - UART1 (pin 24 = RX, pin 26 = TX). See armada-3720-db.dts for an example of
114 * how to enable it. Beware that the signals are 1.8V TTL.
132 compatible = "marvell,mv88e6085";
133 #address-cells = <1>;
140 #address-cells = <1>;
143 switch0port0: port@0 {
149 switch0port1: port@1 {
152 phy-handle = <&switch0phy0>;
155 switch0port2: port@2 {
158 phy-handle = <&switch0phy1>;
161 switch0port3: port@3 {
164 phy-handle = <&switch0phy2>;
170 #address-cells = <1>;
173 switch0phy0: switch0phy0@11 {
176 switch0phy1: switch0phy1@12 {
179 switch0phy2: switch0phy2@13 {
187 phy-mode = "rgmii-id";