svn commit: r288056 - in head/sys: arm/conf boot/fdt/dts/arm
Luiz Otavio O Souza
loos at FreeBSD.org
Mon Sep 21 03:17:42 UTC 2015
Author: loos
Date: Mon Sep 21 03:17:41 2015
New Revision: 288056
URL: https://svnweb.freebsd.org/changeset/base/288056
Log:
Enable if_dwc for Allwinner A20 based boards.
This enables the gigabit ethernet on cubieboard2 and banana pi.
A special thanks to Netgate who gently provided me with a banana pi almost
a year ago.
Modified:
head/sys/arm/conf/A20
head/sys/boot/fdt/dts/arm/cubieboard2.dts
Modified: head/sys/arm/conf/A20
==============================================================================
--- head/sys/arm/conf/A20 Mon Sep 21 03:03:57 2015 (r288055)
+++ head/sys/arm/conf/A20 Mon Sep 21 03:17:41 2015 (r288056)
@@ -47,7 +47,7 @@ options WITNESS_SKIPSPIN # Don't run wi
#options BOOTP_NFSROOT
#options BOOTP_COMPAT
#options BOOTP_NFSV3
-#options BOOTP_WIRED_TO=cpsw0
+#options BOOTP_WIRED_TO=dwc0
# Boot device is 2nd slice on MMC/SD card
options ROOTDEVNAME=\"ufs:/dev/da0s2\"
@@ -102,7 +102,8 @@ device ether
device mii
device bpf
-device emac
+#device emac # 10/100 integrated EMAC controller
+device dwc # 10/100/1000 integrated GMAC controller
# USB ethernet support, requires miibus
device miibus
Modified: head/sys/boot/fdt/dts/arm/cubieboard2.dts
==============================================================================
--- head/sys/boot/fdt/dts/arm/cubieboard2.dts Mon Sep 21 03:03:57 2015 (r288055)
+++ head/sys/boot/fdt/dts/arm/cubieboard2.dts Mon Sep 21 03:17:41 2015 (r288056)
@@ -67,6 +67,10 @@
status = "okay";
};
+ gmac at 01c50000 {
+ status = "okay";
+ };
+
ahci: sata at 01c18000 {
status = "okay";
};
More information about the svn-src-all
mailing list