blob: 550eb772c30e4c47c2f7f0896469a033dee3e23b [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
25 cpus {
26 cpu@0 {
27 compatible = "marvell,sheeva-v7";
28 };
29 };
30
Thomas Petazzoni9ae6f742012-06-13 19:01:28 +020031 soc {
32 #address-cells = <1>;
33 #size-cells = <1>;
34 compatible = "simple-bus";
35 interrupt-parent = <&mpic>;
Thomas Petazzoni8eed4812013-05-16 17:55:16 +020036 ranges = <0 0 0xd0000000 0x0100000 /* internal registers */
37 0xe0000000 0 0xe0000000 0x8100000 /* PCIe */>;
Thomas Petazzoni9ae6f742012-06-13 19:01:28 +020038
Gregory CLEMENT467f54b2013-04-12 16:29:09 +020039 internal-regs {
40 compatible = "simple-bus";
41 #address-cells = <1>;
42 #size-cells = <1>;
43 ranges;
44
45 mpic: interrupt-controller@20000 {
Gregory CLEMENT82a68262013-04-12 16:29:08 +020046 compatible = "marvell,mpic";
47 #interrupt-cells = <1>;
48 #size-cells = <1>;
49 interrupt-controller;
Gregory CLEMENT467f54b2013-04-12 16:29:09 +020050 };
Thomas Petazzonib18ea4d2013-04-12 16:29:07 +020051
Gregory CLEMENT467f54b2013-04-12 16:29:09 +020052 coherency-fabric@20200 {
Gregory CLEMENT82a68262013-04-12 16:29:08 +020053 compatible = "marvell,coherency-fabric";
Gregory CLEMENT467f54b2013-04-12 16:29:09 +020054 reg = <0x20200 0xb0>, <0x21810 0x1c>;
55 };
Thomas Petazzonib18ea4d2013-04-12 16:29:07 +020056
Gregory CLEMENT467f54b2013-04-12 16:29:09 +020057 serial@12000 {
Gregory CLEMENTb24212f2012-12-04 18:04:59 +010058 compatible = "snps,dw-apb-uart";
Gregory CLEMENT82a68262013-04-12 16:29:08 +020059 reg = <0x12000 0x100>;
Thomas Petazzoni9ae6f742012-06-13 19:01:28 +020060 reg-shift = <2>;
61 interrupts = <41>;
Heikki Krogeruse3661542013-03-06 11:23:33 +010062 reg-io-width = <1>;
Thomas Petazzoni9ae6f742012-06-13 19:01:28 +020063 status = "disabled";
Gregory CLEMENT467f54b2013-04-12 16:29:09 +020064 };
65 serial@12100 {
Gregory CLEMENTb24212f2012-12-04 18:04:59 +010066 compatible = "snps,dw-apb-uart";
Gregory CLEMENT82a68262013-04-12 16:29:08 +020067 reg = <0x12100 0x100>;
Thomas Petazzoni9ae6f742012-06-13 19:01:28 +020068 reg-shift = <2>;
69 interrupts = <42>;
Heikki Krogeruse3661542013-03-06 11:23:33 +010070 reg-io-width = <1>;
Thomas Petazzoni9ae6f742012-06-13 19:01:28 +020071 status = "disabled";
Gregory CLEMENT467f54b2013-04-12 16:29:09 +020072 };
Thomas Petazzoni9ae6f742012-06-13 19:01:28 +020073
Gregory CLEMENT467f54b2013-04-12 16:29:09 +020074 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 };
Thomas Petazzoni5b40bae2012-09-11 14:27:30 +020080
Gregory CLEMENT467f54b2013-04-12 16:29:09 +020081 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 };
Gregory CLEMENTa6a6de12012-10-26 14:30:47 +020089
Gregory CLEMENT467f54b2013-04-12 16:29:09 +020090 mdio {
91 #address-cells = <1>;
92 #size-cells = <0>;
93 compatible = "marvell,orion-mdio";
94 reg = <0x72004 0x4>;
95 };
Thomas Petazzoni323c1012012-09-04 15:06:43 +020096
Gregory CLEMENT467f54b2013-04-12 16:29:09 +020097 ethernet@70000 {
Thomas Petazzoni323c1012012-09-04 15:06:43 +020098 compatible = "marvell,armada-370-neta";
Gregory CLEMENT82a68262013-04-12 16:29:08 +020099 reg = <0x70000 0x2500>;
Thomas Petazzoni323c1012012-09-04 15:06:43 +0200100 interrupts = <8>;
Thomas Petazzoni4aa935a2012-11-19 14:18:09 +0100101 clocks = <&gateclk 4>;
Thomas Petazzoni323c1012012-09-04 15:06:43 +0200102 status = "disabled";
Gregory CLEMENT467f54b2013-04-12 16:29:09 +0200103 };
Thomas Petazzoni323c1012012-09-04 15:06:43 +0200104
Gregory CLEMENT467f54b2013-04-12 16:29:09 +0200105 ethernet@74000 {
Thomas Petazzoni323c1012012-09-04 15:06:43 +0200106 compatible = "marvell,armada-370-neta";
Gregory CLEMENT82a68262013-04-12 16:29:08 +0200107 reg = <0x74000 0x2500>;
Thomas Petazzoni323c1012012-09-04 15:06:43 +0200108 interrupts = <10>;
Thomas Petazzoni4aa935a2012-11-19 14:18:09 +0100109 clocks = <&gateclk 3>;
Thomas Petazzoni323c1012012-09-04 15:06:43 +0200110 status = "disabled";
Gregory CLEMENT467f54b2013-04-12 16:29:09 +0200111 };
Nobuhiro Iwamatsu539eb5b2012-10-30 19:41:23 +0900112
Gregory CLEMENT467f54b2013-04-12 16:29:09 +0200113 i2c0: i2c@11000 {
114 compatible = "marvell,mv64xxx-i2c";
115 reg = <0x11000 0x20>;
116 #address-cells = <1>;
117 #size-cells = <0>;
118 interrupts = <31>;
119 timeout-ms = <1000>;
120 clocks = <&coreclk 0>;
121 status = "disabled";
122 };
Nobuhiro Iwamatsu539eb5b2012-10-30 19:41:23 +0900123
Gregory CLEMENT467f54b2013-04-12 16:29:09 +0200124 i2c1: i2c@11100 {
125 compatible = "marvell,mv64xxx-i2c";
126 reg = <0x11100 0x20>;
127 #address-cells = <1>;
128 #size-cells = <0>;
129 interrupts = <32>;
130 timeout-ms = <1000>;
131 clocks = <&coreclk 0>;
132 status = "disabled";
133 };
Gregory CLEMENT0db98542012-12-12 10:06:24 +0100134
Gregory CLEMENT467f54b2013-04-12 16:29:09 +0200135 rtc@10300 {
136 compatible = "marvell,orion-rtc";
137 reg = <0x10300 0x20>;
138 interrupts = <50>;
139 };
Thomas Petazzoni42bb5312012-12-21 15:49:04 +0100140
Gregory CLEMENT467f54b2013-04-12 16:29:09 +0200141 mvsdio@d4000 {
142 compatible = "marvell,orion-sdio";
143 reg = <0xd4000 0x200>;
144 interrupts = <54>;
145 clocks = <&gateclk 17>;
146 status = "disabled";
147 };
Ezequiel Garciab2bb8062013-01-23 12:26:30 -0300148
Gregory CLEMENT467f54b2013-04-12 16:29:09 +0200149 usb@50000 {
150 compatible = "marvell,orion-ehci";
151 reg = <0x50000 0x500>;
152 interrupts = <45>;
153 status = "disabled";
154 };
Ezequiel Garciab2bb8062013-01-23 12:26:30 -0300155
Gregory CLEMENT467f54b2013-04-12 16:29:09 +0200156 usb@51000 {
157 compatible = "marvell,orion-ehci";
158 reg = <0x51000 0x500>;
159 interrupts = <46>;
160 status = "disabled";
161 };
Ezequiel Garciab2bb8062013-01-23 12:26:30 -0300162
Gregory CLEMENT467f54b2013-04-12 16:29:09 +0200163 spi0: spi@10600 {
164 compatible = "marvell,orion-spi";
165 reg = <0x10600 0x28>;
166 #address-cells = <1>;
167 #size-cells = <0>;
168 cell-index = <0>;
169 interrupts = <30>;
170 clocks = <&coreclk 0>;
171 status = "disabled";
172 };
Ezequiel Garciad5dc0352013-02-06 10:06:21 -0300173
Gregory CLEMENT467f54b2013-04-12 16:29:09 +0200174 spi1: spi@10680 {
175 compatible = "marvell,orion-spi";
176 reg = <0x10680 0x28>;
177 #address-cells = <1>;
178 #size-cells = <0>;
179 cell-index = <1>;
180 interrupts = <92>;
181 clocks = <&coreclk 0>;
182 status = "disabled";
183 };
Ezequiel Garcia3d76e1f2013-04-10 16:04:01 -0300184
Gregory CLEMENT467f54b2013-04-12 16:29:09 +0200185 devbus-bootcs@10400 {
186 compatible = "marvell,mvebu-devbus";
187 reg = <0x10400 0x8>;
188 #address-cells = <1>;
189 #size-cells = <1>;
190 clocks = <&coreclk 0>;
191 status = "disabled";
192 };
Ezequiel Garcia3d76e1f2013-04-10 16:04:01 -0300193
Gregory CLEMENT467f54b2013-04-12 16:29:09 +0200194 devbus-cs0@10408 {
195 compatible = "marvell,mvebu-devbus";
196 reg = <0x10408 0x8>;
197 #address-cells = <1>;
198 #size-cells = <1>;
199 clocks = <&coreclk 0>;
200 status = "disabled";
201 };
Ezequiel Garcia3d76e1f2013-04-10 16:04:01 -0300202
Gregory CLEMENT467f54b2013-04-12 16:29:09 +0200203 devbus-cs1@10410 {
204 compatible = "marvell,mvebu-devbus";
205 reg = <0x10410 0x8>;
206 #address-cells = <1>;
207 #size-cells = <1>;
208 clocks = <&coreclk 0>;
209 status = "disabled";
210 };
Ezequiel Garcia3d76e1f2013-04-10 16:04:01 -0300211
Gregory CLEMENT467f54b2013-04-12 16:29:09 +0200212 devbus-cs2@10418 {
213 compatible = "marvell,mvebu-devbus";
214 reg = <0x10418 0x8>;
215 #address-cells = <1>;
216 #size-cells = <1>;
217 clocks = <&coreclk 0>;
218 status = "disabled";
219 };
Ezequiel Garcia3d76e1f2013-04-10 16:04:01 -0300220
Gregory CLEMENT467f54b2013-04-12 16:29:09 +0200221 devbus-cs3@10420 {
222 compatible = "marvell,mvebu-devbus";
223 reg = <0x10420 0x8>;
224 #address-cells = <1>;
225 #size-cells = <1>;
226 clocks = <&coreclk 0>;
227 status = "disabled";
228 };
Ezequiel Garcia3d76e1f2013-04-10 16:04:01 -0300229 };
Thomas Petazzoni9ae6f742012-06-13 19:01:28 +0200230 };
Gregory CLEMENT467f54b2013-04-12 16:29:09 +0200231 };