2 * Copyright (C) 2016 Marvell International Ltd.
4 * SPDX-License-Identifier: GPL-2.0
5 * https://spdx.org/licenses
8 #include "armada-8040.dtsi" /* include SoC device tree */
11 model = "MACCHIATOBin-8040";
12 compatible = "marvell,armada8040-mcbin",
16 stdout-path = "serial0:115200n8";
29 device_type = "memory";
30 reg = <0x0 0x0 0x0 0x80000000>;
34 compatible = "simple-bus";
38 reg_usb3h0_vbus: usb3-vbus0 {
39 compatible = "regulator-fixed";
40 pinctrl-names = "default";
41 pinctrl-0 = <&cpm_xhci_vbus_pins>;
42 regulator-name = "reg-usb3h0-vbus";
43 regulator-min-microvolt = <5000000>;
44 regulator-max-microvolt = <5000000>;
45 startup-delay-us = <500000>;
49 gpio = <&cpm_gpio1 15 GPIO_ACTIVE_HIGH>; /* GPIO[47] */
54 /* Accessible over the mini-USB CON9 connector on the main board */
65 /* 0 1 2 3 4 5 6 7 8 9 */
66 pin-func = < 1 1 1 1 1 1 1 1 1 1
67 1 3 0 0 0 0 0 0 0 3 >;
72 pinctrl-names = "default";
73 pinctrl-0 = <&ap_emmc_pins>;
81 * [0-31] = 0xff: Keep default CP0_shared_pins:
82 * [11] CLKOUT_MPP_11 (out)
83 * [23] LINK_RD_IN_CP2CP (in)
84 * [25] CLKOUT_MPP_25 (out)
85 * [29] AVS_FB_IN_CP2CP (in)
88 * [35-38] CP0 I2C1 and I2C0
90 * [40,41] CP0 UART1 TX/RX
91 * [42,43] XSMI (controls two 10G phys)
94 * [49] 10G port 1 interrupt
95 * [50] 10G port 0 interrupt
96 * [51] 2.5G SFP TX fault
100 * [55] Micro SD card detect
102 * [62] CP1 SFI SFP FAULT
104 /* 0 1 2 3 4 5 6 7 8 9 */
105 pin-func = < 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff
106 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff
107 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff
108 0xff 0 7 0xa 7 2 2 2 2 0xa
110 0 0 0 0 0 0 0xe 0xe 0xe 0xe
113 cpm_xhci_vbus_pins: cpm-xhci-vbus-pins {
114 marvell,pins = < 47 >;
115 marvell,function = <0>;
118 cpm_pcie_reset_pins: cpm-pcie-reset-pins {
119 marvell,pins = < 52 >;
120 marvell,function = <0>;
126 pinctrl-names = "default";
127 pinctrl-0 = <&cpm_sdhci_pins>;
135 pinctrl-names = "default";
136 pinctrl-0 = <&cpm_pcie_reset_pins>;
137 marvell,reset-gpio = <&cpm_gpio1 20 GPIO_ACTIVE_HIGH>; /* GPIO[52] */
142 pinctrl-names = "default";
143 pinctrl-0 = <&cpm_i2c0_pins>;
145 clock-frequency = <100000>;
149 pinctrl-names = "default";
150 pinctrl-0 = <&cpm_i2c1_pins>;
152 clock-frequency = <100000>;
161 * CP0 Serdes Configuration:
170 phy-type = <PHY_TYPE_PEX0>;
173 phy-type = <PHY_TYPE_PEX0>;
176 phy-type = <PHY_TYPE_PEX0>;
179 phy-type = <PHY_TYPE_PEX0>;
182 phy-type = <PHY_TYPE_SFI>;
185 phy-type = <PHY_TYPE_SATA1>;
194 vbus-supply = <®_usb3h0_vbus>;
207 * [8] CP1 10G SFP LOS
208 * [9] CP1 10G PHY RESET
209 * [10] CP1 10G SFP TX Disable
210 * [11] CP1 10G SFP Mode
212 * [13] SPI1 MISO (TDM and SPI ROM shared)
214 * [15] SPI1 MOSI (TDM and SPI ROM shared)
215 * [16] SPI1 CLK (TDM and SPI ROM shared)
216 * [24] CP1 2.5G SFP TX Disable
217 * [26] CP0 10G SFP TX Fault
218 * [27] CP0 10G SFP Mode
219 * [28] CP0 10G SFP LOS
220 * [29] CP0 10G SFP TX Disable
221 * [30] USB Over current indication
222 * [31] 10G Port 0 phy reset
223 * [32-62] = 0xff: Keep default CP1_shared_pins:
225 /* 0 1 2 3 4 5 6 7 8 9 */
226 pin-func = < 0x4 0x4 0x4 0x4 0x4 0x4 0x8 0x8 0x0 0x0
227 0x0 0x0 0x3 0x3 0x3 0x3 0x3 0xff 0xff 0xff
228 0xff 0xff 0xff 0xff 0x0 0xff 0x0 0x0 0x0 0x0
229 0x0 0x0 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff
230 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff
231 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff
236 pinctrl-names = "default";
237 pinctrl-0 = <&cps_spi1_pins>;
241 #address-cells = <1>;
243 compatible = "jedec,spi-nor";
245 spi-max-frequency = <10000000>;
248 compatible = "fixed-partitions";
249 #address-cells = <1>;
257 label = "Filesystem";
258 reg = <0x200000 0xce0000>;
266 * CP1 Serdes Configuration:
275 phy-type = <PHY_TYPE_SGMII1>;
276 phy-speed = <PHY_SPEED_1_25G>;
279 phy-type = <PHY_TYPE_SATA0>;
282 phy-type = <PHY_TYPE_USB3_HOST0>;
285 phy-type = <PHY_TYPE_SATA1>;
288 phy-type = <PHY_TYPE_SFI>;
291 phy-type = <PHY_TYPE_SGMII3>;