1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * Copyright (C) 2016 Marvell Technology Group Ltd.
5 * Device Tree file for Marvell Armada 7040 Development board platform
8 #include <dt-bindings/gpio/gpio.h>
9 #include "armada-7040.dtsi"
12 model = "Marvell Armada 7040 DB board";
13 compatible = "marvell,armada7040-db", "marvell,armada7040",
14 "marvell,armada-ap806-quad", "marvell,armada-ap806";
17 stdout-path = "serial0:115200n8";
21 device_type = "memory";
22 reg = <0x0 0x0 0x0 0x80000000>;
26 ethernet0 = &cp0_eth0;
27 ethernet1 = &cp0_eth1;
28 ethernet2 = &cp0_eth2;
31 cp0_exp_usb3_0_current_regulator: gpio-regulator {
32 compatible = "regulator-gpio";
33 regulator-name = "cp0-usb3-0-current-regulator";
34 regulator-type = "current";
35 regulator-min-microamp = <500000>;
36 regulator-max-microamp = <900000>;
37 gpios = <&expander0 4 GPIO_ACTIVE_HIGH>;
44 cp0_exp_usb3_1_current_regulator: gpio-regulator {
45 compatible = "regulator-gpio";
46 regulator-name = "cp0-usb3-1-current-regulator";
47 regulator-type = "current";
48 regulator-min-microamp = <500000>;
49 regulator-max-microamp = <900000>;
50 gpios = <&expander0 5 GPIO_ACTIVE_HIGH>;
57 cp0_reg_usb3_0_vbus: cp0-usb3-0-vbus {
58 compatible = "regulator-fixed";
59 regulator-name = "usb3h0-vbus";
60 regulator-min-microvolt = <5000000>;
61 regulator-max-microvolt = <5000000>;
63 gpio = <&expander0 0 GPIO_ACTIVE_HIGH>;
64 vin-supply = <&cp0_exp_usb3_0_current_regulator>;
67 cp0_reg_usb3_1_vbus: cp0-usb3-1-vbus {
68 compatible = "regulator-fixed";
69 regulator-name = "usb3h1-vbus";
70 regulator-min-microvolt = <5000000>;
71 regulator-max-microvolt = <5000000>;
73 gpio = <&expander0 1 GPIO_ACTIVE_HIGH>;
74 vin-supply = <&cp0_exp_usb3_1_current_regulator>;
80 clock-frequency = <100000>;
87 compatible = "jedec,spi-nor";
89 spi-max-frequency = <10000000>;
92 compatible = "fixed-partitions";
101 label = "Filesystem";
102 reg = <0x200000 0xce0000>;
110 pinctrl-0 = <&uart0_pins>;
111 pinctrl-names = "default";
117 phys = <&cp0_comphy5 2>;
118 phy-names = "cp0-pcie2-x1-phy";
123 clock-frequency = <100000>;
125 expander0: pca9555@21 {
126 compatible = "nxp,pca9555";
127 pinctrl-names = "default";
132 * IO0_0: USB3_PWR_EN0 IO1_0: USB_3_1_Dev_Detect
133 * IO0_1: USB3_PWR_EN1 IO1_1: USB2_1_current_limit
134 * IO0_2: DDR3_4_Detect IO1_2: Hcon_IO_RstN
135 * IO0_3: USB2_DEVICE_DETECT
136 * IO0_4: GPIO_0 IO1_4: SD_Status
137 * IO0_5: GPIO_1 IO1_5: LDO_5V_Enable
138 * IO0_6: IHB_5V_Enable IO1_6: PWR_EN_eMMC
139 * IO0_7: IO1_7: SDIO_Vcntrl
144 &cp0_nand_controller {
146 * SPI on CPM and NAND have common pins on this board. We can
147 * use only one at a time. To enable the NAND (which will
148 * disable the SPI), the "status = "okay";" line have to be
151 pinctrl-0 = <&nand_pins>, <&nand_rb>;
152 pinctrl-names = "default";
156 label = "pxa3xx_nand-0";
159 nand-ecc-strength = <4>;
160 nand-ecc-step-size = <512>;
163 compatible = "fixed-partitions";
164 #address-cells = <1>;
174 reg = <0x200000 0xe00000>;
178 label = "Filesystem";
179 reg = <0x1000000 0x3f000000>;
190 compatible = "jedec,spi-nor";
192 spi-max-frequency = <20000000>;
195 compatible = "fixed-partitions";
196 #address-cells = <1>;
201 reg = <0x0 0x200000>;
205 label = "Filesystem";
206 reg = <0x200000 0xe00000>;
216 phys = <&cp0_comphy3 1>;
217 phy-names = "cp0-sata0-1-phy";
222 cp0_usbh0_con: connector {
223 compatible = "usb-a-connector";
224 phy-supply = <&cp0_reg_usb3_0_vbus>;
229 phys = <&cp0_comphy1 0>;
230 phy-names = "cp0-usb3h0-comphy";
235 cp0_usbh1_con: connector {
236 compatible = "usb-a-connector";
237 phy-supply = <&cp0_reg_usb3_1_vbus>;
242 phys = <&cp0_comphy4 1>;
243 phy-names = "cp0-usb3h1-comphy";
258 cd-gpios = <&expander0 12 GPIO_ACTIVE_LOW>;
264 phy0: ethernet-phy@0 {
267 phy1: ethernet-phy@1 {
279 phy-mode = "10gbase-kr";
280 /* Generic PHY, providing serdes lanes */
281 phys = <&cp0_comphy2 0>;
294 /* Generic PHY, providing serdes lanes */
295 phys = <&cp0_comphy0 1>;
301 phy-mode = "rgmii-id";