2 * Device Tree file for Marvell Armada 385 development board
5 * Copyright (C) 2014 Marvell
7 * Gregory CLEMENT <gregory.clement@free-electrons.com>
9 * This file is dual-licensed: you can use it either under the terms
10 * of the GPL or the X11 license, at your option. Note that this dual
11 * licensing only applies to this file, and not this project as a
14 * a) This file is licensed under the terms of the GNU General Public
15 * License version 2. This program is licensed "as is" without
16 * any warranty of any kind, whether express or implied.
20 * b) Permission is hereby granted, free of charge, to any person
21 * obtaining a copy of this software and associated documentation
22 * files (the "Software"), to deal in the Software without
23 * restriction, including without limitation the rights to use,
24 * copy, modify, merge, publish, distribute, sublicense, and/or
25 * sell copies of the Software, and to permit persons to whom the
26 * Software is furnished to do so, subject to the following
29 * The above copyright notice and this permission notice shall be
30 * included in all copies or substantial portions of the Software.
32 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
33 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
34 * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
35 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
36 * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
37 * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
38 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
39 * OTHER DEALINGS IN THE SOFTWARE.
43 #include "armada-388.dtsi"
44 #include <dt-bindings/gpio/gpio.h>
47 model = "Marvell Armada 388 DB-88F6820-GP";
48 compatible = "marvell,a388-gp", "marvell,armada388", "marvell,armada380";
51 stdout-path = "serial0:115200n8";
55 device_type = "memory";
56 reg = <0x00000000 0x80000000>; /* 2 GB */
60 ranges = <MBUS_ID(0xf0, 0x01) 0 0xf1000000 0x100000
61 MBUS_ID(0x01, 0x1d) 0 0xfff00000 0x100000
62 MBUS_ID(0x09, 0x19) 0 0xf1100000 0x10000
63 MBUS_ID(0x09, 0x15) 0 0xf1110000 0x10000
64 MBUS_ID(0x0c, 0x04) 0 0xf1200000 0x100000>;
68 pinctrl-names = "default";
69 pinctrl-0 = <&i2c0_pins>;
71 clock-frequency = <100000>;
73 expander0: pca9555@20 {
74 compatible = "nxp,pca9555";
75 pinctrl-names = "default";
76 pinctrl-0 = <&pca0_pins>;
77 interrupt-parent = <&gpio0>;
78 interrupts = <18 IRQ_TYPE_LEVEL_LOW>;
82 #interrupt-cells = <2>;
86 expander1: pca9555@21 {
87 compatible = "nxp,pca9555";
88 pinctrl-names = "default";
89 interrupt-parent = <&gpio0>;
90 interrupts = <18 IRQ_TYPE_LEVEL_LOW>;
94 #interrupt-cells = <2>;
99 compatible = "atmel,24c64";
106 * Exported on the micro USB connector CON16
110 pinctrl-names = "default";
111 pinctrl-0 = <&uart0_pins>;
117 pinctrl-names = "default";
118 pinctrl-0 = <&ge1_rgmii_pins>;
121 phy-mode = "rgmii-id";
122 buffer-manager = <&bm>;
129 vcc-supply = <®_usb2_0_vbus>;
135 pinctrl-names = "default";
137 * The Reference Clock 0 is used to provide a
140 pinctrl-0 = <&ge0_rgmii_pins>, <&ref_clk0_pins>;
143 phy-mode = "rgmii-id";
144 buffer-manager = <&bm>;
151 pinctrl-names = "default";
152 pinctrl-0 = <&mdio_pins>;
154 phy0: ethernet-phy@1 {
158 phy1: ethernet-phy@0 {
164 pinctrl-names = "default";
165 pinctrl-0 = <&sata0_pins>, <&sata1_pins>;
167 #address-cells = <1>;
172 target-supply = <®_5v_sata0>;
177 target-supply = <®_5v_sata1>;
186 pinctrl-names = "default";
187 pinctrl-0 = <&sata2_pins>, <&sata3_pins>;
189 #address-cells = <1>;
194 target-supply = <®_5v_sata2>;
199 target-supply = <®_5v_sata3>;
204 pinctrl-names = "default";
205 pinctrl-0 = <&sdhci_pins>;
208 * A388-GP board v1.5 and higher replace
209 * hitherto card detection method based on GPIO
210 * with the one using DAT3 pin. As they are
211 * incompatible, software-based polling is
212 * enabled with 'broken-cd' property. For boards
213 * older than v1.5 it can be replaced with:
214 * 'cd-gpios = <&expander0 5 GPIO_ACTIVE_LOW>;',
215 * whereas for the newer ones following can be
228 usb-phy = <&usb2_1_phy>;
234 usb-phy = <&usb3_phy>;
246 * One PCIe units is accessible through
247 * standard PCIe slot on the board.
255 * The two other PCIe units are accessible
256 * through mini PCIe slot on the board.
269 compatible = "gpio-fan";
270 gpios = <&expander1 3 GPIO_ACTIVE_HIGH>;
271 gpio-fan,speed-map = < 0 0
276 usb2_1_phy: usb2_1_phy {
277 compatible = "usb-nop-xceiv";
278 vcc-supply = <®_usb2_1_vbus>;
283 compatible = "usb-nop-xceiv";
284 vcc-supply = <®_usb3_vbus>;
288 reg_usb3_vbus: usb3-vbus {
289 compatible = "regulator-fixed";
290 regulator-name = "usb3-vbus";
291 regulator-min-microvolt = <5000000>;
292 regulator-max-microvolt = <5000000>;
294 gpio = <&expander1 15 GPIO_ACTIVE_HIGH>;
297 reg_usb2_0_vbus: v5-vbus0 {
298 compatible = "regulator-fixed";
299 regulator-name = "v5.0-vbus0";
300 regulator-min-microvolt = <5000000>;
301 regulator-max-microvolt = <5000000>;
304 gpio = <&expander1 14 GPIO_ACTIVE_HIGH>;
307 reg_usb2_1_vbus: v5-vbus1 {
308 compatible = "regulator-fixed";
309 regulator-name = "v5.0-vbus1";
310 regulator-min-microvolt = <5000000>;
311 regulator-max-microvolt = <5000000>;
313 gpio = <&expander0 4 GPIO_ACTIVE_HIGH>;
316 reg_sata0: pwr-sata0 {
317 compatible = "regulator-fixed";
318 regulator-name = "pwr_en_sata0";
319 regulator-min-microvolt = <12000000>;
320 regulator-max-microvolt = <12000000>;
323 gpio = <&expander0 2 GPIO_ACTIVE_HIGH>;
326 reg_5v_sata0: v5-sata0 {
327 compatible = "regulator-fixed";
328 regulator-name = "v5.0-sata0";
329 regulator-min-microvolt = <5000000>;
330 regulator-max-microvolt = <5000000>;
331 vin-supply = <®_sata0>;
334 reg_12v_sata0: v12-sata0 {
335 compatible = "regulator-fixed";
336 regulator-name = "v12.0-sata0";
337 regulator-min-microvolt = <12000000>;
338 regulator-max-microvolt = <12000000>;
339 vin-supply = <®_sata0>;
342 reg_sata1: pwr-sata1 {
343 regulator-name = "pwr_en_sata1";
344 compatible = "regulator-fixed";
345 regulator-min-microvolt = <12000000>;
346 regulator-max-microvolt = <12000000>;
349 gpio = <&expander0 3 GPIO_ACTIVE_HIGH>;
352 reg_5v_sata1: v5-sata1 {
353 compatible = "regulator-fixed";
354 regulator-name = "v5.0-sata1";
355 regulator-min-microvolt = <5000000>;
356 regulator-max-microvolt = <5000000>;
357 vin-supply = <®_sata1>;
360 reg_12v_sata1: v12-sata1 {
361 compatible = "regulator-fixed";
362 regulator-name = "v12.0-sata1";
363 regulator-min-microvolt = <12000000>;
364 regulator-max-microvolt = <12000000>;
365 vin-supply = <®_sata1>;
368 reg_sata2: pwr-sata2 {
369 compatible = "regulator-fixed";
370 regulator-name = "pwr_en_sata2";
373 gpio = <&expander0 11 GPIO_ACTIVE_HIGH>;
376 reg_5v_sata2: v5-sata2 {
377 compatible = "regulator-fixed";
378 regulator-name = "v5.0-sata2";
379 regulator-min-microvolt = <5000000>;
380 regulator-max-microvolt = <5000000>;
381 vin-supply = <®_sata2>;
384 reg_12v_sata2: v12-sata2 {
385 compatible = "regulator-fixed";
386 regulator-name = "v12.0-sata2";
387 regulator-min-microvolt = <12000000>;
388 regulator-max-microvolt = <12000000>;
389 vin-supply = <®_sata2>;
392 reg_sata3: pwr-sata3 {
393 compatible = "regulator-fixed";
394 regulator-name = "pwr_en_sata3";
397 gpio = <&expander0 12 GPIO_ACTIVE_HIGH>;
400 reg_5v_sata3: v5-sata3 {
401 compatible = "regulator-fixed";
402 regulator-name = "v5.0-sata3";
403 regulator-min-microvolt = <5000000>;
404 regulator-max-microvolt = <5000000>;
405 vin-supply = <®_sata3>;
408 reg_12v_sata3: v12-sata3 {
409 compatible = "regulator-fixed";
410 regulator-name = "v12.0-sata3";
411 regulator-min-microvolt = <12000000>;
412 regulator-max-microvolt = <12000000>;
413 vin-supply = <®_sata3>;
418 pca0_pins: pca0_pins {
419 marvell,pins = "mpp18";
420 marvell,function = "gpio";
425 pinctrl-names = "default";
426 pinctrl-0 = <&spi0_pins>;
430 #address-cells = <1>;
432 compatible = "st,m25p128", "jedec,spi-nor";
433 reg = <0>; /* Chip select 0 */
434 spi-max-frequency = <50000000>;