[PATCH 4/7] ARM DaVinci:Base Addresses for DM355

s-paulraj at ti.com s-paulraj at ti.com
Wed Sep 17 16:13:26 CDT 2008


Adding base addresses for DaVinci DM355

Signed-off-by: Sandeep Paulraj <s-paulraj at ti.com>
---
 arch/arm/mach-davinci/include/mach/hardware.h      |    1 +
 .../arm/mach-davinci/include/mach/hardware_dm355.h |   62 ++++++++++++++++++++
 2 files changed, 63 insertions(+), 0 deletions(-)
 create mode 100644 arch/arm/mach-davinci/include/mach/hardware_dm355.h

diff --git a/arch/arm/mach-davinci/include/mach/hardware.h b/arch/arm/mach-davinci/include/mach/hardware.h
index 12f5602..1ff35d8 100644
--- a/arch/arm/mach-davinci/include/mach/hardware.h
+++ b/arch/arm/mach-davinci/include/mach/hardware.h
@@ -12,6 +12,7 @@
 #define __ASM_ARCH_HARDWARE_H
 
 #include <mach/hardware_dm6467.h>
+#include <mach/hardware_dm355.h>
 
 /*
  * Base register addresses
diff --git a/arch/arm/mach-davinci/include/mach/hardware_dm355.h b/arch/arm/mach-davinci/include/mach/hardware_dm355.h
new file mode 100644
index 0000000..825898e
--- /dev/null
+++ b/arch/arm/mach-davinci/include/mach/hardware_dm355.h
@@ -0,0 +1,62 @@
+/*
+ *
+ *  Copyright (C) 2008 Texas Instruments.
+ *
+ *  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 2 of the  License, or (at your
+ *  option) any later version.
+ *
+ *  THIS  SOFTWARE  IS PROVIDED   ``AS  IS'' AND   ANY  EXPRESS OR IMPLIED
+ *  WARRANTIES,   INCLUDING, BUT NOT  LIMITED  TO, THE IMPLIED WARRANTIES OF
+ *  MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.  IN
+ *  NO  EVENT  SHALL   THE AUTHOR  BE    LIABLE FOR ANY   DIRECT, INDIRECT,
+ *  INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
+ *  NOT LIMITED   TO, PROCUREMENT OF  SUBSTITUTE GOODS  OR SERVICES; LOSS OF
+ *  USE, DATA,  OR PROFITS; OR  BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
+ *  ANY THEORY OF LIABILITY, WHETHER IN  CONTRACT, STRICT LIABILITY, OR TORT
+ *  (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
+ *  THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ *
+ *  You should have received a copy of the  GNU General Public License along
+ *  with this program; if not, write  to the Free Software Foundation, Inc.,
+ *  675 Mass Ave, Cambridge, MA 02139, USA.
+ *
+ */
+#ifndef __ASM_ARCH_HARDWARE_DM355_H
+#define __ASM_ARCH_HARDWARE_DM355_H
+
+/*
+ * DM355 base register addresses different from original DaVinci
+ */
+#define DAVINCI_DM355_TIMER2_BASE                (0x01C20800)
+#define DAVINCI_DM355_REALTIME_BASE              (0x01C20C00)
+#define DAVINCI_DM355_PWM3_BASE                  (0x01C22C00)
+#define DAVINCI_DM355_SPI0_BASE                  (0x01C66000)
+#define DAVINCI_DM355_SPI1_BASE                  (0x01C66800)
+#define DAVINCI_DM355_SPI2_BASE                  (0x01C67800)
+#define DAVINCI_DM355_VPSS_CLK_BASE              DAVINCI_VPSS_REGS_BASE
+#define DAVINCI_DM355_VPSS_HW3A_BASE             (0x01C70080)
+#define DAVINCI_DM355_VPSS_IPIPE0_BASE           (0x01C70100)
+#define DAVINCI_DM355_VPSS_OSD_BASE              (0x01C70200)
+#define DAVINCI_DM355_VPSS_HSSIF_BASE            (0x01C70300)
+#define DAVINCI_DM355_VPSS_VENC_BASE             (0x01C70400)
+#define DAVINCI_DM355_VPSS_CCDC_BASE             (0x01C70600)
+#define DAVINCI_DM355_VPSS_BL_BASE               (0x01C70800)
+#define DAVINCI_DM355_VPSS_CFA_LD_BASE           (0x01C70900)
+#define DAVINCI_DM355_VPSS_IPIPE1_BASE           (0x01C71000)
+#define DAVINCI_DM355_IMX_BASE                   (0x01CD0000)
+#define DAVINCI_DM355_IMX_CTL_BASE               (0x01CD0380)
+#define DAVINCI_DM355_IMCOP_CTL_BASE             (0x01CDF400)
+#define DAVINCI_DM355_IMCOP_SEQ_BASE             (0x01CDFF00)
+#define DAVINCI_DM355_MMC_SD1_BASE               (0x01E00000)
+#define DAVINCI_DM355_MCBSP0_BASE                DAVINCI_MCBSP_BASE
+#define DAVINCI_DM355_MCBSP1_BASE                (0x01E04000)
+#define DAVINCI_DM355_MCBSP1_RX_DMA_PORT         DAVINCI_DM355_MCBSP1_BASE
+#define DAVINCI_DM355_MCBSP1_TX_DMA_PORT         (DAVINCI_DM355_MCBSP1_BASE + 4)
+#define DAVINCI_DM355_UART2_BASE                 (0x01E06000)
+#define DAVINCI_DM355_ASYNC_EMIF_CNTRL_BASE      (0x01E10000)
+#define DAVINCI_DM355_MMC_SD0_BASE               (0x01E11000)
+
+#endif /* __ASM_ARCH_HARDWARE_DM355_H */
+
-- 
1.5.6.4



More information about the Davinci-linux-open-source mailing list