From e420b7a49300560485af191ec63887d27da577db Mon Sep 17 00:00:00 2001 From: Max Krummenacher Date: Thu, 26 Oct 2017 18:59:45 +0200 Subject: imx6ull-colibri.dtsi: alias ethernet macs We use the second ethernet MAC for the on module ethernet. Use an alias so that U-Boot fixes up the device tree to assign the MAC address corresponding to the serial number to the second MAC and uses the (serial# + 0x100000) one for the first MAC. Signed-off-by: Max Krummenacher Acked-by: Stefan Agner --- arch/arm/boot/dts/imx6ull-colibri.dtsi | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/imx6ull-colibri.dtsi b/arch/arm/boot/dts/imx6ull-colibri.dtsi index 7e138f7ac49a..fe8c54a65db8 100644 --- a/arch/arm/boot/dts/imx6ull-colibri.dtsi +++ b/arch/arm/boot/dts/imx6ull-colibri.dtsi @@ -9,6 +9,11 @@ #include "imx6ull.dtsi" / { + aliases { + ethernet0 = &fec2; + ethernet1 = &fec1; + }; + memory { reg = <0x80000000 0x10000000>; }; -- cgit v1.2.3