All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ARM: dts: colibri-imx6ull: fix mac address passing
@ 2021-09-23  7:55 Francesco Dolcini
  2021-09-23 11:36 ` Tom Rini
                   ` (2 more replies)
  0 siblings, 3 replies; 13+ messages in thread
From: Francesco Dolcini @ 2021-09-23  7:55 UTC (permalink / raw)
  To: u-boot
  Cc: Francesco Dolcini, Fabio Estevam, NXP i.MX U-Boot Team,
	Stefano Babic, Tom Rini

colibri-imx6ull ethernet device is fec2, while the optional secondary
ethernet is fec1, update the ethernet aliases in the .dts file so that
ethaddr is set to fec2 and eth1addr to fec1.

Without this change the ethernet interfaces have a different
mac address between Linux and U-Boot.

Signed-off-by: Francesco Dolcini <francesco.dolcini@toradex.com>

---

 arch/arm/dts/imx6ull-colibri.dtsi | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/arch/arm/dts/imx6ull-colibri.dtsi b/arch/arm/dts/imx6ull-colibri.dtsi
index b7bf79f28c..104207be97 100644
--- a/arch/arm/dts/imx6ull-colibri.dtsi
+++ b/arch/arm/dts/imx6ull-colibri.dtsi
@@ -8,6 +8,12 @@
 #include "imx6ull.dtsi"
 
 / {
+	/* Ethernet aliases to ensure correct MAC addresses */
+	aliases {
+		ethernet0 = &fec2;
+		ethernet1 = &fec1;
+	};
+
 	chosen {
 		stdout-path = &uart1;
 	};
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2022-04-01 14:28 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-23  7:55 [PATCH] ARM: dts: colibri-imx6ull: fix mac address passing Francesco Dolcini
2021-09-23 11:36 ` Tom Rini
2021-09-23 11:50   ` Francesco Dolcini
2021-09-23 11:57     ` Tom Rini
2022-02-04 17:41       ` Marcel Ziswiler
2022-02-04 17:55 ` Fabio Estevam
2022-04-01 12:57   ` Marcel Ziswiler
2022-04-01 13:43     ` Tom Rini
2022-04-01 14:01       ` Marcel Ziswiler
2022-04-01 14:02         ` Tom Rini
2022-04-01 14:04         ` Tom Rini
2022-04-01 14:05           ` Francesco Dolcini
2022-04-01 14:28 ` Tom Rini

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.