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 385 GP";
48 compatible = "marvell,a385-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>;
65 pinctrl-names = "default";
66 pinctrl-0 = <&spi0_pins>;
72 compatible = "st,m25p128", "jedec,spi-nor";
73 reg = <0>; /* Chip select 0 */
74 spi-max-frequency = <50000000>;
80 pinctrl-names = "default";
81 pinctrl-0 = <&i2c0_pins>;
83 clock-frequency = <100000>;
85 expander0: pca9555@20 {
86 compatible = "nxp,pca9555";
87 pinctrl-names = "default";
88 pinctrl-0 = <&pca0_pins>;
89 interrupt-parent = <&gpio0>;
90 interrupts = <18 IRQ_TYPE_EDGE_FALLING>;
94 #interrupt-cells = <2>;
98 expander1: pca9555@21 {
99 compatible = "nxp,pca9555";
100 pinctrl-names = "default";
101 interrupt-parent = <&gpio0>;
102 interrupts = <18 IRQ_TYPE_EDGE_FALLING>;
105 interrupt-controller;
106 #interrupt-cells = <2>;
111 compatible = "atmel,24c64";
118 * Exported on the micro USB connector CON16
122 pinctrl-names = "default";
123 pinctrl-0 = <&uart0_pins>;
129 pinctrl-names = "default";
130 pinctrl-0 = <&ge1_rgmii_pins>;
133 phy-mode = "rgmii-id";
138 vcc-supply = <®_usb2_0_vbus>;
144 pinctrl-names = "default";
146 * The Reference Clock 0 is used to provide a
149 pinctrl-0 = <&ge0_rgmii_pins>, <&ref_clk0_pins>;
152 phy-mode = "rgmii-id";
157 pinctrl-names = "default";
158 pinctrl-0 = <&mdio_pins>;
160 phy0: ethernet-phy@1 {
164 phy1: ethernet-phy@0 {
170 pinctrl-names = "default";
171 pinctrl-0 = <&sata0_pins>, <&sata1_pins>;
173 #address-cells = <1>;
178 target-supply = <®_5v_sata0>;
183 target-supply = <®_5v_sata1>;
188 pinctrl-names = "default";
189 pinctrl-0 = <&sata2_pins>, <&sata3_pins>;
191 #address-cells = <1>;
196 target-supply = <®_5v_sata2>;
201 target-supply = <®_5v_sata3>;
206 pinctrl-names = "default";
207 pinctrl-0 = <&sdhci_pins>;
208 cd-gpios = <&expander0 5 GPIO_ACTIVE_LOW>;
217 vcc-supply = <®_usb2_1_vbus>;
223 vcc-supply = <®_usb3_vbus>;
231 * One PCIe units is accessible through
232 * standard PCIe slot on the board.
240 * The two other PCIe units are accessible
241 * through mini PCIe slot on the board.
254 compatible = "gpio-fan";
255 gpios = <&expander1 3 GPIO_ACTIVE_HIGH>;
256 gpio-fan,speed-map = < 0 0
261 reg_usb3_vbus: usb3-vbus {
262 compatible = "regulator-fixed";
263 regulator-name = "usb3-vbus";
264 regulator-min-microvolt = <5000000>;
265 regulator-max-microvolt = <5000000>;
268 gpio = <&expander1 15 GPIO_ACTIVE_HIGH>;
271 reg_usb2_0_vbus: v5-vbus0 {
272 compatible = "regulator-fixed";
273 regulator-name = "v5.0-vbus0";
274 regulator-min-microvolt = <5000000>;
275 regulator-max-microvolt = <5000000>;
278 gpio = <&expander1 14 GPIO_ACTIVE_HIGH>;
281 reg_usb2_1_vbus: v5-vbus1 {
282 compatible = "regulator-fixed";
283 regulator-name = "v5.0-vbus1";
284 regulator-min-microvolt = <5000000>;
285 regulator-max-microvolt = <5000000>;
288 gpio = <&expander0 4 GPIO_ACTIVE_HIGH>;
291 reg_usb2_1_vbus: v5-vbus1 {
292 compatible = "regulator-fixed";
293 regulator-name = "v5.0-vbus1";
294 regulator-min-microvolt = <5000000>;
295 regulator-max-microvolt = <5000000>;
298 gpio = <&expander0 4 GPIO_ACTIVE_HIGH>;
301 reg_sata0: pwr-sata0 {
302 compatible = "regulator-fixed";
303 regulator-name = "pwr_en_sata0";
304 regulator-min-microvolt = <12000000>;
305 regulator-max-microvolt = <12000000>;
308 gpio = <&expander0 2 GPIO_ACTIVE_HIGH>;
311 reg_5v_sata0: v5-sata0 {
312 compatible = "regulator-fixed";
313 regulator-name = "v5.0-sata0";
314 regulator-min-microvolt = <5000000>;
315 regulator-max-microvolt = <5000000>;
317 vin-supply = <®_sata0>;
320 reg_12v_sata0: v12-sata0 {
321 compatible = "regulator-fixed";
322 regulator-name = "v12.0-sata0";
323 regulator-min-microvolt = <12000000>;
324 regulator-max-microvolt = <12000000>;
326 vin-supply = <®_sata0>;
329 reg_sata1: pwr-sata1 {
330 regulator-name = "pwr_en_sata1";
331 compatible = "regulator-fixed";
332 regulator-min-microvolt = <12000000>;
333 regulator-max-microvolt = <12000000>;
336 gpio = <&expander0 3 GPIO_ACTIVE_HIGH>;
339 reg_5v_sata1: v5-sata1 {
340 compatible = "regulator-fixed";
341 regulator-name = "v5.0-sata1";
342 regulator-min-microvolt = <5000000>;
343 regulator-max-microvolt = <5000000>;
345 vin-supply = <®_sata1>;
348 reg_12v_sata1: v12-sata1 {
349 compatible = "regulator-fixed";
350 regulator-name = "v12.0-sata1";
351 regulator-min-microvolt = <12000000>;
352 regulator-max-microvolt = <12000000>;
354 vin-supply = <®_sata1>;
357 reg_sata2: pwr-sata2 {
358 compatible = "regulator-fixed";
359 regulator-name = "pwr_en_sata2";
362 gpio = <&expander0 11 GPIO_ACTIVE_HIGH>;
365 reg_5v_sata2: v5-sata2 {
366 compatible = "regulator-fixed";
367 regulator-name = "v5.0-sata2";
368 regulator-min-microvolt = <5000000>;
369 regulator-max-microvolt = <5000000>;
371 vin-supply = <®_sata2>;
374 reg_12v_sata2: v12-sata2 {
375 compatible = "regulator-fixed";
376 regulator-name = "v12.0-sata2";
377 regulator-min-microvolt = <12000000>;
378 regulator-max-microvolt = <12000000>;
380 vin-supply = <®_sata2>;
383 reg_sata3: pwr-sata3 {
384 compatible = "regulator-fixed";
385 regulator-name = "pwr_en_sata3";
388 gpio = <&expander0 12 GPIO_ACTIVE_HIGH>;
391 reg_5v_sata3: v5-sata3 {
392 compatible = "regulator-fixed";
393 regulator-name = "v5.0-sata3";
394 regulator-min-microvolt = <5000000>;
395 regulator-max-microvolt = <5000000>;
397 vin-supply = <®_sata3>;
400 reg_12v_sata3: v12-sata3 {
401 compatible = "regulator-fixed";
402 regulator-name = "v12.0-sata3";
403 regulator-min-microvolt = <12000000>;
404 regulator-max-microvolt = <12000000>;
406 vin-supply = <®_sata3>;
411 pca0_pins: pca0_pins {
412 marvell,pins = "mpp18";
413 marvell,function = "gpio";