Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/evbarm/conf Add the edma controller, and enable DMA...



details:   https://anonhg.NetBSD.org/src/rev/0af6900c10f7
branches:  trunk
changeset: 337450:0af6900c10f7
user:      bouyer <bouyer%NetBSD.org@localhost>
date:      Tue Apr 14 18:45:57 2015 +0000

description:
Add the edma controller, and enable DMA for sdhc0 and sdhc1

diffstat:

 sys/arch/evbarm/conf/BEAGLEBONE |  9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)

diffs (30 lines):

diff -r 23f66165a5c3 -r 0af6900c10f7 sys/arch/evbarm/conf/BEAGLEBONE
--- a/sys/arch/evbarm/conf/BEAGLEBONE   Tue Apr 14 18:45:25 2015 +0000
+++ b/sys/arch/evbarm/conf/BEAGLEBONE   Tue Apr 14 18:45:57 2015 +0000
@@ -1,5 +1,5 @@
 #
-#      $NetBSD: BEAGLEBONE,v 1.30 2014/12/04 16:50:15 riz Exp $
+#      $NetBSD: BEAGLEBONE,v 1.31 2015/04/14 18:45:57 bouyer Exp $
 #
 #      BEAGLEBONE -- TI AM335x board Kernel
 #
@@ -196,14 +196,17 @@
 # Control Module
 sitaracm0      at obio0 addr 0x44e10000 size 0x2000
 
+# Enhanced Direct Memory Access controller
+edma0          at obio0 addr 0x49000000 size 0x100000 intrbase 12
+
 # SDHC controllers
 # XXX Kludge -- the am335x's mmc registers start at an offset of #x100
 # from other omap3.  (What about omap4?)  Need to adapt the omap sdhc
 # driver to handle this.
-sdhc0          at obio0 addr 0x48060100 size 0x0f00 intr 64
+sdhc0          at obio0 addr 0x48060100 size 0x0f00 intr 64 edmabase 24
 sdmmc0         at sdhc0
 ld0            at sdmmc0
-sdhc1          at obio0 addr 0x481d8100 size 0x0f00 intr 28 # BB Black
+sdhc1          at obio0 addr 0x481d8100 size 0x0f00 intr 28 edmabase 2 # BB Black
 sdmmc1         at sdhc1
 ld1            at sdmmc1
 #sdhc2         at obio0 addr 0x47810100 size 0xff00 intr 29



Home | Main Index | Thread Index | Old Index