blob: 90b117624abb2230105855b70fbdf313fa73a05e [file] [log] [blame]
Thomas Petazzoni9ae6f742012-06-13 19:01:28 +02001/*
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
Gregory CLEMENT74898362013-04-12 16:29:10 +020019/include/ "skeleton64.dtsi"
Thomas Petazzoni9ae6f742012-06-13 19:01:28 +020020
21/ {
22 model = "Marvell Armada 370 and XP SoC";
Thomas Petazzoni92ece1c2012-11-09 16:29:17 +010023 compatible = "marvell,armada-370-xp";
Thomas Petazzoni9ae6f742012-06-13 19:01:28 +020024
Willy Tarreaube5a9382013-06-03 18:47:36 +020025 aliases {
26 eth0 = &eth0;
27 eth1 = &eth1;
28 };
29
Thomas Petazzoni9ae6f742012-06-13 19:01:28 +020030 cpus {
Lorenzo Pieralisi7a7ed292013-04-18 18:29:34 +010031 #address-cells = <1>;
32 #size-cells = <0>;
Thomas Petazzoni9ae6f742012-06-13 19:01:28 +020033 cpu@0 {
34 compatible = "marvell,sheeva-v7";
Lorenzo Pieralisi7a7ed292013-04-18 18:29:34 +010035 device_type = "cpu";
36 reg = <0>;
Thomas Petazzoni9ae6f742012-06-13 19:01:28 +020037 };
38 };
39
Thomas Petazzoni9ae6f742012-06-13 19:01:28 +020040 soc {
41 #address-cells = <1>;
42 #size-cells = <1>;
43 compatible = "simple-bus";
44 interrupt-parent = <&mpic>;
Thomas Petazzoni8eed4812013-05-16 17:55:16 +020045 ranges = <0 0 0xd0000000 0x0100000 /* internal registers */
46 0xe0000000 0 0xe0000000 0x8100000 /* PCIe */>;
Thomas Petazzoni9ae6f742012-06-13 19:01:28 +020047
Gregory CLEMENT467f54b2013-04-12 16:29:09 +020048 internal-regs {
49 compatible = "simple-bus";
50 #address-cells = <1>;
51 #size-cells = <1>;
52 ranges;
53
54 mpic: interrupt-controller@20000 {
Gregory CLEMENT82a68262013-04-12 16:29:08 +020055 compatible = "marvell,mpic";
56 #interrupt-cells = <1>;
57 #size-cells = <1>;
58 interrupt-controller;
Gregory CLEMENT467f54b2013-04-12 16:29:09 +020059 };
Thomas Petazzonib18ea4d2013-04-12 16:29:07 +020060
Gregory CLEMENT467f54b2013-04-12 16:29:09 +020061 coherency-fabric@20200 {
Gregory CLEMENT82a68262013-04-12 16:29:08 +020062 compatible = "marvell,coherency-fabric";
Gregory CLEMENT467f54b2013-04-12 16:29:09 +020063 reg = <0x20200 0xb0>, <0x21810 0x1c>;
64 };
Thomas Petazzonib18ea4d2013-04-12 16:29:07 +020065
Gregory CLEMENT467f54b2013-04-12 16:29:09 +020066 serial@12000 {
Gregory CLEMENTb24212f2012-12-04 18:04:59 +010067 compatible = "snps,dw-apb-uart";
Gregory CLEMENT82a68262013-04-12 16:29:08 +020068 reg = <0x12000 0x100>;
Thomas Petazzoni9ae6f742012-06-13 19:01:28 +020069 reg-shift = <2>;
70 interrupts = <41>;
Heikki Krogeruse3661542013-03-06 11:23:33 +010071 reg-io-width = <1>;
Thomas Petazzoni9ae6f742012-06-13 19:01:28 +020072 status = "disabled";
Gregory CLEMENT467f54b2013-04-12 16:29:09 +020073 };
74 serial@12100 {
Gregory CLEMENTb24212f2012-12-04 18:04:59 +010075 compatible = "snps,dw-apb-uart";
Gregory CLEMENT82a68262013-04-12 16:29:08 +020076 reg = <0x12100 0x100>;
Thomas Petazzoni9ae6f742012-06-13 19:01:28 +020077 reg-shift = <2>;
78 interrupts = <42>;
Heikki Krogeruse3661542013-03-06 11:23:33 +010079 reg-io-width = <1>;
Thomas Petazzoni9ae6f742012-06-13 19:01:28 +020080 status = "disabled";
Gregory CLEMENT467f54b2013-04-12 16:29:09 +020081 };
Thomas Petazzoni9ae6f742012-06-13 19:01:28 +020082
Gregory CLEMENT467f54b2013-04-12 16:29:09 +020083 timer@20300 {
84 compatible = "marvell,armada-370-xp-timer";
85 reg = <0x20300 0x30>, <0x21040 0x30>;
86 interrupts = <37>, <38>, <39>, <40>, <5>, <6>;
87 clocks = <&coreclk 2>;
88 };
Thomas Petazzoni5b40bae2012-09-11 14:27:30 +020089
Gregory CLEMENT467f54b2013-04-12 16:29:09 +020090 sata@a0000 {
91 compatible = "marvell,orion-sata";
Thomas Petazzoni911492d2013-05-21 12:33:26 +020092 reg = <0xa0000 0x5000>;
Gregory CLEMENT467f54b2013-04-12 16:29:09 +020093 interrupts = <55>;
94 clocks = <&gateclk 15>, <&gateclk 30>;
95 clock-names = "0", "1";
96 status = "disabled";
97 };
Gregory CLEMENTa6a6de12012-10-26 14:30:47 +020098
Gregory CLEMENT467f54b2013-04-12 16:29:09 +020099 mdio {
100 #address-cells = <1>;
101 #size-cells = <0>;
102 compatible = "marvell,orion-mdio";
103 reg = <0x72004 0x4>;
104 };
Thomas Petazzoni323c1012012-09-04 15:06:43 +0200105
Willy Tarreaube5a9382013-06-03 18:47:36 +0200106 eth0: ethernet@70000 {
Thomas Petazzoni323c1012012-09-04 15:06:43 +0200107 compatible = "marvell,armada-370-neta";
Thomas Petazzonicf8088c2013-05-21 12:33:27 +0200108 reg = <0x70000 0x4000>;
Thomas Petazzoni323c1012012-09-04 15:06:43 +0200109 interrupts = <8>;
Thomas Petazzoni4aa935a2012-11-19 14:18:09 +0100110 clocks = <&gateclk 4>;
Thomas Petazzoni323c1012012-09-04 15:06:43 +0200111 status = "disabled";
Gregory CLEMENT467f54b2013-04-12 16:29:09 +0200112 };
Thomas Petazzoni323c1012012-09-04 15:06:43 +0200113
Willy Tarreaube5a9382013-06-03 18:47:36 +0200114 eth1: ethernet@74000 {
Thomas Petazzoni323c1012012-09-04 15:06:43 +0200115 compatible = "marvell,armada-370-neta";
Thomas Petazzonicf8088c2013-05-21 12:33:27 +0200116 reg = <0x74000 0x4000>;
Thomas Petazzoni323c1012012-09-04 15:06:43 +0200117 interrupts = <10>;
Thomas Petazzoni4aa935a2012-11-19 14:18:09 +0100118 clocks = <&gateclk 3>;
Thomas Petazzoni323c1012012-09-04 15:06:43 +0200119 status = "disabled";
Gregory CLEMENT467f54b2013-04-12 16:29:09 +0200120 };
Nobuhiro Iwamatsu539eb5b2012-10-30 19:41:23 +0900121
Gregory CLEMENT467f54b2013-04-12 16:29:09 +0200122 i2c0: i2c@11000 {
123 compatible = "marvell,mv64xxx-i2c";
124 reg = <0x11000 0x20>;
125 #address-cells = <1>;
126 #size-cells = <0>;
127 interrupts = <31>;
128 timeout-ms = <1000>;
129 clocks = <&coreclk 0>;
130 status = "disabled";
131 };
Nobuhiro Iwamatsu539eb5b2012-10-30 19:41:23 +0900132
Gregory CLEMENT467f54b2013-04-12 16:29:09 +0200133 i2c1: i2c@11100 {
134 compatible = "marvell,mv64xxx-i2c";
135 reg = <0x11100 0x20>;
136 #address-cells = <1>;
137 #size-cells = <0>;
138 interrupts = <32>;
139 timeout-ms = <1000>;
140 clocks = <&coreclk 0>;
141 status = "disabled";
142 };
Gregory CLEMENT0db98542012-12-12 10:06:24 +0100143
Gregory CLEMENT467f54b2013-04-12 16:29:09 +0200144 rtc@10300 {
145 compatible = "marvell,orion-rtc";
146 reg = <0x10300 0x20>;
147 interrupts = <50>;
148 };
Thomas Petazzoni42bb5312012-12-21 15:49:04 +0100149
Gregory CLEMENT467f54b2013-04-12 16:29:09 +0200150 mvsdio@d4000 {
151 compatible = "marvell,orion-sdio";
152 reg = <0xd4000 0x200>;
153 interrupts = <54>;
154 clocks = <&gateclk 17>;
Simon Baatzd87b5fb2013-05-13 23:18:58 +0200155 bus-width = <4>;
156 cap-sdio-irq;
157 cap-sd-highspeed;
158 cap-mmc-highspeed;
Gregory CLEMENT467f54b2013-04-12 16:29:09 +0200159 status = "disabled";
160 };
Ezequiel Garciab2bb8062013-01-23 12:26:30 -0300161
Gregory CLEMENT467f54b2013-04-12 16:29:09 +0200162 usb@50000 {
163 compatible = "marvell,orion-ehci";
164 reg = <0x50000 0x500>;
165 interrupts = <45>;
166 status = "disabled";
167 };
Ezequiel Garciab2bb8062013-01-23 12:26:30 -0300168
Gregory CLEMENT467f54b2013-04-12 16:29:09 +0200169 usb@51000 {
170 compatible = "marvell,orion-ehci";
171 reg = <0x51000 0x500>;
172 interrupts = <46>;
173 status = "disabled";
174 };
Ezequiel Garciab2bb8062013-01-23 12:26:30 -0300175
Gregory CLEMENT467f54b2013-04-12 16:29:09 +0200176 spi0: spi@10600 {
177 compatible = "marvell,orion-spi";
178 reg = <0x10600 0x28>;
179 #address-cells = <1>;
180 #size-cells = <0>;
181 cell-index = <0>;
182 interrupts = <30>;
183 clocks = <&coreclk 0>;
184 status = "disabled";
185 };
Ezequiel Garciad5dc0352013-02-06 10:06:21 -0300186
Gregory CLEMENT467f54b2013-04-12 16:29:09 +0200187 spi1: spi@10680 {
188 compatible = "marvell,orion-spi";
189 reg = <0x10680 0x28>;
190 #address-cells = <1>;
191 #size-cells = <0>;
192 cell-index = <1>;
193 interrupts = <92>;
194 clocks = <&coreclk 0>;
195 status = "disabled";
196 };
Ezequiel Garcia3d76e1f2013-04-10 16:04:01 -0300197
Gregory CLEMENT467f54b2013-04-12 16:29:09 +0200198 devbus-bootcs@10400 {
199 compatible = "marvell,mvebu-devbus";
200 reg = <0x10400 0x8>;
201 #address-cells = <1>;
202 #size-cells = <1>;
203 clocks = <&coreclk 0>;
204 status = "disabled";
205 };
Ezequiel Garcia3d76e1f2013-04-10 16:04:01 -0300206
Gregory CLEMENT467f54b2013-04-12 16:29:09 +0200207 devbus-cs0@10408 {
208 compatible = "marvell,mvebu-devbus";
209 reg = <0x10408 0x8>;
210 #address-cells = <1>;
211 #size-cells = <1>;
212 clocks = <&coreclk 0>;
213 status = "disabled";
214 };
Ezequiel Garcia3d76e1f2013-04-10 16:04:01 -0300215
Gregory CLEMENT467f54b2013-04-12 16:29:09 +0200216 devbus-cs1@10410 {
217 compatible = "marvell,mvebu-devbus";
218 reg = <0x10410 0x8>;
219 #address-cells = <1>;
220 #size-cells = <1>;
221 clocks = <&coreclk 0>;
222 status = "disabled";
223 };
Ezequiel Garcia3d76e1f2013-04-10 16:04:01 -0300224
Gregory CLEMENT467f54b2013-04-12 16:29:09 +0200225 devbus-cs2@10418 {
226 compatible = "marvell,mvebu-devbus";
227 reg = <0x10418 0x8>;
228 #address-cells = <1>;
229 #size-cells = <1>;
230 clocks = <&coreclk 0>;
231 status = "disabled";
232 };
Ezequiel Garcia3d76e1f2013-04-10 16:04:01 -0300233
Gregory CLEMENT467f54b2013-04-12 16:29:09 +0200234 devbus-cs3@10420 {
235 compatible = "marvell,mvebu-devbus";
236 reg = <0x10420 0x8>;
237 #address-cells = <1>;
238 #size-cells = <1>;
239 clocks = <&coreclk 0>;
240 status = "disabled";
241 };
Ezequiel Garcia3d76e1f2013-04-10 16:04:01 -0300242 };
Thomas Petazzoni9ae6f742012-06-13 19:01:28 +0200243 };
Gregory CLEMENT467f54b2013-04-12 16:29:09 +0200244 };