Merge tag 'sound-3.11' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound
[cascardo/linux.git] / arch / arm / boot / dts / armada-xp-gp.dts
1 /*
2  * Device Tree file for Marvell Armada XP development board
3  * (DB-MV784MP-GP)
4  *
5  * Copyright (C) 2013 Marvell
6  *
7  * Lior Amsalem <alior@marvell.com>
8  * Gregory CLEMENT <gregory.clement@free-electrons.com>
9  * Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10  *
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.
14  */
15
16 /dts-v1/;
17 /include/ "armada-xp-mv78460.dtsi"
18
19 / {
20         model = "Marvell Armada XP Development Board DB-MV784MP-GP";
21         compatible = "marvell,axp-gp", "marvell,armadaxp-mv78460", "marvell,armadaxp", "marvell,armada-370-xp";
22
23         chosen {
24                 bootargs = "console=ttyS0,115200 earlyprintk";
25         };
26
27         memory {
28                 device_type = "memory";
29                 /*
30                  * 8 GB of plug-in RAM modules by default.The amount
31                  * of memory available can be changed by the
32                  * bootloader according the size of the module
33                  * actually plugged. Only 7GB are usable because
34                  * addresses from 0xC0000000 to 0xffffffff are used by
35                  * the internal registers of the SoC.
36                  */
37                 reg = <0x00000000 0x00000000 0x00000000 0xC0000000>,
38                       <0x00000001 0x00000000 0x00000001 0x00000000>;
39         };
40
41         soc {
42                 ranges = <0          0 0xd0000000 0x100000  /* Internal registers 1MiB */
43                           0xe0000000 0 0xe0000000 0x8100000 /* PCIe */
44                           0xf0000000 0 0xf0000000 0x1000000 /* Device Bus, NOR 16MiB  */>;
45
46                 internal-regs {
47                         serial@12000 {
48                                 clock-frequency = <250000000>;
49                                 status = "okay";
50                         };
51                         serial@12100 {
52                                 clock-frequency = <250000000>;
53                                 status = "okay";
54                         };
55                         serial@12200 {
56                                 clock-frequency = <250000000>;
57                                 status = "okay";
58                         };
59                         serial@12300 {
60                                 clock-frequency = <250000000>;
61                                 status = "okay";
62                         };
63
64                         sata@a0000 {
65                                 nr-ports = <2>;
66                                 status = "okay";
67                         };
68
69                         mdio {
70                                 phy0: ethernet-phy@0 {
71                                         reg = <16>;
72                                 };
73
74                                 phy1: ethernet-phy@1 {
75                                         reg = <17>;
76                                 };
77
78                                 phy2: ethernet-phy@2 {
79                                         reg = <18>;
80                                 };
81
82                                 phy3: ethernet-phy@3 {
83                                         reg = <19>;
84                                 };
85                         };
86
87                         ethernet@70000 {
88                                 status = "okay";
89                                 phy = <&phy0>;
90                                 phy-mode = "rgmii-id";
91                         };
92                         ethernet@74000 {
93                                 status = "okay";
94                                 phy = <&phy1>;
95                                 phy-mode = "rgmii-id";
96                         };
97                         ethernet@30000 {
98                                 status = "okay";
99                                 phy = <&phy2>;
100                                 phy-mode = "rgmii-id";
101                         };
102                         ethernet@34000 {
103                                 status = "okay";
104                                 phy = <&phy3>;
105                                 phy-mode = "rgmii-id";
106                         };
107
108                         /* Front-side USB slot */
109                         usb@50000 {
110                                 status = "okay";
111                         };
112
113                         /* Back-side USB slot */
114                         usb@51000 {
115                                 status = "okay";
116                         };
117
118                         spi0: spi@10600 {
119                                 status = "okay";
120
121                                 spi-flash@0 {
122                                         #address-cells = <1>;
123                                         #size-cells = <1>;
124                                         compatible = "n25q128a13";
125                                         reg = <0>; /* Chip select 0 */
126                                         spi-max-frequency = <108000000>;
127                                 };
128                         };
129
130                         devbus-bootcs@10400 {
131                                 status = "okay";
132                                 ranges = <0 0xf0000000 0x1000000>; /* @addr 0xf000000, size 0x1000000 */
133
134                                 /* Device Bus parameters are required */
135
136                                 /* Read parameters */
137                                 devbus,bus-width    = <8>;
138                                 devbus,turn-off-ps  = <60000>;
139                                 devbus,badr-skew-ps = <0>;
140                                 devbus,acc-first-ps = <124000>;
141                                 devbus,acc-next-ps  = <248000>;
142                                 devbus,rd-setup-ps  = <0>;
143                                 devbus,rd-hold-ps   = <0>;
144
145                                 /* Write parameters */
146                                 devbus,sync-enable = <0>;
147                                 devbus,wr-high-ps  = <60000>;
148                                 devbus,wr-low-ps   = <60000>;
149                                 devbus,ale-wr-ps   = <60000>;
150
151                                 /* NOR 16 MiB */
152                                 nor@0 {
153                                         compatible = "cfi-flash";
154                                         reg = <0 0x1000000>;
155                                         bank-width = <2>;
156                                 };
157                         };
158
159                         pcie-controller {
160                                 status = "okay";
161
162                                 /*
163                                  * The 3 slots are physically present as
164                                  * standard PCIe slots on the board.
165                                  */
166                                 pcie@1,0 {
167                                         /* Port 0, Lane 0 */
168                                         status = "okay";
169                                 };
170                                 pcie@9,0 {
171                                         /* Port 2, Lane 0 */
172                                         status = "okay";
173                                 };
174                                 pcie@10,0 {
175                                         /* Port 3, Lane 0 */
176                                         status = "okay";
177                                 };
178                         };
179                 };
180         };
181 };