blob: 6f1acc75e1559ca109066c7ad68c6e11f50087a0 [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
19/include/ "skeleton.dtsi"
20
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 {
26 cpu@0 {
27 compatible = "marvell,sheeva-v7";
28 };
29 };
30
31 mpic: interrupt-controller@d0020000 {
32 compatible = "marvell,mpic";
33 #interrupt-cells = <1>;
34 #address-cells = <1>;
35 #size-cells = <1>;
36 interrupt-controller;
37 };
38
Gregory CLEMENT009f1312012-08-02 11:16:29 +030039 coherency-fabric@d0020200 {
40 compatible = "marvell,coherency-fabric";
Gregory CLEMENTe60304f2012-10-12 19:20:36 +020041 reg = <0xd0020200 0xb0>,
42 <0xd0021810 0x1c>;
Gregory CLEMENT009f1312012-08-02 11:16:29 +030043 };
44
Thomas Petazzoni9ae6f742012-06-13 19:01:28 +020045 soc {
46 #address-cells = <1>;
47 #size-cells = <1>;
48 compatible = "simple-bus";
49 interrupt-parent = <&mpic>;
50 ranges;
51
52 serial@d0012000 {
Gregory CLEMENTb24212f2012-12-04 18:04:59 +010053 compatible = "snps,dw-apb-uart";
Thomas Petazzoni9ae6f742012-06-13 19:01:28 +020054 reg = <0xd0012000 0x100>;
55 reg-shift = <2>;
56 interrupts = <41>;
Gregory CLEMENTb24212f2012-12-04 18:04:59 +010057 reg-io-width = <4>;
Thomas Petazzoni9ae6f742012-06-13 19:01:28 +020058 status = "disabled";
59 };
60 serial@d0012100 {
Gregory CLEMENTb24212f2012-12-04 18:04:59 +010061 compatible = "snps,dw-apb-uart";
Thomas Petazzoni9ae6f742012-06-13 19:01:28 +020062 reg = <0xd0012100 0x100>;
63 reg-shift = <2>;
64 interrupts = <42>;
Gregory CLEMENTb24212f2012-12-04 18:04:59 +010065 reg-io-width = <4>;
Thomas Petazzoni9ae6f742012-06-13 19:01:28 +020066 status = "disabled";
67 };
68
69 timer@d0020300 {
70 compatible = "marvell,armada-370-xp-timer";
Gregory CLEMENTe1dd4642013-01-25 18:32:44 +010071 reg = <0xd0020300 0x30>,
72 <0xd0021040 0x30>;
73 interrupts = <37>, <38>, <39>, <40>, <5>, <6>;
Gregory CLEMENT307c2bf2012-11-17 15:22:25 +010074 clocks = <&coreclk 2>;
Thomas Petazzoni9ae6f742012-06-13 19:01:28 +020075 };
Thomas Petazzoni5b40bae2012-09-11 14:27:30 +020076
77 addr-decoding@d0020000 {
78 compatible = "marvell,armada-addr-decoding-controller";
79 reg = <0xd0020000 0x258>;
80 };
Gregory CLEMENTa6a6de12012-10-26 14:30:47 +020081
82 sata@d00a0000 {
83 compatible = "marvell,orion-sata";
84 reg = <0xd00a0000 0x2400>;
85 interrupts = <55>;
86 clocks = <&gateclk 15>, <&gateclk 30>;
87 clock-names = "0", "1";
88 status = "disabled";
89 };
90
Thomas Petazzoni323c1012012-09-04 15:06:43 +020091 mdio {
92 #address-cells = <1>;
93 #size-cells = <0>;
94 compatible = "marvell,orion-mdio";
95 reg = <0xd0072004 0x4>;
96 };
97
98 ethernet@d0070000 {
99 compatible = "marvell,armada-370-neta";
100 reg = <0xd0070000 0x2500>;
101 interrupts = <8>;
Thomas Petazzoni4aa935a2012-11-19 14:18:09 +0100102 clocks = <&gateclk 4>;
Thomas Petazzoni323c1012012-09-04 15:06:43 +0200103 status = "disabled";
104 };
105
106 ethernet@d0074000 {
107 compatible = "marvell,armada-370-neta";
108 reg = <0xd0074000 0x2500>;
109 interrupts = <10>;
Thomas Petazzoni4aa935a2012-11-19 14:18:09 +0100110 clocks = <&gateclk 3>;
Thomas Petazzoni323c1012012-09-04 15:06:43 +0200111 status = "disabled";
112 };
Nobuhiro Iwamatsu539eb5b2012-10-30 19:41:23 +0900113
114 i2c0: i2c@d0011000 {
115 compatible = "marvell,mv64xxx-i2c";
116 reg = <0xd0011000 0x20>;
117 #address-cells = <1>;
118 #size-cells = <0>;
119 interrupts = <31>;
120 timeout-ms = <1000>;
121 clocks = <&coreclk 0>;
122 status = "disabled";
123 };
124
125 i2c1: i2c@d0011100 {
126 compatible = "marvell,mv64xxx-i2c";
127 reg = <0xd0011100 0x20>;
128 #address-cells = <1>;
129 #size-cells = <0>;
130 interrupts = <32>;
131 timeout-ms = <1000>;
132 clocks = <&coreclk 0>;
133 status = "disabled";
134 };
Gregory CLEMENT0db98542012-12-12 10:06:24 +0100135
136 rtc@10300 {
137 compatible = "marvell,orion-rtc";
138 reg = <0xd0010300 0x20>;
139 interrupts = <50>;
140 };
Thomas Petazzoni42bb5312012-12-21 15:49:04 +0100141
142 mvsdio@d00d4000 {
143 compatible = "marvell,orion-sdio";
144 reg = <0xd00d4000 0x200>;
145 interrupts = <54>;
146 clocks = <&gateclk 17>;
147 status = "disabled";
148 };
Ezequiel Garciab2bb8062013-01-23 12:26:30 -0300149
150 usb@d0050000 {
151 compatible = "marvell,orion-ehci";
152 reg = <0xd0050000 0x500>;
153 interrupts = <45>;
154 status = "disabled";
155 };
156
157 usb@d0051000 {
158 compatible = "marvell,orion-ehci";
159 reg = <0xd0051000 0x500>;
160 interrupts = <46>;
161 status = "disabled";
162 };
163
Ezequiel Garciad5dc0352013-02-06 10:06:21 -0300164 spi0: spi@d0010600 {
165 compatible = "marvell,orion-spi";
166 reg = <0xd0010600 0x28>;
167 #address-cells = <1>;
168 #size-cells = <0>;
169 cell-index = <0>;
170 interrupts = <30>;
171 clocks = <&coreclk 0>;
172 status = "disabled";
173 };
174
175 spi1: spi@d0010680 {
176 compatible = "marvell,orion-spi";
177 reg = <0xd0010680 0x28>;
178 #address-cells = <1>;
179 #size-cells = <0>;
180 cell-index = <1>;
181 interrupts = <92>;
182 clocks = <&coreclk 0>;
183 status = "disabled";
184 };
Thomas Petazzoni9ae6f742012-06-13 19:01:28 +0200185 };
186};
187