2 * Device Tree Include file for Marvell Armada 370 and Armada XP SoC
4 * Copyright (C) 2012 Marvell
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>
11 * This file is dual-licensed: you can use it either under the terms
12 * of the GPL or the X11 license, at your option. Note that this dual
13 * licensing only applies to this file, and not this project as a
16 * a) This file is free software; you can redistribute it and/or
17 * modify it under the terms of the GNU General Public License as
18 * published by the Free Software Foundation; either version 2 of the
19 * License, or (at your option) any later version.
21 * This file is distributed in the hope that it will be useful,
22 * but WITHOUT ANY WARRANTY; without even the implied warranty of
23 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
24 * GNU General Public License for more details.
28 * b) Permission is hereby granted, free of charge, to any person
29 * obtaining a copy of this software and associated documentation
30 * files (the "Software"), to deal in the Software without
31 * restriction, including without limitation the rights to use,
32 * copy, modify, merge, publish, distribute, sublicense, and/or
33 * sell copies of the Software, and to permit persons to whom the
34 * Software is furnished to do so, subject to the following
37 * The above copyright notice and this permission notice shall be
38 * included in all copies or substantial portions of the Software.
40 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
41 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
42 * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
43 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
44 * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
45 * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
46 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
47 * OTHER DEALINGS IN THE SOFTWARE.
49 * This file contains the definitions that are common to the Armada
50 * 370 and Armada XP SoC.
53 #define MBUS_ID(target,attributes) (((target) << 24) | ((attributes) << 16))
56 model = "Marvell Armada 370 and XP SoC";
57 compatible = "marvell,armada-370-xp";
68 compatible = "marvell,sheeva-v7";
75 compatible = "arm,cortex-a9-pmu";
76 interrupts-extended = <&mpic 3>;
82 controller = <&mbusc>;
83 interrupt-parent = <&mpic>;
84 pcie-mem-aperture = <0xf8000000 0x7e00000>;
85 pcie-io-aperture = <0xffe00000 0x100000>;
87 devbus_bootcs: devbus-bootcs {
88 compatible = "marvell,mvebu-devbus";
89 reg = <MBUS_ID(0xf0, 0x01) 0x10400 0x8>;
90 ranges = <0 MBUS_ID(0x01, 0x2f) 0 0xffffffff>;
93 clocks = <&coreclk 0>;
97 devbus_cs0: devbus-cs0 {
98 compatible = "marvell,mvebu-devbus";
99 reg = <MBUS_ID(0xf0, 0x01) 0x10408 0x8>;
100 ranges = <0 MBUS_ID(0x01, 0x3e) 0 0xffffffff>;
101 #address-cells = <1>;
103 clocks = <&coreclk 0>;
107 devbus_cs1: devbus-cs1 {
108 compatible = "marvell,mvebu-devbus";
109 reg = <MBUS_ID(0xf0, 0x01) 0x10410 0x8>;
110 ranges = <0 MBUS_ID(0x01, 0x3d) 0 0xffffffff>;
111 #address-cells = <1>;
113 clocks = <&coreclk 0>;
117 devbus_cs2: devbus-cs2 {
118 compatible = "marvell,mvebu-devbus";
119 reg = <MBUS_ID(0xf0, 0x01) 0x10418 0x8>;
120 ranges = <0 MBUS_ID(0x01, 0x3b) 0 0xffffffff>;
121 #address-cells = <1>;
123 clocks = <&coreclk 0>;
127 devbus_cs3: devbus-cs3 {
128 compatible = "marvell,mvebu-devbus";
129 reg = <MBUS_ID(0xf0, 0x01) 0x10420 0x8>;
130 ranges = <0 MBUS_ID(0x01, 0x37) 0 0xffffffff>;
131 #address-cells = <1>;
133 clocks = <&coreclk 0>;
138 compatible = "simple-bus";
139 #address-cells = <1>;
141 ranges = <0 MBUS_ID(0xf0, 0x01) 0 0x100000>;
144 compatible = "marvell,orion-rtc";
145 reg = <0x10300 0x20>;
150 compatible = "marvell,mv64xxx-i2c";
151 #address-cells = <1>;
155 clocks = <&coreclk 0>;
160 compatible = "marvell,mv64xxx-i2c";
161 #address-cells = <1>;
165 clocks = <&coreclk 0>;
169 uart0: serial@12000 {
170 compatible = "snps,dw-apb-uart";
171 reg = <0x12000 0x100>;
175 clocks = <&coreclk 0>;
179 uart1: serial@12100 {
180 compatible = "snps,dw-apb-uart";
181 reg = <0x12100 0x100>;
185 clocks = <&coreclk 0>;
189 pinctrl: pin-ctrl@18000 {
190 reg = <0x18000 0x38>;
193 coredivclk: corediv-clock@18740 {
194 compatible = "marvell,armada-370-corediv-clock";
198 clock-output-names = "nand";
201 mbusc: mbus-controller@20000 {
202 compatible = "marvell,mbus-controller";
203 reg = <0x20000 0x100>, <0x20180 0x20>,
207 mpic: interrupt-controller@20a00 {
208 compatible = "marvell,mpic";
209 #interrupt-cells = <1>;
211 interrupt-controller;
215 coherencyfab: coherency-fabric@20200 {
216 compatible = "marvell,coherency-fabric";
217 reg = <0x20200 0xb0>, <0x21010 0x1c>;
221 reg = <0x20300 0x30>, <0x21040 0x30>;
222 interrupts = <37>, <38>, <39>, <40>, <5>, <6>;
225 watchdog: watchdog@20300 {
226 reg = <0x20300 0x34>, <0x20704 0x4>;
229 cpurst: cpurst@20800 {
230 compatible = "marvell,armada-370-cpu-reset";
235 compatible = "marvell,armada-370-pmsu";
236 reg = <0x22000 0x1000>;
240 compatible = "marvell,orion-ehci";
241 reg = <0x50000 0x500>;
247 compatible = "marvell,orion-ehci";
248 reg = <0x51000 0x500>;
253 eth0: ethernet@70000 {
254 reg = <0x70000 0x4000>;
256 clocks = <&gateclk 4>;
261 #address-cells = <1>;
263 compatible = "marvell,orion-mdio";
265 clocks = <&gateclk 4>;
268 eth1: ethernet@74000 {
269 reg = <0x74000 0x4000>;
271 clocks = <&gateclk 3>;
276 compatible = "marvell,armada-370-sata";
277 reg = <0xa0000 0x5000>;
279 clocks = <&gateclk 15>, <&gateclk 30>;
280 clock-names = "0", "1";
285 compatible = "marvell,armada370-nand";
286 reg = <0xd0000 0x54>;
287 #address-cells = <1>;
290 clocks = <&coredivclk 0>;
295 compatible = "marvell,orion-sdio";
296 reg = <0xd4000 0x200>;
298 clocks = <&gateclk 17>;
308 reg = <MBUS_ID(0xf0, 0x01) 0x10600 0x28>, /* control */
309 <MBUS_ID(0x01, 0x1e) 0 0xffffffff>, /* CS0 */
310 <MBUS_ID(0x01, 0x5e) 0 0xffffffff>, /* CS1 */
311 <MBUS_ID(0x01, 0x9e) 0 0xffffffff>, /* CS2 */
312 <MBUS_ID(0x01, 0xde) 0 0xffffffff>, /* CS3 */
313 <MBUS_ID(0x01, 0x1f) 0 0xffffffff>, /* CS4 */
314 <MBUS_ID(0x01, 0x5f) 0 0xffffffff>, /* CS5 */
315 <MBUS_ID(0x01, 0x9f) 0 0xffffffff>, /* CS6 */
316 <MBUS_ID(0x01, 0xdf) 0 0xffffffff>; /* CS7 */
317 #address-cells = <1>;
321 clocks = <&coreclk 0>;
326 reg = <MBUS_ID(0xf0, 0x01) 0x10680 0x28>, /* control */
327 <MBUS_ID(0x01, 0x1a) 0 0xffffffff>, /* CS0 */
328 <MBUS_ID(0x01, 0x5a) 0 0xffffffff>, /* CS1 */
329 <MBUS_ID(0x01, 0x9a) 0 0xffffffff>, /* CS2 */
330 <MBUS_ID(0x01, 0xda) 0 0xffffffff>, /* CS3 */
331 <MBUS_ID(0x01, 0x1b) 0 0xffffffff>, /* CS4 */
332 <MBUS_ID(0x01, 0x5b) 0 0xffffffff>, /* CS5 */
333 <MBUS_ID(0x01, 0x9b) 0 0xffffffff>, /* CS6 */
334 <MBUS_ID(0x01, 0xdb) 0 0xffffffff>; /* CS7 */
335 #address-cells = <1>;
339 clocks = <&coreclk 0>;
345 /* 2 GHz fixed main PLL */
347 compatible = "fixed-clock";
349 clock-frequency = <2000000000>;