2 * Device Tree file for Marvell Armada 370 evaluation board
5 * Copyright (C) 2012 Marvell
7 * Lior Amsalem <alior@marvell.com>
8 * Gregory CLEMENT <gregory.clement@free-electrons.com>
9 * Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
11 * This file is licensed under the terms of the GNU General Public
12 * License version 2. This program is licensed "as is" without any
13 * warranty of any kind, whether express or implied.
17 #include "armada-370.dtsi"
20 model = "Marvell Armada 370 Evaluation Board";
21 compatible = "marvell,a370-db", "marvell,armada370", "marvell,armada-370-xp";
24 bootargs = "console=ttyS0,115200 earlyprintk";
28 device_type = "memory";
29 reg = <0x00000000 0x40000000>; /* 1 GB */
33 ranges = <MBUS_ID(0xf0, 0x01) 0 0xd0000000 0x100000
34 MBUS_ID(0x01, 0xe0) 0 0xfff00000 0x100000>;
46 pinctrl-0 = <&mdio_pins>;
47 pinctrl-names = "default";
48 phy0: ethernet-phy@0 {
52 phy1: ethernet-phy@1 {
58 pinctrl-0 = <&ge0_rgmii_pins>;
59 pinctrl-names = "default";
62 phy-mode = "rgmii-id";
65 pinctrl-0 = <&ge1_rgmii_pins>;
66 pinctrl-names = "default";
69 phy-mode = "rgmii-id";
73 pinctrl-0 = <&i2c0_pins>;
74 pinctrl-names = "default";
75 clock-frequency = <100000>;
77 audio_codec: audio-codec@4a {
78 #sound-dai-cells = <0>;
79 compatible = "cirrus,cs42l51";
84 audio-controller@30000 {
85 pinctrl-0 = <&i2s_pins2>;
86 pinctrl-names = "default";
91 pinctrl-0 = <&sdio_pins1>;
92 pinctrl-names = "default";
94 * This device is disabled by default, because
95 * using the SD card connector requires
96 * changing the default CON40 connector
97 * "DB-88F6710_MPP_2xRGMII_DEVICE_Jumper" to a
99 * "DB-88F6710_MPP_RGMII_SD_Jumper".
102 /* No CD or WP GPIOs */
115 pinctrl-0 = <&spi0_pins2>;
116 pinctrl-names = "default";
120 #address-cells = <1>;
122 compatible = "mx25l25635e";
123 reg = <0>; /* Chip select 0 */
124 spi-max-frequency = <50000000>;
132 * The two PCIe units are accessible through
133 * both standard PCIe slots and mini-PCIe
134 * slots on the board.
149 compatible = "simple-audio-card";
150 simple-audio-card,name = "Armada 370 DB Audio";
151 simple-audio-card,mclk-fs = <256>;
152 simple-audio-card,widgets =
153 "Headphone", "Out Jack",
155 simple-audio-card,routing =
162 simple-audio-card,dai-link@0 {
165 sound-dai = <&audio_controller 0>;
169 sound-dai = <&audio_codec>;
173 simple-audio-card,dai-link@1 {
176 sound-dai = <&audio_controller 1>;
180 sound-dai = <&spdif_out>;
184 simple-audio-card,dai-link@2 {
187 sound-dai = <&audio_controller 1>;
191 sound-dai = <&spdif_in>;
196 spdif_out: spdif-out {
197 #sound-dai-cells = <0>;
198 compatible = "linux,spdif-dit";
202 #sound-dai-cells = <0>;
203 compatible = "linux,spdif-dir";
209 * These pins might be muxed as I2S by
210 * the bootloader, but it conflicts
211 * with the real I2S pins that are
212 * muxed using i2s_pins. We must mux
213 * those pins to a function other than
216 pinctrl-0 = <&hog_pins1 &hog_pins2>;
217 pinctrl-names = "default";
219 hog_pins1: hog-pins1 {
220 marvell,pins = "mpp6", "mpp8", "mpp10",
222 marvell,function = "gpio";
225 hog_pins2: hog-pins2 {
226 marvell,pins = "mpp5", "mpp7", "mpp9";
227 marvell,function = "gpo";