Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ad25a4cc authored by Grant Likely's avatar Grant Likely Committed by Paul Mackerras
Browse files

[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: default avatarGrant Likely <grant.likely@secretlab.ca>
Acked-by: default avatarDavid 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: default avatarPaul Mackerras <paulus@samba.org>
parent 3e61576b
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -139,6 +139,7 @@
			interrupts = <20 8 21 8 22 8>;
			interrupt-parent = < &ipic >;
			phy-handle = < &phy1c >;
			linux,network-index = <0>;
		};

		ethernet@25000 {
@@ -158,6 +159,7 @@
			interrupts = <23 8 24 8 25 8>;
			interrupt-parent = < &ipic >;
			phy-handle = < &phy1f >;
			linux,network-index = <1>;
		};

		serial@4500 {
+1 −0
Original line number Diff line number Diff line
@@ -114,6 +114,7 @@
			interrupts = <20 8 21 8 22 8>;
			interrupt-parent = < &ipic >;
			phy-handle = < &phy1c >;
			linux,network-index = <0>;
		};

		serial@4500 {
+2 −0
Original line number Diff line number Diff line
@@ -144,6 +144,7 @@
			interrupts = <20 8 21 8 22 8>;
			interrupt-parent = < &ipic >;
			phy-handle = < &phy0 >;
			linux,network-index = <0>;
		};

		ethernet@25000 {
@@ -163,6 +164,7 @@
			interrupts = <23 8 24 8 25 8>;
			interrupt-parent = < &ipic >;
			phy-handle = < &phy1 >;
			linux,network-index = <1>;
		};

		serial@4500 {