Merge remote-tracking branch 'lsk/v3.10/topic/arm64-dma' into linux-linaro-lsk
[firefly-linux-kernel-4.4.55.git] / arch / arm / boot / dts / armada-370-xp.dtsi
1 /*
2  * Device Tree Include file for Marvell Armada 370 and Armada XP SoC
3  *
4  * Copyright (C) 2012 Marvell
5  *
6  * Lior Amsalem <alior@marvell.com>
7  * Gregory CLEMENT <gregory.clement@free-electrons.com>
8  * Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9  * Ben Dooks <ben.dooks@codethink.co.uk>
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  * This file contains the definitions that are common to the Armada
16  * 370 and Armada XP SoC.
17  */
18
19 /include/ "skeleton64.dtsi"
20
21 / {
22         model = "Marvell Armada 370 and XP SoC";
23         compatible = "marvell,armada-370-xp";
24
25         cpus {
26                 cpu@0 {
27                         compatible = "marvell,sheeva-v7";
28                 };
29         };
30
31         soc {
32                 #address-cells = <1>;
33                 #size-cells = <1>;
34                 compatible = "simple-bus";
35                 interrupt-parent = <&mpic>;
36                 ranges = <0          0 0xd0000000 0x0100000 /* internal registers */
37                           0xe0000000 0 0xe0000000 0x8100000 /* PCIe */>;
38
39                 internal-regs {
40                         compatible = "simple-bus";
41                         #address-cells = <1>;
42                         #size-cells = <1>;
43                         ranges;
44
45                         mpic: interrupt-controller@20000 {
46                                 compatible = "marvell,mpic";
47                                 #interrupt-cells = <1>;
48                                 #size-cells = <1>;
49                                 interrupt-controller;
50                         };
51
52                         coherency-fabric@20200 {
53                                 compatible = "marvell,coherency-fabric";
54                                 reg = <0x20200 0xb0>, <0x21010 0x1c>;
55                         };
56
57                         serial@12000 {
58                                 compatible = "snps,dw-apb-uart";
59                                 reg = <0x12000 0x100>;
60                                 reg-shift = <2>;
61                                 interrupts = <41>;
62                                 reg-io-width = <1>;
63                                 status = "disabled";
64                         };
65                         serial@12100 {
66                                 compatible = "snps,dw-apb-uart";
67                                 reg = <0x12100 0x100>;
68                                 reg-shift = <2>;
69                                 interrupts = <42>;
70                                 reg-io-width = <1>;
71                                 status = "disabled";
72                         };
73
74                         timer@20300 {
75                                 compatible = "marvell,armada-370-xp-timer";
76                                 reg = <0x20300 0x30>, <0x21040 0x30>;
77                                 interrupts = <37>, <38>, <39>, <40>, <5>, <6>;
78                                 clocks = <&coreclk 2>;
79                         };
80
81                         sata@a0000 {
82                                 compatible = "marvell,orion-sata";
83                                 reg = <0xa0000 0x2400>;
84                                 interrupts = <55>;
85                                 clocks = <&gateclk 15>, <&gateclk 30>;
86                                 clock-names = "0", "1";
87                                 status = "disabled";
88                         };
89
90                         mdio {
91                                 #address-cells = <1>;
92                                 #size-cells = <0>;
93                                 compatible = "marvell,orion-mdio";
94                                 reg = <0x72004 0x4>;
95                                 clocks = <&gateclk 4>;
96                         };
97
98                         ethernet@70000 {
99                                 compatible = "marvell,armada-370-neta";
100                                 reg = <0x70000 0x2500>;
101                                 interrupts = <8>;
102                                 clocks = <&gateclk 4>;
103                                 status = "disabled";
104                         };
105
106                         ethernet@74000 {
107                                 compatible = "marvell,armada-370-neta";
108                                 reg = <0x74000 0x2500>;
109                                 interrupts = <10>;
110                                 clocks = <&gateclk 3>;
111                                 status = "disabled";
112                         };
113
114                         i2c0: i2c@11000 {
115                                 compatible = "marvell,mv64xxx-i2c";
116                                 reg = <0x11000 0x20>;
117                                 #address-cells = <1>;
118                                 #size-cells = <0>;
119                                 interrupts = <31>;
120                                 timeout-ms = <1000>;
121                                 clocks = <&coreclk 0>;
122                                 status = "disabled";
123                         };
124
125                         i2c1: i2c@11100 {
126                                 compatible = "marvell,mv64xxx-i2c";
127                                 reg = <0x11100 0x20>;
128                                 #address-cells = <1>;
129                                 #size-cells = <0>;
130                                 interrupts = <32>;
131                                 timeout-ms = <1000>;
132                                 clocks = <&coreclk 0>;
133                                 status = "disabled";
134                         };
135
136                         rtc@10300 {
137                                 compatible = "marvell,orion-rtc";
138                                 reg = <0x10300 0x20>;
139                                 interrupts = <50>;
140                         };
141
142                         mvsdio@d4000 {
143                                 compatible = "marvell,orion-sdio";
144                                 reg = <0xd4000 0x200>;
145                                 interrupts = <54>;
146                                 clocks = <&gateclk 17>;
147                                 status = "disabled";
148                         };
149
150                         usb@50000 {
151                                 compatible = "marvell,orion-ehci";
152                                 reg = <0x50000 0x500>;
153                                 interrupts = <45>;
154                                 status = "disabled";
155                         };
156
157                         usb@51000 {
158                                 compatible = "marvell,orion-ehci";
159                                 reg = <0x51000 0x500>;
160                                 interrupts = <46>;
161                                 status = "disabled";
162                         };
163
164                         spi0: spi@10600 {
165                                 compatible = "marvell,orion-spi";
166                                 reg = <0x10600 0x28>;
167                                 #address-cells = <1>;
168                                 #size-cells = <0>;
169                                 cell-index = <0>;
170                                 interrupts = <30>;
171                                 clocks = <&coreclk 0>;
172                                 status = "disabled";
173                         };
174
175                         spi1: spi@10680 {
176                                 compatible = "marvell,orion-spi";
177                                 reg = <0x10680 0x28>;
178                                 #address-cells = <1>;
179                                 #size-cells = <0>;
180                                 cell-index = <1>;
181                                 interrupts = <92>;
182                                 clocks = <&coreclk 0>;
183                                 status = "disabled";
184                         };
185
186                         devbus-bootcs@10400 {
187                                 compatible = "marvell,mvebu-devbus";
188                                 reg = <0x10400 0x8>;
189                                 #address-cells = <1>;
190                                 #size-cells = <1>;
191                                 clocks = <&coreclk 0>;
192                                 status = "disabled";
193                         };
194
195                         devbus-cs0@10408 {
196                                 compatible = "marvell,mvebu-devbus";
197                                 reg = <0x10408 0x8>;
198                                 #address-cells = <1>;
199                                 #size-cells = <1>;
200                                 clocks = <&coreclk 0>;
201                                 status = "disabled";
202                         };
203
204                         devbus-cs1@10410 {
205                                 compatible = "marvell,mvebu-devbus";
206                                 reg = <0x10410 0x8>;
207                                 #address-cells = <1>;
208                                 #size-cells = <1>;
209                                 clocks = <&coreclk 0>;
210                                 status = "disabled";
211                         };
212
213                         devbus-cs2@10418 {
214                                 compatible = "marvell,mvebu-devbus";
215                                 reg = <0x10418 0x8>;
216                                 #address-cells = <1>;
217                                 #size-cells = <1>;
218                                 clocks = <&coreclk 0>;
219                                 status = "disabled";
220                         };
221
222                         devbus-cs3@10420 {
223                                 compatible = "marvell,mvebu-devbus";
224                                 reg = <0x10420 0x8>;
225                                 #address-cells = <1>;
226                                 #size-cells = <1>;
227                                 clocks = <&coreclk 0>;
228                                 status = "disabled";
229                         };
230                 };
231         };
232  };