1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * Device Tree file for ESPRESSObin-Ultra
4 * Copyright (C) 2019 Globalscale technologies, Inc.
6 * Jason Hung <jhung@globalscaletechnologies.com>
11 #include <dt-bindings/gpio/gpio.h>
12 #include "armada-372x.dtsi"
15 model = "Globalscale Marvell ESPRESSOBin Ultra Board";
16 compatible = "globalscale,espressobin-ultra", "marvell,armada3720",
20 /* for dsa slave device */
21 ethernet1 = &switch0port1;
22 ethernet2 = &switch0port2;
23 ethernet3 = &switch0port3;
24 ethernet4 = &switch0port4;
25 ethernet5 = &switch0port5;
29 stdout-path = "serial0:115200n8";
33 device_type = "memory";
34 reg = <0x00000000 0x00000000 0x00000000 0x20000000>;
37 reg_usb3_vbus: usb3-vbus {
38 compatible = "regulator-fixed";
39 regulator-name = "usb3-vbus";
40 regulator-min-microvolt = <5000000>;
41 regulator-max-microvolt = <5000000>;
43 gpio = <&gpionb 19 GPIO_ACTIVE_HIGH>;
47 compatible = "usb-nop-xceiv";
48 vcc-supply = <®_usb3_vbus>;
52 pinctrl-names = "default";
53 compatible = "gpio-leds";
54 /* No assigned functions to the LEDs by default */
56 label = "ebin-ultra:blue:led1";
57 gpios = <&gpionb 11 GPIO_ACTIVE_LOW>;
60 label = "ebin-ultra:green:led2";
61 gpios = <&gpionb 12 GPIO_ACTIVE_LOW>;
64 label = "ebin-ultra:red:led3";
65 gpios = <&gpionb 13 GPIO_ACTIVE_LOW>;
68 label = "ebin-ultra:yellow:led4";
69 gpios = <&gpionb 14 GPIO_ACTIVE_LOW>;
88 marvell,pad-type = "fixed-1-8v";
93 pinctrl-names = "default";
94 pinctrl-0 = <&spi_quad_pins>;
97 compatible = "jedec,spi-nor";
99 spi-max-frequency = <108000000>;
100 spi-rx-bus-width = <4>;
101 spi-tx-bus-width = <4>;
105 compatible = "fixed-partitions";
106 #address-cells = <1>;
111 reg = <0x0 0x3e0000>;
115 reg = <0x3e0000 0x10000>;
119 label = "u-boot-env";
120 reg = <0x3f0000 0x10000>;
128 pinctrl-names = "default";
129 pinctrl-0 = <&uart1_pins>;
134 pinctrl-names = "default";
135 pinctrl-0 = <&i2c1_pins>;
137 clock-frequency = <100000>;
140 compatible = "nxp,pcf8563";
147 usb-phy = <&usb3_phy>;
156 pinctrl-names = "default";
157 pinctrl-0 = <&rgmii_pins>;
158 phy-mode = "rgmii-id";
169 extphy: ethernet-phy@0 {
174 compatible = "marvell,mv88e6085";
175 #address-cells = <1>;
182 #address-cells = <1>;
185 switch0port0: port@0 {
190 switch0port1: port@1 {
193 phy-handle = <&switch0phy1>;
196 switch0port2: port@2 {
199 phy-handle = <&switch0phy2>;
202 switch0port3: port@3 {
205 phy-handle = <&switch0phy3>;
208 switch0port4: port@4 {
211 phy-handle = <&switch0phy4>;
214 switch0port5: port@5 {
217 phy-handle = <&extphy>;
223 #address-cells = <1>;
226 switch0phy1: switch0phy1@11 {
229 switch0phy2: switch0phy2@12 {
232 switch0phy3: switch0phy3@13 {
235 switch0phy4: switch0phy4@14 {