1dc37374bSHongtao Jia/*
2dc37374bSHongtao Jia * Device tree source for the Emerson/Artesyn MVME2500
3dc37374bSHongtao Jia *
4dc37374bSHongtao Jia * Copyright 2014 Elettra-Sincrotrone Trieste S.C.p.A.
5dc37374bSHongtao Jia *
6dc37374bSHongtao Jia * This program is free software; you can redistribute  it and/or modify it
7dc37374bSHongtao Jia * under  the terms of  the GNU General  Public License as published by the
8dc37374bSHongtao Jia * Free Software Foundation;  either version 2 of the  License, or (at your
9dc37374bSHongtao Jia * option) any later version.
10dc37374bSHongtao Jia *
11dc37374bSHongtao Jia * Based on: P2020 DS Device Tree Source
12dc37374bSHongtao Jia * Copyright 2009 Freescale Semiconductor Inc.
13dc37374bSHongtao Jia */
14dc37374bSHongtao Jia
15dc37374bSHongtao Jia/include/ "p2020si-pre.dtsi"
16dc37374bSHongtao Jia
17dc37374bSHongtao Jia/ {
18dc37374bSHongtao Jia	model = "MVME2500";
19dc37374bSHongtao Jia	compatible = "artesyn,MVME2500";
20dc37374bSHongtao Jia
21dc37374bSHongtao Jia	aliases {
22dc37374bSHongtao Jia		serial2 = &serial2;
23dc37374bSHongtao Jia		serial3 = &serial3;
24dc37374bSHongtao Jia		serial4 = &serial4;
25dc37374bSHongtao Jia		serial5 = &serial5;
26dc37374bSHongtao Jia	};
27dc37374bSHongtao Jia
28dc37374bSHongtao Jia	memory {
29dc37374bSHongtao Jia		device_type = "memory";
30dc37374bSHongtao Jia	};
31dc37374bSHongtao Jia
32dc37374bSHongtao Jia	soc: soc@ffe00000 {
33dc37374bSHongtao Jia		ranges = <0x0 0 0xffe00000 0x100000>;
34dc37374bSHongtao Jia
35dc37374bSHongtao Jia		i2c@3000 {
36dc37374bSHongtao Jia			hwmon@4c {
37dc37374bSHongtao Jia				compatible = "adi,adt7461";
38dc37374bSHongtao Jia				reg = <0x4c>;
39dc37374bSHongtao Jia			};
40dc37374bSHongtao Jia
41dc37374bSHongtao Jia			rtc@68 {
42dc37374bSHongtao Jia				compatible = "dallas,ds1337";
43dc37374bSHongtao Jia				reg = <0x68>;
44dc37374bSHongtao Jia				interrupts = <8 1 0 0>;
45dc37374bSHongtao Jia			};
46dc37374bSHongtao Jia
47dc37374bSHongtao Jia			eeprom@54 {
48dc37374bSHongtao Jia				compatible = "atmel,24c64";
49dc37374bSHongtao Jia				reg = <0x54>;
50dc37374bSHongtao Jia			};
51dc37374bSHongtao Jia
52dc37374bSHongtao Jia			eeprom@52 {
53dc37374bSHongtao Jia				compatible = "atmel,24c512";
54dc37374bSHongtao Jia				reg = <0x52>;
55dc37374bSHongtao Jia			};
56dc37374bSHongtao Jia
57dc37374bSHongtao Jia			eeprom@53 {
58dc37374bSHongtao Jia				compatible = "atmel,24c512";
59dc37374bSHongtao Jia				reg = <0x53>;
60dc37374bSHongtao Jia			};
61dc37374bSHongtao Jia
62dc37374bSHongtao Jia			eeprom@50 {
63dc37374bSHongtao Jia				compatible = "atmel,24c02";
64dc37374bSHongtao Jia				reg = <0x50>;
65dc37374bSHongtao Jia			};
66dc37374bSHongtao Jia
67dc37374bSHongtao Jia		};
68dc37374bSHongtao Jia
69dc37374bSHongtao Jia		spi0: spi@7000 {
70dc37374bSHongtao Jia			fsl,espi-num-chipselects = <2>;
71dc37374bSHongtao Jia
72dc37374bSHongtao Jia			flash@0 {
73dc37374bSHongtao Jia				compatible = "atmel,at25df641";
74dc37374bSHongtao Jia				reg = <0>;
75dc37374bSHongtao Jia				spi-max-frequency = <10000000>;
76dc37374bSHongtao Jia			};
77dc37374bSHongtao Jia			flash@1 {
78dc37374bSHongtao Jia				compatible = "atmel,at25df641";
79dc37374bSHongtao Jia				reg = <1>;
80dc37374bSHongtao Jia				spi-max-frequency = <10000000>;
81dc37374bSHongtao Jia			};
82dc37374bSHongtao Jia		};
83dc37374bSHongtao Jia
84dc37374bSHongtao Jia		usb@22000 {
85dc37374bSHongtao Jia			dr_mode = "host";
86dc37374bSHongtao Jia			phy_type = "ulpi";
87dc37374bSHongtao Jia		};
88dc37374bSHongtao Jia
89dc37374bSHongtao Jia		enet0: ethernet@24000 {
90dc37374bSHongtao Jia			tbi-handle = <&tbi0>;
91dc37374bSHongtao Jia			phy-handle = <&phy1>;
92dc37374bSHongtao Jia			phy-connection-type = "rgmii-id";
93dc37374bSHongtao Jia		};
94dc37374bSHongtao Jia
95dc37374bSHongtao Jia		mdio@24520 {
96dc37374bSHongtao Jia			phy1: ethernet-phy@1 {
97dc37374bSHongtao Jia				compatible = "brcm,bcm54616S";
98dc37374bSHongtao Jia				interrupts = <6 1 0 0>;
99dc37374bSHongtao Jia				reg = <0x1>;
100dc37374bSHongtao Jia			};
101dc37374bSHongtao Jia
102dc37374bSHongtao Jia			phy2: ethernet-phy@2 {
103dc37374bSHongtao Jia				compatible = "brcm,bcm54616S";
104dc37374bSHongtao Jia				interrupts = <6 1 0 0>;
105dc37374bSHongtao Jia				reg = <0x2>;
106dc37374bSHongtao Jia			};
107dc37374bSHongtao Jia
108dc37374bSHongtao Jia			phy3: ethernet-phy@3 {
109dc37374bSHongtao Jia				compatible = "brcm,bcm54616S";
110dc37374bSHongtao Jia				interrupts = <5 1 0 0>;
111dc37374bSHongtao Jia				reg = <0x3>;
112dc37374bSHongtao Jia			};
113dc37374bSHongtao Jia
114dc37374bSHongtao Jia			phy7: ethernet-phy@7 {
115dc37374bSHongtao Jia				compatible = "brcm,bcm54616S";
116dc37374bSHongtao Jia				interrupts = <7 1 0 0>;
117dc37374bSHongtao Jia				reg = <0x7>;
118dc37374bSHongtao Jia			};
119dc37374bSHongtao Jia
120dc37374bSHongtao Jia			tbi0: tbi-phy@11 {
121dc37374bSHongtao Jia				reg = <0x11>;
122dc37374bSHongtao Jia				device_type = "tbi-phy";
123dc37374bSHongtao Jia			};
124dc37374bSHongtao Jia		};
125dc37374bSHongtao Jia
126dc37374bSHongtao Jia		enet1: ethernet@25000 {
127dc37374bSHongtao Jia			tbi-handle = <&tbi1>;
128dc37374bSHongtao Jia			phy-handle = <&phy7>;
129dc37374bSHongtao Jia			phy-connection-type = "rgmii-id";
130dc37374bSHongtao Jia		};
131dc37374bSHongtao Jia
132dc37374bSHongtao Jia		mdio@25520 {
133dc37374bSHongtao Jia			tbi1: tbi-phy@11 {
134dc37374bSHongtao Jia				reg = <0x11>;
135dc37374bSHongtao Jia				device_type = "tbi-phy";
136dc37374bSHongtao Jia			};
137dc37374bSHongtao Jia		};
138dc37374bSHongtao Jia
139dc37374bSHongtao Jia		enet2: ethernet@26000 {
140dc37374bSHongtao Jia			tbi-handle = <&tbi2>;
141dc37374bSHongtao Jia			phy-handle = <&phy3>;
142dc37374bSHongtao Jia			phy-connection-type = "rgmii-id";
143dc37374bSHongtao Jia		};
144dc37374bSHongtao Jia
145dc37374bSHongtao Jia		mdio@26520 {
146dc37374bSHongtao Jia			tbi2: tbi-phy@11 {
147dc37374bSHongtao Jia				reg = <0x11>;
148dc37374bSHongtao Jia				device_type = "tbi-phy";
149dc37374bSHongtao Jia			};
150dc37374bSHongtao Jia		};
151dc37374bSHongtao Jia	};
152dc37374bSHongtao Jia
153dc37374bSHongtao Jia	lbc: localbus@ffe05000 {
154dc37374bSHongtao Jia		reg = <0 0xffe05000 0 0x1000>;
155dc37374bSHongtao Jia
156dc37374bSHongtao Jia		ranges = <0x0 0x0 0x0 0xfff00000 0x00080000
157dc37374bSHongtao Jia			  0x1 0x0 0x0 0xffc40000 0x00010000
158dc37374bSHongtao Jia			  0x2 0x0 0x0 0xffc50000 0x00010000
159dc37374bSHongtao Jia			  0x3 0x0 0x0 0xffc60000 0x00010000
160dc37374bSHongtao Jia			  0x4 0x0 0x0 0xffc70000 0x00010000
161dc37374bSHongtao Jia			  0x6 0x0 0x0 0xffc80000 0x00010000
162dc37374bSHongtao Jia			  0x5 0x0 0x0 0xffdf0000 0x00008000>;
163dc37374bSHongtao Jia
164dc37374bSHongtao Jia		serial2: serial@1,0 {
165dc37374bSHongtao Jia			device_type = "serial";
166dc37374bSHongtao Jia			compatible = "ns16550";
167dc37374bSHongtao Jia			reg = <0x1 0x0 0x100>;
168dc37374bSHongtao Jia			clock-frequency = <1843200>;
169dc37374bSHongtao Jia			interrupts = <11 2 0 0>;
170dc37374bSHongtao Jia		};
171dc37374bSHongtao Jia
172dc37374bSHongtao Jia		serial3: serial@2,0 {
173dc37374bSHongtao Jia			device_type = "serial";
174dc37374bSHongtao Jia			compatible = "ns16550";
175dc37374bSHongtao Jia			reg = <0x2 0x0 0x100>;
176dc37374bSHongtao Jia			clock-frequency = <1843200>;
177dc37374bSHongtao Jia			interrupts = <1 2 0 0>;
178dc37374bSHongtao Jia		};
179dc37374bSHongtao Jia
180dc37374bSHongtao Jia		serial4: serial@3,0 {
181dc37374bSHongtao Jia			device_type = "serial";
182dc37374bSHongtao Jia			compatible = "ns16550";
183dc37374bSHongtao Jia			reg = <0x3 0x0 0x100>;
184dc37374bSHongtao Jia			clock-frequency = <1843200>;
185dc37374bSHongtao Jia			interrupts = <2 2 0 0>;
186dc37374bSHongtao Jia		};
187dc37374bSHongtao Jia
188dc37374bSHongtao Jia		serial5: serial@4,0 {
189dc37374bSHongtao Jia			device_type = "serial";
190dc37374bSHongtao Jia			compatible = "ns16550";
191dc37374bSHongtao Jia			reg = <0x4 0x0 0x100>;
192dc37374bSHongtao Jia			clock-frequency = <1843200>;
193dc37374bSHongtao Jia			interrupts = <3 2 0 0>;
194dc37374bSHongtao Jia		};
195dc37374bSHongtao Jia
196dc37374bSHongtao Jia		mram@0,0 {
197dc37374bSHongtao Jia			compatible = "everspin,mram", "mtd-ram";
198dc37374bSHongtao Jia			reg = <0x0 0x0 0x80000>;
199dc37374bSHongtao Jia			bank-width = <2>;
200dc37374bSHongtao Jia		};
201dc37374bSHongtao Jia
202dc37374bSHongtao Jia		board-control@5,0 {
203dc37374bSHongtao Jia			compatible = "artesyn,mvme2500-fpga";
204dc37374bSHongtao Jia			reg = <0x5 0x0 0x01000>;
205dc37374bSHongtao Jia		};
206dc37374bSHongtao Jia
207dc37374bSHongtao Jia		cpld@6,0 {
208dc37374bSHongtao Jia			compatible = "artesyn,mvme2500-cpld";
209dc37374bSHongtao Jia			reg = <0x6 0x0 0x10000>;
210dc37374bSHongtao Jia			interrupts = <9 1 0 0>;
211dc37374bSHongtao Jia		};
212dc37374bSHongtao Jia	};
213dc37374bSHongtao Jia
214dc37374bSHongtao Jia	pci0: pcie@ffe08000 {
215dc37374bSHongtao Jia		reg = <0 0xffe08000 0 0x1000>;
216dc37374bSHongtao Jia		ranges = <0x2000000 0x0 0x80000000 0 0x80000000 0x0 0x20000000
217dc37374bSHongtao Jia			  0x1000000 0x0 0x00000000 0 0xffc00000 0x0 0x10000>;
218dc37374bSHongtao Jia		pcie@0 {
219dc37374bSHongtao Jia			ranges = <0x2000000 0x0 0x80000000
220dc37374bSHongtao Jia				  0x2000000 0x0 0x80000000
221dc37374bSHongtao Jia				  0x0 0x20000000
222dc37374bSHongtao Jia
223dc37374bSHongtao Jia				  0x1000000 0x0 0x0
224dc37374bSHongtao Jia				  0x1000000 0x0 0x0
225dc37374bSHongtao Jia				  0x0 0x10000>;
226dc37374bSHongtao Jia		};
227dc37374bSHongtao Jia	};
228dc37374bSHongtao Jia
229dc37374bSHongtao Jia	pci1: pcie@ffe09000 {
230dc37374bSHongtao Jia		reg = <0 0xffe09000 0 0x1000>;
231dc37374bSHongtao Jia		ranges = <0x2000000 0x0 0xa0000000 0 0xa0000000 0x0 0x20000000
232dc37374bSHongtao Jia			  0x1000000 0x0 0x00000000 0 0xffc10000 0x0 0x10000>;
233dc37374bSHongtao Jia		pcie@0 {
234dc37374bSHongtao Jia			ranges = <0x2000000 0x0 0xa0000000
235dc37374bSHongtao Jia				  0x2000000 0x0 0xa0000000
236dc37374bSHongtao Jia				  0x0 0x20000000
237dc37374bSHongtao Jia
238dc37374bSHongtao Jia				  0x1000000 0x0 0x0
239dc37374bSHongtao Jia				  0x1000000 0x0 0x0
240dc37374bSHongtao Jia				  0x0 0x10000>;
241dc37374bSHongtao Jia		};
242dc37374bSHongtao Jia
243dc37374bSHongtao Jia	};
244dc37374bSHongtao Jia
245dc37374bSHongtao Jia	pci2: pcie@ffe0a000 {
246dc37374bSHongtao Jia		reg = <0 0xffe0a000 0 0x1000>;
247dc37374bSHongtao Jia		ranges = <0x2000000 0x0 0xc0000000 0 0xc0000000 0x0 0x20000000
248dc37374bSHongtao Jia			  0x1000000 0x0 0x00000000 0 0xffc20000 0x0 0x10000>;
249dc37374bSHongtao Jia		pcie@0 {
250dc37374bSHongtao Jia			ranges = <0x2000000 0x0 0xc0000000
251dc37374bSHongtao Jia				  0x2000000 0x0 0xc0000000
252dc37374bSHongtao Jia				  0x0 0x20000000
253dc37374bSHongtao Jia
254dc37374bSHongtao Jia				  0x1000000 0x0 0x0
255dc37374bSHongtao Jia				  0x1000000 0x0 0x0
256dc37374bSHongtao Jia				  0x0 0x10000>;
257dc37374bSHongtao Jia		};
258dc37374bSHongtao Jia	};
259dc37374bSHongtao Jia};
260dc37374bSHongtao Jia
261dc37374bSHongtao Jia/include/ "p2020si-post.dtsi"
262dc37374bSHongtao Jia
263dc37374bSHongtao Jia/ {
264dc37374bSHongtao Jia	soc@ffe00000 {
265dc37374bSHongtao Jia		serial@4600 {
266dc37374bSHongtao Jia			status = "disabled";
267dc37374bSHongtao Jia		};
268dc37374bSHongtao Jia
269dc37374bSHongtao Jia		i2c@3100 {
270dc37374bSHongtao Jia			status = "disabled";
271dc37374bSHongtao Jia		};
272dc37374bSHongtao Jia
273dc37374bSHongtao Jia		sdhc@2e000 {
274dc37374bSHongtao Jia			compatible = "fsl,p2020-esdhc", "fsl,esdhc";
275dc37374bSHongtao Jia			non-removable;
276dc37374bSHongtao Jia		};
277dc37374bSHongtao Jia
278dc37374bSHongtao Jia	};
279dc37374bSHongtao Jia
280dc37374bSHongtao Jia};
281