1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * Device tree for the uDPU board.
4 * Based on Marvell Armada 3720 development board (DB-88F3720-DDR3)
5 * Copyright (C) 2016 Marvell
6 * Copyright (C) 2018 Methode
7 * Copyright (C) 2018 Telus
9 * Vladimir Vid <vladimir.vid@sartura.hr>
14 #include "armada-37xx.dtsi"
15 #include "armada-3720-uDPU-u-boot.dtsi"
18 model = "Methode uDPU Board";
19 compatible = "methode,udpu";
22 stdout-path = "serial0:115200n8";
23 bootargs = "console=ttyMV0,115200 earlycon=ar3700_uart,0xd0012000";
33 device_type = "memory";
34 reg = <0x00000000 0x00000000 0x00000000 0x20000000>;
40 ethphy0: ethernet-phy@0 {
43 ethphy1: ethernet-phy@1 {
49 compatible = "marvell,mvebu-scsi";
58 compatible = "marvell,armada-3700-i2c", "simple-bus";
59 reg = <0x0 0x11080 0x0 0x80>;
60 pinctrl-names = "default";
61 pinctrl-0 = <&i2c2_pins>;
68 compatible = "marvell,armada-3700-uart-ext";
69 reg = <0x0 0x12200 0x0 0x30>;
70 pinctrl-names = "default";
71 pinctrl-0 = <&uart2_pins>;
72 interrupts = <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>;
78 vcc_sd_reg0: regulator@0 {
79 compatible = "regulator-gpio";
80 regulator-name = "vcc_sd0";
81 regulator-min-microvolt = <1800000>;
82 regulator-max-microvolt = <3300000>;
83 regulator-type = "voltage";
86 gpios = <&gpiosb 23 GPIO_ACTIVE_HIGH>;
90 compatible = "sff,sfp";
92 los-gpio = <&gpiosb 2 GPIO_ACTIVE_HIGH>;
93 mod-def0-gpio = <&gpiosb 3 GPIO_ACTIVE_LOW>;
94 tx-disable-gpio = <&gpiosb 4 GPIO_ACTIVE_HIGH>;
95 tx-fault-gpio = <&gpiosb 5 GPIO_ACTIVE_HIGH>;
99 compatible = "sff,sfp";
101 sfp,ethernet = <ð1>;
102 los-gpio = <&gpiosb 7 GPIO_ACTIVE_HIGH>;
103 mod-def0-gpio = <&gpiosb 8 GPIO_ACTIVE_LOW>;
104 tx-disable-gpio = <&gpiosb 9 GPIO_ACTIVE_HIGH>;
105 tx-fault-gpio = <&gpiosb 10 GPIO_ACTIVE_HIGH>;
111 phy-type = <PHY_TYPE_SGMII1>;
112 phy-speed = <PHY_SPEED_3_125G>;
115 phy-type = <PHY_TYPE_SGMII0>;
116 phy-speed = <PHY_SPEED_3_125G>;
120 phy-type = <PHY_TYPE_USB3_HOST1>;
121 phy-speed = <PHY_SPEED_5G>;
126 pinctrl-0 = <&pcie_pins>;
128 phy-mode = "sgmii-2500";
129 managed = "in-band-status";
135 phy-mode = "sgmii-2500";
136 managed = "in-band-status";
141 pinctrl-names = "default";
142 pinctrl-0 = <&i2c1_pins>;
148 pinctrl-names = "default";
149 pinctrl-0 = <&spi_quad_pins>;
152 #address-cells = <1>;
154 compatible = "n25q1024a","n25q512a";
156 spi-max-frequency = <50000000>;
157 spi-rx-bus-width = <4>;
158 spi-tx-bus-width = <4>;
173 vqmmc-supply = <&vcc_sd_reg0>;
174 pinctrl-names = "default";
175 pinctrl-0 = <&sdio_pins>;
178 #address-cells = <1>;
181 compatible = "mmc-card";
187 pinctrl-names = "default";
188 pinctrl-0 = <&uart1_pins>;