[EMAIL PROTECTED] wrote:
This patch defines the base addresses for DM355.
Signed-off-by: Hui Geng <[EMAIL PROTECTED]>
---
include/asm-arm/arch-davinci/hardware.h | 37 +++++++++++++++++++++++++++++++
1 files changed, 37 insertions(+), 0 deletions(-)
diff --git a/include/asm-arm/arch-davinci/hardware.h
b/include/asm-arm/arch-davinci/hardware.h
index bca3d7a..87731a9 100644
--- a/include/asm-arm/arch-davinci/hardware.h
+++ b/include/asm-arm/arch-davinci/hardware.h
@@ -11,6 +11,8 @@
#ifndef __ASM_ARCH_HARDWARE_H
#define __ASM_ARCH_HARDWARE_H
+#include <asm/arch/psc.h>
+#include <asm/arch/serial.h>
/*
* Base register addresses
*/
@@ -122,4 +124,39 @@
*/
#define DAVINCI_VDD3P3V_PWDN (DAVINCI_SYSTEM_MODULE_BASE + 0x48)
+/*
+ * DM355 base register addresses different from original DaVinci
+ */
+#define DM355_TIMER2_BASE (0x01C20800)
+#define DM355_REALTIME_BASE (0x01C20C00)
+#define DM355_PWM3_BASE (0x01C22C00)
+#define DM355_SPI_BASE (0x01C66000)
+#define DM355_SPI0_BASE DM355_SPI_BASE
+#define DM355_SPI1_BASE (0x01C66800)
+#define DM355_SPI2_BASE (0x01C67800)
+#define DM355_VPSS_CLK_BASE DAVINCI_VPSS_REGS_BASE
+#define DM355_VPSS_HW3A_BASE (0x01C70080)
+#define DM355_VPSS_IPIPE0_BASE (0x01C70100)
+#define DM355_VPSS_OSD_BASE (0x01C70200)
+#define DM355_VPSS_HSSIF_BASE (0x01C70300)
+#define DM355_VPSS_VENC_BASE (0x01C70400)
+#define DM355_VPSS_CCDC_BASE (0x01C70600)
+#define DM355_VPSS_BL_BASE (0x01C70800)
+#define DM355_VPSS_CFA_LD_BASE (0x01C70900)
+#define DM355_VPSS_IPIPE1_BASE (0x01C71000)
+#define DM355_IMX_BASE (0x01CD0000)
+#define DM355_IMX_CTL_BASE (0x01CD0380)
+#define DM355_IMCOP_CTL_BASE (0x01CDF400)
+#define DM355_IMCOP_SEQ_BASE (0x01CDFF00)
+#define DM355_MMC1_BASE (0x01E00000)
+#define DM355_MCBSP0_BASE DAVINCI_MCBSP_BASE
+#define DM355_MCBSP1_BASE (0x01E04000)
+#define DM355_MCBSP1_RX_DMA_PORT DM355_MCBSP1_BASE
+#define DM355_MCBSP1_TX_DMA_PORT (DM355_MCBSP1_BASE + 4)
+#define DM355_UART2_BASE (0x01E06000)
+#define DM355_ASYNC_EMIF_CNTRL_BASE (0x01E10000)
+
+#define DM355_MMC_SD_BASE (0x01E11000)
+#define DM355_MMC0_BASE DM355_MMC_SD_BASE
+#define DAVINCI_MMC_SD0_BASE DM355_MMC_SD_BASE
#endif /* __ASM_ARCH_HARDWARE_H */
Can we please create new files for the DM355 and DM6467?
I don't mind hardware.h including all
i.e.
#include "hardware355.h"
#include "hardware6467.h"
Just my 2 cents.
Troy
_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source