1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (C) 2016 - 2021 Marvell International Ltd.
7 * Device Tree file for Marvell Armada 8040 Development board platform
10 #include "armada-8040.dtsi"
13 model = "Marvell Armada 8040 DB board";
14 compatible = "marvell,armada8040-db", "marvell,armada8040",
15 "marvell,armada-ap806-quad", "marvell,armada-ap806";
18 stdout-path = "serial0:115200n8";
27 device_type = "memory";
28 reg = <0x0 0x0 0x0 0x80000000>;
32 /* Accessible over the mini-USB CON9 connector on the main board */
42 /* 0 1 2 3 4 5 6 7 8 9 */
43 pin-func = < 1 1 1 1 1 1 1 1 1 1
44 1 3 0 0 0 0 0 0 0 3 >;
48 pinctrl-names = "default";
49 pinctrl-0 = <&ap_emmc_pins>;
56 * [0-31] = 0xff: Keep default CP0_shared_pins
57 * [11] CLKOUT_MPP_11 (out)
58 * [23] LINK_RD_IN_CP2CP (in)
59 * [25] CLKOUT_MPP_25 (out)
60 * [29] AVS_FB_IN_CP2CP (in)
62 * [33] GPIO: GE_INT#/push button/Wake
63 * [35] MSS_GPIO[3]: MSS_PWDN
64 * [36] MSS_GPIO[5]: MSS_VTT_EN
67 * [40-41] SATA[0/1]_PRESENT_ACTIVEn
68 * [42-43] XG_MDC/XG_MDIO (XSMI)
72 /* 0 1 2 3 4 5 6 7 8 9 */
73 pin-func = < 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff
74 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff
75 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff
76 0xff 0xff 0x7 0x0 0x7 0xa 0xa 0x2 0x2 0x5
77 0x9 0x9 0x8 0x8 0x1 0x1 0x1 0x1 0x1 0x1
78 0x1 0x1 0x1 0x1 0x1 0x1 0xe 0xe 0xe 0xe
83 /* Serdes Configuration:
92 phy-type = <COMPHY_TYPE_PEX0>;
95 phy-type = <COMPHY_TYPE_SATA0>;
98 phy-type = <COMPHY_TYPE_SFI0>;
101 phy-type = <COMPHY_TYPE_SATA1>;
104 phy-type = <COMPHY_TYPE_USB3_HOST1>;
107 phy-type = <COMPHY_TYPE_PEX2>;
111 /* CON6 on CP0 expansion */
120 /* CON5 on CP0 expansion */
126 pinctrl-names = "default";
127 pinctrl-0 = <&cp0_i2c0_pins>;
129 clock-frequency = <100000>;
132 /* CON4 on CP0 expansion */
137 /* CON9 on CP0 expansion */
142 /* CON10 on CP0 expansion */
156 pinctrl-names = "default";
157 pinctrl-0 = <&cp0_sdhci_pins>;
166 * [27,31] GE_MDIO/MDC
167 * [28] SATA1_PRESENT_ACTIVEn
169 * [32-62] = 0xff: Keep default CP1_shared_pins
171 /* 0 1 2 3 4 5 6 7 8 9 */
172 pin-func = < 0x3 0x3 0x3 0x3 0x3 0x3 0x3 0x3 0x3 0x3
173 0x3 0x3 0x3 0x3 0x3 0x3 0x3 0xff 0xff 0xff
174 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0x8 0x9 0xa
175 0xA 0x8 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff
176 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff
177 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff
182 /* Serdes Configuration:
191 phy-type = <COMPHY_TYPE_PEX0>;
194 phy-type = <COMPHY_TYPE_SATA0>;
197 phy-type = <COMPHY_TYPE_SFI0>;
200 phy-type = <COMPHY_TYPE_SATA1>;
203 phy-type = <COMPHY_TYPE_PEX1>;
206 phy-type = <COMPHY_TYPE_PEX2>;
210 /* CON6 on CP1 expansion */
219 /* CON5 on CP1 expansion */
225 pinctrl-names = "default";
226 pinctrl-0 = <&cp1_spi1_pins>;
230 #address-cells = <1>;
232 compatible = "jedec,spi-nor";
234 spi-max-frequency = <10000000>;
237 compatible = "fixed-partitions";
238 #address-cells = <1>;
246 label = "Filesystem";
247 reg = <0x200000 0xce0000>;
253 /* CON4 on CP1 expansion */
258 /* CON9 on CP1 expansion */
263 /* CON10 on CP1 expansion */
274 phy1: ethernet-phy@1 {
286 phy-mode = "rgmii-id";