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 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.
15 * This file contains the definitions that are common to the Armada
16 * 370 and Armada XP SoC.
19 /include/ "skeleton64.dtsi"
21 #define MBUS_ID(target,attributes) (((target) << 24) | ((attributes) << 16))
24 model = "Marvell Armada 370 and XP SoC";
25 compatible = "marvell,armada-370-xp";
36 compatible = "marvell,sheeva-v7";
45 controller = <&mbusc>;
46 interrupt-parent = <&mpic>;
47 pcie-mem-aperture = <0xe0000000 0x8000000>;
48 pcie-io-aperture = <0xe8000000 0x100000>;
51 compatible = "marvell,mvebu-devbus";
52 reg = <MBUS_ID(0xf0, 0x01) 0x10400 0x8>;
53 ranges = <0 MBUS_ID(0x01, 0x2f) 0 0xffffffff>;
56 clocks = <&coreclk 0>;
61 compatible = "marvell,mvebu-devbus";
62 reg = <MBUS_ID(0xf0, 0x01) 0x10408 0x8>;
63 ranges = <0 MBUS_ID(0x01, 0x3e) 0 0xffffffff>;
66 clocks = <&coreclk 0>;
71 compatible = "marvell,mvebu-devbus";
72 reg = <MBUS_ID(0xf0, 0x01) 0x10410 0x8>;
73 ranges = <0 MBUS_ID(0x01, 0x3d) 0 0xffffffff>;
76 clocks = <&coreclk 0>;
81 compatible = "marvell,mvebu-devbus";
82 reg = <MBUS_ID(0xf0, 0x01) 0x10418 0x8>;
83 ranges = <0 MBUS_ID(0x01, 0x3b) 0 0xffffffff>;
86 clocks = <&coreclk 0>;
91 compatible = "marvell,mvebu-devbus";
92 reg = <MBUS_ID(0xf0, 0x01) 0x10420 0x8>;
93 ranges = <0 MBUS_ID(0x01, 0x37) 0 0xffffffff>;
96 clocks = <&coreclk 0>;
101 compatible = "simple-bus";
102 #address-cells = <1>;
104 ranges = <0 MBUS_ID(0xf0, 0x01) 0 0x100000>;
106 mbusc: mbus-controller@20000 {
107 compatible = "marvell,mbus-controller";
108 reg = <0x20000 0x100>, <0x20180 0x20>;
111 mpic: interrupt-controller@20000 {
112 compatible = "marvell,mpic";
113 #interrupt-cells = <1>;
115 interrupt-controller;
118 coherency-fabric@20200 {
119 compatible = "marvell,coherency-fabric";
120 reg = <0x20200 0xb0>, <0x21010 0x1c>;
124 compatible = "snps,dw-apb-uart";
125 reg = <0x12000 0x100>;
132 compatible = "snps,dw-apb-uart";
133 reg = <0x12100 0x100>;
141 reg = <0x20300 0x30>, <0x21040 0x30>;
142 interrupts = <37>, <38>, <39>, <40>, <5>, <6>;
146 compatible = "marvell,armada-370-sata";
147 reg = <0xa0000 0x5000>;
149 clocks = <&gateclk 15>, <&gateclk 30>;
150 clock-names = "0", "1";
155 #address-cells = <1>;
157 compatible = "marvell,orion-mdio";
159 clocks = <&gateclk 4>;
162 eth0: ethernet@70000 {
163 compatible = "marvell,armada-370-neta";
164 reg = <0x70000 0x4000>;
166 clocks = <&gateclk 4>;
170 eth1: ethernet@74000 {
171 compatible = "marvell,armada-370-neta";
172 reg = <0x74000 0x4000>;
174 clocks = <&gateclk 3>;
179 compatible = "marvell,mv64xxx-i2c";
180 reg = <0x11000 0x20>;
181 #address-cells = <1>;
185 clocks = <&coreclk 0>;
190 compatible = "marvell,mv64xxx-i2c";
191 reg = <0x11100 0x20>;
192 #address-cells = <1>;
196 clocks = <&coreclk 0>;
201 compatible = "marvell,orion-rtc";
202 reg = <0x10300 0x20>;
207 compatible = "marvell,orion-sdio";
208 reg = <0xd4000 0x200>;
210 clocks = <&gateclk 17>;
219 compatible = "marvell,orion-ehci";
220 reg = <0x50000 0x500>;
226 compatible = "marvell,orion-ehci";
227 reg = <0x51000 0x500>;
233 compatible = "marvell,orion-spi";
234 reg = <0x10600 0x28>;
235 #address-cells = <1>;
239 clocks = <&coreclk 0>;
244 compatible = "marvell,orion-spi";
245 reg = <0x10680 0x28>;
246 #address-cells = <1>;
250 clocks = <&coreclk 0>;