svn commit: r309195 - head/sys/boot/fdt/dts/arm

Ian Lepore ian at FreeBSD.org
Sat Nov 26 17:55:47 UTC 2016


Author: ian
Date: Sat Nov 26 17:55:46 2016
New Revision: 309195
URL: https://svnweb.freebsd.org/changeset/base/309195

Log:
  Add an ethernet0 alias pointing to the /aix/usb/hub/ethernet node.  This
  is required for u-boot to locate the ethernet node when it's doing fixup
  of the mac-address property when the user has overridden the default addr.

Modified:
  head/sys/boot/fdt/dts/arm/rpi.dts
  head/sys/boot/fdt/dts/arm/rpi2.dts

Modified: head/sys/boot/fdt/dts/arm/rpi.dts
==============================================================================
--- head/sys/boot/fdt/dts/arm/rpi.dts	Sat Nov 26 15:49:59 2016	(r309194)
+++ head/sys/boot/fdt/dts/arm/rpi.dts	Sat Nov 26 17:55:46 2016	(r309195)
@@ -298,7 +298,7 @@
 				reg = <0x00000001>;
 				#address-cells = <1>;
 				#size-cells = <0>;
-				ethernet {
+				ethernet: ethernet {
 					compatible = "net,ethernet",
 						     "usb,device";
 					reg = <0x00000001>;
@@ -386,6 +386,7 @@
 
 	aliases {
 		uart0 = &uart0;
+		ethernet0 = ðernet;
 	};
 
 	chosen {

Modified: head/sys/boot/fdt/dts/arm/rpi2.dts
==============================================================================
--- head/sys/boot/fdt/dts/arm/rpi2.dts	Sat Nov 26 15:49:59 2016	(r309194)
+++ head/sys/boot/fdt/dts/arm/rpi2.dts	Sat Nov 26 17:55:46 2016	(r309195)
@@ -315,7 +315,7 @@
 				reg = <0x00000001>;
 				#address-cells = <1>;
 				#size-cells = <0>;
-				ethernet {
+				ethernet: ethernet {
 					compatible = "net,ethernet",
 						     "usb,device";
 					reg = <0x00000001>;
@@ -397,6 +397,7 @@
 
 	aliases {
 		uart0 = &uart0;
+		ethernet0 = ðernet;
 	};
 
 	chosen {


More information about the svn-src-head mailing list