1c66ec88fSEmmanuel Vadot// SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2c66ec88fSEmmanuel Vadot/* 3c66ec88fSEmmanuel Vadot * Copyright (C) 2016 Marvell Technology Group Ltd. 4c66ec88fSEmmanuel Vadot * 5c66ec88fSEmmanuel Vadot * Device Tree file for MACCHIATOBin Armada 8040 community board platform 6c66ec88fSEmmanuel Vadot */ 7c66ec88fSEmmanuel Vadot 8c66ec88fSEmmanuel Vadot#include "armada-8040.dtsi" 9c66ec88fSEmmanuel Vadot 10c66ec88fSEmmanuel Vadot#include <dt-bindings/gpio/gpio.h> 11c66ec88fSEmmanuel Vadot 12c66ec88fSEmmanuel Vadot/ { 13c66ec88fSEmmanuel Vadot model = "Marvell 8040 MACCHIATOBin"; 14c66ec88fSEmmanuel Vadot compatible = "marvell,armada8040-mcbin", "marvell,armada8040", 15c66ec88fSEmmanuel Vadot "marvell,armada-ap806-quad", "marvell,armada-ap806"; 16c66ec88fSEmmanuel Vadot 17c66ec88fSEmmanuel Vadot chosen { 18c66ec88fSEmmanuel Vadot stdout-path = "serial0:115200n8"; 19c66ec88fSEmmanuel Vadot }; 20c66ec88fSEmmanuel Vadot 21c66ec88fSEmmanuel Vadot memory@0 { 22c66ec88fSEmmanuel Vadot device_type = "memory"; 23c66ec88fSEmmanuel Vadot reg = <0x0 0x0 0x0 0x80000000>; 24c66ec88fSEmmanuel Vadot }; 25c66ec88fSEmmanuel Vadot 26c66ec88fSEmmanuel Vadot aliases { 27c66ec88fSEmmanuel Vadot ethernet0 = &cp0_eth0; 28c66ec88fSEmmanuel Vadot ethernet1 = &cp1_eth0; 29c66ec88fSEmmanuel Vadot ethernet2 = &cp1_eth1; 30c66ec88fSEmmanuel Vadot ethernet3 = &cp1_eth2; 31c66ec88fSEmmanuel Vadot }; 32c66ec88fSEmmanuel Vadot 33c66ec88fSEmmanuel Vadot /* Regulator labels correspond with schematics */ 34c66ec88fSEmmanuel Vadot v_3_3: regulator-3-3v { 35c66ec88fSEmmanuel Vadot compatible = "regulator-fixed"; 36c66ec88fSEmmanuel Vadot regulator-name = "v_3_3"; 37c66ec88fSEmmanuel Vadot regulator-min-microvolt = <3300000>; 38c66ec88fSEmmanuel Vadot regulator-max-microvolt = <3300000>; 39c66ec88fSEmmanuel Vadot regulator-always-on; 40c66ec88fSEmmanuel Vadot status = "okay"; 41c66ec88fSEmmanuel Vadot }; 42c66ec88fSEmmanuel Vadot 43c66ec88fSEmmanuel Vadot v_vddo_h: regulator-1-8v { 44c66ec88fSEmmanuel Vadot compatible = "regulator-fixed"; 45c66ec88fSEmmanuel Vadot regulator-name = "v_vddo_h"; 46c66ec88fSEmmanuel Vadot regulator-min-microvolt = <1800000>; 47c66ec88fSEmmanuel Vadot regulator-max-microvolt = <1800000>; 48c66ec88fSEmmanuel Vadot regulator-always-on; 49c66ec88fSEmmanuel Vadot status = "okay"; 50c66ec88fSEmmanuel Vadot }; 51c66ec88fSEmmanuel Vadot 52c66ec88fSEmmanuel Vadot v_5v0_usb3_hst_vbus: regulator-usb3-vbus0 { 53c66ec88fSEmmanuel Vadot compatible = "regulator-fixed"; 54c66ec88fSEmmanuel Vadot enable-active-high; 55c66ec88fSEmmanuel Vadot gpio = <&cp0_gpio2 15 GPIO_ACTIVE_HIGH>; 56c66ec88fSEmmanuel Vadot pinctrl-names = "default"; 57c66ec88fSEmmanuel Vadot pinctrl-0 = <&cp0_xhci_vbus_pins>; 58c66ec88fSEmmanuel Vadot regulator-name = "v_5v0_usb3_hst_vbus"; 59c66ec88fSEmmanuel Vadot regulator-min-microvolt = <5000000>; 60c66ec88fSEmmanuel Vadot regulator-max-microvolt = <5000000>; 61c66ec88fSEmmanuel Vadot status = "okay"; 62c66ec88fSEmmanuel Vadot }; 63c66ec88fSEmmanuel Vadot 64c66ec88fSEmmanuel Vadot sfp_eth0: sfp-eth0 { 65c66ec88fSEmmanuel Vadot /* CON15,16 - CPM lane 4 */ 66c66ec88fSEmmanuel Vadot compatible = "sff,sfp"; 67c66ec88fSEmmanuel Vadot i2c-bus = <&sfpp0_i2c>; 68b97ee269SEmmanuel Vadot los-gpios = <&cp1_gpio1 28 GPIO_ACTIVE_HIGH>; 69b97ee269SEmmanuel Vadot mod-def0-gpios = <&cp1_gpio1 27 GPIO_ACTIVE_LOW>; 70b97ee269SEmmanuel Vadot tx-disable-gpios = <&cp1_gpio1 29 GPIO_ACTIVE_HIGH>; 71b97ee269SEmmanuel Vadot tx-fault-gpios = <&cp1_gpio1 26 GPIO_ACTIVE_HIGH>; 72c66ec88fSEmmanuel Vadot pinctrl-names = "default"; 73c66ec88fSEmmanuel Vadot pinctrl-0 = <&cp1_sfpp0_pins>; 74c66ec88fSEmmanuel Vadot maximum-power-milliwatt = <2000>; 75c66ec88fSEmmanuel Vadot }; 76c66ec88fSEmmanuel Vadot 77c66ec88fSEmmanuel Vadot sfp_eth1: sfp-eth1 { 78c66ec88fSEmmanuel Vadot /* CON17,18 - CPS lane 4 */ 79c66ec88fSEmmanuel Vadot compatible = "sff,sfp"; 80c66ec88fSEmmanuel Vadot i2c-bus = <&sfpp1_i2c>; 81b97ee269SEmmanuel Vadot los-gpios = <&cp1_gpio1 8 GPIO_ACTIVE_HIGH>; 82b97ee269SEmmanuel Vadot mod-def0-gpios = <&cp1_gpio1 11 GPIO_ACTIVE_LOW>; 83b97ee269SEmmanuel Vadot tx-disable-gpios = <&cp1_gpio1 10 GPIO_ACTIVE_HIGH>; 84b97ee269SEmmanuel Vadot tx-fault-gpios = <&cp0_gpio2 30 GPIO_ACTIVE_HIGH>; 85c66ec88fSEmmanuel Vadot pinctrl-names = "default"; 86c66ec88fSEmmanuel Vadot pinctrl-0 = <&cp1_sfpp1_pins &cp0_sfpp1_pins>; 87c66ec88fSEmmanuel Vadot maximum-power-milliwatt = <2000>; 88c66ec88fSEmmanuel Vadot }; 89c66ec88fSEmmanuel Vadot 90c66ec88fSEmmanuel Vadot sfp_eth3: sfp-eth3 { 91c66ec88fSEmmanuel Vadot /* CON13,14 - CPS lane 5 */ 92c66ec88fSEmmanuel Vadot compatible = "sff,sfp"; 93c66ec88fSEmmanuel Vadot i2c-bus = <&sfp_1g_i2c>; 94b97ee269SEmmanuel Vadot los-gpios = <&cp0_gpio2 22 GPIO_ACTIVE_HIGH>; 95b97ee269SEmmanuel Vadot mod-def0-gpios = <&cp0_gpio2 21 GPIO_ACTIVE_LOW>; 96b97ee269SEmmanuel Vadot tx-disable-gpios = <&cp1_gpio1 24 GPIO_ACTIVE_HIGH>; 97b97ee269SEmmanuel Vadot tx-fault-gpios = <&cp0_gpio2 19 GPIO_ACTIVE_HIGH>; 98c66ec88fSEmmanuel Vadot pinctrl-names = "default"; 99c66ec88fSEmmanuel Vadot pinctrl-0 = <&cp0_sfp_1g_pins &cp1_sfp_1g_pins>; 100c66ec88fSEmmanuel Vadot maximum-power-milliwatt = <2000>; 101c66ec88fSEmmanuel Vadot }; 102c66ec88fSEmmanuel Vadot}; 103c66ec88fSEmmanuel Vadot 104c66ec88fSEmmanuel Vadot&uart0 { 105c66ec88fSEmmanuel Vadot status = "okay"; 106c66ec88fSEmmanuel Vadot pinctrl-0 = <&uart0_pins>; 107c66ec88fSEmmanuel Vadot pinctrl-names = "default"; 108c66ec88fSEmmanuel Vadot}; 109c66ec88fSEmmanuel Vadot 110c66ec88fSEmmanuel Vadot&ap_sdhci0 { 111c66ec88fSEmmanuel Vadot bus-width = <8>; 112c66ec88fSEmmanuel Vadot /* 113c66ec88fSEmmanuel Vadot * Not stable in HS modes - phy needs "more calibration", so add 114c66ec88fSEmmanuel Vadot * the "slow-mode" and disable SDR104, SDR50 and DDR50 modes. 115c66ec88fSEmmanuel Vadot */ 116c66ec88fSEmmanuel Vadot marvell,xenon-phy-slow-mode; 117c66ec88fSEmmanuel Vadot no-1-8-v; 118c66ec88fSEmmanuel Vadot no-sd; 119c66ec88fSEmmanuel Vadot no-sdio; 120c66ec88fSEmmanuel Vadot non-removable; 121c66ec88fSEmmanuel Vadot status = "okay"; 122c66ec88fSEmmanuel Vadot vqmmc-supply = <&v_vddo_h>; 123c66ec88fSEmmanuel Vadot}; 124c66ec88fSEmmanuel Vadot 125c66ec88fSEmmanuel Vadot&cp0_i2c0 { 126c66ec88fSEmmanuel Vadot clock-frequency = <100000>; 127c66ec88fSEmmanuel Vadot pinctrl-names = "default"; 128c66ec88fSEmmanuel Vadot pinctrl-0 = <&cp0_i2c0_pins>; 129c66ec88fSEmmanuel Vadot status = "okay"; 130c66ec88fSEmmanuel Vadot}; 131c66ec88fSEmmanuel Vadot 132c66ec88fSEmmanuel Vadot&cp0_i2c1 { 133c66ec88fSEmmanuel Vadot clock-frequency = <100000>; 134c66ec88fSEmmanuel Vadot pinctrl-names = "default"; 135c66ec88fSEmmanuel Vadot pinctrl-0 = <&cp0_i2c1_pins>; 136c66ec88fSEmmanuel Vadot status = "okay"; 137c66ec88fSEmmanuel Vadot 138*f126890aSEmmanuel Vadot i2c-mux@70 { 139c66ec88fSEmmanuel Vadot compatible = "nxp,pca9548"; 140c66ec88fSEmmanuel Vadot #address-cells = <1>; 141c66ec88fSEmmanuel Vadot #size-cells = <0>; 142c66ec88fSEmmanuel Vadot reg = <0x70>; 143c66ec88fSEmmanuel Vadot 144c66ec88fSEmmanuel Vadot sfpp0_i2c: i2c@0 { 145c66ec88fSEmmanuel Vadot #address-cells = <1>; 146c66ec88fSEmmanuel Vadot #size-cells = <0>; 147c66ec88fSEmmanuel Vadot reg = <0>; 148c66ec88fSEmmanuel Vadot }; 149c66ec88fSEmmanuel Vadot sfpp1_i2c: i2c@1 { 150c66ec88fSEmmanuel Vadot #address-cells = <1>; 151c66ec88fSEmmanuel Vadot #size-cells = <0>; 152c66ec88fSEmmanuel Vadot reg = <1>; 153c66ec88fSEmmanuel Vadot }; 154c66ec88fSEmmanuel Vadot sfp_1g_i2c: i2c@2 { 155c66ec88fSEmmanuel Vadot #address-cells = <1>; 156c66ec88fSEmmanuel Vadot #size-cells = <0>; 157c66ec88fSEmmanuel Vadot reg = <2>; 158c66ec88fSEmmanuel Vadot }; 159c66ec88fSEmmanuel Vadot }; 160c66ec88fSEmmanuel Vadot}; 161c66ec88fSEmmanuel Vadot 162c66ec88fSEmmanuel Vadot/* J25 UART header */ 163c66ec88fSEmmanuel Vadot&cp0_uart1 { 164c66ec88fSEmmanuel Vadot pinctrl-names = "default"; 165c66ec88fSEmmanuel Vadot pinctrl-0 = <&cp0_uart1_pins>; 166c66ec88fSEmmanuel Vadot status = "okay"; 167c66ec88fSEmmanuel Vadot}; 168c66ec88fSEmmanuel Vadot 169c66ec88fSEmmanuel Vadot&cp0_mdio { 170c66ec88fSEmmanuel Vadot pinctrl-names = "default"; 171c66ec88fSEmmanuel Vadot pinctrl-0 = <&cp0_ge_mdio_pins>; 172c66ec88fSEmmanuel Vadot status = "okay"; 173c66ec88fSEmmanuel Vadot 174c66ec88fSEmmanuel Vadot ge_phy: ethernet-phy@0 { 175c66ec88fSEmmanuel Vadot reg = <0>; 176c66ec88fSEmmanuel Vadot }; 177c66ec88fSEmmanuel Vadot}; 178c66ec88fSEmmanuel Vadot 179c66ec88fSEmmanuel Vadot&cp0_pcie0 { 180c66ec88fSEmmanuel Vadot pinctrl-names = "default"; 181c66ec88fSEmmanuel Vadot pinctrl-0 = <&cp0_pcie_pins>; 182c66ec88fSEmmanuel Vadot num-lanes = <4>; 183c66ec88fSEmmanuel Vadot num-viewport = <8>; 184c66ec88fSEmmanuel Vadot reset-gpios = <&cp0_gpio2 20 GPIO_ACTIVE_LOW>; 185c66ec88fSEmmanuel Vadot ranges = <0x82000000 0x0 0xc0000000 0x0 0xc0000000 0x0 0x20000000>; 186c66ec88fSEmmanuel Vadot phys = <&cp0_comphy0 0>, <&cp0_comphy1 0>, 187c66ec88fSEmmanuel Vadot <&cp0_comphy2 0>, <&cp0_comphy3 0>; 188c66ec88fSEmmanuel Vadot phy-names = "cp0-pcie0-x4-lane0-phy", "cp0-pcie0-x4-lane1-phy", 189c66ec88fSEmmanuel Vadot "cp0-pcie0-x4-lane2-phy", "cp0-pcie0-x4-lane3-phy"; 190c66ec88fSEmmanuel Vadot status = "okay"; 191c66ec88fSEmmanuel Vadot}; 192c66ec88fSEmmanuel Vadot 193c66ec88fSEmmanuel Vadot&cp0_pinctrl { 194c66ec88fSEmmanuel Vadot cp0_ge_mdio_pins: ge-mdio-pins { 195c66ec88fSEmmanuel Vadot marvell,pins = "mpp32", "mpp34"; 196c66ec88fSEmmanuel Vadot marvell,function = "ge"; 197c66ec88fSEmmanuel Vadot }; 198c66ec88fSEmmanuel Vadot cp0_i2c1_pins: i2c1-pins { 199c66ec88fSEmmanuel Vadot marvell,pins = "mpp35", "mpp36"; 200c66ec88fSEmmanuel Vadot marvell,function = "i2c1"; 201c66ec88fSEmmanuel Vadot }; 202c66ec88fSEmmanuel Vadot cp0_i2c0_pins: i2c0-pins { 203c66ec88fSEmmanuel Vadot marvell,pins = "mpp37", "mpp38"; 204c66ec88fSEmmanuel Vadot marvell,function = "i2c0"; 205c66ec88fSEmmanuel Vadot }; 206c66ec88fSEmmanuel Vadot cp0_uart1_pins: uart1-pins { 207c66ec88fSEmmanuel Vadot marvell,pins = "mpp40", "mpp41"; 208c66ec88fSEmmanuel Vadot marvell,function = "uart1"; 209c66ec88fSEmmanuel Vadot }; 210c66ec88fSEmmanuel Vadot cp0_xhci_vbus_pins: xhci0-vbus-pins { 211c66ec88fSEmmanuel Vadot marvell,pins = "mpp47"; 212c66ec88fSEmmanuel Vadot marvell,function = "gpio"; 213c66ec88fSEmmanuel Vadot }; 214c66ec88fSEmmanuel Vadot cp0_sfp_1g_pins: sfp-1g-pins { 215c66ec88fSEmmanuel Vadot marvell,pins = "mpp51", "mpp53", "mpp54"; 216c66ec88fSEmmanuel Vadot marvell,function = "gpio"; 217c66ec88fSEmmanuel Vadot }; 218c66ec88fSEmmanuel Vadot cp0_pcie_pins: pcie-pins { 219c66ec88fSEmmanuel Vadot marvell,pins = "mpp52"; 220c66ec88fSEmmanuel Vadot marvell,function = "gpio"; 221c66ec88fSEmmanuel Vadot }; 222c66ec88fSEmmanuel Vadot cp0_sdhci_pins: sdhci-pins { 223c66ec88fSEmmanuel Vadot marvell,pins = "mpp55", "mpp56", "mpp57", "mpp58", "mpp59", 224c66ec88fSEmmanuel Vadot "mpp60", "mpp61"; 225c66ec88fSEmmanuel Vadot marvell,function = "sdio"; 226c66ec88fSEmmanuel Vadot }; 227c66ec88fSEmmanuel Vadot cp0_sfpp1_pins: sfpp1-pins { 228c66ec88fSEmmanuel Vadot marvell,pins = "mpp62"; 229c66ec88fSEmmanuel Vadot marvell,function = "gpio"; 230c66ec88fSEmmanuel Vadot }; 231c66ec88fSEmmanuel Vadot}; 232c66ec88fSEmmanuel Vadot 233c66ec88fSEmmanuel Vadot&cp0_ethernet { 234c66ec88fSEmmanuel Vadot status = "okay"; 235c66ec88fSEmmanuel Vadot}; 236c66ec88fSEmmanuel Vadot 237c66ec88fSEmmanuel Vadot&cp0_eth0 { 238c66ec88fSEmmanuel Vadot /* Generic PHY, providing serdes lanes */ 239c66ec88fSEmmanuel Vadot phys = <&cp0_comphy4 0>; 240c66ec88fSEmmanuel Vadot}; 241c66ec88fSEmmanuel Vadot 242c66ec88fSEmmanuel Vadot&cp0_sata0 { 243c66ec88fSEmmanuel Vadot status = "okay"; 244c66ec88fSEmmanuel Vadot 245c66ec88fSEmmanuel Vadot /* CPM Lane 5 - U29 */ 246c66ec88fSEmmanuel Vadot sata-port@1 { 247c66ec88fSEmmanuel Vadot phys = <&cp0_comphy5 1>; 248c66ec88fSEmmanuel Vadot phy-names = "cp0-sata0-1-phy"; 249c66ec88fSEmmanuel Vadot }; 250c66ec88fSEmmanuel Vadot}; 251c66ec88fSEmmanuel Vadot 252c66ec88fSEmmanuel Vadot&cp0_sdhci0 { 253c66ec88fSEmmanuel Vadot /* U6 */ 254c66ec88fSEmmanuel Vadot broken-cd; 255c66ec88fSEmmanuel Vadot bus-width = <4>; 256c66ec88fSEmmanuel Vadot pinctrl-names = "default"; 257c66ec88fSEmmanuel Vadot pinctrl-0 = <&cp0_sdhci_pins>; 258c66ec88fSEmmanuel Vadot status = "okay"; 259c66ec88fSEmmanuel Vadot vqmmc-supply = <&v_3_3>; 260c66ec88fSEmmanuel Vadot}; 261c66ec88fSEmmanuel Vadot 2622eb4d8dcSEmmanuel Vadot&cp0_utmi { 2632eb4d8dcSEmmanuel Vadot status = "okay"; 2642eb4d8dcSEmmanuel Vadot}; 2652eb4d8dcSEmmanuel Vadot 266c66ec88fSEmmanuel Vadot&cp0_usb3_0 { 267c66ec88fSEmmanuel Vadot /* J38? - USB2.0 only */ 2682eb4d8dcSEmmanuel Vadot phys = <&cp0_utmi0>; 2692eb4d8dcSEmmanuel Vadot phy-names = "utmi"; 2702eb4d8dcSEmmanuel Vadot dr_mode = "host"; 271c66ec88fSEmmanuel Vadot status = "okay"; 272c66ec88fSEmmanuel Vadot}; 273c66ec88fSEmmanuel Vadot 274c66ec88fSEmmanuel Vadot&cp0_usb3_1 { 275c66ec88fSEmmanuel Vadot /* J38? - USB2.0 only */ 2762eb4d8dcSEmmanuel Vadot phys = <&cp0_utmi1>; 2772eb4d8dcSEmmanuel Vadot phy-names = "utmi"; 2782eb4d8dcSEmmanuel Vadot dr_mode = "host"; 279c66ec88fSEmmanuel Vadot status = "okay"; 280c66ec88fSEmmanuel Vadot}; 281c66ec88fSEmmanuel Vadot 282c66ec88fSEmmanuel Vadot&cp1_ethernet { 283c66ec88fSEmmanuel Vadot status = "okay"; 284c66ec88fSEmmanuel Vadot}; 285c66ec88fSEmmanuel Vadot 286c66ec88fSEmmanuel Vadot&cp1_eth0 { 287c66ec88fSEmmanuel Vadot /* Generic PHY, providing serdes lanes */ 288c66ec88fSEmmanuel Vadot phys = <&cp1_comphy4 0>; 289c66ec88fSEmmanuel Vadot}; 290c66ec88fSEmmanuel Vadot 291c66ec88fSEmmanuel Vadot&cp1_eth1 { 292c66ec88fSEmmanuel Vadot /* CPS Lane 0 - J5 (Gigabit RJ45) */ 293c66ec88fSEmmanuel Vadot status = "okay"; 294c66ec88fSEmmanuel Vadot /* Network PHY */ 295c66ec88fSEmmanuel Vadot phy = <&ge_phy>; 296c66ec88fSEmmanuel Vadot phy-mode = "sgmii"; 297c66ec88fSEmmanuel Vadot /* Generic PHY, providing serdes lanes */ 298c66ec88fSEmmanuel Vadot phys = <&cp1_comphy0 1>; 299c66ec88fSEmmanuel Vadot}; 300c66ec88fSEmmanuel Vadot 301c66ec88fSEmmanuel Vadot&cp1_eth2 { 302c66ec88fSEmmanuel Vadot /* CPS Lane 5 */ 303c66ec88fSEmmanuel Vadot status = "okay"; 304c66ec88fSEmmanuel Vadot /* Network PHY */ 305c66ec88fSEmmanuel Vadot phy-mode = "2500base-x"; 306c66ec88fSEmmanuel Vadot managed = "in-band-status"; 307c66ec88fSEmmanuel Vadot /* Generic PHY, providing serdes lanes */ 308c66ec88fSEmmanuel Vadot phys = <&cp1_comphy5 2>; 309c66ec88fSEmmanuel Vadot sfp = <&sfp_eth3>; 310c66ec88fSEmmanuel Vadot}; 311c66ec88fSEmmanuel Vadot 312c66ec88fSEmmanuel Vadot&cp1_pinctrl { 313c66ec88fSEmmanuel Vadot cp1_sfpp1_pins: sfpp1-pins { 314c66ec88fSEmmanuel Vadot marvell,pins = "mpp8", "mpp10", "mpp11"; 315c66ec88fSEmmanuel Vadot marvell,function = "gpio"; 316c66ec88fSEmmanuel Vadot }; 317c66ec88fSEmmanuel Vadot cp1_spi1_pins: spi1-pins { 318c66ec88fSEmmanuel Vadot marvell,pins = "mpp12", "mpp13", "mpp14", "mpp15", "mpp16"; 319c66ec88fSEmmanuel Vadot marvell,function = "spi1"; 320c66ec88fSEmmanuel Vadot }; 321c66ec88fSEmmanuel Vadot cp1_uart0_pins: uart0-pins { 322c66ec88fSEmmanuel Vadot marvell,pins = "mpp6", "mpp7"; 323c66ec88fSEmmanuel Vadot marvell,function = "uart0"; 324c66ec88fSEmmanuel Vadot }; 325c66ec88fSEmmanuel Vadot cp1_sfp_1g_pins: sfp-1g-pins { 326c66ec88fSEmmanuel Vadot marvell,pins = "mpp24"; 327c66ec88fSEmmanuel Vadot marvell,function = "gpio"; 328c66ec88fSEmmanuel Vadot }; 329c66ec88fSEmmanuel Vadot cp1_sfpp0_pins: sfpp0-pins { 330c66ec88fSEmmanuel Vadot marvell,pins = "mpp26", "mpp27", "mpp28", "mpp29"; 331c66ec88fSEmmanuel Vadot marvell,function = "gpio"; 332c66ec88fSEmmanuel Vadot }; 333c66ec88fSEmmanuel Vadot}; 334c66ec88fSEmmanuel Vadot 335c66ec88fSEmmanuel Vadot/* J27 UART header */ 336c66ec88fSEmmanuel Vadot&cp1_uart0 { 337c66ec88fSEmmanuel Vadot pinctrl-names = "default"; 338c66ec88fSEmmanuel Vadot pinctrl-0 = <&cp1_uart0_pins>; 339c66ec88fSEmmanuel Vadot status = "okay"; 340c66ec88fSEmmanuel Vadot}; 341c66ec88fSEmmanuel Vadot 342c66ec88fSEmmanuel Vadot&cp1_sata0 { 343c66ec88fSEmmanuel Vadot status = "okay"; 344c66ec88fSEmmanuel Vadot 345c66ec88fSEmmanuel Vadot /* CPS Lane 1 - U32 */ 346c66ec88fSEmmanuel Vadot sata-port@0 { 347c66ec88fSEmmanuel Vadot phys = <&cp1_comphy1 0>; 348c66ec88fSEmmanuel Vadot phy-names = "cp1-sata0-0-phy"; 349c66ec88fSEmmanuel Vadot }; 350c66ec88fSEmmanuel Vadot 351c66ec88fSEmmanuel Vadot /* CPS Lane 3 - U31 */ 352c66ec88fSEmmanuel Vadot sata-port@1 { 353c66ec88fSEmmanuel Vadot phys = <&cp1_comphy3 1>; 354c66ec88fSEmmanuel Vadot phy-names = "cp1-sata0-1-phy"; 355c66ec88fSEmmanuel Vadot }; 356c66ec88fSEmmanuel Vadot}; 357c66ec88fSEmmanuel Vadot 358c66ec88fSEmmanuel Vadot&cp1_spi1 { 359c66ec88fSEmmanuel Vadot pinctrl-names = "default"; 360c66ec88fSEmmanuel Vadot pinctrl-0 = <&cp1_spi1_pins>; 361c66ec88fSEmmanuel Vadot status = "okay"; 362c66ec88fSEmmanuel Vadot 363d5b0e70fSEmmanuel Vadot flash@0 { 364c66ec88fSEmmanuel Vadot compatible = "st,w25q32"; 365c66ec88fSEmmanuel Vadot spi-max-frequency = <50000000>; 366c66ec88fSEmmanuel Vadot reg = <0>; 367c66ec88fSEmmanuel Vadot }; 368c66ec88fSEmmanuel Vadot}; 369c66ec88fSEmmanuel Vadot 370c66ec88fSEmmanuel Vadot&cp1_comphy2 { 371c66ec88fSEmmanuel Vadot cp1_usbh0_con: connector { 372c66ec88fSEmmanuel Vadot compatible = "usb-a-connector"; 373c66ec88fSEmmanuel Vadot phy-supply = <&v_5v0_usb3_hst_vbus>; 374c66ec88fSEmmanuel Vadot }; 375c66ec88fSEmmanuel Vadot}; 376c66ec88fSEmmanuel Vadot 3772eb4d8dcSEmmanuel Vadot&cp1_utmi { 3782eb4d8dcSEmmanuel Vadot status = "okay"; 3792eb4d8dcSEmmanuel Vadot}; 3802eb4d8dcSEmmanuel Vadot 381c66ec88fSEmmanuel Vadot&cp1_usb3_0 { 382c66ec88fSEmmanuel Vadot /* CPS Lane 2 - CON7 */ 3832eb4d8dcSEmmanuel Vadot phys = <&cp1_comphy2 0>, <&cp1_utmi0>; 3842eb4d8dcSEmmanuel Vadot phy-names = "cp1-usb3h0-comphy", "utmi"; 3852eb4d8dcSEmmanuel Vadot dr_mode = "host"; 386c66ec88fSEmmanuel Vadot status = "okay"; 387c66ec88fSEmmanuel Vadot}; 388