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