aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/boot/dts/mpc8540ads.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/mpc8540ads.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/mpc8540ads.dts')
-rw-r--r--arch/powerpc/boot/dts/mpc8540ads.dts37
1 files changed, 8 insertions, 29 deletions
diff --git a/arch/powerpc/boot/dts/mpc8540ads.dts b/arch/powerpc/boot/dts/mpc8540ads.dts
index 435a2b6e55a1..7961d911a008 100644
--- a/arch/powerpc/boot/dts/mpc8540ads.dts
+++ b/arch/powerpc/boot/dts/mpc8540ads.dts
@@ -76,9 +76,9 @@
76 mdio@24520 { 76 mdio@24520 {
77 #address-cells = <1>; 77 #address-cells = <1>;
78 #size-cells = <0>; 78 #size-cells = <0>;
79 device_type = "mdio"; 79 compatible = "fsl,gianfar-mdio";
80 compatible = "gianfar";
81 reg = <24520 20>; 80 reg = <24520 20>;
81
82 phy0: ethernet-phy@0 { 82 phy0: ethernet-phy@0 {
83 interrupt-parent = <&mpic>; 83 interrupt-parent = <&mpic>;
84 interrupts = <5 1>; 84 interrupts = <5 1>;
@@ -99,57 +99,36 @@
99 }; 99 };
100 }; 100 };
101 101
102 ethernet@24000 { 102 enet0: ethernet@24000 {
103 #address-cells = <1>; 103 cell-index = <0>;
104 #size-cells = <0>;
105 device_type = "network"; 104 device_type = "network";
106 model = "TSEC"; 105 model = "TSEC";
107 compatible = "gianfar"; 106 compatible = "gianfar";
108 reg = <24000 1000>; 107 reg = <24000 1000>;
109 /*
110 * address is deprecated and will be removed
111 * in 2.6.25. Only recent versions of
112 * U-Boot support local-mac-address, however.
113 */
114 address = [ 00 00 00 00 00 00 ];
115 local-mac-address = [ 00 00 00 00 00 00 ]; 108 local-mac-address = [ 00 00 00 00 00 00 ];
116 interrupts = <1d 2 1e 2 22 2>; 109 interrupts = <1d 2 1e 2 22 2>;
117 interrupt-parent = <&mpic>; 110 interrupt-parent = <&mpic>;
118 phy-handle = <&phy0>; 111 phy-handle = <&phy0>;
119 }; 112 };
120 113
121 ethernet@25000 { 114 enet1: ethernet@25000 {
122 #address-cells = <1>; 115 cell-index = <1>;
123 #size-cells = <0>;
124 device_type = "network"; 116 device_type = "network";
125 model = "TSEC"; 117 model = "TSEC";
126 compatible = "gianfar"; 118 compatible = "gianfar";
127 reg = <25000 1000>; 119 reg = <25000 1000>;
128 /*
129 * address is deprecated and will be removed
130 * in 2.6.25. Only recent versions of
131 * U-Boot support local-mac-address, however.
132 */
133 address = [ 00 00 00 00 00 00 ];
134 local-mac-address = [ 00 00 00 00 00 00 ]; 120 local-mac-address = [ 00 00 00 00 00 00 ];
135 interrupts = <23 2 24 2 28 2>; 121 interrupts = <23 2 24 2 28 2>;
136 interrupt-parent = <&mpic>; 122 interrupt-parent = <&mpic>;
137 phy-handle = <&phy1>; 123 phy-handle = <&phy1>;
138 }; 124 };
139 125
140 ethernet@26000 { 126 enet2: ethernet@26000 {
141 #address-cells = <1>; 127 cell-index = <2>;
142 #size-cells = <0>;
143 device_type = "network"; 128 device_type = "network";
144 model = "FEC"; 129 model = "FEC";
145 compatible = "gianfar"; 130 compatible = "gianfar";
146 reg = <26000 1000>; 131 reg = <26000 1000>;
147 /*
148 * address is deprecated and will be removed
149 * in 2.6.25. Only recent versions of
150 * U-Boot support local-mac-address, however.
151 */
152 address = [ 00 00 00 00 00 00 ];
153 local-mac-address = [ 00 00 00 00 00 00 ]; 132 local-mac-address = [ 00 00 00 00 00 00 ];
154 interrupts = <29 2>; 133 interrupts = <29 2>;
155 interrupt-parent = <&mpic>; 134 interrupt-parent = <&mpic>;