1*c66ec88fSEmmanuel Vadot/*
2*c66ec88fSEmmanuel Vadot * T2081QDS Device Tree Source
3*c66ec88fSEmmanuel Vadot *
4*c66ec88fSEmmanuel Vadot * Copyright 2013 - 2015 Freescale Semiconductor Inc.
5*c66ec88fSEmmanuel Vadot *
6*c66ec88fSEmmanuel Vadot * Redistribution and use in source and binary forms, with or without
7*c66ec88fSEmmanuel Vadot * modification, are permitted provided that the following conditions are met:
8*c66ec88fSEmmanuel Vadot *     * Redistributions of source code must retain the above copyright
9*c66ec88fSEmmanuel Vadot *	 notice, this list of conditions and the following disclaimer.
10*c66ec88fSEmmanuel Vadot *     * Redistributions in binary form must reproduce the above copyright
11*c66ec88fSEmmanuel Vadot *	 notice, this list of conditions and the following disclaimer in the
12*c66ec88fSEmmanuel Vadot *	 documentation and/or other materials provided with the distribution.
13*c66ec88fSEmmanuel Vadot *     * Neither the name of Freescale Semiconductor nor the
14*c66ec88fSEmmanuel Vadot *	 names of its contributors may be used to endorse or promote products
15*c66ec88fSEmmanuel Vadot *	 derived from this software without specific prior written permission.
16*c66ec88fSEmmanuel Vadot *
17*c66ec88fSEmmanuel Vadot *
18*c66ec88fSEmmanuel Vadot * ALTERNATIVELY, this software may be distributed under the terms of the
19*c66ec88fSEmmanuel Vadot * GNU General Public License ("GPL") as published by the Free Software
20*c66ec88fSEmmanuel Vadot * Foundation, either version 2 of that License or (at your option) any
21*c66ec88fSEmmanuel Vadot * later version.
22*c66ec88fSEmmanuel Vadot *
23*c66ec88fSEmmanuel Vadot * THIS SOFTWARE IS PROVIDED BY Freescale Semiconductor "AS IS" AND ANY
24*c66ec88fSEmmanuel Vadot * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
25*c66ec88fSEmmanuel Vadot * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
26*c66ec88fSEmmanuel Vadot * DISCLAIMED. IN NO EVENT SHALL Freescale Semiconductor BE LIABLE FOR ANY
27*c66ec88fSEmmanuel Vadot * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
28*c66ec88fSEmmanuel Vadot * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
29*c66ec88fSEmmanuel Vadot * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
30*c66ec88fSEmmanuel Vadot * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
31*c66ec88fSEmmanuel Vadot * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
32*c66ec88fSEmmanuel Vadot * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
33*c66ec88fSEmmanuel Vadot */
34*c66ec88fSEmmanuel Vadot
35*c66ec88fSEmmanuel Vadot/include/ "t208xsi-pre.dtsi"
36*c66ec88fSEmmanuel Vadot/include/ "t208xqds.dtsi"
37*c66ec88fSEmmanuel Vadot
38*c66ec88fSEmmanuel Vadot/ {
39*c66ec88fSEmmanuel Vadot	model = "fsl,T2081QDS";
40*c66ec88fSEmmanuel Vadot	compatible = "fsl,T2081QDS";
41*c66ec88fSEmmanuel Vadot	#address-cells = <2>;
42*c66ec88fSEmmanuel Vadot	#size-cells = <2>;
43*c66ec88fSEmmanuel Vadot	interrupt-parent = <&mpic>;
44*c66ec88fSEmmanuel Vadot
45*c66ec88fSEmmanuel Vadot	aliases {
46*c66ec88fSEmmanuel Vadot		emi1_slot1 = &t2081mdio2;
47*c66ec88fSEmmanuel Vadot		emi1_slot2 = &t2081mdio3;
48*c66ec88fSEmmanuel Vadot		emi1_slot3 = &t2081mdio4;
49*c66ec88fSEmmanuel Vadot		emi1_slot5 = &t2081mdio5;
50*c66ec88fSEmmanuel Vadot		emi1_slot6 = &t2081mdio6;
51*c66ec88fSEmmanuel Vadot		emi1_slot7 = &t2081mdio7;
52*c66ec88fSEmmanuel Vadot	};
53*c66ec88fSEmmanuel Vadot};
54*c66ec88fSEmmanuel Vadot
55*c66ec88fSEmmanuel Vadot&soc {
56*c66ec88fSEmmanuel Vadot	fman@400000 {
57*c66ec88fSEmmanuel Vadot		ethernet@e0000 {
58*c66ec88fSEmmanuel Vadot			phy-handle = <&phy_sgmii_s7_1c>;
59*c66ec88fSEmmanuel Vadot			phy-connection-type = "sgmii";
60*c66ec88fSEmmanuel Vadot		};
61*c66ec88fSEmmanuel Vadot
62*c66ec88fSEmmanuel Vadot		ethernet@e2000 {
63*c66ec88fSEmmanuel Vadot			phy-handle = <&phy_sgmii_s7_1d>;
64*c66ec88fSEmmanuel Vadot			phy-connection-type = "sgmii";
65*c66ec88fSEmmanuel Vadot		};
66*c66ec88fSEmmanuel Vadot
67*c66ec88fSEmmanuel Vadot		ethernet@e4000 {
68*c66ec88fSEmmanuel Vadot			phy-handle = <&rgmii_phy1>;
69*c66ec88fSEmmanuel Vadot			phy-connection-type = "rgmii";
70*c66ec88fSEmmanuel Vadot		};
71*c66ec88fSEmmanuel Vadot
72*c66ec88fSEmmanuel Vadot		ethernet@e6000 {
73*c66ec88fSEmmanuel Vadot			phy-handle = <&rgmii_phy2>;
74*c66ec88fSEmmanuel Vadot			phy-connection-type = "rgmii";
75*c66ec88fSEmmanuel Vadot		};
76*c66ec88fSEmmanuel Vadot
77*c66ec88fSEmmanuel Vadot		ethernet@e8000 {
78*c66ec88fSEmmanuel Vadot			phy-handle = <&phy_sgmii_s3_1c>;
79*c66ec88fSEmmanuel Vadot			phy-connection-type = "sgmii";
80*c66ec88fSEmmanuel Vadot		};
81*c66ec88fSEmmanuel Vadot
82*c66ec88fSEmmanuel Vadot		ethernet@ea000 {
83*c66ec88fSEmmanuel Vadot			phy-handle = <&phy_sgmii_s7_1f>;
84*c66ec88fSEmmanuel Vadot			phy-connection-type = "sgmii";
85*c66ec88fSEmmanuel Vadot		};
86*c66ec88fSEmmanuel Vadot
87*c66ec88fSEmmanuel Vadot		ethernet@f0000 {
88*c66ec88fSEmmanuel Vadot			phy-handle = <&phy_sgmii_s2_1c>;
89*c66ec88fSEmmanuel Vadot			phy-connection-type = "xgmii";
90*c66ec88fSEmmanuel Vadot		};
91*c66ec88fSEmmanuel Vadot
92*c66ec88fSEmmanuel Vadot		ethernet@f2000 {
93*c66ec88fSEmmanuel Vadot			phy-handle = <&phy_sgmii_s7_1e>;
94*c66ec88fSEmmanuel Vadot			phy-connection-type = "xgmii";
95*c66ec88fSEmmanuel Vadot		};
96*c66ec88fSEmmanuel Vadot	};
97*c66ec88fSEmmanuel Vadot};
98*c66ec88fSEmmanuel Vadot
99*c66ec88fSEmmanuel Vadot&boardctrl {
100*c66ec88fSEmmanuel Vadot	mdio-mux-emi1 {
101*c66ec88fSEmmanuel Vadot		compatible = "mdio-mux-mmioreg", "mdio-mux";
102*c66ec88fSEmmanuel Vadot		mdio-parent-bus = <&mdio0>;
103*c66ec88fSEmmanuel Vadot		#address-cells = <1>;
104*c66ec88fSEmmanuel Vadot		#size-cells = <0>;
105*c66ec88fSEmmanuel Vadot		reg = <0x54 1>;
106*c66ec88fSEmmanuel Vadot		mux-mask = <0xe0>;
107*c66ec88fSEmmanuel Vadot
108*c66ec88fSEmmanuel Vadot		t2081mdio0: mdio@0 {
109*c66ec88fSEmmanuel Vadot			#address-cells = <1>;
110*c66ec88fSEmmanuel Vadot			#size-cells = <0>;
111*c66ec88fSEmmanuel Vadot			reg = <0>;
112*c66ec88fSEmmanuel Vadot
113*c66ec88fSEmmanuel Vadot			rgmii_phy1: ethernet-phy@1 {
114*c66ec88fSEmmanuel Vadot				reg = <0x1>;
115*c66ec88fSEmmanuel Vadot			};
116*c66ec88fSEmmanuel Vadot		};
117*c66ec88fSEmmanuel Vadot
118*c66ec88fSEmmanuel Vadot		t2081mdio1: mdio@20 {
119*c66ec88fSEmmanuel Vadot			#address-cells = <1>;
120*c66ec88fSEmmanuel Vadot			#size-cells = <0>;
121*c66ec88fSEmmanuel Vadot			reg = <0x20>;
122*c66ec88fSEmmanuel Vadot
123*c66ec88fSEmmanuel Vadot			rgmii_phy2: ethernet-phy@2 {
124*c66ec88fSEmmanuel Vadot				reg = <0x2>;
125*c66ec88fSEmmanuel Vadot			};
126*c66ec88fSEmmanuel Vadot		};
127*c66ec88fSEmmanuel Vadot
128*c66ec88fSEmmanuel Vadot		t2081mdio2: mdio@40 {
129*c66ec88fSEmmanuel Vadot			#address-cells = <1>;
130*c66ec88fSEmmanuel Vadot			#size-cells = <0>;
131*c66ec88fSEmmanuel Vadot			reg = <0x40>;
132*c66ec88fSEmmanuel Vadot
133*c66ec88fSEmmanuel Vadot			phy_sgmii_s1_1c: ethernet-phy@1c {
134*c66ec88fSEmmanuel Vadot				reg = <0x1c>;
135*c66ec88fSEmmanuel Vadot			};
136*c66ec88fSEmmanuel Vadot
137*c66ec88fSEmmanuel Vadot			phy_sgmii_s1_1d: ethernet-phy@1d {
138*c66ec88fSEmmanuel Vadot				reg = <0x1d>;
139*c66ec88fSEmmanuel Vadot			};
140*c66ec88fSEmmanuel Vadot
141*c66ec88fSEmmanuel Vadot			phy_sgmii_s1_1e: ethernet-phy@1e {
142*c66ec88fSEmmanuel Vadot				reg = <0x1e>;
143*c66ec88fSEmmanuel Vadot			};
144*c66ec88fSEmmanuel Vadot
145*c66ec88fSEmmanuel Vadot			phy_sgmii_s1_1f: ethernet-phy@1f {
146*c66ec88fSEmmanuel Vadot				reg = <0x1f>;
147*c66ec88fSEmmanuel Vadot			};
148*c66ec88fSEmmanuel Vadot		};
149*c66ec88fSEmmanuel Vadot
150*c66ec88fSEmmanuel Vadot		t2081mdio3: mdio@60 {
151*c66ec88fSEmmanuel Vadot			#address-cells = <1>;
152*c66ec88fSEmmanuel Vadot			#size-cells = <0>;
153*c66ec88fSEmmanuel Vadot			reg = <0x60>;
154*c66ec88fSEmmanuel Vadot
155*c66ec88fSEmmanuel Vadot			phy_sgmii_s2_1c: ethernet-phy@1c {
156*c66ec88fSEmmanuel Vadot				reg = <0x1c>;
157*c66ec88fSEmmanuel Vadot			};
158*c66ec88fSEmmanuel Vadot
159*c66ec88fSEmmanuel Vadot			phy_sgmii_s2_1d: ethernet-phy@1d {
160*c66ec88fSEmmanuel Vadot				reg = <0x1d>;
161*c66ec88fSEmmanuel Vadot			};
162*c66ec88fSEmmanuel Vadot
163*c66ec88fSEmmanuel Vadot			phy_sgmii_s2_1e: ethernet-phy@1e {
164*c66ec88fSEmmanuel Vadot				reg = <0x1e>;
165*c66ec88fSEmmanuel Vadot			};
166*c66ec88fSEmmanuel Vadot
167*c66ec88fSEmmanuel Vadot			phy_sgmii_s2_1f: ethernet-phy@1f {
168*c66ec88fSEmmanuel Vadot				reg = <0x1f>;
169*c66ec88fSEmmanuel Vadot			};
170*c66ec88fSEmmanuel Vadot		};
171*c66ec88fSEmmanuel Vadot
172*c66ec88fSEmmanuel Vadot		t2081mdio4: mdio@80 {
173*c66ec88fSEmmanuel Vadot			#address-cells = <1>;
174*c66ec88fSEmmanuel Vadot			#size-cells = <0>;
175*c66ec88fSEmmanuel Vadot			reg = <0x80>;
176*c66ec88fSEmmanuel Vadot			status = "disabled";
177*c66ec88fSEmmanuel Vadot
178*c66ec88fSEmmanuel Vadot			phy_sgmii_s3_1c: ethernet-phy@1c {
179*c66ec88fSEmmanuel Vadot				reg = <0x1c>;
180*c66ec88fSEmmanuel Vadot			};
181*c66ec88fSEmmanuel Vadot
182*c66ec88fSEmmanuel Vadot			phy_sgmii_s3_1d: ethernet-phy@1d {
183*c66ec88fSEmmanuel Vadot				reg = <0x1d>;
184*c66ec88fSEmmanuel Vadot			};
185*c66ec88fSEmmanuel Vadot
186*c66ec88fSEmmanuel Vadot			phy_sgmii_s3_1e: ethernet-phy@1e {
187*c66ec88fSEmmanuel Vadot				reg = <0x1e>;
188*c66ec88fSEmmanuel Vadot			};
189*c66ec88fSEmmanuel Vadot
190*c66ec88fSEmmanuel Vadot			phy_sgmii_s3_1f: ethernet-phy@1f {
191*c66ec88fSEmmanuel Vadot				reg = <0x1f>;
192*c66ec88fSEmmanuel Vadot			};
193*c66ec88fSEmmanuel Vadot		};
194*c66ec88fSEmmanuel Vadot
195*c66ec88fSEmmanuel Vadot		t2081mdio5: mdio@a0 {
196*c66ec88fSEmmanuel Vadot			#address-cells = <1>;
197*c66ec88fSEmmanuel Vadot			#size-cells = <0>;
198*c66ec88fSEmmanuel Vadot			reg = <0xa0>;
199*c66ec88fSEmmanuel Vadot			status = "disabled";
200*c66ec88fSEmmanuel Vadot
201*c66ec88fSEmmanuel Vadot			phy_sgmii_s5_1c: ethernet-phy@1c {
202*c66ec88fSEmmanuel Vadot				reg = <0x1c>;
203*c66ec88fSEmmanuel Vadot			};
204*c66ec88fSEmmanuel Vadot
205*c66ec88fSEmmanuel Vadot			phy_sgmii_s5_1d: ethernet-phy@1d {
206*c66ec88fSEmmanuel Vadot				reg = <0x1d>;
207*c66ec88fSEmmanuel Vadot			};
208*c66ec88fSEmmanuel Vadot
209*c66ec88fSEmmanuel Vadot			phy_sgmii_s5_1e: ethernet-phy@1e {
210*c66ec88fSEmmanuel Vadot				reg = <0x1e>;
211*c66ec88fSEmmanuel Vadot			};
212*c66ec88fSEmmanuel Vadot
213*c66ec88fSEmmanuel Vadot			phy_sgmii_s5_1f: ethernet-phy@1f {
214*c66ec88fSEmmanuel Vadot				reg = <0x1f>;
215*c66ec88fSEmmanuel Vadot			};
216*c66ec88fSEmmanuel Vadot		};
217*c66ec88fSEmmanuel Vadot
218*c66ec88fSEmmanuel Vadot		t2081mdio6: mdio@c0 {
219*c66ec88fSEmmanuel Vadot			#address-cells = <1>;
220*c66ec88fSEmmanuel Vadot			#size-cells = <0>;
221*c66ec88fSEmmanuel Vadot			reg = <0xc0>;
222*c66ec88fSEmmanuel Vadot			status = "disabled";
223*c66ec88fSEmmanuel Vadot
224*c66ec88fSEmmanuel Vadot			phy_sgmii_s6_1c: ethernet-phy@1c {
225*c66ec88fSEmmanuel Vadot				reg = <0x1c>;
226*c66ec88fSEmmanuel Vadot			};
227*c66ec88fSEmmanuel Vadot
228*c66ec88fSEmmanuel Vadot			phy_sgmii_s6_1d: ethernet-phy@1d {
229*c66ec88fSEmmanuel Vadot				reg = <0x1d>;
230*c66ec88fSEmmanuel Vadot			};
231*c66ec88fSEmmanuel Vadot
232*c66ec88fSEmmanuel Vadot			phy_sgmii_s6_1e: ethernet-phy@1e {
233*c66ec88fSEmmanuel Vadot				reg = <0x1e>;
234*c66ec88fSEmmanuel Vadot			};
235*c66ec88fSEmmanuel Vadot
236*c66ec88fSEmmanuel Vadot			phy_sgmii_s6_1f: ethernet-phy@1f {
237*c66ec88fSEmmanuel Vadot				reg = <0x1f>;
238*c66ec88fSEmmanuel Vadot			};
239*c66ec88fSEmmanuel Vadot		};
240*c66ec88fSEmmanuel Vadot
241*c66ec88fSEmmanuel Vadot		t2081mdio7: mdio@e0 {
242*c66ec88fSEmmanuel Vadot			#address-cells = <1>;
243*c66ec88fSEmmanuel Vadot			#size-cells = <0>;
244*c66ec88fSEmmanuel Vadot			reg = <0xe0>;
245*c66ec88fSEmmanuel Vadot
246*c66ec88fSEmmanuel Vadot			phy_sgmii_s7_1c: ethernet-phy@1c {
247*c66ec88fSEmmanuel Vadot				reg = <0x1c>;
248*c66ec88fSEmmanuel Vadot			};
249*c66ec88fSEmmanuel Vadot
250*c66ec88fSEmmanuel Vadot			phy_sgmii_s7_1d: ethernet-phy@1d {
251*c66ec88fSEmmanuel Vadot				reg = <0x1d>;
252*c66ec88fSEmmanuel Vadot			};
253*c66ec88fSEmmanuel Vadot
254*c66ec88fSEmmanuel Vadot			phy_sgmii_s7_1e: ethernet-phy@1e {
255*c66ec88fSEmmanuel Vadot				reg = <0x1e>;
256*c66ec88fSEmmanuel Vadot			};
257*c66ec88fSEmmanuel Vadot
258*c66ec88fSEmmanuel Vadot			phy_sgmii_s7_1f: ethernet-phy@1f {
259*c66ec88fSEmmanuel Vadot				reg = <0x1f>;
260*c66ec88fSEmmanuel Vadot			};
261*c66ec88fSEmmanuel Vadot		};
262*c66ec88fSEmmanuel Vadot	};
263*c66ec88fSEmmanuel Vadot};
264*c66ec88fSEmmanuel Vadot
265*c66ec88fSEmmanuel Vadot/include/ "t2081si-post.dtsi"
266