Răsfoiți Sursa

apm821xx: remove ethernet0 node

This is needed in order to get a MAC address from UBI.

Signed-off-by: Rosen Penev <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/16580
Signed-off-by: Robert Marko <[email protected]>
Rosen Penev 1 an în urmă
părinte
comite
7754924c9e

+ 1 - 0
target/linux/apm821xx/dts/meraki-mr24.dts

@@ -17,6 +17,7 @@
 	compatible = "meraki,mr24", "meraki,ikarem", "apm,bluestone";
 
 	aliases {
+		/delete-property/ ethernet0;
 		serial0 = &UART1;
 	};
 

+ 3 - 0
target/linux/apm821xx/dts/meraki-mx60.dts

@@ -17,6 +17,9 @@
 	compatible = "meraki,mx60", "meraki,buckminster", "apm,bluestone";
 
 	aliases {
+		/* U-Boot env has a bad ethaddr MAC address that is sent to
+		 * the kernel. The real MAC is in UBI */
+		/delete-property/ ethernet0;
 		serial0 = &UART1;
 	};