]>
Commit | Line | Data |
---|---|---|
9ae6f740 TP |
1 | /* |
2 | * Device Tree Include file for Marvell Armada XP family 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 | * | |
10b683cb | 15 | * Contains definitions specific to the Armada XP SoC that are not |
9ae6f740 TP |
16 | * common to all Armada SoCs. |
17 | */ | |
18 | ||
38149887 | 19 | #include "armada-370-xp.dtsi" |
9ae6f740 TP |
20 | |
21 | / { | |
22 | model = "Marvell Armada XP family SoC"; | |
23 | compatible = "marvell,armadaxp", "marvell,armada-370-xp"; | |
24 | ||
be5a9389 WT |
25 | aliases { |
26 | eth2 = ð2; | |
27 | }; | |
28 | ||
b18ea4dc | 29 | soc { |
5e12a613 EG |
30 | compatible = "marvell,armadaxp-mbus", "simple-bus"; |
31 | ||
0cd3754a EG |
32 | bootrom { |
33 | compatible = "marvell,bootrom"; | |
34 | reg = <MBUS_ID(0x01, 0x1d) 0 0x100000>; | |
35 | }; | |
36 | ||
467f54b2 GC |
37 | internal-regs { |
38 | L2: l2-cache { | |
39 | compatible = "marvell,aurora-system-cache"; | |
40 | reg = <0x08000 0x1000>; | |
41 | cache-id-part = <0x100>; | |
a9ce1afb | 42 | cache-unified; |
467f54b2 GC |
43 | wt-override; |
44 | }; | |
2f96fbb7 | 45 | |
a095b1c7 JC |
46 | i2c0: i2c@11000 { |
47 | compatible = "marvell,mv78230-i2c", "marvell,mv64xxx-i2c"; | |
48 | reg = <0x11000 0x100>; | |
467f54b2 | 49 | }; |
9ae6f740 | 50 | |
a095b1c7 JC |
51 | i2c1: i2c@11100 { |
52 | compatible = "marvell,mv78230-i2c", "marvell,mv64xxx-i2c"; | |
53 | reg = <0x11100 0x100>; | |
467f54b2 | 54 | }; |
9ae6f740 | 55 | |
467f54b2 | 56 | serial@12200 { |
b24212fb | 57 | compatible = "snps,dw-apb-uart"; |
82a68267 | 58 | reg = <0x12200 0x100>; |
9ae6f740 TP |
59 | reg-shift = <2>; |
60 | interrupts = <43>; | |
e366154f | 61 | reg-io-width = <1>; |
64939dc5 | 62 | clocks = <&coreclk 0>; |
9ae6f740 | 63 | status = "disabled"; |
467f54b2 GC |
64 | }; |
65 | serial@12300 { | |
b24212fb | 66 | compatible = "snps,dw-apb-uart"; |
82a68267 | 67 | reg = <0x12300 0x100>; |
9ae6f740 TP |
68 | reg-shift = <2>; |
69 | interrupts = <44>; | |
e366154f | 70 | reg-io-width = <1>; |
64939dc5 | 71 | clocks = <&coreclk 0>; |
9ae6f740 | 72 | status = "disabled"; |
467f54b2 | 73 | }; |
9ae6f740 | 74 | |
264a05e1 | 75 | pinctrl: pin-ctrl@18000 { |
b324fa60 SH |
76 | reg = <0x18000 0x38>; |
77 | ||
7254f6c5 SH |
78 | pmx_ge0_gmii: pmx-ge0-gmii { |
79 | marvell,pins = | |
80 | "mpp0", "mpp1", "mpp2", "mpp3", | |
81 | "mpp4", "mpp5", "mpp6", "mpp7", | |
82 | "mpp8", "mpp9", "mpp10", "mpp11", | |
83 | "mpp12", "mpp13", "mpp14", "mpp15", | |
84 | "mpp16", "mpp17", "mpp18", "mpp19", | |
85 | "mpp20", "mpp21", "mpp22", "mpp23"; | |
86 | marvell,function = "ge0"; | |
87 | }; | |
88 | ||
e5945143 SH |
89 | pmx_ge0_rgmii: pmx-ge0-rgmii { |
90 | marvell,pins = | |
91 | "mpp0", "mpp1", "mpp2", "mpp3", | |
92 | "mpp4", "mpp5", "mpp6", "mpp7", | |
93 | "mpp8", "mpp9", "mpp10", "mpp11"; | |
94 | marvell,function = "ge0"; | |
95 | }; | |
96 | ||
97 | pmx_ge1_rgmii: pmx-ge1-rgmii { | |
98 | marvell,pins = | |
99 | "mpp12", "mpp13", "mpp14", "mpp15", | |
100 | "mpp16", "mpp17", "mpp18", "mpp19", | |
101 | "mpp20", "mpp21", "mpp22", "mpp23"; | |
102 | marvell,function = "ge1"; | |
103 | }; | |
104 | ||
b324fa60 SH |
105 | sdio_pins: sdio-pins { |
106 | marvell,pins = "mpp30", "mpp31", "mpp32", | |
107 | "mpp33", "mpp34", "mpp35"; | |
108 | marvell,function = "sd0"; | |
109 | }; | |
110 | }; | |
111 | ||
a095b1c7 JC |
112 | system-controller@18200 { |
113 | compatible = "marvell,armada-370-xp-system-controller"; | |
114 | reg = <0x18200 0x500>; | |
115 | }; | |
116 | ||
117 | gateclk: clock-gating-control@18220 { | |
118 | compatible = "marvell,armada-xp-gating-clock"; | |
119 | reg = <0x18220 0x4>; | |
120 | clocks = <&coreclk 0>; | |
121 | #clock-cells = <1>; | |
467f54b2 | 122 | }; |
9ae6f740 | 123 | |
467f54b2 GC |
124 | coreclk: mvebu-sar@18230 { |
125 | compatible = "marvell,armada-xp-core-clock"; | |
126 | reg = <0x18230 0x08>; | |
127 | #clock-cells = <1>; | |
128 | }; | |
9d202783 | 129 | |
a095b1c7 JC |
130 | thermal@182b0 { |
131 | compatible = "marvell,armadaxp-thermal"; | |
132 | reg = <0x182b0 0x4 | |
133 | 0x184d0 0x4>; | |
134 | status = "okay"; | |
135 | }; | |
136 | ||
467f54b2 GC |
137 | cpuclk: clock-complex@18700 { |
138 | #clock-cells = <1>; | |
139 | compatible = "marvell,armada-xp-cpu-clock"; | |
38436078 | 140 | reg = <0x18700 0xA0>, <0x1c054 0x10>; |
467f54b2 GC |
141 | clocks = <&coreclk 1>; |
142 | }; | |
9d202783 | 143 | |
a095b1c7 JC |
144 | interrupt-controller@20000 { |
145 | reg = <0x20a00 0x2d0>, <0x21070 0x58>; | |
467f54b2 | 146 | }; |
9d202783 | 147 | |
a095b1c7 JC |
148 | timer@20300 { |
149 | compatible = "marvell,armada-xp-timer"; | |
150 | clocks = <&coreclk 2>, <&refclk>; | |
151 | clock-names = "nbclk", "fixed"; | |
152 | }; | |
153 | ||
05afeeb9 EG |
154 | watchdog@20300 { |
155 | compatible = "marvell,armada-xp-wdt"; | |
156 | clocks = <&coreclk 2>, <&refclk>; | |
157 | clock-names = "nbclk", "fixed"; | |
158 | }; | |
159 | ||
b6249d4b GC |
160 | cpurst@20800 { |
161 | compatible = "marvell,armada-370-cpu-reset"; | |
162 | reg = <0x20800 0x20>; | |
467f54b2 | 163 | }; |
323c1010 | 164 | |
be5a9389 | 165 | eth2: ethernet@30000 { |
323c1010 | 166 | compatible = "marvell,armada-370-neta"; |
cf8088c5 | 167 | reg = <0x30000 0x4000>; |
323c1010 | 168 | interrupts = <12>; |
4aa935a2 | 169 | clocks = <&gateclk 2>; |
323c1010 | 170 | status = "disabled"; |
a1d53dab | 171 | }; |
a1d53dab | 172 | |
a095b1c7 JC |
173 | usb@50000 { |
174 | clocks = <&gateclk 18>; | |
175 | }; | |
176 | ||
177 | usb@51000 { | |
178 | clocks = <&gateclk 19>; | |
179 | }; | |
180 | ||
181 | usb@52000 { | |
182 | compatible = "marvell,orion-ehci"; | |
183 | reg = <0x52000 0x500>; | |
184 | interrupts = <47>; | |
185 | clocks = <&gateclk 20>; | |
186 | status = "disabled"; | |
187 | }; | |
188 | ||
467f54b2 GC |
189 | xor@60900 { |
190 | compatible = "marvell,orion-xor"; | |
191 | reg = <0x60900 0x100 | |
192 | 0x60b00 0x100>; | |
193 | clocks = <&gateclk 22>; | |
194 | status = "okay"; | |
195 | ||
196 | xor10 { | |
197 | interrupts = <51>; | |
198 | dmacap,memcpy; | |
199 | dmacap,xor; | |
200 | }; | |
201 | xor11 { | |
202 | interrupts = <52>; | |
203 | dmacap,memcpy; | |
204 | dmacap,xor; | |
205 | dmacap,memset; | |
206 | }; | |
a1d53dab | 207 | }; |
467f54b2 GC |
208 | |
209 | xor@f0900 { | |
210 | compatible = "marvell,orion-xor"; | |
211 | reg = <0xF0900 0x100 | |
212 | 0xF0B00 0x100>; | |
213 | clocks = <&gateclk 28>; | |
214 | status = "okay"; | |
215 | ||
216 | xor00 { | |
217 | interrupts = <94>; | |
218 | dmacap,memcpy; | |
219 | dmacap,xor; | |
220 | }; | |
221 | xor01 { | |
222 | interrupts = <95>; | |
223 | dmacap,memcpy; | |
224 | dmacap,xor; | |
225 | dmacap,memset; | |
226 | }; | |
a1d53dab | 227 | }; |
693a56ea | 228 | }; |
9ae6f740 | 229 | }; |
c1bbd430 EG |
230 | |
231 | clocks { | |
232 | /* 25 MHz reference crystal */ | |
233 | refclk: oscillator { | |
234 | compatible = "fixed-clock"; | |
235 | #clock-cells = <0>; | |
236 | clock-frequency = <25000000>; | |
237 | }; | |
238 | }; | |
9ae6f740 | 239 | }; |