Skip to contentSkip to conversation

ethaddr0 alias for imx6

PATCH Hector Palacios 2 participants 2 messages Apr 8, 2014

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Hello,

I think I'm missing a commit similar to 8c41d57395ff5b9b16724786c7c4b4c4081510cc to add the ethernet0 alias so that U-Boot can fixup the MAC in the device tree for iMX6. Like this:

arch/arm/boot/dts/imx6qdl.dtsi +1 -0
index b48a128e519d..b3ec952eada6 100644
@@ -15,6 +15,7 @@
 
  / {
         aliases {
+               ethernet0 = &fec;
                 flexcan0 = &flexcan1;
                 flexcan1 = &flexcan2;
                 gpio0 = &gpio1;
arch/arm/boot/dts/imx6sl.dtsi +1 -0
index b937a4a94202..2afd45c67996 100644
@@ -13,6 +13,7 @@
 
  / {
         aliases {
+               ethernet0 = &fec;
                 serial0 = &uart1;
                 serial1 = &uart2;
                 serial2 = &uart3;

Has this changed recently and is done in a different way or has nobody noticed it before?

Best regards,
--
Hector Palacios

#1 lore raw
Quoted 31 lines · Hector Palacios

Hello,

I think I'm missing a commit similar to 8c41d57395ff5b9b16724786c7c4b4c4081510cc to add the ethernet0 alias so that U-Boot can fixup the MAC in the device tree for iMX6. Like this:

(quoted diff) +0 -0

b/arch/arm/boot/dts/imx6qdl.dtsi index b48a128e519d..b3ec952eada6 100644

arch/arm/boot/dts/imx6qdl.dtsi +1 -0
@@ -15,6 +15,7 @@
 
  / {
         aliases {
+               ethernet0 = &fec;
                 flexcan0 = &flexcan1;
                 flexcan1 = &flexcan2;
                 gpio0 = &gpio1;
arch/arm/boot/dts/imx6sl.dtsi +1 -0
index b937a4a94202..2afd45c67996 100644
@@ -13,6 +13,7 @@
 
  / {
         aliases {
+               ethernet0 = &fec;
                 serial0 = &uart1;
                 serial1 = &uart2;
                 serial2 = &uart3;
Quoted 2 lines

Has this changed recently and is done in a different way or has nobody noticed it before?

Try 10021ccaf042dd8d09c247c447b3ef22de0b83c8 in linux-next .

Best regards,
Marek Vasut