1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * Copyright (C) 2016 Marvell Technology Group Ltd.
5 * Device Tree file for Marvell Armada 8040 Development board platform
8 #include <dt-bindings/gpio/gpio.h>
9 #include "armada-8040.dtsi"
12 model = "Marvell Armada 8040 DB board";
13 compatible = "marvell,armada8040-db", "marvell,armada8040",
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_eth2;
28 ethernet2 = &cp1_eth0;
29 ethernet3 = &cp1_eth1;
32 cp0_reg_usb3_0_vbus: cp0-usb3-0-vbus {
33 compatible = "regulator-fixed";
34 regulator-name = "cp0-usb3h0-vbus";
35 regulator-min-microvolt = <5000000>;
36 regulator-max-microvolt = <5000000>;
38 gpio = <&expander0 0 GPIO_ACTIVE_HIGH>;
41 cp0_reg_usb3_1_vbus: cp0-usb3-1-vbus {
42 compatible = "regulator-fixed";
43 regulator-name = "cp0-usb3h1-vbus";
44 regulator-min-microvolt = <5000000>;
45 regulator-max-microvolt = <5000000>;
47 gpio = <&expander0 1 GPIO_ACTIVE_HIGH>;
50 cp0_usb3_0_phy: cp0-usb3-0-phy {
51 compatible = "usb-nop-xceiv";
52 vcc-supply = <&cp0_reg_usb3_0_vbus>;
55 cp0_usb3_1_phy: cp0-usb3-1-phy {
56 compatible = "usb-nop-xceiv";
57 vcc-supply = <&cp0_reg_usb3_1_vbus>;
60 cp1_reg_usb3_0_vbus: cp1-usb3-0-vbus {
61 compatible = "regulator-fixed";
62 regulator-name = "cp1-usb3h0-vbus";
63 regulator-min-microvolt = <5000000>;
64 regulator-max-microvolt = <5000000>;
66 gpio = <&expander1 0 GPIO_ACTIVE_HIGH>;
69 cp1_usb3_0_phy: cp1-usb3-0-phy {
70 compatible = "usb-nop-xceiv";
71 vcc-supply = <&cp1_reg_usb3_0_vbus>;
77 clock-frequency = <100000>;
86 compatible = "jedec,spi-nor";
88 spi-max-frequency = <10000000>;
91 compatible = "fixed-partitions";
100 label = "Filesystem";
101 reg = <0x200000 0xce0000>;
107 /* Accessible over the mini-USB CON9 connector on the main board */
110 pinctrl-0 = <&uart0_pins>;
111 pinctrl-names = "default";
114 /* CON6 on CP0 expansion */
119 /* CON5 on CP0 expansion */
126 clock-frequency = <100000>;
129 expander0: pca9555@21 {
130 compatible = "nxp,pca9555";
131 pinctrl-names = "default";
138 expander1: pca9555@25 {
139 compatible = "nxp,pca9555";
140 pinctrl-names = "default";
148 /* CON4 on CP0 expansion */
153 /* CON9 on CP0 expansion */
155 usb-phy = <&cp0_usb3_0_phy>;
159 /* CON10 on CP0 expansion */
161 usb-phy = <&cp0_usb3_1_phy>;
168 phy1: ethernet-phy@1 {
179 phy-mode = "10gbase-kr";
185 phy-mode = "rgmii-id";
188 /* CON6 on CP1 expansion */
193 /* CON7 on CP1 expansion */
198 /* CON5 on CP1 expansion */
205 clock-frequency = <100000>;
212 #address-cells = <0x1>;
214 compatible = "jedec,spi-nor";
216 spi-max-frequency = <20000000>;
219 compatible = "fixed-partitions";
220 #address-cells = <1>;
225 reg = <0x0 0x200000>;
228 label = "Filesystem";
229 reg = <0x200000 0xd00000>;
233 reg = <0xf00000 0x100000>;
240 * Proper NAND usage will require DPR-76 to be in position 1-2, which disables
241 * MDIO signal of CP1.
243 &cp1_nand_controller {
244 pinctrl-0 = <&nand_pins>, <&nand_rb>;
245 pinctrl-names = "default";
251 nand-ecc-strength = <4>;
252 nand-ecc-step-size = <512>;
255 compatible = "fixed-partitions";
256 #address-cells = <1>;
265 reg = <0x200000 0xe00000>;
268 label = "Filesystem";
269 reg = <0x1000000 0x3f000000>;
275 /* CON4 on CP1 expansion */
280 /* CON9 on CP1 expansion */
282 usb-phy = <&cp1_usb3_0_phy>;
286 /* CON10 on CP1 expansion */
294 phy0: ethernet-phy@0 {
305 phy-mode = "10gbase-kr";
311 phy-mode = "rgmii-id";