From 77481462d160e00ca6664bbbacad90a3253e47eb Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Tue, 15 Mar 2011 10:28:16 -0700 Subject: usrp2: common memory map, define slave bases in different headers --- firmware/zpu/usrp2p/slave_base.h | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 firmware/zpu/usrp2p/slave_base.h (limited to 'firmware/zpu/usrp2p/slave_base.h') diff --git a/firmware/zpu/usrp2p/slave_base.h b/firmware/zpu/usrp2p/slave_base.h new file mode 100644 index 000000000..3c1c19bf9 --- /dev/null +++ b/firmware/zpu/usrp2p/slave_base.h @@ -0,0 +1,37 @@ +// +// Copyright 2011 Ettus Research LLC +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . +// + +#ifndef INCLUDED_SLAVE_BASE_H +#define INCLUDED_SLAVE_BASE_H + +#define BOOTRAM_BASE 0x0000 +#define ROUTER_RAM_BASE 0x4000 +#define SPI_BASE 0x6000 +#define I2C_BASE 0x6100 +#define GPIO_BASE 0x6200 +#define ROUTER_STATUS_BASE 0x6300 +#define ETH_BASE 0x6400 +#define MISC_OUTPUT_BASE 0x5000 +#define PIC_BASE 0x6500 +#define UART_BASE 0x6700 +#define ATR_BASE 0x6800 +#define ICAP_BASE 0x6A00 +#define SPIF_BASE 0x6B00 +#define RAM_BASE 0x8000 + +#endif + -- cgit v1.2.3