1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
3 * Device Tree file for Marvell Armada 385 development board
6 * Copyright (C) 2014 Marvell
8 * Gregory CLEMENT <gregory.clement@free-electrons.com>
12 #include "armada-388.dtsi"
13 #include <dt-bindings/gpio/gpio.h>
16 model = "Marvell Armada 388 DB-88F6820-GP";
17 compatible = "marvell,a388-gp", "marvell,armada388", "marvell,armada380";
20 stdout-path = "serial0:115200n8";
24 device_type = "memory";
25 reg = <0x00000000 0x80000000>; /* 2 GB */
29 ranges = <MBUS_ID(0xf0, 0x01) 0 0xf1000000 0x100000
30 MBUS_ID(0x01, 0x1d) 0 0xfff00000 0x100000
31 MBUS_ID(0x09, 0x19) 0 0xf1100000 0x10000
32 MBUS_ID(0x09, 0x15) 0 0xf1110000 0x10000
33 MBUS_ID(0x0c, 0x04) 0 0xf1200000 0x100000>;
37 pinctrl-names = "default";
38 pinctrl-0 = <&i2c0_pins>;
40 clock-frequency = <100000>;
42 expander0: pca9555@20 {
43 compatible = "nxp,pca9555";
44 pinctrl-names = "default";
45 pinctrl-0 = <&pca0_pins>;
46 interrupt-parent = <&gpio0>;
47 interrupts = <18 IRQ_TYPE_LEVEL_LOW>;
51 #interrupt-cells = <2>;
55 expander1: pca9555@21 {
56 compatible = "nxp,pca9555";
57 pinctrl-names = "default";
58 interrupt-parent = <&gpio0>;
59 interrupts = <18 IRQ_TYPE_LEVEL_LOW>;
63 #interrupt-cells = <2>;
68 compatible = "atmel,24c64";
75 * Exported on the micro USB connector CON16
79 pinctrl-names = "default";
80 pinctrl-0 = <&uart0_pins>;
86 pinctrl-names = "default";
87 pinctrl-0 = <&ge1_rgmii_pins>;
90 phy-mode = "rgmii-id";
91 buffer-manager = <&bm>;
98 vcc-supply = <®_usb2_0_vbus>;
104 pinctrl-names = "default";
106 * The Reference Clock 0 is used to provide a
109 pinctrl-0 = <&ge0_rgmii_pins>, <&ref_clk0_pins>;
112 phy-mode = "rgmii-id";
113 buffer-manager = <&bm>;
120 pinctrl-names = "default";
121 pinctrl-0 = <&mdio_pins>;
123 phy0: ethernet-phy@1 {
127 phy1: ethernet-phy@0 {
133 pinctrl-names = "default";
134 pinctrl-0 = <&sata0_pins>, <&sata1_pins>;
136 #address-cells = <1>;
141 target-supply = <®_5v_sata0>;
146 target-supply = <®_5v_sata1>;
155 pinctrl-names = "default";
156 pinctrl-0 = <&sata2_pins>, <&sata3_pins>;
158 #address-cells = <1>;
163 target-supply = <®_5v_sata2>;
168 target-supply = <®_5v_sata3>;
173 pinctrl-names = "default";
174 pinctrl-0 = <&sdhci_pins>;
177 * A388-GP board v1.5 and higher replace
178 * hitherto card detection method based on GPIO
179 * with the one using DAT3 pin. As they are
180 * incompatible, software-based polling is
181 * enabled with 'broken-cd' property. For boards
182 * older than v1.5 it can be replaced with:
183 * 'cd-gpios = <&expander0 5 GPIO_ACTIVE_LOW>;',
184 * whereas for the newer ones following can be
197 usb-phy = <&usb2_1_phy>;
203 usb-phy = <&usb3_phy>;
215 * One PCIe units is accessible through
216 * standard PCIe slot on the board.
224 * The two other PCIe units are accessible
225 * through mini PCIe slot on the board.
238 compatible = "gpio-fan";
239 gpios = <&expander1 3 GPIO_ACTIVE_HIGH>;
240 gpio-fan,speed-map = < 0 0
245 usb2_1_phy: usb2_1_phy {
246 compatible = "usb-nop-xceiv";
247 vcc-supply = <®_usb2_1_vbus>;
252 compatible = "usb-nop-xceiv";
253 vcc-supply = <®_usb3_vbus>;
257 reg_usb3_vbus: usb3-vbus {
258 compatible = "regulator-fixed";
259 regulator-name = "usb3-vbus";
260 regulator-min-microvolt = <5000000>;
261 regulator-max-microvolt = <5000000>;
263 gpio = <&expander1 15 GPIO_ACTIVE_HIGH>;
266 reg_usb2_0_vbus: v5-vbus0 {
267 compatible = "regulator-fixed";
268 regulator-name = "v5.0-vbus0";
269 regulator-min-microvolt = <5000000>;
270 regulator-max-microvolt = <5000000>;
273 gpio = <&expander1 14 GPIO_ACTIVE_HIGH>;
276 reg_usb2_1_vbus: v5-vbus1 {
277 compatible = "regulator-fixed";
278 regulator-name = "v5.0-vbus1";
279 regulator-min-microvolt = <5000000>;
280 regulator-max-microvolt = <5000000>;
282 gpio = <&expander0 4 GPIO_ACTIVE_HIGH>;
285 reg_sata0: pwr-sata0 {
286 compatible = "regulator-fixed";
287 regulator-name = "pwr_en_sata0";
288 regulator-min-microvolt = <12000000>;
289 regulator-max-microvolt = <12000000>;
292 gpio = <&expander0 2 GPIO_ACTIVE_HIGH>;
295 reg_5v_sata0: v5-sata0 {
296 compatible = "regulator-fixed";
297 regulator-name = "v5.0-sata0";
298 regulator-min-microvolt = <5000000>;
299 regulator-max-microvolt = <5000000>;
300 vin-supply = <®_sata0>;
303 reg_12v_sata0: v12-sata0 {
304 compatible = "regulator-fixed";
305 regulator-name = "v12.0-sata0";
306 regulator-min-microvolt = <12000000>;
307 regulator-max-microvolt = <12000000>;
308 vin-supply = <®_sata0>;
311 reg_sata1: pwr-sata1 {
312 regulator-name = "pwr_en_sata1";
313 compatible = "regulator-fixed";
314 regulator-min-microvolt = <12000000>;
315 regulator-max-microvolt = <12000000>;
318 gpio = <&expander0 3 GPIO_ACTIVE_HIGH>;
321 reg_5v_sata1: v5-sata1 {
322 compatible = "regulator-fixed";
323 regulator-name = "v5.0-sata1";
324 regulator-min-microvolt = <5000000>;
325 regulator-max-microvolt = <5000000>;
326 vin-supply = <®_sata1>;
329 reg_12v_sata1: v12-sata1 {
330 compatible = "regulator-fixed";
331 regulator-name = "v12.0-sata1";
332 regulator-min-microvolt = <12000000>;
333 regulator-max-microvolt = <12000000>;
334 vin-supply = <®_sata1>;
337 reg_sata2: pwr-sata2 {
338 compatible = "regulator-fixed";
339 regulator-name = "pwr_en_sata2";
342 gpio = <&expander0 11 GPIO_ACTIVE_HIGH>;
345 reg_5v_sata2: v5-sata2 {
346 compatible = "regulator-fixed";
347 regulator-name = "v5.0-sata2";
348 regulator-min-microvolt = <5000000>;
349 regulator-max-microvolt = <5000000>;
350 vin-supply = <®_sata2>;
353 reg_12v_sata2: v12-sata2 {
354 compatible = "regulator-fixed";
355 regulator-name = "v12.0-sata2";
356 regulator-min-microvolt = <12000000>;
357 regulator-max-microvolt = <12000000>;
358 vin-supply = <®_sata2>;
361 reg_sata3: pwr-sata3 {
362 compatible = "regulator-fixed";
363 regulator-name = "pwr_en_sata3";
366 gpio = <&expander0 12 GPIO_ACTIVE_HIGH>;
369 reg_5v_sata3: v5-sata3 {
370 compatible = "regulator-fixed";
371 regulator-name = "v5.0-sata3";
372 regulator-min-microvolt = <5000000>;
373 regulator-max-microvolt = <5000000>;
374 vin-supply = <®_sata3>;
377 reg_12v_sata3: v12-sata3 {
378 compatible = "regulator-fixed";
379 regulator-name = "v12.0-sata3";
380 regulator-min-microvolt = <12000000>;
381 regulator-max-microvolt = <12000000>;
382 vin-supply = <®_sata3>;
387 pca0_pins: pca0_pins {
388 marvell,pins = "mpp18";
389 marvell,function = "gpio";
394 pinctrl-names = "default";
395 pinctrl-0 = <&spi0_pins>;
399 #address-cells = <1>;
401 compatible = "st,m25p128", "jedec,spi-nor";
402 reg = <0>; /* Chip select 0 */
403 spi-max-frequency = <50000000>;