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 , 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 /include/ "skeleton64.dtsi"
55 #define MBUS_ID(target,attributes) (((target) << 24) | ((attributes) << 16))
58 model = "Marvell Armada 370 and XP SoC";
59 compatible = "marvell,armada-370-xp";
68 compatible = "marvell,sheeva-v7";
77 controller = <&mbusc>;
78 interrupt-parent = <&mpic>;
79 pcie-mem-aperture = <0xf8000000 0x7e00000>;
80 pcie-io-aperture = <0xffe00000 0x100000>;
83 compatible = "marvell,mvebu-devbus";
84 reg = <MBUS_ID(0xf0, 0x01) 0x10400 0x8>;
85 ranges = <0 MBUS_ID(0x01, 0x2f) 0 0xffffffff>;
88 clocks = <&coreclk 0>;
93 compatible = "marvell,mvebu-devbus";
94 reg = <MBUS_ID(0xf0, 0x01) 0x10408 0x8>;
95 ranges = <0 MBUS_ID(0x01, 0x3e) 0 0xffffffff>;
98 clocks = <&coreclk 0>;
103 compatible = "marvell,mvebu-devbus";
104 reg = <MBUS_ID(0xf0, 0x01) 0x10410 0x8>;
105 ranges = <0 MBUS_ID(0x01, 0x3d) 0 0xffffffff>;
106 #address-cells = <1>;
108 clocks = <&coreclk 0>;
113 compatible = "marvell,mvebu-devbus";
114 reg = <MBUS_ID(0xf0, 0x01) 0x10418 0x8>;
115 ranges = <0 MBUS_ID(0x01, 0x3b) 0 0xffffffff>;
116 #address-cells = <1>;
118 clocks = <&coreclk 0>;
123 compatible = "marvell,mvebu-devbus";
124 reg = <MBUS_ID(0xf0, 0x01) 0x10420 0x8>;
125 ranges = <0 MBUS_ID(0x01, 0x37) 0 0xffffffff>;
126 #address-cells = <1>;
128 clocks = <&coreclk 0>;
133 compatible = "simple-bus";
134 #address-cells = <1>;
136 ranges = <0 MBUS_ID(0xf0, 0x01) 0 0x100000>;
139 compatible = "marvell,orion-rtc";
140 reg = <0x10300 0x20>;
145 compatible = "marvell,armada-370-spi", "marvell,orion-spi";
146 reg = <0x10600 0x28>;
147 #address-cells = <1>;
151 clocks = <&coreclk 0>;
156 compatible = "marvell,armada-370-spi", "marvell,orion-spi";
157 reg = <0x10680 0x28>;
158 #address-cells = <1>;
162 clocks = <&coreclk 0>;
167 compatible = "marvell,mv64xxx-i2c";
168 #address-cells = <1>;
172 clocks = <&coreclk 0>;
177 compatible = "marvell,mv64xxx-i2c";
178 #address-cells = <1>;
182 clocks = <&coreclk 0>;
186 uart0: serial@12000 {
187 compatible = "snps,dw-apb-uart";
188 reg = <0x12000 0x100>;
192 clocks = <&coreclk 0>;
196 uart1: serial@12100 {
197 compatible = "snps,dw-apb-uart";
198 reg = <0x12100 0x100>;
202 clocks = <&coreclk 0>;
206 pinctrl: pin-ctrl@18000 {
207 reg = <0x18000 0x38>;
210 coredivclk: corediv-clock@18740 {
211 compatible = "marvell,armada-370-corediv-clock";
215 clock-output-names = "nand";
218 mbusc: mbus-controller@20000 {
219 compatible = "marvell,mbus-controller";
220 reg = <0x20000 0x100>, <0x20180 0x20>,
224 mpic: interrupt-controller@20000 {
225 compatible = "marvell,mpic";
226 #interrupt-cells = <1>;
228 interrupt-controller;
232 coherency-fabric@20200 {
233 compatible = "marvell,coherency-fabric";
234 reg = <0x20200 0xb0>, <0x21010 0x1c>;
238 reg = <0x20300 0x30>, <0x21040 0x30>;
239 interrupts = <37>, <38>, <39>, <40>, <5>, <6>;
243 reg = <0x20300 0x34>, <0x20704 0x4>;
247 compatible = "marvell,armada-370-pmsu";
248 reg = <0x22000 0x1000>;
252 compatible = "marvell,orion-ehci";
253 reg = <0x50000 0x500>;
259 compatible = "marvell,orion-ehci";
260 reg = <0x51000 0x500>;
265 eth0: ethernet@70000 {
266 compatible = "marvell,armada-370-neta";
267 reg = <0x70000 0x4000>;
269 clocks = <&gateclk 4>;
274 #address-cells = <1>;
276 compatible = "marvell,orion-mdio";
278 clocks = <&gateclk 4>;
281 eth1: ethernet@74000 {
282 compatible = "marvell,armada-370-neta";
283 reg = <0x74000 0x4000>;
285 clocks = <&gateclk 3>;
290 compatible = "marvell,armada-370-sata";
291 reg = <0xa0000 0x5000>;
293 clocks = <&gateclk 15>, <&gateclk 30>;
294 clock-names = "0", "1";
299 compatible = "marvell,armada370-nand";
300 reg = <0xd0000 0x54>;
301 #address-cells = <1>;
304 clocks = <&coredivclk 0>;
309 compatible = "marvell,orion-sdio";
310 reg = <0xd4000 0x200>;
312 clocks = <&gateclk 17>;
323 /* 2 GHz fixed main PLL */
325 compatible = "fixed-clock";
327 clock-frequency = <2000000000>;