Linux Audio

Check our new training course

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