diff options
author | Igal Liberman <Igal.Liberman@freescale.com> | 2015-08-03 04:14:10 -0400 |
---|---|---|
committer | Scott Wood <oss@buserror.net> | 2016-03-11 21:01:38 -0500 |
commit | 84e0f1c138061c2494d240f9ad3f94edcf69e29d (patch) | |
tree | 550d83011010112e06c53764b5b3d16e53a1c852 | |
parent | 334479d1ccc2dd8f3b4a66a8aa8ff72ef93e4b67 (diff) |
powerpc/mpc85xx: Add MDIO bus muxing support to the board device tree(s)
Describe the PHY topology for all configurations supported by each board
Based on prior work by Andy Fleming <afleming@freescale.com>
Signed-off-by: Shruti Kanetkar <Shruti@freescale.com>
Signed-off-by: Emil Medve <Emilian.Medve@Freescale.com>
Signed-off-by: Igal Liberman <Igal.Liberman@freescale.com>
Signed-off-by: Scott Wood <oss@buserror.net>
-rw-r--r-- | arch/powerpc/boot/dts/fsl/b4860qds.dts | 60 | ||||
-rw-r--r-- | arch/powerpc/boot/dts/fsl/b4qds.dtsi | 51 | ||||
-rw-r--r-- | arch/powerpc/boot/dts/fsl/p2041rdb.dts | 92 | ||||
-rw-r--r-- | arch/powerpc/boot/dts/fsl/p3041ds.dts | 112 | ||||
-rw-r--r-- | arch/powerpc/boot/dts/fsl/p4080ds.dts | 184 | ||||
-rw-r--r-- | arch/powerpc/boot/dts/fsl/p5020ds.dts | 112 | ||||
-rw-r--r-- | arch/powerpc/boot/dts/fsl/p5040ds.dts | 234 | ||||
-rw-r--r-- | arch/powerpc/boot/dts/fsl/t1023rdb.dts | 41 | ||||
-rw-r--r-- | arch/powerpc/boot/dts/fsl/t1024rdb.dts | 45 | ||||
-rw-r--r-- | arch/powerpc/boot/dts/fsl/t1040rdb.dts | 32 | ||||
-rw-r--r-- | arch/powerpc/boot/dts/fsl/t1042rdb.dts | 30 | ||||
-rw-r--r-- | arch/powerpc/boot/dts/fsl/t1042rdb_pi.dts | 18 | ||||
-rw-r--r-- | arch/powerpc/boot/dts/fsl/t104xqds.dtsi | 178 | ||||
-rw-r--r-- | arch/powerpc/boot/dts/fsl/t104xrdb.dtsi | 33 | ||||
-rw-r--r-- | arch/powerpc/boot/dts/fsl/t2080qds.dts | 158 | ||||
-rw-r--r-- | arch/powerpc/boot/dts/fsl/t2080rdb.dts | 67 | ||||
-rw-r--r-- | arch/powerpc/boot/dts/fsl/t2081qds.dts | 221 | ||||
-rw-r--r-- | arch/powerpc/boot/dts/fsl/t4240qds.dts | 400 | ||||
-rw-r--r-- | arch/powerpc/boot/dts/fsl/t4240rdb.dts | 149 |
19 files changed, 2198 insertions, 19 deletions
diff --git a/arch/powerpc/boot/dts/fsl/b4860qds.dts b/arch/powerpc/boot/dts/fsl/b4860qds.dts index ba8c9bea33ac..a8bc419959ca 100644 --- a/arch/powerpc/boot/dts/fsl/b4860qds.dts +++ b/arch/powerpc/boot/dts/fsl/b4860qds.dts | |||
@@ -1,7 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * B4860DS Device Tree Source | 2 | * B4860DS Device Tree Source |
3 | * | 3 | * |
4 | * Copyright 2012 Freescale Semiconductor Inc. | 4 | * Copyright 2012 - 2015 Freescale Semiconductor Inc. |
5 | * | 5 | * |
6 | * Redistribution and use in source and binary forms, with or without | 6 | * Redistribution and use in source and binary forms, with or without |
7 | * modification, are permitted provided that the following conditions are met: | 7 | * modification, are permitted provided that the following conditions are met: |
@@ -39,12 +39,69 @@ | |||
39 | model = "fsl,B4860QDS"; | 39 | model = "fsl,B4860QDS"; |
40 | compatible = "fsl,B4860QDS"; | 40 | compatible = "fsl,B4860QDS"; |
41 | 41 | ||
42 | aliases { | ||
43 | phy_sgmii_1e = &phy_sgmii_1e; | ||
44 | phy_sgmii_1f = &phy_sgmii_1f; | ||
45 | phy_xaui_slot1 = &phy_xaui_slot1; | ||
46 | phy_xaui_slot2 = &phy_xaui_slot2; | ||
47 | }; | ||
48 | |||
42 | ifc: localbus@ffe124000 { | 49 | ifc: localbus@ffe124000 { |
43 | board-control@3,0 { | 50 | board-control@3,0 { |
44 | compatible = "fsl,b4860qds-fpga", "fsl,fpga-qixis"; | 51 | compatible = "fsl,b4860qds-fpga", "fsl,fpga-qixis"; |
45 | }; | 52 | }; |
46 | }; | 53 | }; |
47 | 54 | ||
55 | soc@ffe000000 { | ||
56 | fman@400000 { | ||
57 | ethernet@e8000 { | ||
58 | phy-handle = <&phy_sgmii_1e>; | ||
59 | phy-connection-type = "sgmii"; | ||
60 | }; | ||
61 | |||
62 | ethernet@ea000 { | ||
63 | phy-handle = <&phy_sgmii_1f>; | ||
64 | phy-connection-type = "sgmii"; | ||
65 | }; | ||
66 | |||
67 | ethernet@f0000 { | ||
68 | phy-handle = <&phy_xaui_slot1>; | ||
69 | phy-connection-type = "xgmii"; | ||
70 | }; | ||
71 | |||
72 | ethernet@f2000 { | ||
73 | phy-handle = <&phy_xaui_slot2>; | ||
74 | phy-connection-type = "xgmii"; | ||
75 | }; | ||
76 | |||
77 | mdio@fc000 { | ||
78 | phy_sgmii_1e: ethernet-phy@1e { | ||
79 | reg = <0x1e>; | ||
80 | status = "disabled"; | ||
81 | }; | ||
82 | |||
83 | phy_sgmii_1f: ethernet-phy@1f { | ||
84 | reg = <0x1f>; | ||
85 | status = "disabled"; | ||
86 | }; | ||
87 | }; | ||
88 | |||
89 | mdio@fd000 { | ||
90 | phy_xaui_slot1: xaui-phy@slot1 { | ||
91 | compatible = "ethernet-phy-ieee802.3-c45"; | ||
92 | reg = <0x7>; | ||
93 | status = "disabled"; | ||
94 | }; | ||
95 | |||
96 | phy_xaui_slot2: xaui-phy@slot2 { | ||
97 | compatible = "ethernet-phy-ieee802.3-c45"; | ||
98 | reg = <0x6>; | ||
99 | status = "disabled"; | ||
100 | }; | ||
101 | }; | ||
102 | }; | ||
103 | }; | ||
104 | |||
48 | rio: rapidio@ffe0c0000 { | 105 | rio: rapidio@ffe0c0000 { |
49 | reg = <0xf 0xfe0c0000 0 0x11000>; | 106 | reg = <0xf 0xfe0c0000 0 0x11000>; |
50 | 107 | ||
@@ -55,7 +112,6 @@ | |||
55 | ranges = <0 0 0xc 0x30000000 0 0x10000000>; | 112 | ranges = <0 0 0xc 0x30000000 0 0x10000000>; |
56 | }; | 113 | }; |
57 | }; | 114 | }; |
58 | |||
59 | }; | 115 | }; |
60 | 116 | ||
61 | /include/ "b4860si-post.dtsi" | 117 | /include/ "b4860si-post.dtsi" |
diff --git a/arch/powerpc/boot/dts/fsl/b4qds.dtsi b/arch/powerpc/boot/dts/fsl/b4qds.dtsi index 64557742fb99..e8417947a0ee 100644 --- a/arch/powerpc/boot/dts/fsl/b4qds.dtsi +++ b/arch/powerpc/boot/dts/fsl/b4qds.dtsi | |||
@@ -1,7 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * B4420DS Device Tree Source | 2 | * B4420DS Device Tree Source |
3 | * | 3 | * |
4 | * Copyright 2012 - 2014 Freescale Semiconductor, Inc. | 4 | * Copyright 2012 - 2015 Freescale Semiconductor, Inc. |
5 | * | 5 | * |
6 | * Redistribution and use in source and binary forms, with or without | 6 | * Redistribution and use in source and binary forms, with or without |
7 | * modification, are permitted provided that the following conditions are met: | 7 | * modification, are permitted provided that the following conditions are met: |
@@ -39,6 +39,13 @@ | |||
39 | #size-cells = <2>; | 39 | #size-cells = <2>; |
40 | interrupt-parent = <&mpic>; | 40 | interrupt-parent = <&mpic>; |
41 | 41 | ||
42 | aliases { | ||
43 | phy_sgmii_10 = &phy_sgmii_10; | ||
44 | phy_sgmii_11 = &phy_sgmii_11; | ||
45 | phy_sgmii_1c = &phy_sgmii_1c; | ||
46 | phy_sgmii_1d = &phy_sgmii_1d; | ||
47 | }; | ||
48 | |||
42 | ifc: localbus@ffe124000 { | 49 | ifc: localbus@ffe124000 { |
43 | reg = <0xf 0xfe124000 0 0x2000>; | 50 | reg = <0xf 0xfe124000 0 0x2000>; |
44 | ranges = <0 0 0xf 0xe8000000 0x08000000 | 51 | ranges = <0 0 0xf 0xe8000000 0x08000000 |
@@ -210,6 +217,47 @@ | |||
210 | phy_type = "ulpi"; | 217 | phy_type = "ulpi"; |
211 | }; | 218 | }; |
212 | 219 | ||
220 | fman@400000 { | ||
221 | ethernet@e0000 { | ||
222 | phy-handle = <&phy_sgmii_10>; | ||
223 | phy-connection-type = "sgmii"; | ||
224 | }; | ||
225 | |||
226 | ethernet@e2000 { | ||
227 | phy-handle = <&phy_sgmii_11>; | ||
228 | phy-connection-type = "sgmii"; | ||
229 | }; | ||
230 | |||
231 | ethernet@e4000 { | ||
232 | phy-handle = <&phy_sgmii_1c>; | ||
233 | phy-connection-type = "sgmii"; | ||
234 | }; | ||
235 | |||
236 | ethernet@e6000 { | ||
237 | phy-handle = <&phy_sgmii_1d>; | ||
238 | phy-connection-type = "sgmii"; | ||
239 | }; | ||
240 | |||
241 | mdio@fc000 { | ||
242 | phy_sgmii_10: ethernet-phy@10 { | ||
243 | reg = <0x10>; | ||
244 | }; | ||
245 | |||
246 | phy_sgmii_11: ethernet-phy@11 { | ||
247 | reg = <0x11>; | ||
248 | }; | ||
249 | |||
250 | phy_sgmii_1c: ethernet-phy@1c { | ||
251 | reg = <0x1c>; | ||
252 | status = "disabled"; | ||
253 | }; | ||
254 | |||
255 | phy_sgmii_1d: ethernet-phy@1d { | ||
256 | reg = <0x1d>; | ||
257 | status = "disabled"; | ||
258 | }; | ||
259 | }; | ||
260 | }; | ||
213 | }; | 261 | }; |
214 | 262 | ||
215 | pci0: pcie@ffe200000 { | 263 | pci0: pcie@ffe200000 { |
@@ -226,7 +274,6 @@ | |||
226 | 0 0x00010000>; | 274 | 0 0x00010000>; |
227 | }; | 275 | }; |
228 | }; | 276 | }; |
229 | |||
230 | }; | 277 | }; |
231 | 278 | ||
232 | /include/ "b4si-post.dtsi" | 279 | /include/ "b4si-post.dtsi" |
diff --git a/arch/powerpc/boot/dts/fsl/p2041rdb.dts b/arch/powerpc/boot/dts/fsl/p2041rdb.dts index e9bd89406c4c..fba3427de1df 100644 --- a/arch/powerpc/boot/dts/fsl/p2041rdb.dts +++ b/arch/powerpc/boot/dts/fsl/p2041rdb.dts | |||
@@ -1,7 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * P2041RDB Device Tree Source | 2 | * P2041RDB Device Tree Source |
3 | * | 3 | * |
4 | * Copyright 2011 - 2014 Freescale Semiconductor Inc. | 4 | * Copyright 2011 - 2015 Freescale Semiconductor Inc. |
5 | * | 5 | * |
6 | * Redistribution and use in source and binary forms, with or without | 6 | * Redistribution and use in source and binary forms, with or without |
7 | * modification, are permitted provided that the following conditions are met: | 7 | * modification, are permitted provided that the following conditions are met: |
@@ -41,6 +41,19 @@ | |||
41 | #size-cells = <2>; | 41 | #size-cells = <2>; |
42 | interrupt-parent = <&mpic>; | 42 | interrupt-parent = <&mpic>; |
43 | 43 | ||
44 | aliases { | ||
45 | phy_rgmii_0 = &phy_rgmii_0; | ||
46 | phy_rgmii_1 = &phy_rgmii_1; | ||
47 | phy_sgmii_2 = &phy_sgmii_2; | ||
48 | phy_sgmii_3 = &phy_sgmii_3; | ||
49 | phy_sgmii_4 = &phy_sgmii_4; | ||
50 | phy_sgmii_1c = &phy_sgmii_1c; | ||
51 | phy_sgmii_1d = &phy_sgmii_1d; | ||
52 | phy_sgmii_1e = &phy_sgmii_1e; | ||
53 | phy_sgmii_1f = &phy_sgmii_1f; | ||
54 | phy_xgmii_2 = &phy_xgmii_2; | ||
55 | }; | ||
56 | |||
44 | memory { | 57 | memory { |
45 | device_type = "memory"; | 58 | device_type = "memory"; |
46 | }; | 59 | }; |
@@ -137,6 +150,83 @@ | |||
137 | usb1: usb@211000 { | 150 | usb1: usb@211000 { |
138 | dr_mode = "host"; | 151 | dr_mode = "host"; |
139 | }; | 152 | }; |
153 | |||
154 | fman@400000 { | ||
155 | ethernet@e0000 { | ||
156 | phy-handle = <&phy_sgmii_2>; | ||
157 | phy-connection-type = "sgmii"; | ||
158 | }; | ||
159 | |||
160 | mdio@e1120 { | ||
161 | phy_rgmii_0: ethernet-phy@0 { | ||
162 | reg = <0x0>; | ||
163 | }; | ||
164 | |||
165 | phy_rgmii_1: ethernet-phy@1 { | ||
166 | reg = <0x1>; | ||
167 | }; | ||
168 | |||
169 | phy_sgmii_2: ethernet-phy@2 { | ||
170 | reg = <0x2>; | ||
171 | }; | ||
172 | |||
173 | phy_sgmii_3: ethernet-phy@3 { | ||
174 | reg = <0x3>; | ||
175 | }; | ||
176 | |||
177 | phy_sgmii_4: ethernet-phy@4 { | ||
178 | reg = <0x4>; | ||
179 | }; | ||
180 | |||
181 | phy_sgmii_1c: ethernet-phy@1c { | ||
182 | reg = <0x1c>; | ||
183 | }; | ||
184 | |||
185 | phy_sgmii_1d: ethernet-phy@1d { | ||
186 | reg = <0x1d>; | ||
187 | }; | ||
188 | |||
189 | phy_sgmii_1e: ethernet-phy@1e { | ||
190 | reg = <0x1e>; | ||
191 | }; | ||
192 | |||
193 | phy_sgmii_1f: ethernet-phy@1f { | ||
194 | reg = <0x1f>; | ||
195 | }; | ||
196 | }; | ||
197 | |||
198 | ethernet@e2000 { | ||
199 | phy-handle = <&phy_sgmii_3>; | ||
200 | phy-connection-type = "sgmii"; | ||
201 | }; | ||
202 | |||
203 | ethernet@e4000 { | ||
204 | phy-handle = <&phy_sgmii_4>; | ||
205 | phy-connection-type = "sgmii"; | ||
206 | }; | ||
207 | |||
208 | ethernet@e6000 { | ||
209 | phy-handle = <&phy_rgmii_1>; | ||
210 | phy-connection-type = "rgmii"; | ||
211 | }; | ||
212 | |||
213 | ethernet@e8000 { | ||
214 | phy-handle = <&phy_rgmii_0>; | ||
215 | phy-connection-type = "rgmii"; | ||
216 | }; | ||
217 | |||
218 | ethernet@f0000 { | ||
219 | phy-handle = <&phy_xgmii_2>; | ||
220 | phy-connection-type = "xgmii"; | ||
221 | }; | ||
222 | |||
223 | mdio@f1000 { | ||
224 | phy_xgmii_2: ethernet-phy@0 { | ||
225 | compatible = "ethernet-phy-ieee802.3-c45"; | ||
226 | reg = <0x0>; | ||
227 | }; | ||
228 | }; | ||
229 | }; | ||
140 | }; | 230 | }; |
141 | 231 | ||
142 | rio: rapidio@ffe0c0000 { | 232 | rio: rapidio@ffe0c0000 { |
diff --git a/arch/powerpc/boot/dts/fsl/p3041ds.dts b/arch/powerpc/boot/dts/fsl/p3041ds.dts index f2b1d40334d4..cb319960e0a7 100644 --- a/arch/powerpc/boot/dts/fsl/p3041ds.dts +++ b/arch/powerpc/boot/dts/fsl/p3041ds.dts | |||
@@ -1,7 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * P3041DS Device Tree Source | 2 | * P3041DS Device Tree Source |
3 | * | 3 | * |
4 | * Copyright 2010 - 2014 Freescale Semiconductor Inc. | 4 | * Copyright 2010 - 2015 Freescale Semiconductor Inc. |
5 | * | 5 | * |
6 | * Redistribution and use in source and binary forms, with or without | 6 | * Redistribution and use in source and binary forms, with or without |
7 | * modification, are permitted provided that the following conditions are met: | 7 | * modification, are permitted provided that the following conditions are met: |
@@ -41,6 +41,20 @@ | |||
41 | #size-cells = <2>; | 41 | #size-cells = <2>; |
42 | interrupt-parent = <&mpic>; | 42 | interrupt-parent = <&mpic>; |
43 | 43 | ||
44 | aliases{ | ||
45 | phy_rgmii_0 = &phy_rgmii_0; | ||
46 | phy_rgmii_1 = &phy_rgmii_1; | ||
47 | phy_sgmii_1c = &phy_sgmii_1c; | ||
48 | phy_sgmii_1d = &phy_sgmii_1d; | ||
49 | phy_sgmii_1e = &phy_sgmii_1e; | ||
50 | phy_sgmii_1f = &phy_sgmii_1f; | ||
51 | phy_xgmii_1 = &phy_xgmii_1; | ||
52 | phy_xgmii_2 = &phy_xgmii_2; | ||
53 | emi1_rgmii = &hydra_mdio_rgmii; | ||
54 | emi1_sgmii = &hydra_mdio_sgmii; | ||
55 | emi2_xgmii = &hydra_mdio_xgmii; | ||
56 | }; | ||
57 | |||
44 | memory { | 58 | memory { |
45 | device_type = "memory"; | 59 | device_type = "memory"; |
46 | }; | 60 | }; |
@@ -150,6 +164,52 @@ | |||
150 | reg = <0x4c>; | 164 | reg = <0x4c>; |
151 | }; | 165 | }; |
152 | }; | 166 | }; |
167 | |||
168 | fman@400000{ | ||
169 | ethernet@e0000 { | ||
170 | phy-handle = <&phy_sgmii_1c>; | ||
171 | phy-connection-type = "sgmii"; | ||
172 | }; | ||
173 | |||
174 | ethernet@e2000 { | ||
175 | phy-handle = <&phy_sgmii_1d>; | ||
176 | phy-connection-type = "sgmii"; | ||
177 | }; | ||
178 | |||
179 | ethernet@e4000 { | ||
180 | phy-handle = <&phy_sgmii_1e>; | ||
181 | phy-connection-type = "sgmii"; | ||
182 | }; | ||
183 | |||
184 | ethernet@e6000 { | ||
185 | phy-handle = <&phy_sgmii_1f>; | ||
186 | phy-connection-type = "sgmii"; | ||
187 | }; | ||
188 | |||
189 | ethernet@e8000 { | ||
190 | phy-handle = <&phy_rgmii_1>; | ||
191 | phy-connection-type = "rgmii"; | ||
192 | }; | ||
193 | |||
194 | ethernet@f0000 { | ||
195 | phy-handle = <&phy_xgmii_1>; | ||
196 | phy-connection-type = "xgmii"; | ||
197 | }; | ||
198 | |||
199 | hydra_mdio_xgmii: mdio@f1000 { | ||
200 | status = "disabled"; | ||
201 | |||
202 | phy_xgmii_1: ethernet-phy@4 { | ||
203 | compatible = "ethernet-phy-ieee802.3-c45"; | ||
204 | reg = <0x4>; | ||
205 | }; | ||
206 | |||
207 | phy_xgmii_2: ethernet-phy@0 { | ||
208 | compatible = "ethernet-phy-ieee802.3-c45"; | ||
209 | reg = <0x0>; | ||
210 | }; | ||
211 | }; | ||
212 | }; | ||
153 | }; | 213 | }; |
154 | 214 | ||
155 | rio: rapidio@ffe0c0000 { | 215 | rio: rapidio@ffe0c0000 { |
@@ -215,8 +275,58 @@ | |||
215 | }; | 275 | }; |
216 | 276 | ||
217 | board-control@3,0 { | 277 | board-control@3,0 { |
278 | #address-cells = <1>; | ||
279 | #size-cells = <1>; | ||
218 | compatible = "fsl,p3041ds-fpga", "fsl,fpga-ngpixis"; | 280 | compatible = "fsl,p3041ds-fpga", "fsl,fpga-ngpixis"; |
219 | reg = <3 0 0x30>; | 281 | reg = <3 0 0x30>; |
282 | ranges = <0 3 0 0x30>; | ||
283 | |||
284 | mdio-mux-emi1 { | ||
285 | #address-cells = <1>; | ||
286 | #size-cells = <0>; | ||
287 | compatible = "mdio-mux-mmioreg", "mdio-mux"; | ||
288 | mdio-parent-bus = <&mdio0>; | ||
289 | reg = <9 1>; | ||
290 | mux-mask = <0x78>; | ||
291 | |||
292 | hydra_mdio_rgmii: rgmii-mdio@8 { | ||
293 | #address-cells = <1>; | ||
294 | #size-cells = <0>; | ||
295 | reg = <8>; | ||
296 | status = "disabled"; | ||
297 | |||
298 | phy_rgmii_0: ethernet-phy@0 { | ||
299 | reg = <0x0>; | ||
300 | }; | ||
301 | |||
302 | phy_rgmii_1: ethernet-phy@1 { | ||
303 | reg = <0x1>; | ||
304 | }; | ||
305 | }; | ||
306 | |||
307 | hydra_mdio_sgmii: sgmii-mdio@28 { | ||
308 | #address-cells = <1>; | ||
309 | #size-cells = <0>; | ||
310 | reg = <0x28>; | ||
311 | status = "disabled"; | ||
312 | |||
313 | phy_sgmii_1c: ethernet-phy@1c { | ||
314 | reg = <0x1c>; | ||
315 | }; | ||
316 | |||
317 | phy_sgmii_1d: ethernet-phy@1d { | ||
318 | reg = <0x1d>; | ||
319 | }; | ||
320 | |||
321 | phy_sgmii_1e: ethernet-phy@1e { | ||
322 | reg = <0x1e>; | ||
323 | }; | ||
324 | |||
325 | phy_sgmii_1f: ethernet-phy@1f { | ||
326 | reg = <0x1f>; | ||
327 | }; | ||
328 | }; | ||
329 | }; | ||
220 | }; | 330 | }; |
221 | }; | 331 | }; |
222 | 332 | ||
diff --git a/arch/powerpc/boot/dts/fsl/p4080ds.dts b/arch/powerpc/boot/dts/fsl/p4080ds.dts index 28a55c5e7099..733f4f1a00a7 100644 --- a/arch/powerpc/boot/dts/fsl/p4080ds.dts +++ b/arch/powerpc/boot/dts/fsl/p4080ds.dts | |||
@@ -1,7 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * P4080DS Device Tree Source | 2 | * P4080DS Device Tree Source |
3 | * | 3 | * |
4 | * Copyright 2009 - 2014 Freescale Semiconductor Inc. | 4 | * Copyright 2009 - 2015 Freescale Semiconductor Inc. |
5 | * | 5 | * |
6 | * Redistribution and use in source and binary forms, with or without | 6 | * Redistribution and use in source and binary forms, with or without |
7 | * modification, are permitted provided that the following conditions are met: | 7 | * modification, are permitted provided that the following conditions are met: |
@@ -41,6 +41,20 @@ | |||
41 | #size-cells = <2>; | 41 | #size-cells = <2>; |
42 | interrupt-parent = <&mpic>; | 42 | interrupt-parent = <&mpic>; |
43 | 43 | ||
44 | aliases { | ||
45 | phy_rgmii = &phyrgmii; | ||
46 | phy5_slot3 = &phy5slot3; | ||
47 | phy6_slot3 = &phy6slot3; | ||
48 | phy7_slot3 = &phy7slot3; | ||
49 | phy8_slot3 = &phy8slot3; | ||
50 | emi1_slot3 = &p4080mdio2; | ||
51 | emi1_slot4 = &p4080mdio1; | ||
52 | emi1_slot5 = &p4080mdio3; | ||
53 | emi1_rgmii = &p4080mdio0; | ||
54 | emi2_slot4 = &p4080xmdio1; | ||
55 | emi2_slot5 = &p4080xmdio3; | ||
56 | }; | ||
57 | |||
44 | memory { | 58 | memory { |
45 | device_type = "memory"; | 59 | device_type = "memory"; |
46 | }; | 60 | }; |
@@ -137,6 +151,60 @@ | |||
137 | dr_mode = "host"; | 151 | dr_mode = "host"; |
138 | phy_type = "ulpi"; | 152 | phy_type = "ulpi"; |
139 | }; | 153 | }; |
154 | |||
155 | fman@400000 { | ||
156 | ethernet@e0000 { | ||
157 | phy-handle = <&phy0>; | ||
158 | phy-connection-type = "sgmii"; | ||
159 | }; | ||
160 | |||
161 | ethernet@e2000 { | ||
162 | phy-handle = <&phy1>; | ||
163 | phy-connection-type = "sgmii"; | ||
164 | }; | ||
165 | |||
166 | ethernet@e4000 { | ||
167 | phy-handle = <&phy2>; | ||
168 | phy-connection-type = "sgmii"; | ||
169 | }; | ||
170 | |||
171 | ethernet@e6000 { | ||
172 | phy-handle = <&phy3>; | ||
173 | phy-connection-type = "sgmii"; | ||
174 | }; | ||
175 | |||
176 | ethernet@f0000 { | ||
177 | phy-handle = <&phy10>; | ||
178 | phy-connection-type = "xgmii"; | ||
179 | }; | ||
180 | }; | ||
181 | |||
182 | fman@500000 { | ||
183 | ethernet@e0000 { | ||
184 | phy-handle = <&phy5>; | ||
185 | phy-connection-type = "sgmii"; | ||
186 | }; | ||
187 | |||
188 | ethernet@e2000 { | ||
189 | phy-handle = <&phy6>; | ||
190 | phy-connection-type = "sgmii"; | ||
191 | }; | ||
192 | |||
193 | ethernet@e4000 { | ||
194 | phy-handle = <&phy7>; | ||
195 | phy-connection-type = "sgmii"; | ||
196 | }; | ||
197 | |||
198 | ethernet@e6000 { | ||
199 | phy-handle = <&phy8>; | ||
200 | phy-connection-type = "sgmii"; | ||
201 | }; | ||
202 | |||
203 | ethernet@f0000 { | ||
204 | phy-handle = <&phy11>; | ||
205 | phy-connection-type = "xgmii"; | ||
206 | }; | ||
207 | }; | ||
140 | }; | 208 | }; |
141 | 209 | ||
142 | rio: rapidio@ffe0c0000 { | 210 | rio: rapidio@ffe0c0000 { |
@@ -213,6 +281,120 @@ | |||
213 | }; | 281 | }; |
214 | }; | 282 | }; |
215 | 283 | ||
284 | mdio-mux-emi1 { | ||
285 | #address-cells = <1>; | ||
286 | #size-cells = <0>; | ||
287 | compatible = "mdio-mux-gpio", "mdio-mux"; | ||
288 | mdio-parent-bus = <&mdio0>; | ||
289 | gpios = <&gpio0 1 0>, <&gpio0 0 0>; | ||
290 | |||
291 | p4080mdio0: mdio@0 { | ||
292 | #address-cells = <1>; | ||
293 | #size-cells = <0>; | ||
294 | reg = <0>; | ||
295 | |||
296 | phyrgmii: ethernet-phy@0 { | ||
297 | reg = <0x0>; | ||
298 | }; | ||
299 | }; | ||
300 | |||
301 | p4080mdio1: mdio@1 { | ||
302 | #address-cells = <1>; | ||
303 | #size-cells = <0>; | ||
304 | reg = <1>; | ||
305 | |||
306 | phy5: ethernet-phy@1c { | ||
307 | reg = <0x1c>; | ||
308 | }; | ||
309 | |||
310 | phy6: ethernet-phy@1d { | ||
311 | reg = <0x1d>; | ||
312 | }; | ||
313 | |||
314 | phy7: ethernet-phy@1e { | ||
315 | reg = <0x1e>; | ||
316 | }; | ||
317 | |||
318 | phy8: ethernet-phy@1f { | ||
319 | reg = <0x1f>; | ||
320 | }; | ||
321 | }; | ||
322 | |||
323 | p4080mdio2: mdio@2 { | ||
324 | #address-cells = <1>; | ||
325 | #size-cells = <0>; | ||
326 | reg = <2>; | ||
327 | status = "disabled"; | ||
328 | |||
329 | phy5slot3: ethernet-phy@1c { | ||
330 | reg = <0x1c>; | ||
331 | }; | ||
332 | |||
333 | phy6slot3: ethernet-phy@1d { | ||
334 | reg = <0x1d>; | ||
335 | }; | ||
336 | |||
337 | phy7slot3: ethernet-phy@1e { | ||
338 | reg = <0x1e>; | ||
339 | }; | ||
340 | |||
341 | phy8slot3: ethernet-phy@1f { | ||
342 | reg = <0x1f>; | ||
343 | }; | ||
344 | }; | ||
345 | |||
346 | p4080mdio3: mdio@3 { | ||
347 | #address-cells = <1>; | ||
348 | #size-cells = <0>; | ||
349 | reg = <3>; | ||
350 | |||
351 | phy0: ethernet-phy@1c { | ||
352 | reg = <0x1c>; | ||
353 | }; | ||
354 | |||
355 | phy1: ethernet-phy@1d { | ||
356 | reg = <0x1d>; | ||
357 | }; | ||
358 | |||
359 | phy2: ethernet-phy@1e { | ||
360 | reg = <0x1e>; | ||
361 | }; | ||
362 | |||
363 | phy3: ethernet-phy@1f { | ||
364 | reg = <0x1f>; | ||
365 | }; | ||
366 | }; | ||
367 | }; | ||
368 | |||
369 | mdio-mux-emi2 { | ||
370 | #address-cells = <1>; | ||
371 | #size-cells = <0>; | ||
372 | compatible = "mdio-mux-gpio", "mdio-mux"; | ||
373 | mdio-parent-bus = <&xmdio0>; | ||
374 | gpios = <&gpio0 3 0>, <&gpio0 2 0>; | ||
375 | |||
376 | p4080xmdio1: mdio@1 { | ||
377 | #address-cells = <1>; | ||
378 | #size-cells = <0>; | ||
379 | reg = <1>; | ||
380 | |||
381 | phy11: ethernet-phy@0 { | ||
382 | compatible = "ethernet-phy-ieee802.3-c45"; | ||
383 | reg = <0x0>; | ||
384 | }; | ||
385 | }; | ||
386 | |||
387 | p4080xmdio3: mdio@3 { | ||
388 | #address-cells = <1>; | ||
389 | #size-cells = <0>; | ||
390 | reg = <3>; | ||
391 | |||
392 | phy10: ethernet-phy@4 { | ||
393 | compatible = "ethernet-phy-ieee802.3-c45"; | ||
394 | reg = <0x4>; | ||
395 | }; | ||
396 | }; | ||
397 | }; | ||
216 | }; | 398 | }; |
217 | 399 | ||
218 | /include/ "p4080si-post.dtsi" | 400 | /include/ "p4080si-post.dtsi" |
diff --git a/arch/powerpc/boot/dts/fsl/p5020ds.dts b/arch/powerpc/boot/dts/fsl/p5020ds.dts index 920dc77b9c43..ea424eab54e0 100644 --- a/arch/powerpc/boot/dts/fsl/p5020ds.dts +++ b/arch/powerpc/boot/dts/fsl/p5020ds.dts | |||
@@ -1,7 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * P5020DS Device Tree Source | 2 | * P5020DS Device Tree Source |
3 | * | 3 | * |
4 | * Copyright 2010 - 2014 Freescale Semiconductor Inc. | 4 | * Copyright 2010 - 2015 Freescale Semiconductor Inc. |
5 | * | 5 | * |
6 | * Redistribution and use in source and binary forms, with or without | 6 | * Redistribution and use in source and binary forms, with or without |
7 | * modification, are permitted provided that the following conditions are met: | 7 | * modification, are permitted provided that the following conditions are met: |
@@ -41,6 +41,20 @@ | |||
41 | #size-cells = <2>; | 41 | #size-cells = <2>; |
42 | interrupt-parent = <&mpic>; | 42 | interrupt-parent = <&mpic>; |
43 | 43 | ||
44 | aliases { | ||
45 | phy_rgmii_0 = &phy_rgmii_0; | ||
46 | phy_rgmii_1 = &phy_rgmii_1; | ||
47 | phy_sgmii_1c = &phy_sgmii_1c; | ||
48 | phy_sgmii_1d = &phy_sgmii_1d; | ||
49 | phy_sgmii_1e = &phy_sgmii_1e; | ||
50 | phy_sgmii_1f = &phy_sgmii_1f; | ||
51 | phy_xgmii_1 = &phy_xgmii_1; | ||
52 | phy_xgmii_2 = &phy_xgmii_2; | ||
53 | emi1_rgmii = &hydra_mdio_rgmii; | ||
54 | emi1_sgmii = &hydra_mdio_sgmii; | ||
55 | emi2_xgmii = &hydra_mdio_xgmii; | ||
56 | }; | ||
57 | |||
44 | memory { | 58 | memory { |
45 | device_type = "memory"; | 59 | device_type = "memory"; |
46 | }; | 60 | }; |
@@ -150,6 +164,52 @@ | |||
150 | reg = <0x4c>; | 164 | reg = <0x4c>; |
151 | }; | 165 | }; |
152 | }; | 166 | }; |
167 | |||
168 | fman@400000 { | ||
169 | ethernet@e0000 { | ||
170 | phy-handle = <&phy_sgmii_1c>; | ||
171 | phy-connection-type = "sgmii"; | ||
172 | }; | ||
173 | |||
174 | ethernet@e2000 { | ||
175 | phy-handle = <&phy_sgmii_1d>; | ||
176 | phy-connection-type = "sgmii"; | ||
177 | }; | ||
178 | |||
179 | ethernet@e4000 { | ||
180 | phy-handle = <&phy_sgmii_1e>; | ||
181 | phy-connection-type = "sgmii"; | ||
182 | }; | ||
183 | |||
184 | ethernet@e6000 { | ||
185 | phy-handle = <&phy_sgmii_1f>; | ||
186 | phy-connection-type = "sgmii"; | ||
187 | }; | ||
188 | |||
189 | ethernet@e8000 { | ||
190 | phy-handle = <&phy_rgmii_1>; | ||
191 | phy-connection-type = "rgmii"; | ||
192 | }; | ||
193 | |||
194 | ethernet@f0000 { | ||
195 | phy-handle = <&phy_xgmii_1>; | ||
196 | phy-connection-type = "xgmii"; | ||
197 | }; | ||
198 | |||
199 | hydra_mdio_xgmii: mdio@f1000 { | ||
200 | status = "disabled"; | ||
201 | |||
202 | phy_xgmii_1: ethernet-phy@4 { | ||
203 | compatible = "ethernet-phy-ieee802.3-c45"; | ||
204 | reg = <0x4>; | ||
205 | }; | ||
206 | |||
207 | phy_xgmii_2: ethernet-phy@0 { | ||
208 | compatible = "ethernet-phy-ieee802.3-c45"; | ||
209 | reg = <0x0>; | ||
210 | }; | ||
211 | }; | ||
212 | }; | ||
153 | }; | 213 | }; |
154 | 214 | ||
155 | rio: rapidio@ffe0c0000 { | 215 | rio: rapidio@ffe0c0000 { |
@@ -215,8 +275,58 @@ | |||
215 | }; | 275 | }; |
216 | 276 | ||
217 | board-control@3,0 { | 277 | board-control@3,0 { |
278 | #address-cells = <1>; | ||
279 | #size-cells = <1>; | ||
218 | compatible = "fsl,p5020ds-fpga", "fsl,fpga-ngpixis"; | 280 | compatible = "fsl,p5020ds-fpga", "fsl,fpga-ngpixis"; |
219 | reg = <3 0 0x30>; | 281 | reg = <3 0 0x30>; |
282 | ranges = <0 3 0 0x30>; | ||
283 | |||
284 | mdio-mux-emi1 { | ||
285 | #address-cells = <1>; | ||
286 | #size-cells = <0>; | ||
287 | compatible = "mdio-mux-mmioreg", "mdio-mux"; | ||
288 | mdio-parent-bus = <&mdio0>; | ||
289 | reg = <9 1>; | ||
290 | mux-mask = <0x78>; | ||
291 | |||
292 | hydra_mdio_rgmii: rgmii-mdio@8 { | ||
293 | #address-cells = <1>; | ||
294 | #size-cells = <0>; | ||
295 | reg = <8>; | ||
296 | status = "disabled"; | ||
297 | |||
298 | phy_rgmii_0: ethernet-phy@0 { | ||
299 | reg = <0x0>; | ||
300 | }; | ||
301 | |||
302 | phy_rgmii_1: ethernet-phy@1 { | ||
303 | reg = <0x1>; | ||
304 | }; | ||
305 | }; | ||
306 | |||
307 | hydra_mdio_sgmii: sgmii-mdio@28 { | ||
308 | #address-cells = <1>; | ||
309 | #size-cells = <0>; | ||
310 | reg = <0x28>; | ||
311 | status = "disabled"; | ||
312 | |||
313 | phy_sgmii_1c: ethernet-phy@1c { | ||
314 | reg = <0x1c>; | ||
315 | }; | ||
316 | |||
317 | phy_sgmii_1d: ethernet-phy@1d { | ||
318 | reg = <0x1d>; | ||
319 | }; | ||
320 | |||
321 | phy_sgmii_1e: ethernet-phy@1e { | ||
322 | reg = <0x1e>; | ||
323 | }; | ||
324 | |||
325 | phy_sgmii_1f: ethernet-phy@1f { | ||
326 | reg = <0x1f>; | ||
327 | }; | ||
328 | }; | ||
329 | }; | ||
220 | }; | 330 | }; |
221 | }; | 331 | }; |
222 | 332 | ||
diff --git a/arch/powerpc/boot/dts/fsl/p5040ds.dts b/arch/powerpc/boot/dts/fsl/p5040ds.dts index e169cc297ea3..4f32adef02dc 100644 --- a/arch/powerpc/boot/dts/fsl/p5040ds.dts +++ b/arch/powerpc/boot/dts/fsl/p5040ds.dts | |||
@@ -1,7 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * P5040DS Device Tree Source | 2 | * P5040DS Device Tree Source |
3 | * | 3 | * |
4 | * Copyright 2012 - 2014 Freescale Semiconductor Inc. | 4 | * Copyright 2012 - 2015 Freescale Semiconductor Inc. |
5 | * | 5 | * |
6 | * Redistribution and use in source and binary forms, with or without | 6 | * Redistribution and use in source and binary forms, with or without |
7 | * modification, are permitted provided that the following conditions are met: | 7 | * modification, are permitted provided that the following conditions are met: |
@@ -41,6 +41,32 @@ | |||
41 | #size-cells = <2>; | 41 | #size-cells = <2>; |
42 | interrupt-parent = <&mpic>; | 42 | interrupt-parent = <&mpic>; |
43 | 43 | ||
44 | aliases{ | ||
45 | phy_sgmii_slot2_1c = &phy_sgmii_slot2_1c; | ||
46 | phy_sgmii_slot2_1d = &phy_sgmii_slot2_1d; | ||
47 | phy_sgmii_slot2_1e = &phy_sgmii_slot2_1e; | ||
48 | phy_sgmii_slot2_1f = &phy_sgmii_slot2_1f; | ||
49 | phy_sgmii_slot3_1c = &phy_sgmii_slot3_1c; | ||
50 | phy_sgmii_slot3_1d = &phy_sgmii_slot3_1d; | ||
51 | phy_sgmii_slot3_1e = &phy_sgmii_slot3_1e; | ||
52 | phy_sgmii_slot3_1f = &phy_sgmii_slot3_1f; | ||
53 | phy_sgmii_slot5_1c = &phy_sgmii_slot5_1c; | ||
54 | phy_sgmii_slot5_1d = &phy_sgmii_slot5_1d; | ||
55 | phy_sgmii_slot5_1e = &phy_sgmii_slot5_1e; | ||
56 | phy_sgmii_slot5_1f = &phy_sgmii_slot5_1f; | ||
57 | phy_sgmii_slot6_1c = &phy_sgmii_slot6_1c; | ||
58 | phy_sgmii_slot6_1d = &phy_sgmii_slot6_1d; | ||
59 | phy_sgmii_slot6_1e = &phy_sgmii_slot6_1e; | ||
60 | phy_sgmii_slot6_1f = &phy_sgmii_slot6_1f; | ||
61 | hydra_rg = &hydra_rg; | ||
62 | hydra_sg_slot2 = &hydra_sg_slot2; | ||
63 | hydra_sg_slot3 = &hydra_sg_slot3; | ||
64 | hydra_sg_slot5 = &hydra_sg_slot5; | ||
65 | hydra_sg_slot6 = &hydra_sg_slot6; | ||
66 | hydra_xg_slot1 = &hydra_xg_slot1; | ||
67 | hydra_xg_slot2 = &hydra_xg_slot2; | ||
68 | }; | ||
69 | |||
44 | memory { | 70 | memory { |
45 | device_type = "memory"; | 71 | device_type = "memory"; |
46 | }; | 72 | }; |
@@ -147,6 +173,62 @@ | |||
147 | reg = <0x4c>; | 173 | reg = <0x4c>; |
148 | }; | 174 | }; |
149 | }; | 175 | }; |
176 | |||
177 | fman@400000 { | ||
178 | ethernet@e0000 { | ||
179 | phy-connection-type = "sgmii"; | ||
180 | }; | ||
181 | |||
182 | ethernet@e2000 { | ||
183 | phy-connection-type = "sgmii"; | ||
184 | }; | ||
185 | |||
186 | ethernet@e4000 { | ||
187 | phy-connection-type = "sgmii"; | ||
188 | }; | ||
189 | |||
190 | ethernet@e6000 { | ||
191 | phy-connection-type = "sgmii"; | ||
192 | }; | ||
193 | |||
194 | ethernet@e8000 { | ||
195 | phy-handle = <&phy_rgmii_0>; | ||
196 | phy-connection-type = "rgmii"; | ||
197 | }; | ||
198 | |||
199 | ethernet@f0000 { | ||
200 | phy-handle = <&phy_xgmii_slot_2>; | ||
201 | phy-connection-type = "xgmii"; | ||
202 | }; | ||
203 | }; | ||
204 | |||
205 | fman@500000 { | ||
206 | ethernet@e0000 { | ||
207 | phy-connection-type = "sgmii"; | ||
208 | }; | ||
209 | |||
210 | ethernet@e2000 { | ||
211 | phy-connection-type = "sgmii"; | ||
212 | }; | ||
213 | |||
214 | ethernet@e4000 { | ||
215 | phy-connection-type = "sgmii"; | ||
216 | }; | ||
217 | |||
218 | ethernet@e6000 { | ||
219 | phy-connection-type = "sgmii"; | ||
220 | }; | ||
221 | |||
222 | ethernet@e8000 { | ||
223 | phy-handle = <&phy_rgmii_1>; | ||
224 | phy-connection-type = "rgmii"; | ||
225 | }; | ||
226 | |||
227 | ethernet@f0000 { | ||
228 | phy-handle = <&phy_xgmii_slot_1>; | ||
229 | phy-connection-type = "xgmii"; | ||
230 | }; | ||
231 | }; | ||
150 | }; | 232 | }; |
151 | 233 | ||
152 | lbc: localbus@ffe124000 { | 234 | lbc: localbus@ffe124000 { |
@@ -200,8 +282,158 @@ | |||
200 | }; | 282 | }; |
201 | 283 | ||
202 | board-control@3,0 { | 284 | board-control@3,0 { |
285 | #address-cells = <1>; | ||
286 | #size-cells = <1>; | ||
203 | compatible = "fsl,p5040ds-fpga", "fsl,fpga-ngpixis"; | 287 | compatible = "fsl,p5040ds-fpga", "fsl,fpga-ngpixis"; |
204 | reg = <3 0 0x40>; | 288 | reg = <3 0 0x40>; |
289 | ranges = <0 3 0 0x40>; | ||
290 | |||
291 | mdio-mux-emi1 { | ||
292 | #address-cells = <1>; | ||
293 | #size-cells = <0>; | ||
294 | compatible = "mdio-mux-mmioreg", "mdio-mux"; | ||
295 | mdio-parent-bus = <&mdio0>; | ||
296 | reg = <9 1>; | ||
297 | mux-mask = <0x78>; | ||
298 | |||
299 | hydra_rg:rgmii-mdio@8 { | ||
300 | #address-cells = <1>; | ||
301 | #size-cells = <0>; | ||
302 | reg = <8>; | ||
303 | status = "disabled"; | ||
304 | |||
305 | phy_rgmii_0: ethernet-phy@0 { | ||
306 | reg = <0x0>; | ||
307 | }; | ||
308 | |||
309 | phy_rgmii_1: ethernet-phy@1 { | ||
310 | reg = <0x1>; | ||
311 | }; | ||
312 | }; | ||
313 | |||
314 | hydra_sg_slot2: sgmii-mdio@28 { | ||
315 | #address-cells = <1>; | ||
316 | #size-cells = <0>; | ||
317 | reg = <0x28>; | ||
318 | status = "disabled"; | ||
319 | |||
320 | phy_sgmii_slot2_1c: ethernet-phy@1c { | ||
321 | reg = <0x1c>; | ||
322 | }; | ||
323 | |||
324 | phy_sgmii_slot2_1d: ethernet-phy@1d { | ||
325 | reg = <0x1d>; | ||
326 | }; | ||
327 | |||
328 | phy_sgmii_slot2_1e: ethernet-phy@1e { | ||
329 | reg = <0x1e>; | ||
330 | }; | ||
331 | |||
332 | phy_sgmii_slot2_1f: ethernet-phy@1f { | ||
333 | reg = <0x1f>; | ||
334 | }; | ||
335 | }; | ||
336 | |||
337 | hydra_sg_slot3: sgmii-mdio@68 { | ||
338 | #address-cells = <1>; | ||
339 | #size-cells = <0>; | ||
340 | reg = <0x68>; | ||
341 | status = "disabled"; | ||
342 | |||
343 | phy_sgmii_slot3_1c: ethernet-phy@1c { | ||
344 | reg = <0x1c>; | ||
345 | }; | ||
346 | |||
347 | phy_sgmii_slot3_1d: ethernet-phy@1d { | ||
348 | reg = <0x1d>; | ||
349 | }; | ||
350 | |||
351 | phy_sgmii_slot3_1e: ethernet-phy@1e { | ||
352 | reg = <0x1e>; | ||
353 | }; | ||
354 | |||
355 | phy_sgmii_slot3_1f: ethernet-phy@1f { | ||
356 | reg = <0x1f>; | ||
357 | }; | ||
358 | }; | ||
359 | |||
360 | hydra_sg_slot5: sgmii-mdio@38 { | ||
361 | #address-cells = <1>; | ||
362 | #size-cells = <0>; | ||
363 | reg = <0x38>; | ||
364 | status = "disabled"; | ||
365 | |||
366 | phy_sgmii_slot5_1c: ethernet-phy@1c { | ||
367 | reg = <0x1c>; | ||
368 | }; | ||
369 | |||
370 | phy_sgmii_slot5_1d: ethernet-phy@1d { | ||
371 | reg = <0x1d>; | ||
372 | }; | ||
373 | |||
374 | phy_sgmii_slot5_1e: ethernet-phy@1e { | ||
375 | reg = <0x1e>; | ||
376 | }; | ||
377 | |||
378 | phy_sgmii_slot5_1f: ethernet-phy@1f { | ||
379 | reg = <0x1f>; | ||
380 | }; | ||
381 | }; | ||
382 | hydra_sg_slot6: sgmii-mdio@48 { | ||
383 | #address-cells = <1>; | ||
384 | #size-cells = <0>; | ||
385 | reg = <0x48>; | ||
386 | status = "disabled"; | ||
387 | |||
388 | phy_sgmii_slot6_1c: ethernet-phy@1c { | ||
389 | reg = <0x1c>; | ||
390 | }; | ||
391 | |||
392 | phy_sgmii_slot6_1d: ethernet-phy@1d { | ||
393 | reg = <0x1d>; | ||
394 | }; | ||
395 | |||
396 | phy_sgmii_slot6_1e: ethernet-phy@1e { | ||
397 | reg = <0x1e>; | ||
398 | }; | ||
399 | |||
400 | phy_sgmii_slot6_1f: ethernet-phy@1f { | ||
401 | reg = <0x1f>; | ||
402 | }; | ||
403 | }; | ||
404 | }; | ||
405 | |||
406 | mdio-mux-emi2 { | ||
407 | #address-cells = <1>; | ||
408 | #size-cells = <0>; | ||
409 | compatible = "mdio-mux-mmioreg", "mdio-mux"; | ||
410 | mdio-parent-bus = <&xmdio0>; | ||
411 | reg = <9 1>; | ||
412 | mux-mask = <0x06>; | ||
413 | |||
414 | hydra_xg_slot1: hydra-xg-slot1@0 { | ||
415 | #address-cells = <1>; | ||
416 | #size-cells = <0>; | ||
417 | reg = <0>; | ||
418 | status = "disabled"; | ||
419 | |||
420 | phy_xgmii_slot_1: ethernet-phy@0 { | ||
421 | compatible = "ethernet-phy-ieee802.3-c45"; | ||
422 | reg = <4>; | ||
423 | }; | ||
424 | }; | ||
425 | |||
426 | hydra_xg_slot2: hydra-xg-slot2@2 { | ||
427 | #address-cells = <1>; | ||
428 | #size-cells = <0>; | ||
429 | reg = <2>; | ||
430 | |||
431 | phy_xgmii_slot_2: ethernet-phy@4 { | ||
432 | compatible = "ethernet-phy-ieee802.3-c45"; | ||
433 | reg = <0>; | ||
434 | }; | ||
435 | }; | ||
436 | }; | ||
205 | }; | 437 | }; |
206 | }; | 438 | }; |
207 | 439 | ||
diff --git a/arch/powerpc/boot/dts/fsl/t1023rdb.dts b/arch/powerpc/boot/dts/fsl/t1023rdb.dts index 6bd842beb1dc..9ac0eebb3c3e 100644 --- a/arch/powerpc/boot/dts/fsl/t1023rdb.dts +++ b/arch/powerpc/boot/dts/fsl/t1023rdb.dts | |||
@@ -111,6 +111,47 @@ | |||
111 | shunt-resistor = <1000>; | 111 | shunt-resistor = <1000>; |
112 | }; | 112 | }; |
113 | }; | 113 | }; |
114 | |||
115 | fman@400000 { | ||
116 | fm1mac1: ethernet@e0000 { | ||
117 | phy-handle = <&sgmii_rtk_phy2>; | ||
118 | phy-connection-type = "sgmii"; | ||
119 | sleep = <&rcpm 0x80000000>; | ||
120 | }; | ||
121 | |||
122 | fm1mac2: ethernet@e2000 { | ||
123 | sleep = <&rcpm 0x40000000>; | ||
124 | }; | ||
125 | |||
126 | fm1mac3: ethernet@e4000 { | ||
127 | phy-handle = <&sgmii_aqr_phy3>; | ||
128 | phy-connection-type = "sgmii-2500"; | ||
129 | sleep = <&rcpm 0x20000000>; | ||
130 | }; | ||
131 | |||
132 | fm1mac4: ethernet@e6000 { | ||
133 | phy-handle = <&rgmii_rtk_phy1>; | ||
134 | phy-connection-type = "rgmii"; | ||
135 | sleep = <&rcpm 0x10000000>; | ||
136 | }; | ||
137 | |||
138 | |||
139 | mdio0: mdio@fc000 { | ||
140 | rgmii_rtk_phy1: ethernet-phy@1 { | ||
141 | reg = <0x1>; | ||
142 | }; | ||
143 | sgmii_rtk_phy2: ethernet-phy@3 { | ||
144 | reg = <0x3>; | ||
145 | }; | ||
146 | }; | ||
147 | |||
148 | xmdio0: mdio@fd000 { | ||
149 | sgmii_aqr_phy3: ethernet-phy@2 { | ||
150 | compatible = "ethernet-phy-ieee802.3-c45"; | ||
151 | reg = <0x2>; | ||
152 | }; | ||
153 | }; | ||
154 | }; | ||
114 | }; | 155 | }; |
115 | 156 | ||
116 | pci0: pcie@ffe240000 { | 157 | pci0: pcie@ffe240000 { |
diff --git a/arch/powerpc/boot/dts/fsl/t1024rdb.dts b/arch/powerpc/boot/dts/fsl/t1024rdb.dts index 0ccc7d03335e..13c2190c2625 100644 --- a/arch/powerpc/boot/dts/fsl/t1024rdb.dts +++ b/arch/powerpc/boot/dts/fsl/t1024rdb.dts | |||
@@ -140,6 +140,51 @@ | |||
140 | #size-cells = <0>; | 140 | #size-cells = <0>; |
141 | }; | 141 | }; |
142 | }; | 142 | }; |
143 | |||
144 | fman@400000 { | ||
145 | fm1mac1: ethernet@e0000 { | ||
146 | phy-handle = <&xg_aqr105_phy3>; | ||
147 | phy-connection-type = "xgmii"; | ||
148 | sleep = <&rcpm 0x80000000>; | ||
149 | }; | ||
150 | |||
151 | fm1mac2: ethernet@e2000 { | ||
152 | sleep = <&rcpm 0x40000000>; | ||
153 | }; | ||
154 | |||
155 | fm1mac3: ethernet@e4000 { | ||
156 | phy-handle = <&rgmii_phy2>; | ||
157 | phy-connection-type = "rgmii"; | ||
158 | sleep = <&rcpm 0x20000000>; | ||
159 | }; | ||
160 | |||
161 | fm1mac4: ethernet@e6000 { | ||
162 | phy-handle = <&rgmii_phy1>; | ||
163 | phy-connection-type = "rgmii"; | ||
164 | sleep = <&rcpm 0x10000000>; | ||
165 | }; | ||
166 | |||
167 | |||
168 | mdio0: mdio@fc000 { | ||
169 | rgmii_phy1: ethernet-phy@2 { | ||
170 | reg = <0x2>; | ||
171 | }; | ||
172 | rgmii_phy2: ethernet-phy@6 { | ||
173 | reg = <0x6>; | ||
174 | }; | ||
175 | }; | ||
176 | |||
177 | xmdio0: mdio@fd000 { | ||
178 | xg_aqr105_phy3: ethernet-phy@1 { | ||
179 | compatible = "ethernet-phy-ieee802.3-c45"; | ||
180 | reg = <0x1>; | ||
181 | }; | ||
182 | sg_2500_aqr105_phy4: ethernet-phy@2 { | ||
183 | compatible = "ethernet-phy-ieee802.3-c45"; | ||
184 | reg = <0x2>; | ||
185 | }; | ||
186 | }; | ||
187 | }; | ||
143 | }; | 188 | }; |
144 | 189 | ||
145 | pci0: pcie@ffe240000 { | 190 | pci0: pcie@ffe240000 { |
diff --git a/arch/powerpc/boot/dts/fsl/t1040rdb.dts b/arch/powerpc/boot/dts/fsl/t1040rdb.dts index cf194154bbdc..621f2c6ee6ad 100644 --- a/arch/powerpc/boot/dts/fsl/t1040rdb.dts +++ b/arch/powerpc/boot/dts/fsl/t1040rdb.dts | |||
@@ -1,7 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * T1040RDB Device Tree Source | 2 | * T1040RDB Device Tree Source |
3 | * | 3 | * |
4 | * Copyright 2014 Freescale Semiconductor Inc. | 4 | * Copyright 2014 - 2015 Freescale Semiconductor Inc. |
5 | * | 5 | * |
6 | * Redistribution and use in source and binary forms, with or without | 6 | * Redistribution and use in source and binary forms, with or without |
7 | * modification, are permitted provided that the following conditions are met: | 7 | * modification, are permitted provided that the following conditions are met: |
@@ -38,6 +38,36 @@ | |||
38 | / { | 38 | / { |
39 | model = "fsl,T1040RDB"; | 39 | model = "fsl,T1040RDB"; |
40 | compatible = "fsl,T1040RDB"; | 40 | compatible = "fsl,T1040RDB"; |
41 | |||
42 | aliases { | ||
43 | phy_sgmii_2 = &phy_sgmii_2; | ||
44 | }; | ||
45 | |||
46 | soc@ffe000000 { | ||
47 | fman@400000 { | ||
48 | ethernet@e0000 { | ||
49 | fixed-link = <0 1 1000 0 0>; | ||
50 | phy-connection-type = "sgmii"; | ||
51 | }; | ||
52 | |||
53 | ethernet@e2000 { | ||
54 | fixed-link = <1 1 1000 0 0>; | ||
55 | phy-connection-type = "sgmii"; | ||
56 | }; | ||
57 | |||
58 | ethernet@e4000 { | ||
59 | phy-handle = <&phy_sgmii_2>; | ||
60 | phy-connection-type = "sgmii"; | ||
61 | }; | ||
62 | |||
63 | mdio@fc000 { | ||
64 | phy_sgmii_2: ethernet-phy@03 { | ||
65 | reg = <0x03>; | ||
66 | }; | ||
67 | }; | ||
68 | }; | ||
69 | }; | ||
70 | |||
41 | ifc: localbus@ffe124000 { | 71 | ifc: localbus@ffe124000 { |
42 | cpld@3,0 { | 72 | cpld@3,0 { |
43 | compatible = "fsl,t1040rdb-cpld"; | 73 | compatible = "fsl,t1040rdb-cpld"; |
diff --git a/arch/powerpc/boot/dts/fsl/t1042rdb.dts b/arch/powerpc/boot/dts/fsl/t1042rdb.dts index 8d908e795e4d..2c138627b1b4 100644 --- a/arch/powerpc/boot/dts/fsl/t1042rdb.dts +++ b/arch/powerpc/boot/dts/fsl/t1042rdb.dts | |||
@@ -1,7 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * T1042RDB Device Tree Source | 2 | * T1042RDB Device Tree Source |
3 | * | 3 | * |
4 | * Copyright 2014 Freescale Semiconductor Inc. | 4 | * Copyright 2014 - 2015 Freescale Semiconductor Inc. |
5 | * | 5 | * |
6 | * Redistribution and use in source and binary forms, with or without | 6 | * Redistribution and use in source and binary forms, with or without |
7 | * modification, are permitted provided that the following conditions are met: | 7 | * modification, are permitted provided that the following conditions are met: |
@@ -38,6 +38,34 @@ | |||
38 | / { | 38 | / { |
39 | model = "fsl,T1042RDB"; | 39 | model = "fsl,T1042RDB"; |
40 | compatible = "fsl,T1042RDB"; | 40 | compatible = "fsl,T1042RDB"; |
41 | |||
42 | aliases { | ||
43 | phy_sgmii_2 = &phy_sgmii_2; | ||
44 | }; | ||
45 | |||
46 | soc@ffe000000 { | ||
47 | fman@400000 { | ||
48 | ethernet@e0000 { | ||
49 | status = "disabled"; | ||
50 | }; | ||
51 | |||
52 | ethernet@e2000 { | ||
53 | status = "disabled"; | ||
54 | }; | ||
55 | |||
56 | ethernet@e4000 { | ||
57 | phy-handle = <&phy_sgmii_2>; | ||
58 | phy-connection-type = "sgmii"; | ||
59 | }; | ||
60 | |||
61 | mdio@fc000 { | ||
62 | phy_sgmii_2: ethernet-phy@03 { | ||
63 | reg = <0x03>; | ||
64 | }; | ||
65 | }; | ||
66 | }; | ||
67 | }; | ||
68 | |||
41 | ifc: localbus@ffe124000 { | 69 | ifc: localbus@ffe124000 { |
42 | cpld@3,0 { | 70 | cpld@3,0 { |
43 | compatible = "fsl,t1042rdb-cpld"; | 71 | compatible = "fsl,t1042rdb-cpld"; |
diff --git a/arch/powerpc/boot/dts/fsl/t1042rdb_pi.dts b/arch/powerpc/boot/dts/fsl/t1042rdb_pi.dts index 98c001019d6a..8ec3ff45e6fc 100644 --- a/arch/powerpc/boot/dts/fsl/t1042rdb_pi.dts +++ b/arch/powerpc/boot/dts/fsl/t1042rdb_pi.dts | |||
@@ -1,7 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * T1042RDB_PI Device Tree Source | 2 | * T1042RDB_PI Device Tree Source |
3 | * | 3 | * |
4 | * Copyright 2014 Freescale Semiconductor Inc. | 4 | * Copyright 2014 - 2015 Freescale Semiconductor Inc. |
5 | * | 5 | * |
6 | * Redistribution and use in source and binary forms, with or without | 6 | * Redistribution and use in source and binary forms, with or without |
7 | * modification, are permitted provided that the following conditions are met: | 7 | * modification, are permitted provided that the following conditions are met: |
@@ -38,11 +38,13 @@ | |||
38 | / { | 38 | / { |
39 | model = "fsl,T1042RDB_PI"; | 39 | model = "fsl,T1042RDB_PI"; |
40 | compatible = "fsl,T1042RDB_PI"; | 40 | compatible = "fsl,T1042RDB_PI"; |
41 | |||
41 | ifc: localbus@ffe124000 { | 42 | ifc: localbus@ffe124000 { |
42 | cpld@3,0 { | 43 | cpld@3,0 { |
43 | compatible = "fsl,t1042rdb_pi-cpld"; | 44 | compatible = "fsl,t1042rdb_pi-cpld"; |
44 | }; | 45 | }; |
45 | }; | 46 | }; |
47 | |||
46 | soc: soc@ffe000000 { | 48 | soc: soc@ffe000000 { |
47 | i2c@118000 { | 49 | i2c@118000 { |
48 | rtc@68 { | 50 | rtc@68 { |
@@ -51,6 +53,20 @@ | |||
51 | interrupts = <0x2 0x1 0 0>; | 53 | interrupts = <0x2 0x1 0 0>; |
52 | }; | 54 | }; |
53 | }; | 55 | }; |
56 | |||
57 | fman@400000 { | ||
58 | ethernet@e0000 { | ||
59 | status = "disabled"; | ||
60 | }; | ||
61 | |||
62 | ethernet@e2000 { | ||
63 | status = "disabled"; | ||
64 | }; | ||
65 | |||
66 | ethernet@e4000 { | ||
67 | status = "disabled"; | ||
68 | }; | ||
69 | }; | ||
54 | }; | 70 | }; |
55 | }; | 71 | }; |
56 | 72 | ||
diff --git a/arch/powerpc/boot/dts/fsl/t104xqds.dtsi b/arch/powerpc/boot/dts/fsl/t104xqds.dtsi index 1498d1e4aecf..a02715b85ee8 100644 --- a/arch/powerpc/boot/dts/fsl/t104xqds.dtsi +++ b/arch/powerpc/boot/dts/fsl/t104xqds.dtsi | |||
@@ -1,7 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * T104xQDS Device Tree Source | 2 | * T104xQDS Device Tree Source |
3 | * | 3 | * |
4 | * Copyright 2013 - 2014 Freescale Semiconductor Inc. | 4 | * Copyright 2013 - 2015 Freescale Semiconductor Inc. |
5 | * | 5 | * |
6 | * Redistribution and use in source and binary forms, with or without | 6 | * Redistribution and use in source and binary forms, with or without |
7 | * modification, are permitted provided that the following conditions are met: | 7 | * modification, are permitted provided that the following conditions are met: |
@@ -38,6 +38,33 @@ | |||
38 | #size-cells = <2>; | 38 | #size-cells = <2>; |
39 | interrupt-parent = <&mpic>; | 39 | interrupt-parent = <&mpic>; |
40 | 40 | ||
41 | aliases { | ||
42 | emi1_rgmii0 = &t1040mdio0; | ||
43 | emi1_rgmii1 = &t1040mdio1; | ||
44 | emi1_slot3 = &t1040mdio3; | ||
45 | emi1_slot5 = &t1040mdio5; | ||
46 | emi1_slot6 = &t1040mdio6; | ||
47 | emi1_slot7 = &t1040mdio7; | ||
48 | rgmii_phy1 = &rgmii_phy1; | ||
49 | rgmii_phy2 = &rgmii_phy2; | ||
50 | phy_s3_01 = &phy_s3_01; | ||
51 | phy_s3_02 = &phy_s3_02; | ||
52 | phy_s3_03 = &phy_s3_03; | ||
53 | phy_s3_04 = &phy_s3_04; | ||
54 | phy_s5_01 = &phy_s5_01; | ||
55 | phy_s5_02 = &phy_s5_02; | ||
56 | phy_s5_03 = &phy_s5_03; | ||
57 | phy_s5_04 = &phy_s5_04; | ||
58 | phy_s6_01 = &phy_s6_01; | ||
59 | phy_s6_02 = &phy_s6_02; | ||
60 | phy_s6_03 = &phy_s6_03; | ||
61 | phy_s6_04 = &phy_s6_04; | ||
62 | phy_s7_01 = &phy_s7_01; | ||
63 | phy_s7_02 = &phy_s7_02; | ||
64 | phy_s7_03 = &phy_s7_03; | ||
65 | phy_s7_04 = &phy_s7_04; | ||
66 | }; | ||
67 | |||
41 | reserved-memory { | 68 | reserved-memory { |
42 | #address-cells = <2>; | 69 | #address-cells = <2>; |
43 | #size-cells = <2>; | 70 | #size-cells = <2>; |
@@ -85,6 +112,128 @@ | |||
85 | #size-cells = <1>; | 112 | #size-cells = <1>; |
86 | compatible = "fsl,fpga-qixis"; | 113 | compatible = "fsl,fpga-qixis"; |
87 | reg = <3 0 0x300>; | 114 | reg = <3 0 0x300>; |
115 | ranges = <0 3 0 0x300>; | ||
116 | |||
117 | mdio-mux-emi1 { | ||
118 | #address-cells = <1>; | ||
119 | #size-cells = <0>; | ||
120 | compatible = "mdio-mux-mmioreg", "mdio-mux"; | ||
121 | mdio-parent-bus = <&mdio0>; | ||
122 | reg = <0x54 1>; | ||
123 | mux-mask = <0xe0>; | ||
124 | |||
125 | t1040mdio0: mdio@0 { | ||
126 | #address-cells = <1>; | ||
127 | #size-cells = <0>; | ||
128 | reg = <0x00>; | ||
129 | status = "disabled"; | ||
130 | |||
131 | rgmii_phy1: ethernet-phy@1 { | ||
132 | reg = <0x1>; | ||
133 | }; | ||
134 | }; | ||
135 | |||
136 | t1040mdio1: mdio@20 { | ||
137 | #address-cells = <1>; | ||
138 | #size-cells = <0>; | ||
139 | reg = <0x20>; | ||
140 | status = "disabled"; | ||
141 | |||
142 | rgmii_phy2: ethernet-phy@2 { | ||
143 | reg = <0x2>; | ||
144 | }; | ||
145 | }; | ||
146 | |||
147 | t1040mdio3: mdio@60 { | ||
148 | #address-cells = <1>; | ||
149 | #size-cells = <0>; | ||
150 | reg = <0x60>; | ||
151 | status = "disabled"; | ||
152 | |||
153 | phy_s3_01: ethernet-phy@1c { | ||
154 | reg = <0x1c>; | ||
155 | }; | ||
156 | |||
157 | phy_s3_02: ethernet-phy@1d { | ||
158 | reg = <0x1d>; | ||
159 | }; | ||
160 | |||
161 | phy_s3_03: ethernet-phy@1e { | ||
162 | reg = <0x1e>; | ||
163 | }; | ||
164 | |||
165 | phy_s3_04: ethernet-phy@1f { | ||
166 | reg = <0x1f>; | ||
167 | }; | ||
168 | }; | ||
169 | |||
170 | t1040mdio5: mdio@a0 { | ||
171 | #address-cells = <1>; | ||
172 | #size-cells = <0>; | ||
173 | reg = <0xa0>; | ||
174 | |||
175 | phy_s5_01: ethernet-phy@1c { | ||
176 | reg = <0x14>; | ||
177 | }; | ||
178 | |||
179 | phy_s5_02: ethernet-phy@1d { | ||
180 | reg = <0x15>; | ||
181 | }; | ||
182 | |||
183 | phy_s5_03: ethernet-phy@1e { | ||
184 | reg = <0x16>; | ||
185 | }; | ||
186 | |||
187 | phy_s5_04: ethernet-phy@1f { | ||
188 | reg = <0x17>; | ||
189 | }; | ||
190 | }; | ||
191 | |||
192 | t1040mdio6: mdio@c0 { | ||
193 | #address-cells = <1>; | ||
194 | #size-cells = <0>; | ||
195 | reg = <0xc0>; | ||
196 | |||
197 | phy_s6_01: ethernet-phy@1c { | ||
198 | reg = <0x18>; | ||
199 | }; | ||
200 | |||
201 | phy_s6_02: ethernet-phy@1d { | ||
202 | reg = <0x19>; | ||
203 | }; | ||
204 | |||
205 | phy_s6_03: ethernet-phy@1e { | ||
206 | reg = <0x1a>; | ||
207 | }; | ||
208 | |||
209 | phy_s6_04: ethernet-phy@1f { | ||
210 | reg = <0x1b>; | ||
211 | }; | ||
212 | }; | ||
213 | |||
214 | t1040mdio7: mdio@e0 { | ||
215 | #address-cells = <1>; | ||
216 | #size-cells = <0>; | ||
217 | reg = <0xe0>; | ||
218 | status = "disabled"; | ||
219 | |||
220 | phy_s7_01: ethernet-phy@1c { | ||
221 | reg = <0x1c>; | ||
222 | }; | ||
223 | |||
224 | phy_s7_02: ethernet-phy@1d { | ||
225 | reg = <0x1d>; | ||
226 | }; | ||
227 | |||
228 | phy_s7_03: ethernet-phy@1e { | ||
229 | reg = <0x1e>; | ||
230 | }; | ||
231 | |||
232 | phy_s7_04: ethernet-phy@1f { | ||
233 | reg = <0x1f>; | ||
234 | }; | ||
235 | }; | ||
236 | }; | ||
88 | }; | 237 | }; |
89 | }; | 238 | }; |
90 | 239 | ||
@@ -129,6 +278,33 @@ | |||
129 | interrupts = <0x1 0x1 0 0>; | 278 | interrupts = <0x1 0x1 0 0>; |
130 | }; | 279 | }; |
131 | }; | 280 | }; |
281 | |||
282 | fman@400000 { | ||
283 | ethernet@e0000 { | ||
284 | fixed-link = <0 1 1000 0 0>; | ||
285 | phy-connection-type = "sgmii"; | ||
286 | }; | ||
287 | |||
288 | ethernet@e2000 { | ||
289 | fixed-link = <1 1 1000 0 0>; | ||
290 | phy-connection-type = "sgmii"; | ||
291 | }; | ||
292 | |||
293 | ethernet@e4000 { | ||
294 | phy-handle = <&phy_s7_03>; | ||
295 | phy-connection-type = "sgmii"; | ||
296 | }; | ||
297 | |||
298 | ethernet@e6000 { | ||
299 | phy-handle = <&rgmii_phy1>; | ||
300 | phy-connection-type = "rgmii"; | ||
301 | }; | ||
302 | |||
303 | ethernet@e8000 { | ||
304 | phy-handle = <&rgmii_phy2>; | ||
305 | phy-connection-type = "rgmii"; | ||
306 | }; | ||
307 | }; | ||
132 | }; | 308 | }; |
133 | 309 | ||
134 | pci0: pcie@ffe240000 { | 310 | pci0: pcie@ffe240000 { |
diff --git a/arch/powerpc/boot/dts/fsl/t104xrdb.dtsi b/arch/powerpc/boot/dts/fsl/t104xrdb.dtsi index 830ea484295b..521a50b7ddd9 100644 --- a/arch/powerpc/boot/dts/fsl/t104xrdb.dtsi +++ b/arch/powerpc/boot/dts/fsl/t104xrdb.dtsi | |||
@@ -1,7 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * T1040RDB/T1042RDB Device Tree Source | 2 | * T1040RDB/T1042RDB Device Tree Source |
3 | * | 3 | * |
4 | * Copyright 2014 Freescale Semiconductor Inc. | 4 | * Copyright 2014 - 2015 Freescale Semiconductor Inc. |
5 | * | 5 | * |
6 | * Redistribution and use in source and binary forms, with or without | 6 | * Redistribution and use in source and binary forms, with or without |
7 | * modification, are permitted provided that the following conditions are met: | 7 | * modification, are permitted provided that the following conditions are met: |
@@ -33,6 +33,12 @@ | |||
33 | */ | 33 | */ |
34 | 34 | ||
35 | / { | 35 | / { |
36 | aliases { | ||
37 | phy_rgmii_0 = &phy_rgmii_0; | ||
38 | phy_rgmii_1 = &phy_rgmii_1; | ||
39 | phy_sgmii_2 = &phy_sgmii_2; | ||
40 | }; | ||
41 | |||
36 | reserved-memory { | 42 | reserved-memory { |
37 | #address-cells = <2>; | 43 | #address-cells = <2>; |
38 | #size-cells = <2>; | 44 | #size-cells = <2>; |
@@ -125,6 +131,31 @@ | |||
125 | }; | 131 | }; |
126 | }; | 132 | }; |
127 | 133 | ||
134 | fman@400000 { | ||
135 | ethernet@e6000 { | ||
136 | phy-handle = <&phy_rgmii_0>; | ||
137 | phy-connection-type = "rgmii"; | ||
138 | }; | ||
139 | |||
140 | ethernet@e8000 { | ||
141 | phy-handle = <&phy_rgmii_1>; | ||
142 | phy-connection-type = "rgmii"; | ||
143 | }; | ||
144 | |||
145 | mdio0: mdio@fc000 { | ||
146 | phy_sgmii_2: ethernet-phy@03 { | ||
147 | reg = <0x03>; | ||
148 | }; | ||
149 | |||
150 | phy_rgmii_0: ethernet-phy@01 { | ||
151 | reg = <0x01>; | ||
152 | }; | ||
153 | |||
154 | phy_rgmii_1: ethernet-phy@02 { | ||
155 | reg = <0x02>; | ||
156 | }; | ||
157 | }; | ||
158 | }; | ||
128 | }; | 159 | }; |
129 | 160 | ||
130 | pci0: pcie@ffe240000 { | 161 | pci0: pcie@ffe240000 { |
diff --git a/arch/powerpc/boot/dts/fsl/t2080qds.dts b/arch/powerpc/boot/dts/fsl/t2080qds.dts index 9c8e10fe04cb..8d190e8c62ce 100644 --- a/arch/powerpc/boot/dts/fsl/t2080qds.dts +++ b/arch/powerpc/boot/dts/fsl/t2080qds.dts | |||
@@ -1,7 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * T2080QDS Device Tree Source | 2 | * T2080QDS Device Tree Source |
3 | * | 3 | * |
4 | * Copyright 2013 Freescale Semiconductor Inc. | 4 | * Copyright 2013 - 2015 Freescale Semiconductor Inc. |
5 | * | 5 | * |
6 | * Redistribution and use in source and binary forms, with or without | 6 | * Redistribution and use in source and binary forms, with or without |
7 | * modification, are permitted provided that the following conditions are met: | 7 | * modification, are permitted provided that the following conditions are met: |
@@ -42,6 +42,12 @@ | |||
42 | #size-cells = <2>; | 42 | #size-cells = <2>; |
43 | interrupt-parent = <&mpic>; | 43 | interrupt-parent = <&mpic>; |
44 | 44 | ||
45 | aliases { | ||
46 | emi1_slot1 = &t2080mdio2; | ||
47 | emi1_slot2 = &t2080mdio3; | ||
48 | emi1_slot3 = &t2080mdio4; | ||
49 | }; | ||
50 | |||
45 | rio: rapidio@ffe0c0000 { | 51 | rio: rapidio@ffe0c0000 { |
46 | reg = <0xf 0xfe0c0000 0 0x11000>; | 52 | reg = <0xf 0xfe0c0000 0 0x11000>; |
47 | 53 | ||
@@ -54,4 +60,154 @@ | |||
54 | }; | 60 | }; |
55 | }; | 61 | }; |
56 | 62 | ||
63 | &soc { | ||
64 | fman@400000 { | ||
65 | ethernet@e0000 { | ||
66 | phy-handle = <&phy_sgmii_s3_1e>; | ||
67 | phy-connection-type = "xgmii"; | ||
68 | }; | ||
69 | |||
70 | ethernet@e2000 { | ||
71 | phy-handle = <&phy_sgmii_s3_1f>; | ||
72 | phy-connection-type = "xgmii"; | ||
73 | }; | ||
74 | |||
75 | ethernet@e4000 { | ||
76 | phy-handle = <&rgmii_phy1>; | ||
77 | phy-connection-type = "rgmii"; | ||
78 | }; | ||
79 | |||
80 | ethernet@e6000 { | ||
81 | phy-handle = <&rgmii_phy2>; | ||
82 | phy-connection-type = "rgmii"; | ||
83 | }; | ||
84 | |||
85 | ethernet@e8000 { | ||
86 | phy-handle = <&phy_sgmii_s2_1e>; | ||
87 | phy-connection-type = "sgmii"; | ||
88 | }; | ||
89 | |||
90 | ethernet@ea000 { | ||
91 | phy-handle = <&phy_sgmii_s2_1d>; | ||
92 | phy-connection-type = "sgmii"; | ||
93 | }; | ||
94 | |||
95 | ethernet@f0000 { | ||
96 | phy-handle = <&phy_xaui_slot3>; | ||
97 | phy-connection-type = "xgmii"; | ||
98 | }; | ||
99 | |||
100 | ethernet@f2000 { | ||
101 | phy-handle = <&phy_sgmii_s3_1f>; | ||
102 | phy-connection-type = "xgmii"; | ||
103 | }; | ||
104 | |||
105 | mdio@fd000 { | ||
106 | phy_xaui_slot3: ethernet-phy@3 { | ||
107 | compatible = "ethernet-phy-ieee802.3-c45"; | ||
108 | reg = <0x3>; | ||
109 | }; | ||
110 | }; | ||
111 | }; | ||
112 | }; | ||
113 | |||
114 | &boardctrl { | ||
115 | mdio-mux-emi1 { | ||
116 | compatible = "mdio-mux-mmioreg", "mdio-mux"; | ||
117 | mdio-parent-bus = <&mdio0>; | ||
118 | #address-cells = <1>; | ||
119 | #size-cells = <0>; | ||
120 | reg = <0x54 1>; | ||
121 | mux-mask = <0xe0>; | ||
122 | |||
123 | t2080mdio0: mdio@0 { | ||
124 | #address-cells = <1>; | ||
125 | #size-cells = <0>; | ||
126 | reg = <0>; | ||
127 | |||
128 | rgmii_phy1: ethernet-phy@1 { | ||
129 | reg = <0x1>; | ||
130 | }; | ||
131 | }; | ||
132 | |||
133 | t2080mdio1: mdio@20 { | ||
134 | #address-cells = <1>; | ||
135 | #size-cells = <0>; | ||
136 | reg = <0x20>; | ||
137 | |||
138 | rgmii_phy2: ethernet-phy@2 { | ||
139 | reg = <0x2>; | ||
140 | }; | ||
141 | }; | ||
142 | |||
143 | t2080mdio2: mdio@40 { | ||
144 | #address-cells = <1>; | ||
145 | #size-cells = <0>; | ||
146 | reg = <0x40>; | ||
147 | status = "disabled"; | ||
148 | |||
149 | phy_sgmii_s1_1c: ethernet-phy@1c { | ||
150 | reg = <0x1c>; | ||
151 | }; | ||
152 | |||
153 | phy_sgmii_s1_1d: ethernet-phy@1d { | ||
154 | reg = <0x1d>; | ||
155 | }; | ||
156 | |||
157 | phy_sgmii_s1_1e: ethernet-phy@1e { | ||
158 | reg = <0x1e>; | ||
159 | }; | ||
160 | |||
161 | phy_sgmii_s1_1f: ethernet-phy@1f { | ||
162 | reg = <0x1f>; | ||
163 | }; | ||
164 | }; | ||
165 | |||
166 | t2080mdio3: mdio@c0 { | ||
167 | #address-cells = <1>; | ||
168 | #size-cells = <0>; | ||
169 | reg = <0xc0>; | ||
170 | |||
171 | phy_sgmii_s2_1c: ethernet-phy@1c { | ||
172 | reg = <0x1c>; | ||
173 | }; | ||
174 | |||
175 | phy_sgmii_s2_1d: ethernet-phy@1d { | ||
176 | reg = <0x1d>; | ||
177 | }; | ||
178 | |||
179 | phy_sgmii_s2_1e: ethernet-phy@1e { | ||
180 | reg = <0x1e>; | ||
181 | }; | ||
182 | |||
183 | phy_sgmii_s2_1f: ethernet-phy@1f { | ||
184 | reg = <0x1f>; | ||
185 | }; | ||
186 | }; | ||
187 | |||
188 | t2080mdio4: mdio@60 { | ||
189 | #address-cells = <1>; | ||
190 | #size-cells = <0>; | ||
191 | reg = <0x60>; | ||
192 | status = "disabled"; | ||
193 | |||
194 | phy_sgmii_s3_1c: ethernet-phy@1c { | ||
195 | reg = <0x1c>; | ||
196 | }; | ||
197 | |||
198 | phy_sgmii_s3_1d: ethernet-phy@1d { | ||
199 | reg = <0x1d>; | ||
200 | }; | ||
201 | |||
202 | phy_sgmii_s3_1e: ethernet-phy@1e { | ||
203 | reg = <0x1e>; | ||
204 | }; | ||
205 | |||
206 | phy_sgmii_s3_1f: ethernet-phy@1f { | ||
207 | reg = <0x1f>; | ||
208 | }; | ||
209 | }; | ||
210 | }; | ||
211 | }; | ||
212 | |||
57 | /include/ "t2080si-post.dtsi" | 213 | /include/ "t2080si-post.dtsi" |
diff --git a/arch/powerpc/boot/dts/fsl/t2080rdb.dts b/arch/powerpc/boot/dts/fsl/t2080rdb.dts index 33205bf08919..836e4c965b22 100644 --- a/arch/powerpc/boot/dts/fsl/t2080rdb.dts +++ b/arch/powerpc/boot/dts/fsl/t2080rdb.dts | |||
@@ -1,7 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * T2080PCIe-RDB Board Device Tree Source | 2 | * T2080PCIe-RDB Board Device Tree Source |
3 | * | 3 | * |
4 | * Copyright 2014 Freescale Semiconductor Inc. | 4 | * Copyright 2014 - 2015 Freescale Semiconductor Inc. |
5 | * | 5 | * |
6 | * Redistribution and use in source and binary forms, with or without | 6 | * Redistribution and use in source and binary forms, with or without |
7 | * modification, are permitted provided that the following conditions are met: | 7 | * modification, are permitted provided that the following conditions are met: |
@@ -54,4 +54,69 @@ | |||
54 | }; | 54 | }; |
55 | }; | 55 | }; |
56 | 56 | ||
57 | &soc { | ||
58 | fman@400000 { | ||
59 | ethernet@e0000 { | ||
60 | phy-handle = <&xg_aq1202_phy3>; | ||
61 | phy-connection-type = "xgmii"; | ||
62 | }; | ||
63 | |||
64 | ethernet@e2000 { | ||
65 | phy-handle = <&xg_aq1202_phy4>; | ||
66 | phy-connection-type = "xgmii"; | ||
67 | }; | ||
68 | |||
69 | ethernet@e4000 { | ||
70 | phy-handle = <&rgmii_phy1>; | ||
71 | phy-connection-type = "rgmii"; | ||
72 | }; | ||
73 | |||
74 | ethernet@e6000 { | ||
75 | phy-handle = <&rgmii_phy2>; | ||
76 | phy-connection-type = "rgmii"; | ||
77 | }; | ||
78 | |||
79 | ethernet@f0000 { | ||
80 | phy-handle = <&xg_cs4315_phy1>; | ||
81 | phy-connection-type = "xgmii"; | ||
82 | }; | ||
83 | |||
84 | ethernet@f2000 { | ||
85 | phy-handle = <&xg_cs4315_phy2>; | ||
86 | phy-connection-type = "xgmii"; | ||
87 | }; | ||
88 | |||
89 | mdio@fc000 { | ||
90 | rgmii_phy1: ethernet-phy@1 { | ||
91 | reg = <0x1>; | ||
92 | }; | ||
93 | rgmii_phy2: ethernet-phy@2 { | ||
94 | reg = <0x2>; | ||
95 | }; | ||
96 | }; | ||
97 | |||
98 | mdio@fd000 { | ||
99 | xg_cs4315_phy1: ethernet-phy@c { | ||
100 | compatible = "ethernet-phy-ieee802.3-c45"; | ||
101 | reg = <0xc>; | ||
102 | }; | ||
103 | |||
104 | xg_cs4315_phy2: ethernet-phy@d { | ||
105 | compatible = "ethernet-phy-ieee802.3-c45"; | ||
106 | reg = <0xd>; | ||
107 | }; | ||
108 | |||
109 | xg_aq1202_phy3: ethernet-phy@0 { | ||
110 | compatible = "ethernet-phy-ieee802.3-c45"; | ||
111 | reg = <0x0>; | ||
112 | }; | ||
113 | |||
114 | xg_aq1202_phy4: ethernet-phy@1 { | ||
115 | compatible = "ethernet-phy-ieee802.3-c45"; | ||
116 | reg = <0x1>; | ||
117 | }; | ||
118 | }; | ||
119 | }; | ||
120 | }; | ||
121 | |||
57 | /include/ "t2080si-post.dtsi" | 122 | /include/ "t2080si-post.dtsi" |
diff --git a/arch/powerpc/boot/dts/fsl/t2081qds.dts b/arch/powerpc/boot/dts/fsl/t2081qds.dts index b81213596dbf..fc5c4a30f7ad 100644 --- a/arch/powerpc/boot/dts/fsl/t2081qds.dts +++ b/arch/powerpc/boot/dts/fsl/t2081qds.dts | |||
@@ -1,7 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * T2081QDS Device Tree Source | 2 | * T2081QDS Device Tree Source |
3 | * | 3 | * |
4 | * Copyright 2013 Freescale Semiconductor Inc. | 4 | * Copyright 2013 - 2015 Freescale Semiconductor Inc. |
5 | * | 5 | * |
6 | * Redistribution and use in source and binary forms, with or without | 6 | * Redistribution and use in source and binary forms, with or without |
7 | * modification, are permitted provided that the following conditions are met: | 7 | * modification, are permitted provided that the following conditions are met: |
@@ -41,6 +41,225 @@ | |||
41 | #address-cells = <2>; | 41 | #address-cells = <2>; |
42 | #size-cells = <2>; | 42 | #size-cells = <2>; |
43 | interrupt-parent = <&mpic>; | 43 | interrupt-parent = <&mpic>; |
44 | |||
45 | aliases { | ||
46 | emi1_slot1 = &t2081mdio2; | ||
47 | emi1_slot2 = &t2081mdio3; | ||
48 | emi1_slot3 = &t2081mdio4; | ||
49 | emi1_slot5 = &t2081mdio5; | ||
50 | emi1_slot6 = &t2081mdio6; | ||
51 | emi1_slot7 = &t2081mdio7; | ||
52 | }; | ||
53 | }; | ||
54 | |||
55 | &soc { | ||
56 | fman@400000 { | ||
57 | ethernet@e0000 { | ||
58 | phy-handle = <&phy_sgmii_s7_1c>; | ||
59 | phy-connection-type = "sgmii"; | ||
60 | }; | ||
61 | |||
62 | ethernet@e2000 { | ||
63 | phy-handle = <&phy_sgmii_s7_1d>; | ||
64 | phy-connection-type = "sgmii"; | ||
65 | }; | ||
66 | |||
67 | ethernet@e4000 { | ||
68 | phy-handle = <&rgmii_phy1>; | ||
69 | phy-connection-type = "rgmii"; | ||
70 | }; | ||
71 | |||
72 | ethernet@e6000 { | ||
73 | phy-handle = <&rgmii_phy2>; | ||
74 | phy-connection-type = "rgmii"; | ||
75 | }; | ||
76 | |||
77 | ethernet@e8000 { | ||
78 | phy-handle = <&phy_sgmii_s3_1c>; | ||
79 | phy-connection-type = "sgmii"; | ||
80 | }; | ||
81 | |||
82 | ethernet@ea000 { | ||
83 | phy-handle = <&phy_sgmii_s7_1f>; | ||
84 | phy-connection-type = "sgmii"; | ||
85 | }; | ||
86 | |||
87 | ethernet@f0000 { | ||
88 | phy-handle = <&phy_sgmii_s2_1c>; | ||
89 | phy-connection-type = "xgmii"; | ||
90 | }; | ||
91 | |||
92 | ethernet@f2000 { | ||
93 | phy-handle = <&phy_sgmii_s7_1e>; | ||
94 | phy-connection-type = "xgmii"; | ||
95 | }; | ||
96 | }; | ||
97 | }; | ||
98 | |||
99 | &boardctrl { | ||
100 | mdio-mux-emi1 { | ||
101 | compatible = "mdio-mux-mmioreg", "mdio-mux"; | ||
102 | mdio-parent-bus = <&mdio0>; | ||
103 | #address-cells = <1>; | ||
104 | #size-cells = <0>; | ||
105 | reg = <0x54 1>; | ||
106 | mux-mask = <0xe0>; | ||
107 | |||
108 | t2081mdio0: mdio@0 { | ||
109 | #address-cells = <1>; | ||
110 | #size-cells = <0>; | ||
111 | reg = <0>; | ||
112 | |||
113 | rgmii_phy1: ethernet-phy@1 { | ||
114 | reg = <0x1>; | ||
115 | }; | ||
116 | }; | ||
117 | |||
118 | t2081mdio1: mdio@20 { | ||
119 | #address-cells = <1>; | ||
120 | #size-cells = <0>; | ||
121 | reg = <0x20>; | ||
122 | |||
123 | rgmii_phy2: ethernet-phy@2 { | ||
124 | reg = <0x2>; | ||
125 | }; | ||
126 | }; | ||
127 | |||
128 | t2081mdio2: mdio@40 { | ||
129 | #address-cells = <1>; | ||
130 | #size-cells = <0>; | ||
131 | reg = <0x40>; | ||
132 | |||
133 | phy_sgmii_s1_1c: ethernet-phy@1c { | ||
134 | reg = <0x1c>; | ||
135 | }; | ||
136 | |||
137 | phy_sgmii_s1_1d: ethernet-phy@1d { | ||
138 | reg = <0x1d>; | ||
139 | }; | ||
140 | |||
141 | phy_sgmii_s1_1e: ethernet-phy@1e { | ||
142 | reg = <0x1e>; | ||
143 | }; | ||
144 | |||
145 | phy_sgmii_s1_1f: ethernet-phy@1f { | ||
146 | reg = <0x1f>; | ||
147 | }; | ||
148 | }; | ||
149 | |||
150 | t2081mdio3: mdio@60 { | ||
151 | #address-cells = <1>; | ||
152 | #size-cells = <0>; | ||
153 | reg = <0x60>; | ||
154 | |||
155 | phy_sgmii_s2_1c: ethernet-phy@1c { | ||
156 | reg = <0x1c>; | ||
157 | }; | ||
158 | |||
159 | phy_sgmii_s2_1d: ethernet-phy@1d { | ||
160 | reg = <0x1d>; | ||
161 | }; | ||
162 | |||
163 | phy_sgmii_s2_1e: ethernet-phy@1e { | ||
164 | reg = <0x1e>; | ||
165 | }; | ||
166 | |||
167 | phy_sgmii_s2_1f: ethernet-phy@1f { | ||
168 | reg = <0x1f>; | ||
169 | }; | ||
170 | }; | ||
171 | |||
172 | t2081mdio4: mdio@80 { | ||
173 | #address-cells = <1>; | ||
174 | #size-cells = <0>; | ||
175 | reg = <0x80>; | ||
176 | status = "disabled"; | ||
177 | |||
178 | phy_sgmii_s3_1c: ethernet-phy@1c { | ||
179 | reg = <0x1c>; | ||
180 | }; | ||
181 | |||
182 | phy_sgmii_s3_1d: ethernet-phy@1d { | ||
183 | reg = <0x1d>; | ||
184 | }; | ||
185 | |||
186 | phy_sgmii_s3_1e: ethernet-phy@1e { | ||
187 | reg = <0x1e>; | ||
188 | }; | ||
189 | |||
190 | phy_sgmii_s3_1f: ethernet-phy@1f { | ||
191 | reg = <0x1f>; | ||
192 | }; | ||
193 | }; | ||
194 | |||
195 | t2081mdio5: mdio@a0 { | ||
196 | #address-cells = <1>; | ||
197 | #size-cells = <0>; | ||
198 | reg = <0xa0>; | ||
199 | status = "disabled"; | ||
200 | |||
201 | phy_sgmii_s5_1c: ethernet-phy@1c { | ||
202 | reg = <0x1c>; | ||
203 | }; | ||
204 | |||
205 | phy_sgmii_s5_1d: ethernet-phy@1d { | ||
206 | reg = <0x1d>; | ||
207 | }; | ||
208 | |||
209 | phy_sgmii_s5_1e: ethernet-phy@1e { | ||
210 | reg = <0x1e>; | ||
211 | }; | ||
212 | |||
213 | phy_sgmii_s5_1f: ethernet-phy@1f { | ||
214 | reg = <0x1f>; | ||
215 | }; | ||
216 | }; | ||
217 | |||
218 | t2081mdio6: mdio@c0 { | ||
219 | #address-cells = <1>; | ||
220 | #size-cells = <0>; | ||
221 | reg = <0xc0>; | ||
222 | status = "disabled"; | ||
223 | |||
224 | phy_sgmii_s6_1c: ethernet-phy@1c { | ||
225 | reg = <0x1c>; | ||
226 | }; | ||
227 | |||
228 | phy_sgmii_s6_1d: ethernet-phy@1d { | ||
229 | reg = <0x1d>; | ||
230 | }; | ||
231 | |||
232 | phy_sgmii_s6_1e: ethernet-phy@1e { | ||
233 | reg = <0x1e>; | ||
234 | }; | ||
235 | |||
236 | phy_sgmii_s6_1f: ethernet-phy@1f { | ||
237 | reg = <0x1f>; | ||
238 | }; | ||
239 | }; | ||
240 | |||
241 | t2081mdio7: mdio@e0 { | ||
242 | #address-cells = <1>; | ||
243 | #size-cells = <0>; | ||
244 | reg = <0xe0>; | ||
245 | |||
246 | phy_sgmii_s7_1c: ethernet-phy@1c { | ||
247 | reg = <0x1c>; | ||
248 | }; | ||
249 | |||
250 | phy_sgmii_s7_1d: ethernet-phy@1d { | ||
251 | reg = <0x1d>; | ||
252 | }; | ||
253 | |||
254 | phy_sgmii_s7_1e: ethernet-phy@1e { | ||
255 | reg = <0x1e>; | ||
256 | }; | ||
257 | |||
258 | phy_sgmii_s7_1f: ethernet-phy@1f { | ||
259 | reg = <0x1f>; | ||
260 | }; | ||
261 | }; | ||
262 | }; | ||
44 | }; | 263 | }; |
45 | 264 | ||
46 | /include/ "t2081si-post.dtsi" | 265 | /include/ "t2081si-post.dtsi" |
diff --git a/arch/powerpc/boot/dts/fsl/t4240qds.dts b/arch/powerpc/boot/dts/fsl/t4240qds.dts index c067a6533809..22aecd738b04 100644 --- a/arch/powerpc/boot/dts/fsl/t4240qds.dts +++ b/arch/powerpc/boot/dts/fsl/t4240qds.dts | |||
@@ -1,7 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * T4240QDS Device Tree Source | 2 | * T4240QDS Device Tree Source |
3 | * | 3 | * |
4 | * Copyright 2012 - 2014 Freescale Semiconductor Inc. | 4 | * Copyright 2012 - 2015 Freescale Semiconductor Inc. |
5 | * | 5 | * |
6 | * Redistribution and use in source and binary forms, with or without | 6 | * Redistribution and use in source and binary forms, with or without |
7 | * modification, are permitted provided that the following conditions are met: | 7 | * modification, are permitted provided that the following conditions are met: |
@@ -41,6 +41,44 @@ | |||
41 | #size-cells = <2>; | 41 | #size-cells = <2>; |
42 | interrupt-parent = <&mpic>; | 42 | interrupt-parent = <&mpic>; |
43 | 43 | ||
44 | aliases{ | ||
45 | phy_rgmii1 = &phyrgmii1; | ||
46 | phy_rgmii2 = &phyrgmii2; | ||
47 | phy_sgmii3 = &phy3; | ||
48 | phy_sgmii4 = &phy4; | ||
49 | phy_sgmii11 = &phy11; | ||
50 | phy_sgmii12 = &phy12; | ||
51 | sgmii_phy11 = &sgmiiphy11; | ||
52 | sgmii_phy12 = &sgmiiphy12; | ||
53 | sgmii_phy13 = &sgmiiphy13; | ||
54 | sgmii_phy14 = &sgmiiphy14; | ||
55 | sgmii_phy21 = &sgmiiphy21; | ||
56 | sgmii_phy22 = &sgmiiphy22; | ||
57 | sgmii_phy23 = &sgmiiphy23; | ||
58 | sgmii_phy24 = &sgmiiphy24; | ||
59 | sgmii_phy31 = &sgmiiphy31; | ||
60 | sgmii_phy32 = &sgmiiphy32; | ||
61 | sgmii_phy33 = &sgmiiphy33; | ||
62 | sgmii_phy34 = &sgmiiphy34; | ||
63 | sgmii_phy41 = &sgmiiphy41; | ||
64 | sgmii_phy42 = &sgmiiphy42; | ||
65 | sgmii_phy43 = &sgmiiphy43; | ||
66 | sgmii_phy44 = &sgmiiphy44; | ||
67 | phy_xfi1 = &xfiphy1; | ||
68 | phy_xfi2 = &xfiphy2; | ||
69 | phy_xfi3 = &xfiphy3; | ||
70 | phy_xfi4 = &xfiphy4; | ||
71 | xfi_pcs_mdio1 = &xfimdio0; | ||
72 | xfi_pcs_mdio2 = &xfimdio1; | ||
73 | xfi_pcs_mdio3 = &xfimdio2; | ||
74 | xfi_pcs_mdio4 = &xfimdio3; | ||
75 | emi1_rgmii = &t4240mdio0; | ||
76 | emi1_slot1 = &t4240mdio1; | ||
77 | emi1_slot2 = &t4240mdio2; | ||
78 | emi1_slot3 = &t4240mdio3; | ||
79 | emi1_slot4 = &t4240mdio4; | ||
80 | }; | ||
81 | |||
44 | ifc: localbus@ffe124000 { | 82 | ifc: localbus@ffe124000 { |
45 | reg = <0xf 0xfe124000 0 0x2000>; | 83 | reg = <0xf 0xfe124000 0 0x2000>; |
46 | ranges = <0 0 0xf 0xe8000000 0x08000000 | 84 | ranges = <0 0 0xf 0xe8000000 0x08000000 |
@@ -91,8 +129,190 @@ | |||
91 | }; | 129 | }; |
92 | 130 | ||
93 | board-control@3,0 { | 131 | board-control@3,0 { |
132 | #address-cells = <1>; | ||
133 | #size-cells = <1>; | ||
94 | compatible = "fsl,t4240qds-fpga", "fsl,fpga-qixis"; | 134 | compatible = "fsl,t4240qds-fpga", "fsl,fpga-qixis"; |
95 | reg = <3 0 0x300>; | 135 | reg = <3 0 0x300>; |
136 | ranges = <0 3 0 0x300>; | ||
137 | |||
138 | mdio-mux-emi1 { | ||
139 | #address-cells = <1>; | ||
140 | #size-cells = <0>; | ||
141 | compatible = "mdio-mux-mmioreg", "mdio-mux"; | ||
142 | mdio-parent-bus = <&mdio1>; | ||
143 | reg = <0x54 1>; | ||
144 | mux-mask = <0xe0>; | ||
145 | |||
146 | t4240mdio0: mdio@0 { | ||
147 | #address-cells = <1>; | ||
148 | #size-cells = <0>; | ||
149 | reg = <0>; | ||
150 | |||
151 | phyrgmii1: ethernet-phy@1 { | ||
152 | reg = <0x1>; | ||
153 | }; | ||
154 | |||
155 | phyrgmii2: ethernet-phy@2 { | ||
156 | reg = <0x2>; | ||
157 | }; | ||
158 | }; | ||
159 | |||
160 | t4240mdio1: mdio@20 { | ||
161 | #address-cells = <1>; | ||
162 | #size-cells = <0>; | ||
163 | reg = <0x20>; | ||
164 | status = "disabled"; | ||
165 | |||
166 | phy1: ethernet-phy@0 { | ||
167 | reg = <0x0>; | ||
168 | }; | ||
169 | |||
170 | phy2: ethernet-phy@1 { | ||
171 | reg = <0x1>; | ||
172 | }; | ||
173 | |||
174 | phy3: ethernet-phy@2 { | ||
175 | reg = <0x2>; | ||
176 | }; | ||
177 | |||
178 | phy4: ethernet-phy@3 { | ||
179 | reg = <0x3>; | ||
180 | }; | ||
181 | |||
182 | sgmiiphy11: ethernet-phy@1c { | ||
183 | reg = <0x1c>; | ||
184 | }; | ||
185 | |||
186 | sgmiiphy12: ethernet-phy@1d { | ||
187 | reg = <0x1d>; | ||
188 | }; | ||
189 | |||
190 | sgmiiphy13: ethernet-phy@1e { | ||
191 | reg = <0x1e>; | ||
192 | }; | ||
193 | |||
194 | sgmiiphy14: ethernet-phy@1f { | ||
195 | reg = <0x1f>; | ||
196 | }; | ||
197 | }; | ||
198 | |||
199 | t4240mdio2: mdio@40 { | ||
200 | #address-cells = <1>; | ||
201 | #size-cells = <0>; | ||
202 | reg = <0x40>; | ||
203 | status = "disabled"; | ||
204 | |||
205 | phy5: ethernet-phy@4 { | ||
206 | reg = <0x4>; | ||
207 | }; | ||
208 | |||
209 | phy6: ethernet-phy@5 { | ||
210 | reg = <0x5>; | ||
211 | }; | ||
212 | |||
213 | phy7: ethernet-phy@6 { | ||
214 | reg = <0x6>; | ||
215 | }; | ||
216 | |||
217 | phy8: ethernet-phy@7 { | ||
218 | reg = <0x7>; | ||
219 | }; | ||
220 | |||
221 | sgmiiphy21: ethernet-phy@1c { | ||
222 | reg = <0x1c>; | ||
223 | }; | ||
224 | |||
225 | sgmiiphy22: ethernet-phy@1d { | ||
226 | reg = <0x1d>; | ||
227 | }; | ||
228 | |||
229 | sgmiiphy23: ethernet-phy@1e { | ||
230 | reg = <0x1e>; | ||
231 | }; | ||
232 | |||
233 | sgmiiphy24: ethernet-phy@1f { | ||
234 | reg = <0x1f>; | ||
235 | }; | ||
236 | }; | ||
237 | |||
238 | t4240mdio3: mdio@60 { | ||
239 | #address-cells = <1>; | ||
240 | #size-cells = <0>; | ||
241 | reg = <0x60>; | ||
242 | status = "disabled"; | ||
243 | |||
244 | phy9: ethernet-phy@8 { | ||
245 | reg = <0x8>; | ||
246 | }; | ||
247 | |||
248 | phy10: ethernet-phy@9 { | ||
249 | reg = <0x9>; | ||
250 | }; | ||
251 | |||
252 | phy11: ethernet-phy@a { | ||
253 | reg = <0xa>; | ||
254 | }; | ||
255 | |||
256 | phy12: ethernet-phy@b { | ||
257 | reg = <0xb>; | ||
258 | }; | ||
259 | |||
260 | sgmiiphy31: ethernet-phy@1c { | ||
261 | reg = <0x1c>; | ||
262 | }; | ||
263 | |||
264 | sgmiiphy32: ethernet-phy@1d { | ||
265 | reg = <0x1d>; | ||
266 | }; | ||
267 | |||
268 | sgmiiphy33: ethernet-phy@1e { | ||
269 | reg = <0x1e>; | ||
270 | }; | ||
271 | |||
272 | sgmiiphy34: ethernet-phy@1f { | ||
273 | reg = <0x1f>; | ||
274 | }; | ||
275 | }; | ||
276 | |||
277 | t4240mdio4: mdio@80 { | ||
278 | #address-cells = <1>; | ||
279 | #size-cells = <0>; | ||
280 | reg = <0x80>; | ||
281 | status = "disabled"; | ||
282 | |||
283 | phy13: ethernet-phy@c { | ||
284 | reg = <0xc>; | ||
285 | }; | ||
286 | |||
287 | phy14: ethernet-phy@d { | ||
288 | reg = <0xd>; | ||
289 | }; | ||
290 | |||
291 | phy15: ethernet-phy@e { | ||
292 | reg = <0xe>; | ||
293 | }; | ||
294 | |||
295 | phy16: ethernet-phy@f { | ||
296 | reg = <0xf>; | ||
297 | }; | ||
298 | |||
299 | sgmiiphy41: ethernet-phy@1c { | ||
300 | reg = <0x1c>; | ||
301 | }; | ||
302 | |||
303 | sgmiiphy42: ethernet-phy@1d { | ||
304 | reg = <0x1d>; | ||
305 | }; | ||
306 | |||
307 | sgmiiphy43: ethernet-phy@1e { | ||
308 | reg = <0x1e>; | ||
309 | }; | ||
310 | |||
311 | sgmiiphy44: ethernet-phy@1f { | ||
312 | reg = <0x1f>; | ||
313 | }; | ||
314 | }; | ||
315 | }; | ||
96 | }; | 316 | }; |
97 | }; | 317 | }; |
98 | 318 | ||
@@ -234,6 +454,184 @@ | |||
234 | sdhc@114000 { | 454 | sdhc@114000 { |
235 | voltage-ranges = <1800 1800 3300 3300>; | 455 | voltage-ranges = <1800 1800 3300 3300>; |
236 | }; | 456 | }; |
457 | |||
458 | fman@400000 { | ||
459 | port@83000 { | ||
460 | status = "disabled"; | ||
461 | }; | ||
462 | |||
463 | port@84000 { | ||
464 | status = "disabled"; | ||
465 | }; | ||
466 | |||
467 | port@85000 { | ||
468 | status = "disabled"; | ||
469 | }; | ||
470 | |||
471 | port@86000 { | ||
472 | status = "disabled"; | ||
473 | }; | ||
474 | |||
475 | port@87000 { | ||
476 | status = "disabled"; | ||
477 | }; | ||
478 | |||
479 | ethernet@e0000 { | ||
480 | phy-handle = <&phy5>; | ||
481 | phy-connection-type = "sgmii"; | ||
482 | }; | ||
483 | |||
484 | ethernet@e2000 { | ||
485 | phy-handle = <&phy6>; | ||
486 | phy-connection-type = "sgmii"; | ||
487 | }; | ||
488 | |||
489 | ethernet@e4000 { | ||
490 | phy-handle = <&phy7>; | ||
491 | phy-connection-type = "sgmii"; | ||
492 | }; | ||
493 | |||
494 | ethernet@e6000 { | ||
495 | phy-handle = <&phy8>; | ||
496 | phy-connection-type = "sgmii"; | ||
497 | }; | ||
498 | |||
499 | ethernet@e8000 { | ||
500 | phy-handle = <&phyrgmii2>; | ||
501 | phy-connection-type = "rgmii"; | ||
502 | }; | ||
503 | |||
504 | ethernet@ea000 { | ||
505 | phy-handle = <&phy2>; | ||
506 | phy-connection-type = "sgmii"; | ||
507 | }; | ||
508 | |||
509 | ethernet@f0000 { | ||
510 | phy-handle = <&xauiphy1>; | ||
511 | phy-connection-type = "xgmii"; | ||
512 | }; | ||
513 | |||
514 | ethernet@f2000 { | ||
515 | phy-handle = <&xauiphy2>; | ||
516 | phy-connection-type = "xgmii"; | ||
517 | }; | ||
518 | |||
519 | xfimdio0: mdio@f1000 { | ||
520 | status = "disabled"; | ||
521 | |||
522 | xfiphy1: ethernet-phy@0 { | ||
523 | compatible = "ethernet-phy-ieee802.3-c45"; | ||
524 | reg = <0x0>; | ||
525 | }; | ||
526 | }; | ||
527 | |||
528 | xfimdio1: mdio@f3000 { | ||
529 | status = "disabled"; | ||
530 | |||
531 | xfiphy2: ethernet-phy@0 { | ||
532 | compatible = "ethernet-phy-ieee802.3-c45"; | ||
533 | reg = <0x0>; | ||
534 | }; | ||
535 | }; | ||
536 | }; | ||
537 | |||
538 | fman@500000 { | ||
539 | port@84000 { | ||
540 | status = "disabled"; | ||
541 | }; | ||
542 | |||
543 | port@85000 { | ||
544 | status = "disabled"; | ||
545 | }; | ||
546 | |||
547 | port@86000 { | ||
548 | status = "disabled"; | ||
549 | }; | ||
550 | |||
551 | port@87000 { | ||
552 | status = "disabled"; | ||
553 | }; | ||
554 | |||
555 | ethernet@e0000 { | ||
556 | phy-handle = <&phy13>; | ||
557 | phy-connection-type = "sgmii"; | ||
558 | }; | ||
559 | |||
560 | ethernet@e2000 { | ||
561 | phy-handle = <&phy14>; | ||
562 | phy-connection-type = "sgmii"; | ||
563 | }; | ||
564 | |||
565 | ethernet@e4000 { | ||
566 | phy-handle = <&phy15>; | ||
567 | phy-connection-type = "sgmii"; | ||
568 | }; | ||
569 | |||
570 | ethernet@e6000 { | ||
571 | phy-handle = <&phy16>; | ||
572 | phy-connection-type = "sgmii"; | ||
573 | }; | ||
574 | |||
575 | ethernet@e8000 { | ||
576 | phy-handle = <&phyrgmii1>; | ||
577 | phy-connection-type = "rgmii"; | ||
578 | }; | ||
579 | |||
580 | ethernet@ea000 { | ||
581 | phy-handle = <&phy10>; | ||
582 | phy-connection-type = "sgmii"; | ||
583 | }; | ||
584 | |||
585 | ethernet@f0000 { | ||
586 | phy-handle = <&xauiphy3>; | ||
587 | phy-connection-type = "xgmii"; | ||
588 | }; | ||
589 | |||
590 | ethernet@f2000 { | ||
591 | phy-handle = <&xauiphy4>; | ||
592 | phy-connection-type = "xgmii"; | ||
593 | }; | ||
594 | |||
595 | xfimdio2: mdio@f1000 { | ||
596 | status = "disabled"; | ||
597 | |||
598 | xfiphy3: ethernet-phy@0 { | ||
599 | compatible = "ethernet-phy-ieee802.3-c45"; | ||
600 | reg = <0x0>; | ||
601 | }; | ||
602 | }; | ||
603 | |||
604 | xfimdio3: mdio@f3000 { | ||
605 | status = "disabled"; | ||
606 | |||
607 | xfiphy4: ethernet-phy@0 { | ||
608 | compatible = "ethernet-phy-ieee802.3-c45"; | ||
609 | reg = <0x0>; | ||
610 | }; | ||
611 | }; | ||
612 | |||
613 | mdio@fd000 { | ||
614 | xauiphy1: ethernet-phy@0 { | ||
615 | compatible = "ethernet-phy-ieee802.3-c45"; | ||
616 | reg = <0x0>; | ||
617 | }; | ||
618 | |||
619 | xauiphy2: ethernet-phy@1 { | ||
620 | compatible = "ethernet-phy-ieee802.3-c45"; | ||
621 | reg = <0x1>; | ||
622 | }; | ||
623 | |||
624 | xauiphy3: ethernet-phy@2 { | ||
625 | compatible = "ethernet-phy-ieee802.3-c45"; | ||
626 | reg = <0x2>; | ||
627 | }; | ||
628 | |||
629 | xauiphy4: ethernet-phy@3 { | ||
630 | compatible = "ethernet-phy-ieee802.3-c45"; | ||
631 | reg = <0x3>; | ||
632 | }; | ||
633 | }; | ||
634 | }; | ||
237 | }; | 635 | }; |
238 | 636 | ||
239 | pci0: pcie@ffe240000 { | 637 | pci0: pcie@ffe240000 { |
diff --git a/arch/powerpc/boot/dts/fsl/t4240rdb.dts b/arch/powerpc/boot/dts/fsl/t4240rdb.dts index 6e820a875621..3d600347e1b1 100644 --- a/arch/powerpc/boot/dts/fsl/t4240rdb.dts +++ b/arch/powerpc/boot/dts/fsl/t4240rdb.dts | |||
@@ -1,7 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * T4240RDB Device Tree Source | 2 | * T4240RDB Device Tree Source |
3 | * | 3 | * |
4 | * Copyright 2014 Freescale Semiconductor Inc. | 4 | * Copyright 2014 - 2015 Freescale Semiconductor Inc. |
5 | * | 5 | * |
6 | * Redistribution and use in source and binary forms, with or without | 6 | * Redistribution and use in source and binary forms, with or without |
7 | * modification, are permitted provided that the following conditions are met: | 7 | * modification, are permitted provided that the following conditions are met: |
@@ -41,6 +41,17 @@ | |||
41 | #size-cells = <2>; | 41 | #size-cells = <2>; |
42 | interrupt-parent = <&mpic>; | 42 | interrupt-parent = <&mpic>; |
43 | 43 | ||
44 | aliases { | ||
45 | sgmii_phy21 = &sgmiiphy21; | ||
46 | sgmii_phy22 = &sgmiiphy22; | ||
47 | sgmii_phy23 = &sgmiiphy23; | ||
48 | sgmii_phy24 = &sgmiiphy24; | ||
49 | sgmii_phy41 = &sgmiiphy41; | ||
50 | sgmii_phy42 = &sgmiiphy42; | ||
51 | sgmii_phy43 = &sgmiiphy43; | ||
52 | sgmii_phy44 = &sgmiiphy44; | ||
53 | }; | ||
54 | |||
44 | ifc: localbus@ffe124000 { | 55 | ifc: localbus@ffe124000 { |
45 | reg = <0xf 0xfe124000 0 0x2000>; | 56 | reg = <0xf 0xfe124000 0 0x2000>; |
46 | ranges = <0 0 0xf 0xe8000000 0x08000000 | 57 | ranges = <0 0 0xf 0xe8000000 0x08000000 |
@@ -136,6 +147,142 @@ | |||
136 | sdhc@114000 { | 147 | sdhc@114000 { |
137 | voltage-ranges = <1800 1800 3300 3300>; | 148 | voltage-ranges = <1800 1800 3300 3300>; |
138 | }; | 149 | }; |
150 | |||
151 | fman@400000 { | ||
152 | ethernet@e0000 { | ||
153 | phy-handle = <&sgmiiphy21>; | ||
154 | phy-connection-type = "sgmii"; | ||
155 | }; | ||
156 | |||
157 | ethernet@e2000 { | ||
158 | phy-handle = <&sgmiiphy22>; | ||
159 | phy-connection-type = "sgmii"; | ||
160 | }; | ||
161 | |||
162 | ethernet@e4000 { | ||
163 | phy-handle = <&sgmiiphy23>; | ||
164 | phy-connection-type = "sgmii"; | ||
165 | }; | ||
166 | |||
167 | ethernet@e6000 { | ||
168 | phy-handle = <&sgmiiphy24>; | ||
169 | phy-connection-type = "sgmii"; | ||
170 | }; | ||
171 | |||
172 | ethernet@e8000 { | ||
173 | status = "disabled"; | ||
174 | }; | ||
175 | |||
176 | ethernet@ea000 { | ||
177 | status = "disabled"; | ||
178 | }; | ||
179 | |||
180 | ethernet@f0000 { | ||
181 | phy-handle = <&xfiphy1>; | ||
182 | phy-connection-type = "xgmii"; | ||
183 | }; | ||
184 | |||
185 | ethernet@f2000 { | ||
186 | phy-handle = <&xfiphy2>; | ||
187 | phy-connection-type = "xgmii"; | ||
188 | }; | ||
189 | }; | ||
190 | |||
191 | fman@500000 { | ||
192 | ethernet@e0000 { | ||
193 | phy-handle = <&sgmiiphy41>; | ||
194 | phy-connection-type = "sgmii"; | ||
195 | }; | ||
196 | |||
197 | ethernet@e2000 { | ||
198 | phy-handle = <&sgmiiphy42>; | ||
199 | phy-connection-type = "sgmii"; | ||
200 | }; | ||
201 | |||
202 | ethernet@e4000 { | ||
203 | phy-handle = <&sgmiiphy43>; | ||
204 | phy-connection-type = "sgmii"; | ||
205 | }; | ||
206 | |||
207 | ethernet@e6000 { | ||
208 | phy-handle = <&sgmiiphy44>; | ||
209 | phy-connection-type = "sgmii"; | ||
210 | }; | ||
211 | |||
212 | ethernet@e8000 { | ||
213 | status = "disabled"; | ||
214 | }; | ||
215 | |||
216 | ethernet@ea000 { | ||
217 | status = "disabled"; | ||
218 | }; | ||
219 | |||
220 | ethernet@f0000 { | ||
221 | phy-handle = <&xfiphy3>; | ||
222 | phy-connection-type = "xgmii"; | ||
223 | }; | ||
224 | |||
225 | ethernet@f2000 { | ||
226 | phy-handle = <&xfiphy4>; | ||
227 | phy-connection-type = "xgmii"; | ||
228 | }; | ||
229 | |||
230 | mdio@fc000 { | ||
231 | sgmiiphy21: ethernet-phy@0 { | ||
232 | reg = <0x0>; | ||
233 | }; | ||
234 | |||
235 | sgmiiphy22: ethernet-phy@1 { | ||
236 | reg = <0x1>; | ||
237 | }; | ||
238 | |||
239 | sgmiiphy23: ethernet-phy@2 { | ||
240 | reg = <0x2>; | ||
241 | }; | ||
242 | |||
243 | sgmiiphy24: ethernet-phy@3 { | ||
244 | reg = <0x3>; | ||
245 | }; | ||
246 | |||
247 | sgmiiphy41: ethernet-phy@4 { | ||
248 | reg = <0x4>; | ||
249 | }; | ||
250 | |||
251 | sgmiiphy42: ethernet-phy@5 { | ||
252 | reg = <0x5>; | ||
253 | }; | ||
254 | |||
255 | sgmiiphy43: ethernet-phy@6 { | ||
256 | reg = <0x6>; | ||
257 | }; | ||
258 | |||
259 | sgmiiphy44: ethernet-phy@7 { | ||
260 | reg = <0x7>; | ||
261 | }; | ||
262 | }; | ||
263 | |||
264 | mdio@fd000 { | ||
265 | xfiphy1: ethernet-phy@10 { | ||
266 | compatible = "ethernet-phy-ieee802.3-c45"; | ||
267 | reg = <0x10>; | ||
268 | }; | ||
269 | |||
270 | xfiphy2: ethernet-phy@11 { | ||
271 | compatible = "ethernet-phy-ieee802.3-c45"; | ||
272 | reg = <0x11>; | ||
273 | }; | ||
274 | |||
275 | xfiphy3: ethernet-phy@13 { | ||
276 | compatible = "ethernet-phy-ieee802.3-c45"; | ||
277 | reg = <0x13>; | ||
278 | }; | ||
279 | |||
280 | xfiphy4: ethernet-phy@12 { | ||
281 | compatible = "ethernet-phy-ieee802.3-c45"; | ||
282 | reg = <0x12>; | ||
283 | }; | ||
284 | }; | ||
285 | }; | ||
139 | }; | 286 | }; |
140 | 287 | ||
141 | pci0: pcie@ffe240000 { | 288 | pci0: pcie@ffe240000 { |