aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/x300/x300_regs.hpp
diff options
context:
space:
mode:
authorAshish Chaudhari <ashish@ettus.com>2015-09-13 00:47:20 -0700
committerAshish Chaudhari <ashish@ettus.com>2015-09-16 17:21:52 -0700
commitde907d20e6f6f5b0fb6f3876126abdfcecc2fc67 (patch)
tree21538680428cf005b5f4791024c6e2ec439aa4ce /host/lib/usrp/x300/x300_regs.hpp
parentea52a8d8e71aae5cf341b72083575dda3c8f6353 (diff)
downloaduhd-de907d20e6f6f5b0fb6f3876126abdfcecc2fc67.tar.gz
uhd-de907d20e6f6f5b0fb6f3876126abdfcecc2fc67.tar.bz2
uhd-de907d20e6f6f5b0fb6f3876126abdfcecc2fc67.zip
x300: Added DMA FIFO support to X300
- Added HG vs HGS detection logic - Added DMA FIFO configuration code
Diffstat (limited to 'host/lib/usrp/x300/x300_regs.hpp')
-rw-r--r--host/lib/usrp/x300/x300_regs.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/host/lib/usrp/x300/x300_regs.hpp b/host/lib/usrp/x300/x300_regs.hpp
index eba30abb5..7173c0660 100644
--- a/host/lib/usrp/x300/x300_regs.hpp
+++ b/host/lib/usrp/x300/x300_regs.hpp
@@ -77,6 +77,8 @@ localparam ZPU_SR_XB_LOCAL = 03;
localparam ZPU_SR_SPI = 32;
localparam ZPU_SR_ETHINT0 = 40;
localparam ZPU_SR_ETHINT1 = 56;
+localparam ZPU_SR_DRAM_FIFO0 = 72;
+localparam ZPU_SR_DRAM_FIFO1 = 80;
//reset bits
#define ZPU_SR_SW_RST_ETH_PHY (1<<0)
@@ -89,6 +91,8 @@ localparam ZPU_RB_CLK_STATUS = 3;
localparam ZPU_RB_COMPAT_NUM = 6;
localparam ZPU_RB_ETH_TYPE0 = 4;
localparam ZPU_RB_ETH_TYPE1 = 5;
+localparam ZPU_RB_DRAM_FIFO0 = 10;
+localparam ZPU_RB_DRAM_FIFO1 = 11;
//spi slaves on radio
#define DB_DAC_SEN (1 << 7)