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;
34 cp0_reg_usb3_0_vbus: cp0-usb3-0-vbus {
35 compatible = "regulator-fixed";
36 regulator-name = "cp0-usb3h0-vbus";
37 regulator-min-microvolt = <5000000>;
38 regulator-max-microvolt = <5000000>;
40 gpio = <&expander0 0 GPIO_ACTIVE_HIGH>;
43 cp0_reg_usb3_1_vbus: cp0-usb3-1-vbus {
44 compatible = "regulator-fixed";
45 regulator-name = "cp0-usb3h1-vbus";
46 regulator-min-microvolt = <5000000>;
47 regulator-max-microvolt = <5000000>;
49 gpio = <&expander0 1 GPIO_ACTIVE_HIGH>;
52 cp0_usb3_0_phy: cp0-usb3-0-phy {
53 compatible = "usb-nop-xceiv";
54 vcc-supply = <&cp0_reg_usb3_0_vbus>;
57 cp0_usb3_1_phy: cp0-usb3-1-phy {
58 compatible = "usb-nop-xceiv";
59 vcc-supply = <&cp0_reg_usb3_1_vbus>;
62 cp1_reg_usb3_0_vbus: cp1-usb3-0-vbus {
63 compatible = "regulator-fixed";
64 regulator-name = "cp1-usb3h0-vbus";
65 regulator-min-microvolt = <5000000>;
66 regulator-max-microvolt = <5000000>;
68 gpio = <&expander1 0 GPIO_ACTIVE_HIGH>;
71 cp1_usb3_0_phy: cp1-usb3-0-phy {
72 compatible = "usb-nop-xceiv";
73 vcc-supply = <&cp1_reg_usb3_0_vbus>;
81 compatible = "jedec,spi-nor";
83 spi-max-frequency = <10000000>;
86 compatible = "fixed-partitions";
96 reg = <0x200000 0xce0000>;
102 /* Accessible over the mini-USB CON9 connector on the main board */
105 pinctrl-0 = <&uart0_pins>;
106 pinctrl-names = "default";
109 /* CON6 on CP0 expansion */
114 /* CON5 on CP0 expansion */
121 clock-frequency = <100000>;
124 expander0: pca9555@21 {
125 compatible = "nxp,pca9555";
126 pinctrl-names = "default";
133 expander1: pca9555@25 {
134 compatible = "nxp,pca9555";
135 pinctrl-names = "default";
143 /* CON4 on CP0 expansion */
148 phys = <&cp0_comphy1 0>;
149 phy-names = "cp0-sata0-0-phy";
152 phys = <&cp0_comphy3 1>;
153 phy-names = "cp0-sata0-1-phy";
157 /* CON9 on CP0 expansion */
159 usb-phy = <&cp0_usb3_0_phy>;
163 /* CON10 on CP0 expansion */
165 usb-phy = <&cp0_usb3_1_phy>;
166 phys = <&cp0_comphy4 1>;
167 phy-names = "cp0-usb3h1-comphy";
174 phy1: ethernet-phy@1 {
185 phy-mode = "10gbase-kr";
196 phy-mode = "rgmii-id";
199 /* CON6 on CP1 expansion */
204 /* CON7 on CP1 expansion */
209 /* CON5 on CP1 expansion */
216 clock-frequency = <100000>;
223 compatible = "jedec,spi-nor";
225 spi-max-frequency = <20000000>;
228 compatible = "fixed-partitions";
229 #address-cells = <1>;
234 reg = <0x0 0x200000>;
237 label = "Filesystem";
238 reg = <0x200000 0xd00000>;
242 reg = <0xf00000 0x100000>;
249 * Proper NAND usage will require DPR-76 to be in position 1-2, which disables
250 * MDIO signal of CP1.
252 &cp1_nand_controller {
253 pinctrl-0 = <&nand_pins>, <&nand_rb>;
254 pinctrl-names = "default";
260 nand-ecc-strength = <4>;
261 nand-ecc-step-size = <512>;
264 compatible = "fixed-partitions";
265 #address-cells = <1>;
274 reg = <0x200000 0xe00000>;
277 label = "Filesystem";
278 reg = <0x1000000 0x3f000000>;
284 /* CON4 on CP1 expansion */
289 phys = <&cp1_comphy1 0>;
290 phy-names = "cp1-sata0-0-phy";
293 phys = <&cp1_comphy3 1>;
294 phy-names = "cp1-sata0-1-phy";
298 /* CON9 on CP1 expansion */
300 usb-phy = <&cp1_usb3_0_phy>;
304 /* CON10 on CP1 expansion */
312 phy0: ethernet-phy@0 {
323 phy-mode = "10gbase-kr";
334 phy-mode = "rgmii-id";