TMS570: Memory map applies only to LS04x and LS03x. Peripheral numbering seems to start with 1, not 0
This commit is contained in:
parent
9f9cb00104
commit
5794675247
@ -92,15 +92,15 @@
|
||||
# define TMS570_ECAP_NCH 0 /* No eCAP channels */
|
||||
# define TMS570_EQEP_NCH 1 /* One eQEP channel */
|
||||
# define TMS570_NMIBSPI 1 /* One MibSPI */
|
||||
# define TMS570_MIBSPI0_NCS 4 /* MibSPI0: 4 chip selects */
|
||||
# define TMS570_MIBSPI1_NCS 0 /* MibSPI1: No chip selects */
|
||||
# define TMS570_MIBSPI1_NCS 4 /* MibSPI1: 4 chip selects */
|
||||
# define TMS570_MIBSPI2_NCS 0 /* MibSPI2: No chip selects */
|
||||
# define TMS570_MIBSPI3_NCS 0 /* MibSPI3: No chip selects */
|
||||
# define TMS570_NSPI 2 /* Two SPI */
|
||||
# define TMS570_SPI0_NCS 0 /* SPI0: No chip selects */
|
||||
# define TMS570_SPI1_NCS 0 /* SPI1: No chip selects */
|
||||
# define TMS570_SPI2_NCS 0 /* SPI2: No chip selects */
|
||||
# define TMS570_NSCI 1 /* One SCI */
|
||||
# define TMS570_SCI0_LIN 1 /* SCI0: LIN supported */
|
||||
# undef TMS570_SCI1_LIN /* SCI1: LIN not supported */
|
||||
# define TMS570_SCI1_LIN 1 /* SCI1: LIN supported */
|
||||
# undef TMS570_SCI2_LIN /* SCI2: LIN not supported */
|
||||
# define TMS570_NI2C 0 /* No I2C */
|
||||
# define TMS570_NGPIOINT 8 /* 8 GPIO interrupts */
|
||||
# define TMS570_NEMIF16 0 /* No EMIF 16-bit data */
|
||||
@ -129,15 +129,15 @@
|
||||
# define TMS570_ECAP_NCH 0 /* No eCAP channels */
|
||||
# define TMS570_EQEP_NCH 1 /* One eQEP channel */
|
||||
# define TMS570_NMIBSPI 1 /* One MibSPI */
|
||||
# define TMS570_MIBSPI0_NCS 4 /* MibSPI0: 4 chip selects */
|
||||
# define TMS570_MIBSPI1_NCS 0 /* MibSPI1: No chip selects */
|
||||
# define TMS570_MIBSPI1_NCS 4 /* MibSPI1: 4 chip selects */
|
||||
# define TMS570_MIBSPI2_NCS 0 /* MibSPI2: No chip selects */
|
||||
# define TMS570_MIBSPI3_NCS 0 /* MibSPI3: No chip selects */
|
||||
# define TMS570_NSPI 2 /* Two SPI */
|
||||
# define TMS570_SPI0_NCS 0 /* SPI0: No chip selects */
|
||||
# define TMS570_SPI1_NCS 0 /* SPI1: No chip selects */
|
||||
# define TMS570_SPI2_NCS 0 /* SPI2: No chip selects */
|
||||
# define TMS570_NSCI 1 /* One SCI */
|
||||
# define TMS570_SCI0_LIN 1 /* SCI0: LIN supported */
|
||||
# undef TMS570_SCI1_LIN /* SCI1: LIN not supported */
|
||||
# define TMS570_SCI1_LIN 1 /* SCI1: LIN supported */
|
||||
# undef TMS570_SCI2_LIN /* SCI2: LIN not supported */
|
||||
# define TMS570_NI2C 0 /* No I2C */
|
||||
# define TMS570_NGPIOINT 9 /* 9 GPIO interrupts */
|
||||
# define TMS570_NEMIF16 0 /* No EMIF 16-bit data */
|
||||
@ -166,15 +166,15 @@
|
||||
# define TMS570_ECAP_NCH 0 /* No eCAP channels */
|
||||
# define TMS570_EQEP_NCH 1 /* One eQEP channel */
|
||||
# define TMS570_NMIBSPI 1 /* One MibSPI */
|
||||
# define TMS570_MIBSPI0_NCS 4 /* MibSPI0: 4 chip selects */
|
||||
# define TMS570_MIBSPI1_NCS 0 /* MibSPI1: No chip selects */
|
||||
# define TMS570_MIBSPI1_NCS 4 /* MibSPI1: 4 chip selects */
|
||||
# define TMS570_MIBSPI2_NCS 0 /* MibSPI2: No chip selects */
|
||||
# define TMS570_MIBSPI3_NCS 0 /* MibSPI3: No chip selects */
|
||||
# define TMS570_NSPI 2 /* Two SPI */
|
||||
# define TMS570_SPI0_NCS 0 /* SPI0: No chip selects */
|
||||
# define TMS570_SPI1_NCS 0 /* SPI1: No chip selects */
|
||||
# define TMS570_SPI2_NCS 0 /* SPI2: No chip selects */
|
||||
# define TMS570_NSCI 1 /* One SCI */
|
||||
# define TMS570_SCI0_LIN 1 /* SCI0: LIN supported */
|
||||
# undef TMS570_SCI1_LIN /* SCI1: LIN not supported */
|
||||
# define TMS570_SCI1_LIN 1 /* SCI1: LIN supported */
|
||||
# undef TMS570_SCI2_LIN /* SCI2: LIN not supported */
|
||||
# define TMS570_NI2C 0 /* No I2C */
|
||||
# define TMS570_NGPIOINT 8 /* 8 GPIO interrupts */
|
||||
# define TMS570_NEMIF16 0 /* No EMIF 16-bit data */
|
||||
@ -228,15 +228,15 @@
|
||||
# define TMS570_ECAP_NCH 4 /* 4 eCAP channels */
|
||||
# define TMS570_EQEP_NCH 1 /* 1 eQEP channels */
|
||||
# define TMS570_NMIBSPI 2 /* 2 MibSPI */
|
||||
# define TMS570_MIBSPI0_NCS 5 /* MibSPI0: 5 chip selects */
|
||||
# define TMS570_MIBSPI1_NCS 1 /* MibSPI1: 1 chip selects */
|
||||
# define TMS570_MIBSPI2_NCS 0 /* MibSPI2: No chip selects */
|
||||
# define TMS570_MIBSPI1_NCS 5 /* MibSPI1: 5 chip selects */
|
||||
# define TMS570_MIBSPI2_NCS 1 /* MibSPI2: 1 chip selects */
|
||||
# define TMS570_MIBSPI3_NCS 0 /* MibSPI3: No chip selects */
|
||||
# define TMS570_NSPI 1 /* One SPI */
|
||||
# define TMS570_SPI0_NCS 1 /* SPI0: One chip selects */
|
||||
# define TMS570_SPI1_NCS 0 /* SPI1: No chip selects */
|
||||
# define TMS570_SPI1_NCS 1 /* SPI1: One chip selects */
|
||||
# define TMS570_SPI2_NCS 0 /* SPI2: No chip selects */
|
||||
# define TMS570_NSCI 1 /* One SCI */
|
||||
# define TMS570_SCI0_LIN 1 /* SCI0: LIN supported */
|
||||
# undef TMS570_SCI1_LIN /* SCI1: LIN not supported */
|
||||
# define TMS570_SCI1_LIN 1 /* SCI1: LIN supported */
|
||||
# undef TMS570_SCI2_LIN /* SCI2: LIN not supported */
|
||||
# define TMS570_NI2C 0 /* No I2C */
|
||||
# define TMS570_NGPIOINT 9 /* 9 GPIO interrupts */
|
||||
# define TMS570_NEMIF16 0 /* No EMIF 16-bit data */
|
||||
@ -265,15 +265,15 @@
|
||||
# define TMS570_ECAP_NCH 6 /* 6 eCAP channels */
|
||||
# define TMS570_EQEP_NCH 2 /* 2 eQEP channels */
|
||||
# define TMS570_NMIBSPI 3 /* 3 MibSPI */
|
||||
# define TMS570_MIBSPI0_NCS 5 /* MibSPI0: 5 chip selects */
|
||||
# define TMS570_MIBSPI1_NCS 6 /* MibSPI1: 6 chip selects */
|
||||
# define TMS570_MIBSPI2_NCS 4 /* MibSPI2: 4 chip selects */
|
||||
# define TMS570_MIBSPI1_NCS 5 /* MibSPI1: 5 chip selects */
|
||||
# define TMS570_MIBSPI2_NCS 6 /* MibSPI2: 6 chip selects */
|
||||
# define TMS570_MIBSPI3_NCS 4 /* MibSPI3: 4 chip selects */
|
||||
# define TMS570_NSPI 1 /* One SPI */
|
||||
# define TMS570_SPI0_NCS 1 /* SPI0: One chip selects */
|
||||
# define TMS570_SPI1_NCS 0 /* SPI1: No chip selects */
|
||||
# define TMS570_SPI1_NCS 1 /* SPI1: One chip selects */
|
||||
# define TMS570_SPI2_NCS 0 /* SPI2: No chip selects */
|
||||
# define TMS570_NSCI 2 /* Two SCI */
|
||||
# define TMS570_SCI0_LIN 1 /* SCI0: LIN supported */
|
||||
# undef TMS570_SCI1_LIN /* SCI1: LIN not supported */
|
||||
# define TMS570_SCI1_LIN 1 /* SCI1: LIN supported */
|
||||
# undef TMS570_SCI2_LIN /* SCI2: LIN not supported */
|
||||
# define TMS570_NI2C 1 /* One I2C */
|
||||
# define TMS570_NGPIOINT 10 /* 16 GPIO interrupts */
|
||||
# define TMS570_NEMIF16 0 /* No EMIF 16-bit data */
|
||||
@ -302,15 +302,15 @@
|
||||
# define TMS570_ECAP_NCH 6 /* 6 eCAP channels */
|
||||
# define TMS570_EQEP_NCH 2 /* 2 eQEP channels */
|
||||
# define TMS570_NMIBSPI 3 /* 3 MibSPI */
|
||||
# define TMS570_MIBSPI0_NCS 6 /* MibSPI0: 6 chip selects */
|
||||
# define TMS570_MIBSPI1_NCS 6 /* MibSPI1: 6 chip selects */
|
||||
# define TMS570_MIBSPI2_NCS 4 /* MibSPI2: 4 chip selects */
|
||||
# define TMS570_MIBSPI2_NCS 6 /* MibSPI2: 6 chip selects */
|
||||
# define TMS570_MIBSPI3_NCS 4 /* MibSPI3: 4 chip selects */
|
||||
# define TMS570_NSPI 2 /* Two SPI */
|
||||
# define TMS570_SPI0_NCS 2 /* SPI0: Two chip selects */
|
||||
# define TMS570_SPI1_NCS 1 /* SPI1: One chip selects */
|
||||
# define TMS570_SPI1_NCS 2 /* SPI1: Two chip selects */
|
||||
# define TMS570_SPI2_NCS 1 /* SPI2: One chip selects */
|
||||
# define TMS570_NSCI 2 /* Two SCI */
|
||||
# define TMS570_SCI0_LIN 1 /* SCI0: LIN supported */
|
||||
# undef TMS570_SCI1_LIN /* SCI1: LIN not supported */
|
||||
# define TMS570_SCI1_LIN 1 /* SCI1: LIN supported */
|
||||
# undef TMS570_SCI2_LIN /* SCI2: LIN not supported */
|
||||
# define TMS570_NI2C 1 /* One I2C */
|
||||
# define TMS570_NGPIOINT 16 /* 16 GPIO interrupts */
|
||||
# define TMS570_NEMIF16 0 /* No EMIF 16-bit data */
|
||||
@ -339,15 +339,15 @@
|
||||
# define TMS570_ECAP_NCH 6 /* 6 eCAP channels */
|
||||
# define TMS570_EQEP_NCH 2 /* 2 eQEP channels */
|
||||
# define TMS570_NMIBSPI 3 /* 3 MibSPI */
|
||||
# define TMS570_MIBSPI0_NCS 6 /* MibSPI0: 6 chip selects */
|
||||
# define TMS570_MIBSPI1_NCS 6 /* MibSPI1: 6 chip selects */
|
||||
# define TMS570_MIBSPI2_NCS 4 /* MibSPI2: 4 chip selects */
|
||||
# define TMS570_MIBSPI2_NCS 6 /* MibSPI2: 6 chip selects */
|
||||
# define TMS570_MIBSPI3_NCS 4 /* MibSPI3: 4 chip selects */
|
||||
# define TMS570_NSPI 2 /* Two SPI */
|
||||
# define TMS570_SPI0_NCS 2 /* SPI0: Two chip selects */
|
||||
# define TMS570_SPI1_NCS 1 /* SPI1: One chip selects */
|
||||
# define TMS570_SPI1_NCS 2 /* SPI1: Two chip selects */
|
||||
# define TMS570_SPI2_NCS 1 /* SPI2: One chip selects */
|
||||
# define TMS570_NSCI 2 /* Two SCI */
|
||||
# define TMS570_SCI0_LIN 1 /* SCI0: LIN supported */
|
||||
# undef TMS570_SCI1_LIN /* SCI1: LIN not supported */
|
||||
# define TMS570_SCI1_LIN 1 /* SCI1: LIN supported */
|
||||
# undef TMS570_SCI2_LIN /* SCI2: LIN not supported */
|
||||
# define TMS570_NI2C 1 /* One I2C */
|
||||
# define TMS570_NGPIOINT 16 /* 16 GPIO interrupts */
|
||||
# define TMS570_NEMIF16 1 /* One EMIF 16-bit data */
|
||||
|
@ -42,90 +42,22 @@
|
||||
|
||||
#include <nuttx/config.h>
|
||||
|
||||
/****************************************************************************************************
|
||||
* Pre-processor Definitions
|
||||
****************************************************************************************************/
|
||||
|
||||
/* Memory Map Overview */
|
||||
|
||||
#define TMS570_FLASH_BASE 0x00000000 /* 0x00000000-0x0005ffff: Program FLASH */
|
||||
/* 0x00060000-0x07ffffff: Reserved */
|
||||
#define TMS570_RAM_BASE 0x08000000 /* 0x08000000-0x08007fff: RAM */
|
||||
/* 0x08008000-0x1fffffff: Reserved */
|
||||
#define TMS570_MIRROR_BASE 0x20000000 /* 0x20000000-0x2005ffff: Program FLASH mirror */
|
||||
/* 0x20060000-0xefffffff: Reserved */
|
||||
#define TMS570_BUS2_BASE 0xf0000000 /* 0xf0000000-0xf07fffff: Flash Module BUS2 Interface */
|
||||
/* 0xf0800000-0xfbffffff: Reserved */
|
||||
#define TMS570_PERIPH2_BASE 0xfc000000 /* 0xfc000000-0xfcffffff: Peripherals - Frame 2 */
|
||||
/* 0xfd000000-0xfdffffff: Reserved */
|
||||
#define TMS570_CRC_BASE 0xfe000000 /* 0xfe000000-0xfeffffff: CRC */
|
||||
#define TMS570_PERIPH1_BASE 0xff000000 /* 0xff000000-0xff7fffff: Peripherals - Frame 1 */
|
||||
#define TMS570_SYSTEM_BASE 0xfff80000 /* 0xff800000-0xffffffff: System Modules */
|
||||
|
||||
/* Flash Bus2 Interface: OTP, ECC, EEPROM Bank */
|
||||
|
||||
#define TMS570_CUSTTCM_BASE 0xf0000000 /* 0xf0000000-0xf000dfff: Customer OTP, TCM FLASH bank */
|
||||
#define TMS570_CUSTEEPROM_BASE 0xf000e000 /* 0xf000e000-0xf000ffff: Customer OTP, EEPROM bank */
|
||||
#define TMS570_CUSTECC_BASE 0xf0040000 /* 0xf0040000-0xf00403ff: Customer OTP-ECC, TCM FLASH bank */
|
||||
#define TMS570_CUSTECCEEPROM_BASE 0xf0040000 /* 0xf0041c00-0xf0041fff: Customer OTP-ECC, EEPROM bank */
|
||||
|
||||
#define TMS570_TITCM_BASE 0xf0080000 /* 0xf0080000-0xf008dfff: TI OTP, TCM FLASH bank */
|
||||
#define TMS570_TIEEPROM_BASE 0xf008e000 /* 0xf008e000-0xf008ffff: TI OTP, EEPROM bank */
|
||||
#define TMS570_TIECC_BASE 0xf00c0000 /* 0xf00c0000-0xf00c03ff: TI OTP-ECC, TCM FLASH bank */
|
||||
#define TMS570_TIECC_BASE 0xf00c1c00 /* 0xf00c1c00-0xf00c1fff: TI OTP-ECC, EEPROM bank */
|
||||
|
||||
#define TMS570_EEC_BASE 0xf0100000 /* 0xf0100000-0xf013ffff: EEPROM Bank - EEC */
|
||||
#define TMS570_EEPROM_BASE 0xf0200000 /* 0xf0200000-0xf03fffff: EEPROM Bank */
|
||||
#define TMS570_FDATA_BASE 0xf0400000 /* 0xf0400000-0xf04fffff: FLASH Data Space - ECC */
|
||||
|
||||
/* Debug Components */
|
||||
|
||||
#define TMS570_CORESIGHT_BASE 0xffa00000 /* 0xffa00000-0xffa00fff: CoreSight Debug ROM */
|
||||
#define TMS570_CORTEXR4_BASE 0xffa01000 /* 0xffa01000-0xffa01fff: Cortex-R4 Debug */
|
||||
|
||||
/* Peripheral Memories */
|
||||
|
||||
#define TMS570_MIBSPI1RAM_BASE 0xff0e0000 /* 0xff0e0000-0xff0fffff: MIBSPI1 RAM */
|
||||
#define TMS570_DCAN2RAM_BASE 0xff1c0000 /* 0xff1c0000-0xff1dffff: DCAN2 RAM */
|
||||
#define TMS570_DCAN1RAM_BASE 0xff1e0000 /* 0xff1c0000-0xff1fffff: DCAN1 RAM */
|
||||
#define TMS570_MIBADCRAM_BASE 0xff3e0000 /* 0xff3e0000-0xff3fffff: MIBADC RAM */
|
||||
#define TMS570_MIBADCLUT_BASE 0xff3e0000 /* 0xff3e0000-0xff3fffff: MIBADC Lookup Table */
|
||||
#define TMS570_N2HETRAM_BASE 0xff460000 /* 0xff460000-0xff47ffff: N2HET RAM */
|
||||
#define TMS570_HETTURAM_BASE 0xff4e0000 /* 0xff4e0000-0xff4fffff: HET TU RAM */
|
||||
|
||||
/* Peripheral Control Registers */
|
||||
|
||||
#define TMS570_HTU_BASE 0xfff7a400 /* 0xfff7a400-0xfff7a4ff: HTU */
|
||||
#define TMS570_N2HET_BASE 0xfff7b800 /* 0xfff7b800-0xfff7b8ff: N2HET */
|
||||
#define TMS570_GIO_BASE 0xfff7bc00 /* 0xfff7bc00-0xfff7bcff: GIO */
|
||||
#define TMS570_MIBADC_BASE 0xfff7bc00 /* 0xfff7c000-0xfff7c1ff: MIBADC */
|
||||
#define TMS570_DCAN1_BASE 0xfff7dc00 /* 0xfff7dc00-0xfff7ddff: DCAN1 */
|
||||
#define TMS570_DCAN2_BASE 0xfff7de00 /* 0xfff7de00-0xfff7dfff: DCAN2 */
|
||||
#define TMS570_SCI_BASE 0xfff7e400 /* 0xfff7e400-0xfff7e4ff: SCI/LIN */
|
||||
#define TMS570_MIBSPI1_BASE 0xfff7f400 /* 0xfff7f400-0xfff7f5ff: MibSPI1 */
|
||||
#define TMS570_SPI2_BASE 0xfff7f600 /* 0xfff7f600-0xfff7f7ff: SPI2 */
|
||||
#define TMS570_SPI3_BASE 0xfff7f800 /* 0xfff7f800-0xfff7f9ff: SPI3 */
|
||||
#define TMS570_EQEP_BASE 0xfff79900 /* 0xfff79900-0xfff799ff: EQEP */
|
||||
#define TMS570_EQEPM_BASE 0xfcf79900 /* 0xfcf79900-0xfcf799ff: EQEP (Mirrored) */
|
||||
|
||||
/* System Modules Control Registers and Memories */
|
||||
|
||||
#define TMS570_VIMRAM_BASE 0xfff82000 /* 0xfff82000-0xfff82fff: VIM RAM */
|
||||
#define TMS570_FWRAP_BASE 0xfff87000 /* 0xfff87000-0xfff87fff: Flash Wrapper */
|
||||
#define TMS570_EFFC_BASE 0xfff8c000 /* 0xfff8c000-0xfff8cfff: eFuse Farm Controller */
|
||||
#define TMS570_PCR_BASE 0xffffe000 /* 0xffffe000-0xffffe0ff: PCR registers */
|
||||
#define TMS570_SMF2_BASE 0xffffe100 /* 0xffffe100-0xffffe1ff: System Module - Frame 2 */
|
||||
#define TMS570_PBIST_BASE 0xffffe400 /* 0xffffe400-0xffffe5ff: PBIST */
|
||||
#define TMS570_STC_BASE 0xffffe600 /* 0xffffe600-0xffffe6ff: STC */
|
||||
#define TMS570_IOMM_BASE 0xffffeA00 /* 0xffffea00-0xffffeBff: IOMM Multiplexing */
|
||||
#define TMS570_DCC_BASE 0xffffeC00 /* 0xffffec00-0xffffeCff: DCC */
|
||||
#define TMS570_ESM_BASE 0xfffff500 /* 0xfffff500-0xfffff5ff: ESM */
|
||||
#define TMS570_CCMR4_BASE 0xfffff600 /* 0xfffff600-0xfffff6ff: CCM-R4 */
|
||||
#define TMS570_RAMECCE_BASE 0xfffff800 /* 0xfffff800-0xfffff8ff: RAM ECC even */
|
||||
#define TMS570_RAMECCO_BASE 0xfffff900 /* 0xfffff900-0xfffff9ff: RAM ECC odd */
|
||||
#define TMS570_RTIDWWD_BASE 0xfffffc00 /* 0xfffffc00-0xfffffcff: RTI + DWWD */
|
||||
#define TMS570_VIMPAR_BASE 0xfffffd00 /* 0xfffffd00-0xfffffdff: VIM Parity */
|
||||
#define TMS570_VIM_BASE 0xfffffe00 /* 0xfffffe00-0xfffffeff: VIM */
|
||||
#define TMS570_SMF1_BASE 0xffffff00 /* 0xffffff00-0xffffffff: System Module - Frame 1 */
|
||||
#if defined(CONFIG_ARCH_CHIP_TMS570LS0232PZ)
|
||||
# error No memory map for the TMS570LS0232PZ
|
||||
#elif defined(CONFIG_ARCH_CHIP_TMS570LS0332PZ)
|
||||
# include "chip/tms570ls04x03x_memorymap.h"
|
||||
#elif defined(CONFIG_ARCH_CHIP_TMS570LS0432PZ)
|
||||
# include "chip/tms570ls04x03x_memorymap.h"
|
||||
#elif defined(CONFIG_ARCH_CHIP_TMS570LS0714PZ)
|
||||
# error No memory map for the TMS570LS0714PZ
|
||||
#elif defined(CONFIG_ARCH_CHIP_TMS570LS0714PGE)
|
||||
# error No memory map for the TMS570LS0714PGE
|
||||
#elif defined(CONFIG_ARCH_CHIP_TMS570LS0714ZWT)
|
||||
# error No memory map for the TMS570LS0714ZWT
|
||||
#elif defined(CONFIG_ARCH_CHIP_TMS570LS1227ZWT)
|
||||
# error No memory map for the TMS570LS1227ZWT
|
||||
#else
|
||||
# error "Unrecognized Hercules chip"
|
||||
#endif
|
||||
|
||||
#endif /* __ARCH_ARM_SRC_TMS570_CHIP_TMS570_MEMORYMAP_H */
|
||||
|
131
arch/arm/src/tms570/chip/tms570ls04x03x_memorymap.h
Normal file
131
arch/arm/src/tms570/chip/tms570ls04x03x_memorymap.h
Normal file
@ -0,0 +1,131 @@
|
||||
/****************************************************************************************************
|
||||
* arch/arm/src/tms570/chip/tms570ls04x03x_memorymap.h
|
||||
*
|
||||
* Copyright (C) 2015 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
* are met:
|
||||
*
|
||||
* 1. Redistributions of source code must retain the above copyright
|
||||
* notice, this list of conditions and the following disclaimer.
|
||||
* 2. Redistributions in binary form must reproduce the above copyright
|
||||
* notice, this list of conditions and the following disclaimer in
|
||||
* the documentation and/or other materials provided with the
|
||||
* distribution.
|
||||
* 3. Neither the name NuttX nor the names of its contributors may be
|
||||
* used to endorse or promote products derived from this software
|
||||
* without specific prior written permission.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
* "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
|
||||
* COPYRIGHT OWNER OR CONTRIBUTORS 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.
|
||||
*
|
||||
****************************************************************************************************/
|
||||
|
||||
#ifndef __ARCH_ARM_SRC_TMS570_CHIP_TMS570LS04X03X_MEMORYMAP_H
|
||||
#define __ARCH_ARM_SRC_TMS570_CHIP_TMS570LS04X03X_MEMORYMAP_H
|
||||
|
||||
/****************************************************************************************************
|
||||
* Included Files
|
||||
****************************************************************************************************/
|
||||
|
||||
#include <nuttx/config.h>
|
||||
|
||||
/****************************************************************************************************
|
||||
* Pre-processor Definitions
|
||||
****************************************************************************************************/
|
||||
|
||||
/* Memory Map Overview */
|
||||
|
||||
#define TMS570_FLASH_BASE 0x00000000 /* 0x00000000-0x0005ffff: Program FLASH */
|
||||
/* 0x00060000-0x07ffffff: Reserved */
|
||||
#define TMS570_RAM_BASE 0x08000000 /* 0x08000000-0x08007fff: RAM */
|
||||
/* 0x08008000-0x1fffffff: Reserved */
|
||||
#define TMS570_MIRROR_BASE 0x20000000 /* 0x20000000-0x2005ffff: Program FLASH mirror */
|
||||
/* 0x20060000-0xefffffff: Reserved */
|
||||
#define TMS570_BUS2_BASE 0xf0000000 /* 0xf0000000-0xf07fffff: Flash Module BUS2 Interface */
|
||||
/* 0xf0800000-0xfbffffff: Reserved */
|
||||
#define TMS570_PERIPH2_BASE 0xfc000000 /* 0xfc000000-0xfcffffff: Peripherals - Frame 2 */
|
||||
/* 0xfd000000-0xfdffffff: Reserved */
|
||||
#define TMS570_CRC_BASE 0xfe000000 /* 0xfe000000-0xfeffffff: CRC */
|
||||
#define TMS570_PERIPH1_BASE 0xff000000 /* 0xff000000-0xff7fffff: Peripherals - Frame 1 */
|
||||
#define TMS570_SYSTEM_BASE 0xfff80000 /* 0xff800000-0xffffffff: System Modules */
|
||||
|
||||
/* Flash Bus2 Interface: OTP, ECC, EEPROM Bank */
|
||||
|
||||
#define TMS570_CUSTTCM_BASE 0xf0000000 /* 0xf0000000-0xf000dfff: Customer OTP, TCM FLASH bank */
|
||||
#define TMS570_CUSTEEPROM_BASE 0xf000e000 /* 0xf000e000-0xf000ffff: Customer OTP, EEPROM bank */
|
||||
#define TMS570_CUSTECC_BASE 0xf0040000 /* 0xf0040000-0xf00403ff: Customer OTP-ECC, TCM FLASH bank */
|
||||
#define TMS570_CUSTECCEEPROM_BASE 0xf0040000 /* 0xf0041c00-0xf0041fff: Customer OTP-ECC, EEPROM bank */
|
||||
|
||||
#define TMS570_TITCM_BASE 0xf0080000 /* 0xf0080000-0xf008dfff: TI OTP, TCM FLASH bank */
|
||||
#define TMS570_TIEEPROM_BASE 0xf008e000 /* 0xf008e000-0xf008ffff: TI OTP, EEPROM bank */
|
||||
#define TMS570_TIECC_BASE 0xf00c0000 /* 0xf00c0000-0xf00c03ff: TI OTP-ECC, TCM FLASH bank */
|
||||
#define TMS570_TIECCEEPROM_BASE 0xf00c1c00 /* 0xf00c1c00-0xf00c1fff: TI OTP-ECC, EEPROM bank */
|
||||
|
||||
#define TMS570_EEC_BASE 0xf0100000 /* 0xf0100000-0xf013ffff: EEPROM Bank - EEC */
|
||||
#define TMS570_EEPROM_BASE 0xf0200000 /* 0xf0200000-0xf03fffff: EEPROM Bank */
|
||||
#define TMS570_FDATA_BASE 0xf0400000 /* 0xf0400000-0xf04fffff: FLASH Data Space - ECC */
|
||||
|
||||
/* Debug Components */
|
||||
|
||||
#define TMS570_CORESIGHT_BASE 0xffa00000 /* 0xffa00000-0xffa00fff: CoreSight Debug ROM */
|
||||
#define TMS570_CORTEXR4_BASE 0xffa01000 /* 0xffa01000-0xffa01fff: Cortex-R4 Debug */
|
||||
|
||||
/* Peripheral Memories */
|
||||
|
||||
#define TMS570_MIBSPI1RAM_BASE 0xff0e0000 /* 0xff0e0000-0xff0fffff: MIBSPI1 RAM */
|
||||
#define TMS570_DCAN2RAM_BASE 0xff1c0000 /* 0xff1c0000-0xff1dffff: DCAN2 RAM */
|
||||
#define TMS570_DCAN1RAM_BASE 0xff1e0000 /* 0xff1c0000-0xff1fffff: DCAN1 RAM */
|
||||
#define TMS570_MIBADCRAM_BASE 0xff3e0000 /* 0xff3e0000-0xff3fffff: MIBADC RAM */
|
||||
#define TMS570_MIBADCLUT_BASE 0xff3e0000 /* 0xff3e0000-0xff3fffff: MIBADC Lookup Table */
|
||||
#define TMS570_N2HETRAM_BASE 0xff460000 /* 0xff460000-0xff47ffff: N2HET RAM */
|
||||
#define TMS570_HETTURAM_BASE 0xff4e0000 /* 0xff4e0000-0xff4fffff: HET TU RAM */
|
||||
|
||||
/* Peripheral Control Registers */
|
||||
|
||||
#define TMS570_HTU_BASE 0xfff7a400 /* 0xfff7a400-0xfff7a4ff: HTU */
|
||||
#define TMS570_N2HET_BASE 0xfff7b800 /* 0xfff7b800-0xfff7b8ff: N2HET */
|
||||
#define TMS570_GIO_BASE 0xfff7bc00 /* 0xfff7bc00-0xfff7bcff: GIO */
|
||||
#define TMS570_MIBADC_BASE 0xfff7bc00 /* 0xfff7c000-0xfff7c1ff: MIBADC */
|
||||
#define TMS570_DCAN1_BASE 0xfff7dc00 /* 0xfff7dc00-0xfff7ddff: DCAN1 */
|
||||
#define TMS570_DCAN2_BASE 0xfff7de00 /* 0xfff7de00-0xfff7dfff: DCAN2 */
|
||||
#define TMS570_SCI_BASE 0xfff7e400 /* 0xfff7e400-0xfff7e4ff: SCI/LIN */
|
||||
#define TMS570_MIBSPI1_BASE 0xfff7f400 /* 0xfff7f400-0xfff7f5ff: MibSPI1 */
|
||||
#define TMS570_SPI2_BASE 0xfff7f600 /* 0xfff7f600-0xfff7f7ff: SPI2 */
|
||||
#define TMS570_SPI3_BASE 0xfff7f800 /* 0xfff7f800-0xfff7f9ff: SPI3 */
|
||||
#define TMS570_EQEP_BASE 0xfff79900 /* 0xfff79900-0xfff799ff: EQEP */
|
||||
#define TMS570_EQEPM_BASE 0xfcf79900 /* 0xfcf79900-0xfcf799ff: EQEP (Mirrored) */
|
||||
|
||||
/* System Modules Control Registers and Memories */
|
||||
|
||||
#define TMS570_VIMRAM_BASE 0xfff82000 /* 0xfff82000-0xfff82fff: VIM RAM */
|
||||
#define TMS570_FWRAP_BASE 0xfff87000 /* 0xfff87000-0xfff87fff: Flash Wrapper */
|
||||
#define TMS570_EFFC_BASE 0xfff8c000 /* 0xfff8c000-0xfff8cfff: eFuse Farm Controller */
|
||||
#define TMS570_PCR_BASE 0xffffe000 /* 0xffffe000-0xffffe0ff: PCR registers */
|
||||
#define TMS570_SMF2_BASE 0xffffe100 /* 0xffffe100-0xffffe1ff: System Module - Frame 2 */
|
||||
#define TMS570_PBIST_BASE 0xffffe400 /* 0xffffe400-0xffffe5ff: PBIST */
|
||||
#define TMS570_STC_BASE 0xffffe600 /* 0xffffe600-0xffffe6ff: STC */
|
||||
#define TMS570_IOMM_BASE 0xffffeA00 /* 0xffffea00-0xffffeBff: IOMM Multiplexing */
|
||||
#define TMS570_DCC_BASE 0xffffeC00 /* 0xffffec00-0xffffeCff: DCC */
|
||||
#define TMS570_ESM_BASE 0xfffff500 /* 0xfffff500-0xfffff5ff: ESM */
|
||||
#define TMS570_CCMR4_BASE 0xfffff600 /* 0xfffff600-0xfffff6ff: CCM-R4 */
|
||||
#define TMS570_RAMECCE_BASE 0xfffff800 /* 0xfffff800-0xfffff8ff: RAM ECC even */
|
||||
#define TMS570_RAMECCO_BASE 0xfffff900 /* 0xfffff900-0xfffff9ff: RAM ECC odd */
|
||||
#define TMS570_RTIDWWD_BASE 0xfffffc00 /* 0xfffffc00-0xfffffcff: RTI + DWWD */
|
||||
#define TMS570_VIMPAR_BASE 0xfffffd00 /* 0xfffffd00-0xfffffdff: VIM Parity */
|
||||
#define TMS570_VIM_BASE 0xfffffe00 /* 0xfffffe00-0xfffffeff: VIM */
|
||||
#define TMS570_SMF1_BASE 0xffffff00 /* 0xffffff00-0xffffffff: System Module - Frame 1 */
|
||||
|
||||
#endif /* __ARCH_ARM_SRC_TMS570_CHIP_TMS570LS04X03X_MEMORYMAP_H */
|
Loading…
Reference in New Issue
Block a user