aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/boot
diff options
context:
space:
mode:
authorGrant Likely <grant.likely@secretlab.ca>2007-08-30 16:26:24 -0400
committerPaul Mackerras <paulus@samba.org>2007-09-22 00:49:22 -0400
commitad25a4cca7f21b53e3af8303d922a87c910677d7 (patch)
tree2748db35b81553689b6e74285e341514f6ea5d1c /arch/powerpc/boot
parent3e61576b2ac930b9d1fa2c8d077552f7e7709b3c (diff)
[POWERPC] mpc8349: Add linux,network-index to ethernet nodes in device tree
cuImage needs to know the logical index of the ethernet devices in order to assign mac addresses. This adds the needed properties. Signed-off-by: Grant Likely <grant.likely@secretlab.ca> Acked-by: David Gibson <david@gibson.dropbear.id.au> CC: Scott Wood <scottwood@freescale.com> CC: Kumar Gala <galak@kernel.crashing.org> CC: Timur Tabi <timur@freescale.com> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/boot')
-rw-r--r--arch/powerpc/boot/dts/mpc8349emitx.dts2
-rw-r--r--arch/powerpc/boot/dts/mpc8349emitxgp.dts1
-rw-r--r--arch/powerpc/boot/dts/mpc834x_mds.dts2
3 files changed, 5 insertions, 0 deletions
diff --git a/arch/powerpc/boot/dts/mpc8349emitx.dts b/arch/powerpc/boot/dts/mpc8349emitx.dts
index 67781601b6b..f5c3086bcb5 100644
--- a/arch/powerpc/boot/dts/mpc8349emitx.dts
+++ b/arch/powerpc/boot/dts/mpc8349emitx.dts
@@ -139,6 +139,7 @@
139 interrupts = <20 8 21 8 22 8>; 139 interrupts = <20 8 21 8 22 8>;
140 interrupt-parent = < &ipic >; 140 interrupt-parent = < &ipic >;
141 phy-handle = < &phy1c >; 141 phy-handle = < &phy1c >;
142 linux,network-index = <0>;
142 }; 143 };
143 144
144 ethernet@25000 { 145 ethernet@25000 {
@@ -158,6 +159,7 @@
158 interrupts = <23 8 24 8 25 8>; 159 interrupts = <23 8 24 8 25 8>;
159 interrupt-parent = < &ipic >; 160 interrupt-parent = < &ipic >;
160 phy-handle = < &phy1f >; 161 phy-handle = < &phy1f >;
162 linux,network-index = <1>;
161 }; 163 };
162 164
163 serial@4500 { 165 serial@4500 {
diff --git a/arch/powerpc/boot/dts/mpc8349emitxgp.dts b/arch/powerpc/boot/dts/mpc8349emitxgp.dts
index fa852ba1b6b..36a27607f76 100644
--- a/arch/powerpc/boot/dts/mpc8349emitxgp.dts
+++ b/arch/powerpc/boot/dts/mpc8349emitxgp.dts
@@ -114,6 +114,7 @@
114 interrupts = <20 8 21 8 22 8>; 114 interrupts = <20 8 21 8 22 8>;
115 interrupt-parent = < &ipic >; 115 interrupt-parent = < &ipic >;
116 phy-handle = < &phy1c >; 116 phy-handle = < &phy1c >;
117 linux,network-index = <0>;
117 }; 118 };
118 119
119 serial@4500 { 120 serial@4500 {
diff --git a/arch/powerpc/boot/dts/mpc834x_mds.dts b/arch/powerpc/boot/dts/mpc834x_mds.dts
index 1b8882e2004..c27e2fff5d5 100644
--- a/arch/powerpc/boot/dts/mpc834x_mds.dts
+++ b/arch/powerpc/boot/dts/mpc834x_mds.dts
@@ -144,6 +144,7 @@
144 interrupts = <20 8 21 8 22 8>; 144 interrupts = <20 8 21 8 22 8>;
145 interrupt-parent = < &ipic >; 145 interrupt-parent = < &ipic >;
146 phy-handle = < &phy0 >; 146 phy-handle = < &phy0 >;
147 linux,network-index = <0>;
147 }; 148 };
148 149
149 ethernet@25000 { 150 ethernet@25000 {
@@ -163,6 +164,7 @@
163 interrupts = <23 8 24 8 25 8>; 164 interrupts = <23 8 24 8 25 8>;
164 interrupt-parent = < &ipic >; 165 interrupt-parent = < &ipic >;
165 phy-handle = < &phy1 >; 166 phy-handle = < &phy1 >;
167 linux,network-index = <1>;
166 }; 168 };
167 169
168 serial@4500 { 170 serial@4500 {