2 * Device Tree Include file for Marvell Armada XP family 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 * Contains definitions specific to the Armada XP SoC that are not
50 * common to all Armada SoCs.
53 #include "armada-370-xp.dtsi"
56 model = "Marvell Armada XP family SoC";
57 compatible = "marvell,armadaxp", "marvell,armada-370-xp";
63 compatible = "marvell,armadaxp-mbus", "simple-bus";
66 compatible = "marvell,bootrom";
67 reg = <MBUS_ID(0x01, 0x1d) 0 0x100000>;
72 compatible = "marvell,armada-xp-sdram-controller";
77 compatible = "marvell,aurora-system-cache";
78 reg = <0x08000 0x1000>;
79 cache-id-part = <0x100>;
85 pinctrl-0 = <&spi0_pins>;
86 pinctrl-names = "default";
90 compatible = "marvell,mv78230-i2c", "marvell,mv64xxx-i2c";
91 reg = <0x11000 0x100>;
95 compatible = "marvell,mv78230-i2c", "marvell,mv64xxx-i2c";
96 reg = <0x11100 0x100>;
100 compatible = "snps,dw-apb-uart";
101 pinctrl-0 = <&uart2_pins>;
102 pinctrl-names = "default";
103 reg = <0x12200 0x100>;
107 clocks = <&coreclk 0>;
111 uart3: serial@12300 {
112 compatible = "snps,dw-apb-uart";
113 pinctrl-0 = <&uart3_pins>;
114 pinctrl-names = "default";
115 reg = <0x12300 0x100>;
119 clocks = <&coreclk 0>;
123 system-controller@18200 {
124 compatible = "marvell,armada-370-xp-system-controller";
125 reg = <0x18200 0x500>;
128 gateclk: clock-gating-control@18220 {
129 compatible = "marvell,armada-xp-gating-clock";
131 clocks = <&coreclk 0>;
135 coreclk: mvebu-sar@18230 {
136 compatible = "marvell,armada-xp-core-clock";
137 reg = <0x18230 0x08>;
142 compatible = "marvell,armadaxp-thermal";
148 cpuclk: clock-complex@18700 {
150 compatible = "marvell,armada-xp-cpu-clock";
151 reg = <0x18700 0xA0>, <0x1c054 0x10>;
152 clocks = <&coreclk 1>;
155 interrupt-controller@20000 {
156 reg = <0x20a00 0x2d0>, <0x21070 0x58>;
160 compatible = "marvell,armada-xp-timer";
161 clocks = <&coreclk 2>, <&refclk>;
162 clock-names = "nbclk", "fixed";
166 compatible = "marvell,armada-xp-wdt";
167 clocks = <&coreclk 2>, <&refclk>;
168 clock-names = "nbclk", "fixed";
172 compatible = "marvell,armada-370-cpu-reset";
173 reg = <0x20800 0x20>;
176 eth2: ethernet@30000 {
177 compatible = "marvell,armada-370-neta";
178 reg = <0x30000 0x4000>;
180 clocks = <&gateclk 2>;
185 clocks = <&gateclk 18>;
189 clocks = <&gateclk 19>;
193 compatible = "marvell,orion-ehci";
194 reg = <0x52000 0x500>;
196 clocks = <&gateclk 20>;
201 compatible = "marvell,orion-xor";
204 clocks = <&gateclk 22>;
221 compatible = "marvell,orion-xor";
224 clocks = <&gateclk 28>;
243 /* 25 MHz reference crystal */
245 compatible = "fixed-clock";
247 clock-frequency = <25000000>;
253 ge0_gmii_pins: ge0-gmii-pins {
255 "mpp0", "mpp1", "mpp2", "mpp3",
256 "mpp4", "mpp5", "mpp6", "mpp7",
257 "mpp8", "mpp9", "mpp10", "mpp11",
258 "mpp12", "mpp13", "mpp14", "mpp15",
259 "mpp16", "mpp17", "mpp18", "mpp19",
260 "mpp20", "mpp21", "mpp22", "mpp23";
261 marvell,function = "ge0";
264 ge0_rgmii_pins: ge0-rgmii-pins {
266 "mpp0", "mpp1", "mpp2", "mpp3",
267 "mpp4", "mpp5", "mpp6", "mpp7",
268 "mpp8", "mpp9", "mpp10", "mpp11";
269 marvell,function = "ge0";
272 ge1_rgmii_pins: ge1-rgmii-pins {
274 "mpp12", "mpp13", "mpp14", "mpp15",
275 "mpp16", "mpp17", "mpp18", "mpp19",
276 "mpp20", "mpp21", "mpp22", "mpp23";
277 marvell,function = "ge1";
280 sdio_pins: sdio-pins {
281 marvell,pins = "mpp30", "mpp31", "mpp32",
282 "mpp33", "mpp34", "mpp35";
283 marvell,function = "sd0";
286 spi0_pins: spi0-pins {
287 marvell,pins = "mpp36", "mpp37",
289 marvell,function = "spi";
292 uart2_pins: uart2-pins {
293 marvell,pins = "mpp42", "mpp43";
294 marvell,function = "uart2";
297 uart3_pins: uart3-pins {
298 marvell,pins = "mpp44", "mpp45";
299 marvell,function = "uart3";