1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (C) 2016 Marvell International Ltd.
6 #include "armada-8040.dtsi" /* include SoC device tree */
9 model = "MACCHIATOBin-8040";
10 compatible = "marvell,armada8040-mcbin",
14 stdout-path = "serial0:115200n8";
27 device_type = "memory";
28 reg = <0x0 0x0 0x0 0x80000000>;
32 compatible = "simple-bus";
36 reg_usb3h0_vbus: usb3-vbus0 {
37 compatible = "regulator-fixed";
38 pinctrl-names = "default";
39 pinctrl-0 = <&cpm_xhci_vbus_pins>;
40 regulator-name = "reg-usb3h0-vbus";
41 regulator-min-microvolt = <5000000>;
42 regulator-max-microvolt = <5000000>;
43 startup-delay-us = <500000>;
47 gpio = <&cpm_gpio1 15 GPIO_ACTIVE_HIGH>; /* GPIO[47] */
52 /* Accessible over the mini-USB CON9 connector on the main board */
63 /* 0 1 2 3 4 5 6 7 8 9 */
64 pin-func = < 1 1 1 1 1 1 1 1 1 1
65 1 3 0 0 0 0 0 0 0 3 >;
70 pinctrl-names = "default";
71 pinctrl-0 = <&ap_emmc_pins>;
79 * [0-31] = 0xff: Keep default CP0_shared_pins:
80 * [11] CLKOUT_MPP_11 (out)
81 * [23] LINK_RD_IN_CP2CP (in)
82 * [25] CLKOUT_MPP_25 (out)
83 * [29] AVS_FB_IN_CP2CP (in)
86 * [35-38] CP0 I2C1 and I2C0
88 * [40,41] CP0 UART1 TX/RX
89 * [42,43] XSMI (controls two 10G phys)
92 * [49] 10G port 1 interrupt
93 * [50] 10G port 0 interrupt
94 * [51] 2.5G SFP TX fault
98 * [55] Micro SD card detect
100 * [62] CP1 SFI SFP FAULT
102 /* 0 1 2 3 4 5 6 7 8 9 */
103 pin-func = < 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff
104 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff
105 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff
106 0xff 0 7 0xa 7 2 2 2 2 0xa
108 0 0 0 0 0 0 0xe 0xe 0xe 0xe
111 cpm_xhci_vbus_pins: cpm-xhci-vbus-pins {
112 marvell,pins = < 47 >;
113 marvell,function = <0>;
116 cpm_pcie_reset_pins: cpm-pcie-reset-pins {
117 marvell,pins = < 52 >;
118 marvell,function = <0>;
124 pinctrl-names = "default";
125 pinctrl-0 = <&cpm_sdhci_pins>;
133 pinctrl-names = "default";
134 pinctrl-0 = <&cpm_pcie_reset_pins>;
135 marvell,reset-gpio = <&cpm_gpio1 20 GPIO_ACTIVE_LOW>; /* GPIO[52] */
140 pinctrl-names = "default";
141 pinctrl-0 = <&cpm_i2c0_pins>;
143 clock-frequency = <100000>;
147 pinctrl-names = "default";
148 pinctrl-0 = <&cpm_i2c1_pins>;
150 clock-frequency = <100000>;
158 ge_phy: ethernet-phy@0 {
165 * CP0 Serdes Configuration:
174 phy-type = <PHY_TYPE_PEX0>;
177 phy-type = <PHY_TYPE_PEX0>;
180 phy-type = <PHY_TYPE_PEX0>;
183 phy-type = <PHY_TYPE_PEX0>;
186 phy-type = <PHY_TYPE_SFI>;
189 phy-type = <PHY_TYPE_SATA1>;
198 vbus-supply = <®_usb3h0_vbus>;
221 * [8] CP1 10G SFP LOS
222 * [9] CP1 10G PHY RESET
223 * [10] CP1 10G SFP TX Disable
224 * [11] CP1 10G SFP Mode
226 * [13] SPI1 MISO (TDM and SPI ROM shared)
228 * [15] SPI1 MOSI (TDM and SPI ROM shared)
229 * [16] SPI1 CLK (TDM and SPI ROM shared)
230 * [24] CP1 2.5G SFP TX Disable
231 * [26] CP0 10G SFP TX Fault
232 * [27] CP0 10G SFP Mode
233 * [28] CP0 10G SFP LOS
234 * [29] CP0 10G SFP TX Disable
235 * [30] USB Over current indication
236 * [31] 10G Port 0 phy reset
237 * [32-62] = 0xff: Keep default CP1_shared_pins:
239 /* 0 1 2 3 4 5 6 7 8 9 */
240 pin-func = < 0x4 0x4 0x4 0x4 0x4 0x4 0x8 0x8 0x0 0x0
241 0x0 0x0 0x3 0x3 0x3 0x3 0x3 0xff 0xff 0xff
242 0xff 0xff 0xff 0xff 0x0 0xff 0x0 0x0 0x0 0x0
243 0x0 0x0 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff
244 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff
245 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff
250 pinctrl-names = "default";
251 pinctrl-0 = <&cps_spi1_pins>;
255 #address-cells = <1>;
257 compatible = "jedec,spi-nor";
259 spi-max-frequency = <10000000>;
262 compatible = "fixed-partitions";
263 #address-cells = <1>;
271 label = "Filesystem";
272 reg = <0x200000 0xce0000>;
280 * CP1 Serdes Configuration:
289 phy-type = <PHY_TYPE_SGMII1>;
290 phy-speed = <PHY_SPEED_1_25G>;
293 phy-type = <PHY_TYPE_SATA0>;
296 phy-type = <PHY_TYPE_USB3_HOST0>;
299 phy-type = <PHY_TYPE_SATA1>;
302 phy-type = <PHY_TYPE_SFI>;
305 phy-type = <PHY_TYPE_SGMII3>;