1dc37374bSHongtao Jia/*
2dc37374bSHongtao Jia * GE IMP3A Device Tree Source
3dc37374bSHongtao Jia *
4dc37374bSHongtao Jia * Copyright 2010-2011 GE Intelligent Platforms Embedded Systems, Inc.
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 = "GE_IMP3A";
19dc37374bSHongtao Jia	compatible = "ge,imp3a";
20dc37374bSHongtao Jia
21dc37374bSHongtao Jia	memory {
22dc37374bSHongtao Jia		device_type = "memory";
23dc37374bSHongtao Jia	};
24dc37374bSHongtao Jia
25dc37374bSHongtao Jia	lbc: localbus@fef05000 {
26dc37374bSHongtao Jia		reg = <0 0xfef05000 0 0x1000>;
27dc37374bSHongtao Jia
28dc37374bSHongtao Jia		ranges = <0x0 0x0 0x0 0xff000000 0x01000000
29dc37374bSHongtao Jia			  0x1 0x0 0x0 0xe0000000 0x08000000
30dc37374bSHongtao Jia			  0x2 0x0 0x0 0xe8000000 0x08000000
31dc37374bSHongtao Jia			  0x3 0x0 0x0 0xfc100000 0x00020000
32dc37374bSHongtao Jia			  0x4 0x0 0x0 0xfc000000 0x00008000
33dc37374bSHongtao Jia			  0x5 0x0 0x0 0xfc008000 0x00008000
34dc37374bSHongtao Jia			  0x6 0x0 0x0 0xfee00000 0x00040000
35dc37374bSHongtao Jia			  0x7 0x0 0x0 0xfee80000 0x00040000>;
36dc37374bSHongtao Jia
37dc37374bSHongtao Jia		/* nor@0,0 is a mirror of part of the memory in nor@1,0
38dc37374bSHongtao Jia		nor@0,0 {
39dc37374bSHongtao Jia			#address-cells = <1>;
40dc37374bSHongtao Jia			#size-cells = <1>;
41dc37374bSHongtao Jia			compatible = "ge,imp3a-firmware-mirror", "cfi-flash";
42dc37374bSHongtao Jia			reg = <0x0 0x0 0x1000000>;
43dc37374bSHongtao Jia			bank-width = <2>;
44dc37374bSHongtao Jia			device-width = <1>;
45dc37374bSHongtao Jia
46dc37374bSHongtao Jia			partition@0 {
47dc37374bSHongtao Jia				label = "firmware";
48dc37374bSHongtao Jia				reg = <0x0 0x1000000>;
49dc37374bSHongtao Jia				read-only;
50dc37374bSHongtao Jia			};
51dc37374bSHongtao Jia		};
52dc37374bSHongtao Jia		*/
53dc37374bSHongtao Jia
54dc37374bSHongtao Jia		nor@1,0 {
55dc37374bSHongtao Jia			#address-cells = <1>;
56dc37374bSHongtao Jia			#size-cells = <1>;
57dc37374bSHongtao Jia			compatible = "ge,imp3a-paged-flash", "cfi-flash";
58dc37374bSHongtao Jia			reg = <0x1 0x0 0x8000000>;
59dc37374bSHongtao Jia			bank-width = <2>;
60dc37374bSHongtao Jia			device-width = <1>;
61dc37374bSHongtao Jia
62dc37374bSHongtao Jia			partition@0 {
63dc37374bSHongtao Jia				label = "user";
64dc37374bSHongtao Jia				reg = <0x0 0x7800000>;
65dc37374bSHongtao Jia			};
66dc37374bSHongtao Jia
67dc37374bSHongtao Jia			partition@7800000 {
68dc37374bSHongtao Jia				label = "firmware";
69dc37374bSHongtao Jia				reg = <0x7800000 0x800000>;
70dc37374bSHongtao Jia				read-only;
71dc37374bSHongtao Jia			};
72dc37374bSHongtao Jia		};
73dc37374bSHongtao Jia
74dc37374bSHongtao Jia		nvram@3,0 {
75dc37374bSHongtao Jia			device_type = "nvram";
76dc37374bSHongtao Jia			compatible = "simtek,stk14ca8";
77dc37374bSHongtao Jia			reg = <0x3 0x0 0x20000>;
78dc37374bSHongtao Jia		};
79dc37374bSHongtao Jia
80dc37374bSHongtao Jia		fpga@4,0 {
81dc37374bSHongtao Jia			compatible = "ge,imp3a-fpga-regs";
82dc37374bSHongtao Jia			reg = <0x4 0x0 0x20>;
83dc37374bSHongtao Jia		};
84dc37374bSHongtao Jia
85dc37374bSHongtao Jia		gef_pic: pic@4,20 {
86dc37374bSHongtao Jia			#interrupt-cells = <1>;
87dc37374bSHongtao Jia			interrupt-controller;
88dc37374bSHongtao Jia			device_type = "interrupt-controller";
89dc37374bSHongtao Jia			compatible = "ge,imp3a-fpga-pic", "gef,fpga-pic-1.00";
90dc37374bSHongtao Jia			reg = <0x4 0x20 0x20>;
91dc37374bSHongtao Jia			interrupts = <6 7 0 0>;
92dc37374bSHongtao Jia		};
93dc37374bSHongtao Jia
94dc37374bSHongtao Jia		gef_gpio: gpio@4,400 {
95dc37374bSHongtao Jia			#gpio-cells = <2>;
96dc37374bSHongtao Jia			compatible = "ge,imp3a-gpio";
97dc37374bSHongtao Jia			reg = <0x4 0x400 0x24>;
98dc37374bSHongtao Jia			gpio-controller;
99dc37374bSHongtao Jia		};
100dc37374bSHongtao Jia
101dc37374bSHongtao Jia		wdt@4,800 {
102dc37374bSHongtao Jia			compatible = "ge,imp3a-fpga-wdt", "gef,fpga-wdt-1.00",
103dc37374bSHongtao Jia				"gef,fpga-wdt";
104dc37374bSHongtao Jia			reg = <0x4 0x800 0x8>;
105dc37374bSHongtao Jia			interrupts = <10 4>;
106dc37374bSHongtao Jia			interrupt-parent = <&gef_pic>;
107dc37374bSHongtao Jia		};
108dc37374bSHongtao Jia
109dc37374bSHongtao Jia		/* Second watchdog available, driver currently supports one.
110dc37374bSHongtao Jia		wdt@4,808 {
111dc37374bSHongtao Jia			compatible = "gef,imp3a-fpga-wdt", "gef,fpga-wdt-1.00",
112dc37374bSHongtao Jia				"gef,fpga-wdt";
113dc37374bSHongtao Jia			reg = <0x4 0x808 0x8>;
114dc37374bSHongtao Jia			interrupts = <9 4>;
115dc37374bSHongtao Jia			interrupt-parent = <&gef_pic>;
116dc37374bSHongtao Jia		};
117dc37374bSHongtao Jia		*/
118dc37374bSHongtao Jia
119dc37374bSHongtao Jia		nand@6,0 {
120dc37374bSHongtao Jia			compatible = "fsl,elbc-fcm-nand";
121dc37374bSHongtao Jia			reg = <0x6 0x0 0x40000>;
122dc37374bSHongtao Jia		};
123dc37374bSHongtao Jia
124dc37374bSHongtao Jia		nand@7,0 {
125dc37374bSHongtao Jia			compatible = "fsl,elbc-fcm-nand";
126dc37374bSHongtao Jia			reg = <0x7 0x0 0x40000>;
127dc37374bSHongtao Jia		};
128dc37374bSHongtao Jia	};
129dc37374bSHongtao Jia
130dc37374bSHongtao Jia	soc: soc@fef00000 {
131dc37374bSHongtao Jia		ranges = <0x0 0 0xfef00000 0x100000>;
132dc37374bSHongtao Jia
133dc37374bSHongtao Jia		i2c@3000 {
134dc37374bSHongtao Jia			hwmon@48 {
135dc37374bSHongtao Jia				compatible = "national,lm92";
136dc37374bSHongtao Jia				reg = <0x48>;
137dc37374bSHongtao Jia			};
138dc37374bSHongtao Jia
139dc37374bSHongtao Jia			hwmon@4c {
140dc37374bSHongtao Jia				compatible = "adi,adt7461";
141dc37374bSHongtao Jia				reg = <0x4c>;
142dc37374bSHongtao Jia			};
143dc37374bSHongtao Jia
144dc37374bSHongtao Jia			rtc@51 {
145dc37374bSHongtao Jia				compatible = "epson,rx8581";
146dc37374bSHongtao Jia				reg = <0x51>;
147dc37374bSHongtao Jia			};
148dc37374bSHongtao Jia
149dc37374bSHongtao Jia			eti@6b {
150dc37374bSHongtao Jia				compatible = "dallas,ds1682";
151dc37374bSHongtao Jia				reg = <0x6b>;
152dc37374bSHongtao Jia			};
153dc37374bSHongtao Jia		};
154dc37374bSHongtao Jia
155dc37374bSHongtao Jia		usb@22000 {
156dc37374bSHongtao Jia			phy_type = "ulpi";
157dc37374bSHongtao Jia			dr_mode = "host";
158dc37374bSHongtao Jia		};
159dc37374bSHongtao Jia
160dc37374bSHongtao Jia		mdio@24520 {
161dc37374bSHongtao Jia			phy0: ethernet-phy@0 {
162dc37374bSHongtao Jia				interrupt-parent = <&gef_pic>;
163dc37374bSHongtao Jia				interrupts = <0xc 0x4>;
164dc37374bSHongtao Jia				reg = <0x1>;
165dc37374bSHongtao Jia			};
166dc37374bSHongtao Jia			phy1: ethernet-phy@1 {
167dc37374bSHongtao Jia				interrupt-parent = <&gef_pic>;
168dc37374bSHongtao Jia				interrupts = <0xb 0x4>;
169dc37374bSHongtao Jia				reg = <0x2>;
170dc37374bSHongtao Jia			};
171dc37374bSHongtao Jia			tbi0: tbi-phy@11 {
172dc37374bSHongtao Jia				reg = <0x11>;
173dc37374bSHongtao Jia				device_type = "tbi-phy";
174dc37374bSHongtao Jia			};
175dc37374bSHongtao Jia		};
176dc37374bSHongtao Jia
177dc37374bSHongtao Jia		mdio@25520 {
178dc37374bSHongtao Jia			tbi1: tbi-phy@11 {
179dc37374bSHongtao Jia				reg = <0x11>;
180dc37374bSHongtao Jia				device_type = "tbi-phy";
181dc37374bSHongtao Jia			};
182dc37374bSHongtao Jia		};
183dc37374bSHongtao Jia
184dc37374bSHongtao Jia		mdio@26520 {
185dc37374bSHongtao Jia			status = "disabled";
186dc37374bSHongtao Jia		};
187dc37374bSHongtao Jia
188dc37374bSHongtao Jia		enet0: ethernet@24000 {
189dc37374bSHongtao Jia			tbi-handle = <&tbi0>;
190dc37374bSHongtao Jia			phy-handle = <&phy0>;
191dc37374bSHongtao Jia			phy-connection-type = "gmii";
192dc37374bSHongtao Jia		};
193dc37374bSHongtao Jia
194dc37374bSHongtao Jia		enet1: ethernet@25000 {
195dc37374bSHongtao Jia			tbi-handle = <&tbi1>;
196dc37374bSHongtao Jia			phy-handle = <&phy1>;
197dc37374bSHongtao Jia			phy-connection-type = "gmii";
198dc37374bSHongtao Jia		};
199dc37374bSHongtao Jia
200dc37374bSHongtao Jia		enet2: ethernet@26000 {
201dc37374bSHongtao Jia			status = "disabled";
202dc37374bSHongtao Jia		};
203dc37374bSHongtao Jia	};
204dc37374bSHongtao Jia
205dc37374bSHongtao Jia	pci0: pcie@fef08000 {
206dc37374bSHongtao Jia		ranges = <0x2000000 0x0 0xc0000000 0 0xc0000000 0x0 0x20000000
207dc37374bSHongtao Jia			  0x1000000 0x0 0x00000000 0 0xfe020000 0x0 0x10000>;
208dc37374bSHongtao Jia		reg = <0 0xfef08000 0 0x1000>;
209dc37374bSHongtao Jia
210dc37374bSHongtao Jia		pcie@0 {
211dc37374bSHongtao Jia			ranges = <0x2000000 0x0 0xc0000000
212dc37374bSHongtao Jia				  0x2000000 0x0 0xc0000000
213dc37374bSHongtao Jia				  0x0 0x20000000
214dc37374bSHongtao Jia
215dc37374bSHongtao Jia				  0x1000000 0x0 0x0
216dc37374bSHongtao Jia				  0x1000000 0x0 0x0
217dc37374bSHongtao Jia				  0x0 0x10000>;
218dc37374bSHongtao Jia		};
219dc37374bSHongtao Jia	};
220dc37374bSHongtao Jia
221dc37374bSHongtao Jia	pci1: pcie@fef09000 {
222dc37374bSHongtao Jia		reg = <0 0xfef09000 0 0x1000>;
223dc37374bSHongtao Jia		ranges = <0x2000000 0x0 0xa0000000 0 0xa0000000 0x0 0x20000000
224dc37374bSHongtao Jia			  0x1000000 0x0 0x00000000 0 0xfe010000 0x0 0x10000>;
225dc37374bSHongtao Jia
226dc37374bSHongtao Jia		pcie@0 {
227dc37374bSHongtao Jia			ranges = <0x2000000 0x0 0xa0000000
228dc37374bSHongtao Jia				  0x2000000 0x0 0xa0000000
229dc37374bSHongtao Jia				  0x0 0x20000000
230dc37374bSHongtao Jia
231dc37374bSHongtao Jia				  0x1000000 0x0 0x0
232dc37374bSHongtao Jia				  0x1000000 0x0 0x0
233dc37374bSHongtao Jia				  0x0 0x10000>;
234dc37374bSHongtao Jia		};
235dc37374bSHongtao Jia
236dc37374bSHongtao Jia	};
237dc37374bSHongtao Jia
238dc37374bSHongtao Jia	pci2: pcie@fef0a000 {
239dc37374bSHongtao Jia		reg = <0 0xfef0a000 0 0x1000>;
240dc37374bSHongtao Jia		ranges = <0x2000000 0x0 0x80000000 0 0x80000000 0x0 0x20000000
241dc37374bSHongtao Jia			  0x1000000 0x0 0x00000000 0 0xfe000000 0x0 0x10000>;
242dc37374bSHongtao Jia
243dc37374bSHongtao Jia		pcie@0 {
244dc37374bSHongtao Jia			ranges = <0x2000000 0x0 0x80000000
245dc37374bSHongtao Jia				  0x2000000 0x0 0x80000000
246dc37374bSHongtao Jia				  0x0 0x20000000
247dc37374bSHongtao Jia
248dc37374bSHongtao Jia				  0x1000000 0x0 0x0
249dc37374bSHongtao Jia				  0x1000000 0x0 0x0
250dc37374bSHongtao Jia				  0x0 0x10000>;
251dc37374bSHongtao Jia		};
252dc37374bSHongtao Jia	};
253dc37374bSHongtao Jia};
254dc37374bSHongtao Jia
255dc37374bSHongtao Jia/include/ "p2020si-post.dtsi"
256