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 #include <dt-bindings/gpio/gpio.h>
11 #include "armada-372x.dtsi"
16 /* for dsa slave device */
17 ethernet1 = &switch0port1;
18 ethernet2 = &switch0port2;
19 ethernet3 = &switch0port3;
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>;
46 /* led2 is working only on v7 board */
49 compatible = "gpio-leds";
53 gpios = <&gpionb 2 GPIO_ACTIVE_LOW>;
54 default-state = "off";
62 pinctrl-names = "default";
63 pinctrl-0 = <&pcie_reset_pins &pcie_clkreq_pins>;
64 reset-gpios = <&gpiosb 3 GPIO_ACTIVE_LOW>;
71 phy-names = "sata-phy";
76 /* Main DTS file for Espressobin is without eMMC */
84 marvell,xenon-tun-count = <9>;
85 marvell,pad-type = "fixed-1-8v";
87 pinctrl-names = "default";
88 pinctrl-0 = <&mmc_pins>;
93 compatible = "mmc-card";
102 cd-gpios = <&gpionb 3 GPIO_ACTIVE_LOW>;
103 marvell,pad-type = "sd";
104 vqmmc-supply = <&vcc_sd_reg1>;
106 pinctrl-names = "default";
107 pinctrl-0 = <&sdio_pins>;
116 compatible = "jedec,spi-nor";
117 spi-max-frequency = <104000000>;
122 /* Exported on the micro USB connector J5 through an FTDI */
124 pinctrl-names = "default";
125 pinctrl-0 = <&uart1_pins>;
130 * Connector J17 and J18 expose a number of different features. Some pins are
131 * multiplexed. This is the case for instance for the following features:
132 * - UART1 (pin 24 = RX, pin 26 = TX). See armada-3720-db.dts for an example of
133 * how to enable it. Beware that the signals are 1.8V TTL.
151 compatible = "marvell,mv88e6085";
152 #address-cells = <1>;
159 #address-cells = <1>;
162 switch0port0: port@0 {
166 phy-mode = "rgmii-id";
173 switch0port1: port@1 {
176 phy-handle = <&switch0phy0>;
179 switch0port2: port@2 {
182 phy-handle = <&switch0phy1>;
185 switch0port3: port@3 {
188 phy-handle = <&switch0phy2>;
194 #address-cells = <1>;
197 switch0phy0: switch0phy0@11 {
200 switch0phy1: switch0phy1@12 {
203 switch0phy2: switch0phy2@13 {
211 pinctrl-names = "default";
212 pinctrl-0 = <&rgmii_pins>, <&smi_pins>;
213 phy-mode = "rgmii-id";