aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/boot/dts/mpc8560ads.dts
diff options
context:
space:
mode:
authorKumar Gala <galak@kernel.crashing.org>2007-12-12 01:28:35 -0500
committerKumar Gala <galak@kernel.crashing.org>2007-12-12 02:50:45 -0500
commite77b28eb199a8d637a00128b86baf515d4eba5fd (patch)
tree4bd63c9312c3ff17da778de9db7bdf07fe9644e6 /arch/powerpc/boot/dts/mpc8560ads.dts
parentec9686c4a57ea46c97126660936f66e8a5eb87eb (diff)
[POWERPC] FSL: enet device tree cleanups
* Removed address fields in ethernet nodes * Removed #address-cells, #size-cells from gianfar nodes * Added cell-index to gianfar and ucc ethernet nodes * Added enet[0..3] labels * Renamed compatible node for gianfar mdio to "fsl,gianfar-mdio" * Removed device_type = "mdio" The matching for gianfar mdio still supports the old "mdio"/"gianfar" combo but it is now considered deprecated. Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/boot/dts/mpc8560ads.dts')
-rw-r--r--arch/powerpc/boot/dts/mpc8560ads.dts42
1 files changed, 9 insertions, 33 deletions
diff --git a/arch/powerpc/boot/dts/mpc8560ads.dts b/arch/powerpc/boot/dts/mpc8560ads.dts
index 6b362f8222c1..936a4d509990 100644
--- a/arch/powerpc/boot/dts/mpc8560ads.dts
+++ b/arch/powerpc/boot/dts/mpc8560ads.dts
@@ -63,11 +63,11 @@
63 }; 63 };
64 64
65 mdio@24520 { 65 mdio@24520 {
66 device_type = "mdio";
67 compatible = "gianfar";
68 reg = <24520 20>;
69 #address-cells = <1>; 66 #address-cells = <1>;
70 #size-cells = <0>; 67 #size-cells = <0>;
68 compatible = "fsl,gianfar-mdio";
69 reg = <24520 20>;
70
71 phy0: ethernet-phy@0 { 71 phy0: ethernet-phy@0 {
72 interrupt-parent = <&mpic>; 72 interrupt-parent = <&mpic>;
73 interrupts = <5 1>; 73 interrupts = <5 1>;
@@ -94,36 +94,24 @@
94 }; 94 };
95 }; 95 };
96 96
97 ethernet@24000 { 97 enet0: ethernet@24000 {
98 cell-index = <0>;
98 device_type = "network"; 99 device_type = "network";
99 model = "TSEC"; 100 model = "TSEC";
100 compatible = "gianfar"; 101 compatible = "gianfar";
101 reg = <24000 1000>; 102 reg = <24000 1000>;
102 /*
103 * address is deprecated and will be removed
104 * in 2.6.25. Only recent versions of
105 * U-Boot support local-mac-address, however.
106 */
107 address = [ 00 00 00 00 00 00 ];
108 local-mac-address = [ 00 00 00 00 00 00 ]; 103 local-mac-address = [ 00 00 00 00 00 00 ];
109 interrupts = <1d 2 1e 2 22 2>; 104 interrupts = <1d 2 1e 2 22 2>;
110 interrupt-parent = <&mpic>; 105 interrupt-parent = <&mpic>;
111 phy-handle = <&phy0>; 106 phy-handle = <&phy0>;
112 }; 107 };
113 108
114 ethernet@25000 { 109 enet1: ethernet@25000 {
115 #address-cells = <1>; 110 cell-index = <1>;
116 #size-cells = <0>;
117 device_type = "network"; 111 device_type = "network";
118 model = "TSEC"; 112 model = "TSEC";
119 compatible = "gianfar"; 113 compatible = "gianfar";
120 reg = <25000 1000>; 114 reg = <25000 1000>;
121 /*
122 * address is deprecated and will be removed
123 * in 2.6.25. Only recent versions of
124 * U-Boot support local-mac-address, however.
125 */
126 address = [ 00 00 00 00 00 00 ];
127 local-mac-address = [ 00 00 00 00 00 00 ]; 115 local-mac-address = [ 00 00 00 00 00 00 ];
128 interrupts = <23 2 24 2 28 2>; 116 interrupts = <23 2 24 2 28 2>;
129 interrupt-parent = <&mpic>; 117 interrupt-parent = <&mpic>;
@@ -198,17 +186,11 @@
198 interrupt-parent = <&cpmpic>; 186 interrupt-parent = <&cpmpic>;
199 }; 187 };
200 188
201 ethernet@91320 { 189 enet2: ethernet@91320 {
202 device_type = "network"; 190 device_type = "network";
203 compatible = "fsl,mpc8560-fcc-enet", 191 compatible = "fsl,mpc8560-fcc-enet",
204 "fsl,cpm2-fcc-enet"; 192 "fsl,cpm2-fcc-enet";
205 reg = <91320 20 88500 100 913b0 1>; 193 reg = <91320 20 88500 100 913b0 1>;
206 /*
207 * mac-address is deprecated and will be removed
208 * in 2.6.25. Only recent versions of
209 * U-Boot support local-mac-address, however.
210 */
211 mac-address = [ 00 00 00 00 00 00 ];
212 local-mac-address = [ 00 00 00 00 00 00 ]; 194 local-mac-address = [ 00 00 00 00 00 00 ];
213 fsl,cpm-command = <16200300>; 195 fsl,cpm-command = <16200300>;
214 interrupts = <21 8>; 196 interrupts = <21 8>;
@@ -216,17 +198,11 @@
216 phy-handle = <&phy2>; 198 phy-handle = <&phy2>;
217 }; 199 };
218 200
219 ethernet@91340 { 201 enet3: ethernet@91340 {
220 device_type = "network"; 202 device_type = "network";
221 compatible = "fsl,mpc8560-fcc-enet", 203 compatible = "fsl,mpc8560-fcc-enet",
222 "fsl,cpm2-fcc-enet"; 204 "fsl,cpm2-fcc-enet";
223 reg = <91340 20 88600 100 913d0 1>; 205 reg = <91340 20 88600 100 913d0 1>;
224 /*
225 * mac-address is deprecated and will be removed
226 * in 2.6.25. Only recent versions of
227 * U-Boot support local-mac-address, however.
228 */
229 mac-address = [ 00 00 00 00 00 00 ];
230 local-mac-address = [ 00 00 00 00 00 00 ]; 206 local-mac-address = [ 00 00 00 00 00 00 ];
231 fsl,cpm-command = <1a400300>; 207 fsl,cpm-command = <1a400300>;
232 interrupts = <22 8>; 208 interrupts = <22 8>;