blob: 2407903552fab3dedce7bf8026bc8944fb7b249d [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 {
Lorenzo Pieralisi7a7ed292013-04-18 18:29:34 +010026 #address-cells = <1>;
27 #size-cells = <0>;
Thomas Petazzoni9ae6f742012-06-13 19:01:28 +020028 cpu@0 {
29 compatible = "marvell,sheeva-v7";
Lorenzo Pieralisi7a7ed292013-04-18 18:29:34 +010030 device_type = "cpu";
31 reg = <0>;
Thomas Petazzoni9ae6f742012-06-13 19:01:28 +020032 };
33 };
34
Thomas Petazzoni9ae6f742012-06-13 19:01:28 +020035 soc {
36 #address-cells = <1>;
37 #size-cells = <1>;
38 compatible = "simple-bus";
39 interrupt-parent = <&mpic>;
Gregory CLEMENT74898362013-04-12 16:29:10 +020040 ranges = <0 0 0xd0000000 0x100000>;
Thomas Petazzoni9ae6f742012-06-13 19:01:28 +020041
Gregory CLEMENT467f54b2013-04-12 16:29:09 +020042 internal-regs {
43 compatible = "simple-bus";
44 #address-cells = <1>;
45 #size-cells = <1>;
46 ranges;
47
48 mpic: interrupt-controller@20000 {
Gregory CLEMENT82a68262013-04-12 16:29:08 +020049 compatible = "marvell,mpic";
50 #interrupt-cells = <1>;
51 #size-cells = <1>;
52 interrupt-controller;
Gregory CLEMENT467f54b2013-04-12 16:29:09 +020053 };
Thomas Petazzonib18ea4d2013-04-12 16:29:07 +020054
Gregory CLEMENT467f54b2013-04-12 16:29:09 +020055 coherency-fabric@20200 {
Gregory CLEMENT82a68262013-04-12 16:29:08 +020056 compatible = "marvell,coherency-fabric";
Gregory CLEMENT467f54b2013-04-12 16:29:09 +020057 reg = <0x20200 0xb0>, <0x21810 0x1c>;
58 };
Thomas Petazzonib18ea4d2013-04-12 16:29:07 +020059
Gregory CLEMENT467f54b2013-04-12 16:29:09 +020060 serial@12000 {
Gregory CLEMENTb24212f2012-12-04 18:04:59 +010061 compatible = "snps,dw-apb-uart";
Gregory CLEMENT82a68262013-04-12 16:29:08 +020062 reg = <0x12000 0x100>;
Thomas Petazzoni9ae6f742012-06-13 19:01:28 +020063 reg-shift = <2>;
64 interrupts = <41>;
Heikki Krogeruse3661542013-03-06 11:23:33 +010065 reg-io-width = <1>;
Thomas Petazzoni9ae6f742012-06-13 19:01:28 +020066 status = "disabled";
Gregory CLEMENT467f54b2013-04-12 16:29:09 +020067 };
68 serial@12100 {
Gregory CLEMENTb24212f2012-12-04 18:04:59 +010069 compatible = "snps,dw-apb-uart";
Gregory CLEMENT82a68262013-04-12 16:29:08 +020070 reg = <0x12100 0x100>;
Thomas Petazzoni9ae6f742012-06-13 19:01:28 +020071 reg-shift = <2>;
72 interrupts = <42>;
Heikki Krogeruse3661542013-03-06 11:23:33 +010073 reg-io-width = <1>;
Thomas Petazzoni9ae6f742012-06-13 19:01:28 +020074 status = "disabled";
Gregory CLEMENT467f54b2013-04-12 16:29:09 +020075 };
Thomas Petazzoni9ae6f742012-06-13 19:01:28 +020076
Gregory CLEMENT467f54b2013-04-12 16:29:09 +020077 timer@20300 {
78 compatible = "marvell,armada-370-xp-timer";
79 reg = <0x20300 0x30>, <0x21040 0x30>;
80 interrupts = <37>, <38>, <39>, <40>, <5>, <6>;
81 clocks = <&coreclk 2>;
82 };
Thomas Petazzoni5b40bae2012-09-11 14:27:30 +020083
Gregory CLEMENT467f54b2013-04-12 16:29:09 +020084 sata@a0000 {
85 compatible = "marvell,orion-sata";
86 reg = <0xa0000 0x2400>;
87 interrupts = <55>;
88 clocks = <&gateclk 15>, <&gateclk 30>;
89 clock-names = "0", "1";
90 status = "disabled";
91 };
Gregory CLEMENTa6a6de12012-10-26 14:30:47 +020092
Gregory CLEMENT467f54b2013-04-12 16:29:09 +020093 mdio {
94 #address-cells = <1>;
95 #size-cells = <0>;
96 compatible = "marvell,orion-mdio";
97 reg = <0x72004 0x4>;
98 };
Thomas Petazzoni323c1012012-09-04 15:06:43 +020099
Gregory CLEMENT467f54b2013-04-12 16:29:09 +0200100 ethernet@70000 {
Thomas Petazzoni323c1012012-09-04 15:06:43 +0200101 compatible = "marvell,armada-370-neta";
Gregory CLEMENT82a68262013-04-12 16:29:08 +0200102 reg = <0x70000 0x2500>;
Thomas Petazzoni323c1012012-09-04 15:06:43 +0200103 interrupts = <8>;
Thomas Petazzoni4aa935a2012-11-19 14:18:09 +0100104 clocks = <&gateclk 4>;
Thomas Petazzoni323c1012012-09-04 15:06:43 +0200105 status = "disabled";
Gregory CLEMENT467f54b2013-04-12 16:29:09 +0200106 };
Thomas Petazzoni323c1012012-09-04 15:06:43 +0200107
Gregory CLEMENT467f54b2013-04-12 16:29:09 +0200108 ethernet@74000 {
Thomas Petazzoni323c1012012-09-04 15:06:43 +0200109 compatible = "marvell,armada-370-neta";
Gregory CLEMENT82a68262013-04-12 16:29:08 +0200110 reg = <0x74000 0x2500>;
Thomas Petazzoni323c1012012-09-04 15:06:43 +0200111 interrupts = <10>;
Thomas Petazzoni4aa935a2012-11-19 14:18:09 +0100112 clocks = <&gateclk 3>;
Thomas Petazzoni323c1012012-09-04 15:06:43 +0200113 status = "disabled";
Gregory CLEMENT467f54b2013-04-12 16:29:09 +0200114 };
Nobuhiro Iwamatsu539eb5b2012-10-30 19:41:23 +0900115
Gregory CLEMENT467f54b2013-04-12 16:29:09 +0200116 i2c0: i2c@11000 {
117 compatible = "marvell,mv64xxx-i2c";
118 reg = <0x11000 0x20>;
119 #address-cells = <1>;
120 #size-cells = <0>;
121 interrupts = <31>;
122 timeout-ms = <1000>;
123 clocks = <&coreclk 0>;
124 status = "disabled";
125 };
Nobuhiro Iwamatsu539eb5b2012-10-30 19:41:23 +0900126
Gregory CLEMENT467f54b2013-04-12 16:29:09 +0200127 i2c1: i2c@11100 {
128 compatible = "marvell,mv64xxx-i2c";
129 reg = <0x11100 0x20>;
130 #address-cells = <1>;
131 #size-cells = <0>;
132 interrupts = <32>;
133 timeout-ms = <1000>;
134 clocks = <&coreclk 0>;
135 status = "disabled";
136 };
Gregory CLEMENT0db98542012-12-12 10:06:24 +0100137
Gregory CLEMENT467f54b2013-04-12 16:29:09 +0200138 rtc@10300 {
139 compatible = "marvell,orion-rtc";
140 reg = <0x10300 0x20>;
141 interrupts = <50>;
142 };
Thomas Petazzoni42bb5312012-12-21 15:49:04 +0100143
Gregory CLEMENT467f54b2013-04-12 16:29:09 +0200144 mvsdio@d4000 {
145 compatible = "marvell,orion-sdio";
146 reg = <0xd4000 0x200>;
147 interrupts = <54>;
148 clocks = <&gateclk 17>;
149 status = "disabled";
150 };
Ezequiel Garciab2bb8062013-01-23 12:26:30 -0300151
Gregory CLEMENT467f54b2013-04-12 16:29:09 +0200152 usb@50000 {
153 compatible = "marvell,orion-ehci";
154 reg = <0x50000 0x500>;
155 interrupts = <45>;
156 status = "disabled";
157 };
Ezequiel Garciab2bb8062013-01-23 12:26:30 -0300158
Gregory CLEMENT467f54b2013-04-12 16:29:09 +0200159 usb@51000 {
160 compatible = "marvell,orion-ehci";
161 reg = <0x51000 0x500>;
162 interrupts = <46>;
163 status = "disabled";
164 };
Ezequiel Garciab2bb8062013-01-23 12:26:30 -0300165
Gregory CLEMENT467f54b2013-04-12 16:29:09 +0200166 spi0: spi@10600 {
167 compatible = "marvell,orion-spi";
168 reg = <0x10600 0x28>;
169 #address-cells = <1>;
170 #size-cells = <0>;
171 cell-index = <0>;
172 interrupts = <30>;
173 clocks = <&coreclk 0>;
174 status = "disabled";
175 };
Ezequiel Garciad5dc0352013-02-06 10:06:21 -0300176
Gregory CLEMENT467f54b2013-04-12 16:29:09 +0200177 spi1: spi@10680 {
178 compatible = "marvell,orion-spi";
179 reg = <0x10680 0x28>;
180 #address-cells = <1>;
181 #size-cells = <0>;
182 cell-index = <1>;
183 interrupts = <92>;
184 clocks = <&coreclk 0>;
185 status = "disabled";
186 };
Ezequiel Garcia3d76e1f2013-04-10 16:04:01 -0300187
Gregory CLEMENT467f54b2013-04-12 16:29:09 +0200188 devbus-bootcs@10400 {
189 compatible = "marvell,mvebu-devbus";
190 reg = <0x10400 0x8>;
191 #address-cells = <1>;
192 #size-cells = <1>;
193 clocks = <&coreclk 0>;
194 status = "disabled";
195 };
Ezequiel Garcia3d76e1f2013-04-10 16:04:01 -0300196
Gregory CLEMENT467f54b2013-04-12 16:29:09 +0200197 devbus-cs0@10408 {
198 compatible = "marvell,mvebu-devbus";
199 reg = <0x10408 0x8>;
200 #address-cells = <1>;
201 #size-cells = <1>;
202 clocks = <&coreclk 0>;
203 status = "disabled";
204 };
Ezequiel Garcia3d76e1f2013-04-10 16:04:01 -0300205
Gregory CLEMENT467f54b2013-04-12 16:29:09 +0200206 devbus-cs1@10410 {
207 compatible = "marvell,mvebu-devbus";
208 reg = <0x10410 0x8>;
209 #address-cells = <1>;
210 #size-cells = <1>;
211 clocks = <&coreclk 0>;
212 status = "disabled";
213 };
Ezequiel Garcia3d76e1f2013-04-10 16:04:01 -0300214
Gregory CLEMENT467f54b2013-04-12 16:29:09 +0200215 devbus-cs2@10418 {
216 compatible = "marvell,mvebu-devbus";
217 reg = <0x10418 0x8>;
218 #address-cells = <1>;
219 #size-cells = <1>;
220 clocks = <&coreclk 0>;
221 status = "disabled";
222 };
Ezequiel Garcia3d76e1f2013-04-10 16:04:01 -0300223
Gregory CLEMENT467f54b2013-04-12 16:29:09 +0200224 devbus-cs3@10420 {
225 compatible = "marvell,mvebu-devbus";
226 reg = <0x10420 0x8>;
227 #address-cells = <1>;
228 #size-cells = <1>;
229 clocks = <&coreclk 0>;
230 status = "disabled";
231 };
Ezequiel Garcia3d76e1f2013-04-10 16:04:01 -0300232 };
Thomas Petazzoni9ae6f742012-06-13 19:01:28 +0200233 };
Gregory CLEMENT467f54b2013-04-12 16:29:09 +0200234 };