summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Krummenacher <max.krummenacher@toradex.com>2017-10-26 18:59:45 +0200
committerMax Krummenacher <max.krummenacher@toradex.com>2017-10-31 09:49:58 +0100
commite420b7a49300560485af191ec63887d27da577db (patch)
tree359c036b50f539b5b987c8ce4addbef73c789932
parent6044b1e3885a57e408074be3b0710597da218fac (diff)
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 <max.krummenacher@toradex.com> Acked-by: Stefan Agner <stefan.agner@toradex.com>
-rw-r--r--arch/arm/boot/dts/imx6ull-colibri.dtsi5
1 files changed, 5 insertions, 0 deletions
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>;
};