1f126890aSEmmanuel Vadot// SPDX-License-Identifier: (GPL-2.0 OR MIT) 2f126890aSEmmanuel Vadot/* 3f126890aSEmmanuel Vadot * Device Tree file for Marvell Armada 385 development board 4f126890aSEmmanuel Vadot * (RD-88F6820-GP) 5f126890aSEmmanuel Vadot * 6f126890aSEmmanuel Vadot * Copyright (C) 2014 Marvell 7f126890aSEmmanuel Vadot * 8f126890aSEmmanuel Vadot * Gregory CLEMENT <gregory.clement@free-electrons.com> 9f126890aSEmmanuel Vadot */ 10f126890aSEmmanuel Vadot 11f126890aSEmmanuel Vadot/dts-v1/; 12f126890aSEmmanuel Vadot#include "armada-388.dtsi" 13f126890aSEmmanuel Vadot#include <dt-bindings/gpio/gpio.h> 14f126890aSEmmanuel Vadot 15f126890aSEmmanuel Vadot/ { 16f126890aSEmmanuel Vadot model = "Marvell Armada 388 DB-88F6820-GP"; 17f126890aSEmmanuel Vadot compatible = "marvell,a388-gp", "marvell,armada388", "marvell,armada380"; 18f126890aSEmmanuel Vadot 19f126890aSEmmanuel Vadot chosen { 20f126890aSEmmanuel Vadot stdout-path = "serial0:115200n8"; 21f126890aSEmmanuel Vadot }; 22f126890aSEmmanuel Vadot 23f126890aSEmmanuel Vadot memory { 24f126890aSEmmanuel Vadot device_type = "memory"; 25f126890aSEmmanuel Vadot reg = <0x00000000 0x80000000>; /* 2 GB */ 26f126890aSEmmanuel Vadot }; 27f126890aSEmmanuel Vadot 28f126890aSEmmanuel Vadot soc { 29f126890aSEmmanuel Vadot ranges = <MBUS_ID(0xf0, 0x01) 0 0xf1000000 0x100000 30f126890aSEmmanuel Vadot MBUS_ID(0x01, 0x1d) 0 0xfff00000 0x100000 31f126890aSEmmanuel Vadot MBUS_ID(0x09, 0x19) 0 0xf1100000 0x10000 32f126890aSEmmanuel Vadot MBUS_ID(0x09, 0x15) 0 0xf1110000 0x10000 33f126890aSEmmanuel Vadot MBUS_ID(0x0c, 0x04) 0 0xf1200000 0x100000>; 34f126890aSEmmanuel Vadot 35f126890aSEmmanuel Vadot internal-regs { 36f126890aSEmmanuel Vadot i2c@11000 { 37f126890aSEmmanuel Vadot pinctrl-names = "default"; 38f126890aSEmmanuel Vadot pinctrl-0 = <&i2c0_pins>; 39f126890aSEmmanuel Vadot status = "okay"; 40f126890aSEmmanuel Vadot clock-frequency = <100000>; 41f126890aSEmmanuel Vadot 42f126890aSEmmanuel Vadot expander0: pca9555@20 { 43f126890aSEmmanuel Vadot compatible = "nxp,pca9555"; 44f126890aSEmmanuel Vadot pinctrl-names = "default"; 45f126890aSEmmanuel Vadot pinctrl-0 = <&pca0_pins>; 46f126890aSEmmanuel Vadot interrupt-parent = <&gpio0>; 47f126890aSEmmanuel Vadot interrupts = <18 IRQ_TYPE_LEVEL_LOW>; 48f126890aSEmmanuel Vadot gpio-controller; 49f126890aSEmmanuel Vadot #gpio-cells = <2>; 50f126890aSEmmanuel Vadot interrupt-controller; 51f126890aSEmmanuel Vadot #interrupt-cells = <2>; 52f126890aSEmmanuel Vadot reg = <0x20>; 53f126890aSEmmanuel Vadot }; 54f126890aSEmmanuel Vadot 55f126890aSEmmanuel Vadot expander1: pca9555@21 { 56f126890aSEmmanuel Vadot compatible = "nxp,pca9555"; 57f126890aSEmmanuel Vadot pinctrl-names = "default"; 58f126890aSEmmanuel Vadot interrupt-parent = <&gpio0>; 59f126890aSEmmanuel Vadot interrupts = <18 IRQ_TYPE_LEVEL_LOW>; 60f126890aSEmmanuel Vadot gpio-controller; 61f126890aSEmmanuel Vadot #gpio-cells = <2>; 62f126890aSEmmanuel Vadot interrupt-controller; 63f126890aSEmmanuel Vadot #interrupt-cells = <2>; 64f126890aSEmmanuel Vadot reg = <0x21>; 65f126890aSEmmanuel Vadot }; 66f126890aSEmmanuel Vadot 67f126890aSEmmanuel Vadot eeprom@57 { 68f126890aSEmmanuel Vadot compatible = "atmel,24c64"; 69f126890aSEmmanuel Vadot reg = <0x57>; 70f126890aSEmmanuel Vadot }; 71f126890aSEmmanuel Vadot }; 72f126890aSEmmanuel Vadot 73f126890aSEmmanuel Vadot serial@12000 { 74f126890aSEmmanuel Vadot /* 75f126890aSEmmanuel Vadot * Exported on the micro USB connector CON16 76f126890aSEmmanuel Vadot * through an FTDI 77f126890aSEmmanuel Vadot */ 78f126890aSEmmanuel Vadot 79f126890aSEmmanuel Vadot pinctrl-names = "default"; 80f126890aSEmmanuel Vadot pinctrl-0 = <&uart0_pins>; 81f126890aSEmmanuel Vadot status = "okay"; 82f126890aSEmmanuel Vadot }; 83f126890aSEmmanuel Vadot 84f126890aSEmmanuel Vadot /* GE1 CON15 */ 85f126890aSEmmanuel Vadot ethernet@30000 { 86f126890aSEmmanuel Vadot pinctrl-names = "default"; 87f126890aSEmmanuel Vadot pinctrl-0 = <&ge1_rgmii_pins>; 88f126890aSEmmanuel Vadot status = "okay"; 89f126890aSEmmanuel Vadot phy = <&phy1>; 90f126890aSEmmanuel Vadot phy-mode = "rgmii-id"; 91f126890aSEmmanuel Vadot buffer-manager = <&bm>; 92f126890aSEmmanuel Vadot bm,pool-long = <2>; 93f126890aSEmmanuel Vadot bm,pool-short = <3>; 94f126890aSEmmanuel Vadot }; 95f126890aSEmmanuel Vadot 96f126890aSEmmanuel Vadot /* CON4 */ 97f126890aSEmmanuel Vadot usb@58000 { 98f126890aSEmmanuel Vadot vcc-supply = <®_usb2_0_vbus>; 99f126890aSEmmanuel Vadot status = "okay"; 100f126890aSEmmanuel Vadot }; 101f126890aSEmmanuel Vadot 102f126890aSEmmanuel Vadot /* GE0 CON1 */ 103f126890aSEmmanuel Vadot ethernet@70000 { 104f126890aSEmmanuel Vadot pinctrl-names = "default"; 105f126890aSEmmanuel Vadot /* 106f126890aSEmmanuel Vadot * The Reference Clock 0 is used to provide a 107f126890aSEmmanuel Vadot * clock to the PHY 108f126890aSEmmanuel Vadot */ 109f126890aSEmmanuel Vadot pinctrl-0 = <&ge0_rgmii_pins>, <&ref_clk0_pins>; 110f126890aSEmmanuel Vadot status = "okay"; 111f126890aSEmmanuel Vadot phy = <&phy0>; 112f126890aSEmmanuel Vadot phy-mode = "rgmii-id"; 113f126890aSEmmanuel Vadot buffer-manager = <&bm>; 114f126890aSEmmanuel Vadot bm,pool-long = <0>; 115f126890aSEmmanuel Vadot bm,pool-short = <1>; 116f126890aSEmmanuel Vadot }; 117f126890aSEmmanuel Vadot 118f126890aSEmmanuel Vadot 119f126890aSEmmanuel Vadot mdio@72004 { 120f126890aSEmmanuel Vadot pinctrl-names = "default"; 121f126890aSEmmanuel Vadot pinctrl-0 = <&mdio_pins>; 122f126890aSEmmanuel Vadot 123f126890aSEmmanuel Vadot phy0: ethernet-phy@1 { 124f126890aSEmmanuel Vadot reg = <1>; 125f126890aSEmmanuel Vadot }; 126f126890aSEmmanuel Vadot 127f126890aSEmmanuel Vadot phy1: ethernet-phy@0 { 128f126890aSEmmanuel Vadot reg = <0>; 129f126890aSEmmanuel Vadot }; 130f126890aSEmmanuel Vadot }; 131f126890aSEmmanuel Vadot 132f126890aSEmmanuel Vadot sata@a8000 { 133f126890aSEmmanuel Vadot pinctrl-names = "default"; 134f126890aSEmmanuel Vadot pinctrl-0 = <&sata0_pins>, <&sata1_pins>; 135f126890aSEmmanuel Vadot status = "okay"; 136f126890aSEmmanuel Vadot #address-cells = <1>; 137f126890aSEmmanuel Vadot #size-cells = <0>; 138f126890aSEmmanuel Vadot 139f126890aSEmmanuel Vadot sata0: sata-port@0 { 140f126890aSEmmanuel Vadot reg = <0>; 141f126890aSEmmanuel Vadot target-supply = <®_5v_sata0>; 142f126890aSEmmanuel Vadot }; 143f126890aSEmmanuel Vadot 144f126890aSEmmanuel Vadot sata1: sata-port@1 { 145f126890aSEmmanuel Vadot reg = <1>; 146f126890aSEmmanuel Vadot target-supply = <®_5v_sata1>; 147f126890aSEmmanuel Vadot }; 148f126890aSEmmanuel Vadot }; 149f126890aSEmmanuel Vadot 150f126890aSEmmanuel Vadot bm@c8000 { 151f126890aSEmmanuel Vadot status = "okay"; 152f126890aSEmmanuel Vadot }; 153f126890aSEmmanuel Vadot 154f126890aSEmmanuel Vadot sata@e0000 { 155f126890aSEmmanuel Vadot pinctrl-names = "default"; 156f126890aSEmmanuel Vadot pinctrl-0 = <&sata2_pins>, <&sata3_pins>; 157f126890aSEmmanuel Vadot status = "okay"; 158f126890aSEmmanuel Vadot #address-cells = <1>; 159f126890aSEmmanuel Vadot #size-cells = <0>; 160f126890aSEmmanuel Vadot 161f126890aSEmmanuel Vadot sata2: sata-port@0 { 162f126890aSEmmanuel Vadot reg = <0>; 163f126890aSEmmanuel Vadot target-supply = <®_5v_sata2>; 164f126890aSEmmanuel Vadot }; 165f126890aSEmmanuel Vadot 166f126890aSEmmanuel Vadot sata3: sata-port@1 { 167f126890aSEmmanuel Vadot reg = <1>; 168f126890aSEmmanuel Vadot target-supply = <®_5v_sata3>; 169f126890aSEmmanuel Vadot }; 170f126890aSEmmanuel Vadot }; 171f126890aSEmmanuel Vadot 172f126890aSEmmanuel Vadot sdhci@d8000 { 173f126890aSEmmanuel Vadot pinctrl-names = "default"; 174f126890aSEmmanuel Vadot pinctrl-0 = <&sdhci_pins>; 175f126890aSEmmanuel Vadot no-1-8-v; 176f126890aSEmmanuel Vadot /* 177f126890aSEmmanuel Vadot * A388-GP board v1.5 and higher replace 178f126890aSEmmanuel Vadot * hitherto card detection method based on GPIO 179f126890aSEmmanuel Vadot * with the one using DAT3 pin. As they are 180f126890aSEmmanuel Vadot * incompatible, software-based polling is 181f126890aSEmmanuel Vadot * enabled with 'broken-cd' property. For boards 182f126890aSEmmanuel Vadot * older than v1.5 it can be replaced with: 183f126890aSEmmanuel Vadot * 'cd-gpios = <&expander0 5 GPIO_ACTIVE_LOW>;', 184f126890aSEmmanuel Vadot * whereas for the newer ones following can be 185f126890aSEmmanuel Vadot * used instead: 186f126890aSEmmanuel Vadot * 'dat3-cd;' 187f126890aSEmmanuel Vadot * 'cd-inverted;' 188f126890aSEmmanuel Vadot */ 189f126890aSEmmanuel Vadot broken-cd; 190f126890aSEmmanuel Vadot wp-inverted; 191f126890aSEmmanuel Vadot bus-width = <8>; 192f126890aSEmmanuel Vadot status = "okay"; 193f126890aSEmmanuel Vadot }; 194f126890aSEmmanuel Vadot 195f126890aSEmmanuel Vadot /* CON5 */ 196f126890aSEmmanuel Vadot usb3@f0000 { 197f126890aSEmmanuel Vadot usb-phy = <&usb2_1_phy>; 198f126890aSEmmanuel Vadot status = "okay"; 199f126890aSEmmanuel Vadot }; 200f126890aSEmmanuel Vadot 201f126890aSEmmanuel Vadot /* CON7 */ 202f126890aSEmmanuel Vadot usb3@f8000 { 203f126890aSEmmanuel Vadot usb-phy = <&usb3_phy>; 204f126890aSEmmanuel Vadot status = "okay"; 205f126890aSEmmanuel Vadot }; 206f126890aSEmmanuel Vadot }; 207f126890aSEmmanuel Vadot 208f126890aSEmmanuel Vadot bm-bppi { 209f126890aSEmmanuel Vadot status = "okay"; 210f126890aSEmmanuel Vadot }; 211f126890aSEmmanuel Vadot 212f126890aSEmmanuel Vadot pcie { 213f126890aSEmmanuel Vadot status = "okay"; 214f126890aSEmmanuel Vadot /* 215f126890aSEmmanuel Vadot * One PCIe units is accessible through 216f126890aSEmmanuel Vadot * standard PCIe slot on the board. 217f126890aSEmmanuel Vadot */ 218f126890aSEmmanuel Vadot pcie@1,0 { 219f126890aSEmmanuel Vadot /* Port 0, Lane 0 */ 220f126890aSEmmanuel Vadot status = "okay"; 221f126890aSEmmanuel Vadot }; 222f126890aSEmmanuel Vadot 223f126890aSEmmanuel Vadot /* 224f126890aSEmmanuel Vadot * The two other PCIe units are accessible 225f126890aSEmmanuel Vadot * through mini PCIe slot on the board. 226f126890aSEmmanuel Vadot */ 227f126890aSEmmanuel Vadot pcie@2,0 { 228f126890aSEmmanuel Vadot /* Port 1, Lane 0 */ 229f126890aSEmmanuel Vadot status = "okay"; 230f126890aSEmmanuel Vadot }; 231f126890aSEmmanuel Vadot pcie@3,0 { 232f126890aSEmmanuel Vadot /* Port 2, Lane 0 */ 233f126890aSEmmanuel Vadot status = "okay"; 234f126890aSEmmanuel Vadot }; 235f126890aSEmmanuel Vadot }; 236f126890aSEmmanuel Vadot 237f126890aSEmmanuel Vadot gpio-fan { 238f126890aSEmmanuel Vadot compatible = "gpio-fan"; 239f126890aSEmmanuel Vadot gpios = <&expander1 3 GPIO_ACTIVE_HIGH>; 240*8d13bc63SEmmanuel Vadot gpio-fan,speed-map = < 0 0>, 241*8d13bc63SEmmanuel Vadot <3000 1>; 242f126890aSEmmanuel Vadot }; 243f126890aSEmmanuel Vadot }; 244f126890aSEmmanuel Vadot 245f126890aSEmmanuel Vadot usb2_1_phy: usb2_1_phy { 246f126890aSEmmanuel Vadot compatible = "usb-nop-xceiv"; 247f126890aSEmmanuel Vadot vcc-supply = <®_usb2_1_vbus>; 248f126890aSEmmanuel Vadot #phy-cells = <0>; 249f126890aSEmmanuel Vadot }; 250f126890aSEmmanuel Vadot 251f126890aSEmmanuel Vadot usb3_phy: usb3_phy { 252f126890aSEmmanuel Vadot compatible = "usb-nop-xceiv"; 253f126890aSEmmanuel Vadot vcc-supply = <®_usb3_vbus>; 254f126890aSEmmanuel Vadot #phy-cells = <0>; 255f126890aSEmmanuel Vadot }; 256f126890aSEmmanuel Vadot 257f126890aSEmmanuel Vadot reg_usb3_vbus: usb3-vbus { 258f126890aSEmmanuel Vadot compatible = "regulator-fixed"; 259f126890aSEmmanuel Vadot regulator-name = "usb3-vbus"; 260f126890aSEmmanuel Vadot regulator-min-microvolt = <5000000>; 261f126890aSEmmanuel Vadot regulator-max-microvolt = <5000000>; 262f126890aSEmmanuel Vadot enable-active-high; 263f126890aSEmmanuel Vadot gpio = <&expander1 15 GPIO_ACTIVE_HIGH>; 264f126890aSEmmanuel Vadot }; 265f126890aSEmmanuel Vadot 266f126890aSEmmanuel Vadot reg_usb2_0_vbus: v5-vbus0 { 267f126890aSEmmanuel Vadot compatible = "regulator-fixed"; 268f126890aSEmmanuel Vadot regulator-name = "v5.0-vbus0"; 269f126890aSEmmanuel Vadot regulator-min-microvolt = <5000000>; 270f126890aSEmmanuel Vadot regulator-max-microvolt = <5000000>; 271f126890aSEmmanuel Vadot enable-active-high; 272f126890aSEmmanuel Vadot regulator-always-on; 273f126890aSEmmanuel Vadot gpio = <&expander1 14 GPIO_ACTIVE_HIGH>; 274f126890aSEmmanuel Vadot }; 275f126890aSEmmanuel Vadot 276f126890aSEmmanuel Vadot reg_usb2_1_vbus: v5-vbus1 { 277f126890aSEmmanuel Vadot compatible = "regulator-fixed"; 278f126890aSEmmanuel Vadot regulator-name = "v5.0-vbus1"; 279f126890aSEmmanuel Vadot regulator-min-microvolt = <5000000>; 280f126890aSEmmanuel Vadot regulator-max-microvolt = <5000000>; 281f126890aSEmmanuel Vadot enable-active-high; 282f126890aSEmmanuel Vadot gpio = <&expander0 4 GPIO_ACTIVE_HIGH>; 283f126890aSEmmanuel Vadot }; 284f126890aSEmmanuel Vadot 285f126890aSEmmanuel Vadot reg_sata0: pwr-sata0 { 286f126890aSEmmanuel Vadot compatible = "regulator-fixed"; 287f126890aSEmmanuel Vadot regulator-name = "pwr_en_sata0"; 288f126890aSEmmanuel Vadot regulator-min-microvolt = <12000000>; 289f126890aSEmmanuel Vadot regulator-max-microvolt = <12000000>; 290f126890aSEmmanuel Vadot enable-active-high; 291f126890aSEmmanuel Vadot regulator-boot-on; 292f126890aSEmmanuel Vadot gpio = <&expander0 2 GPIO_ACTIVE_HIGH>; 293f126890aSEmmanuel Vadot }; 294f126890aSEmmanuel Vadot 295f126890aSEmmanuel Vadot reg_5v_sata0: v5-sata0 { 296f126890aSEmmanuel Vadot compatible = "regulator-fixed"; 297f126890aSEmmanuel Vadot regulator-name = "v5.0-sata0"; 298f126890aSEmmanuel Vadot regulator-min-microvolt = <5000000>; 299f126890aSEmmanuel Vadot regulator-max-microvolt = <5000000>; 300f126890aSEmmanuel Vadot vin-supply = <®_sata0>; 301f126890aSEmmanuel Vadot }; 302f126890aSEmmanuel Vadot 303f126890aSEmmanuel Vadot reg_12v_sata0: v12-sata0 { 304f126890aSEmmanuel Vadot compatible = "regulator-fixed"; 305f126890aSEmmanuel Vadot regulator-name = "v12.0-sata0"; 306f126890aSEmmanuel Vadot regulator-min-microvolt = <12000000>; 307f126890aSEmmanuel Vadot regulator-max-microvolt = <12000000>; 308f126890aSEmmanuel Vadot vin-supply = <®_sata0>; 309f126890aSEmmanuel Vadot }; 310f126890aSEmmanuel Vadot 311f126890aSEmmanuel Vadot reg_sata1: pwr-sata1 { 312f126890aSEmmanuel Vadot regulator-name = "pwr_en_sata1"; 313f126890aSEmmanuel Vadot compatible = "regulator-fixed"; 314f126890aSEmmanuel Vadot regulator-min-microvolt = <12000000>; 315f126890aSEmmanuel Vadot regulator-max-microvolt = <12000000>; 316f126890aSEmmanuel Vadot enable-active-high; 317f126890aSEmmanuel Vadot regulator-boot-on; 318f126890aSEmmanuel Vadot gpio = <&expander0 3 GPIO_ACTIVE_HIGH>; 319f126890aSEmmanuel Vadot }; 320f126890aSEmmanuel Vadot 321f126890aSEmmanuel Vadot reg_5v_sata1: v5-sata1 { 322f126890aSEmmanuel Vadot compatible = "regulator-fixed"; 323f126890aSEmmanuel Vadot regulator-name = "v5.0-sata1"; 324f126890aSEmmanuel Vadot regulator-min-microvolt = <5000000>; 325f126890aSEmmanuel Vadot regulator-max-microvolt = <5000000>; 326f126890aSEmmanuel Vadot vin-supply = <®_sata1>; 327f126890aSEmmanuel Vadot }; 328f126890aSEmmanuel Vadot 329f126890aSEmmanuel Vadot reg_12v_sata1: v12-sata1 { 330f126890aSEmmanuel Vadot compatible = "regulator-fixed"; 331f126890aSEmmanuel Vadot regulator-name = "v12.0-sata1"; 332f126890aSEmmanuel Vadot regulator-min-microvolt = <12000000>; 333f126890aSEmmanuel Vadot regulator-max-microvolt = <12000000>; 334f126890aSEmmanuel Vadot vin-supply = <®_sata1>; 335f126890aSEmmanuel Vadot }; 336f126890aSEmmanuel Vadot 337f126890aSEmmanuel Vadot reg_sata2: pwr-sata2 { 338f126890aSEmmanuel Vadot compatible = "regulator-fixed"; 339f126890aSEmmanuel Vadot regulator-name = "pwr_en_sata2"; 340f126890aSEmmanuel Vadot enable-active-high; 341f126890aSEmmanuel Vadot regulator-boot-on; 342f126890aSEmmanuel Vadot gpio = <&expander0 11 GPIO_ACTIVE_HIGH>; 343f126890aSEmmanuel Vadot }; 344f126890aSEmmanuel Vadot 345f126890aSEmmanuel Vadot reg_5v_sata2: v5-sata2 { 346f126890aSEmmanuel Vadot compatible = "regulator-fixed"; 347f126890aSEmmanuel Vadot regulator-name = "v5.0-sata2"; 348f126890aSEmmanuel Vadot regulator-min-microvolt = <5000000>; 349f126890aSEmmanuel Vadot regulator-max-microvolt = <5000000>; 350f126890aSEmmanuel Vadot vin-supply = <®_sata2>; 351f126890aSEmmanuel Vadot }; 352f126890aSEmmanuel Vadot 353f126890aSEmmanuel Vadot reg_12v_sata2: v12-sata2 { 354f126890aSEmmanuel Vadot compatible = "regulator-fixed"; 355f126890aSEmmanuel Vadot regulator-name = "v12.0-sata2"; 356f126890aSEmmanuel Vadot regulator-min-microvolt = <12000000>; 357f126890aSEmmanuel Vadot regulator-max-microvolt = <12000000>; 358f126890aSEmmanuel Vadot vin-supply = <®_sata2>; 359f126890aSEmmanuel Vadot }; 360f126890aSEmmanuel Vadot 361f126890aSEmmanuel Vadot reg_sata3: pwr-sata3 { 362f126890aSEmmanuel Vadot compatible = "regulator-fixed"; 363f126890aSEmmanuel Vadot regulator-name = "pwr_en_sata3"; 364f126890aSEmmanuel Vadot enable-active-high; 365f126890aSEmmanuel Vadot regulator-boot-on; 366f126890aSEmmanuel Vadot gpio = <&expander0 12 GPIO_ACTIVE_HIGH>; 367f126890aSEmmanuel Vadot }; 368f126890aSEmmanuel Vadot 369f126890aSEmmanuel Vadot reg_5v_sata3: v5-sata3 { 370f126890aSEmmanuel Vadot compatible = "regulator-fixed"; 371f126890aSEmmanuel Vadot regulator-name = "v5.0-sata3"; 372f126890aSEmmanuel Vadot regulator-min-microvolt = <5000000>; 373f126890aSEmmanuel Vadot regulator-max-microvolt = <5000000>; 374f126890aSEmmanuel Vadot vin-supply = <®_sata3>; 375f126890aSEmmanuel Vadot }; 376f126890aSEmmanuel Vadot 377f126890aSEmmanuel Vadot reg_12v_sata3: v12-sata3 { 378f126890aSEmmanuel Vadot compatible = "regulator-fixed"; 379f126890aSEmmanuel Vadot regulator-name = "v12.0-sata3"; 380f126890aSEmmanuel Vadot regulator-min-microvolt = <12000000>; 381f126890aSEmmanuel Vadot regulator-max-microvolt = <12000000>; 382f126890aSEmmanuel Vadot vin-supply = <®_sata3>; 383f126890aSEmmanuel Vadot }; 384f126890aSEmmanuel Vadot}; 385f126890aSEmmanuel Vadot 386f126890aSEmmanuel Vadot&pinctrl { 387f126890aSEmmanuel Vadot pca0_pins: pca0_pins { 388f126890aSEmmanuel Vadot marvell,pins = "mpp18"; 389f126890aSEmmanuel Vadot marvell,function = "gpio"; 390f126890aSEmmanuel Vadot }; 391f126890aSEmmanuel Vadot}; 392f126890aSEmmanuel Vadot 393f126890aSEmmanuel Vadot&spi0 { 394f126890aSEmmanuel Vadot pinctrl-names = "default"; 395f126890aSEmmanuel Vadot pinctrl-0 = <&spi0_pins>; 396f126890aSEmmanuel Vadot status = "okay"; 397f126890aSEmmanuel Vadot 398f126890aSEmmanuel Vadot flash@0 { 399f126890aSEmmanuel Vadot #address-cells = <1>; 400f126890aSEmmanuel Vadot #size-cells = <1>; 401f126890aSEmmanuel Vadot compatible = "st,m25p128", "jedec,spi-nor"; 402f126890aSEmmanuel Vadot reg = <0>; /* Chip select 0 */ 403f126890aSEmmanuel Vadot spi-max-frequency = <50000000>; 404f126890aSEmmanuel Vadot m25p,fast-read; 405f126890aSEmmanuel Vadot }; 406f126890aSEmmanuel Vadot}; 407