1 /******************************************************************************
2 *  Filename:       hw_memmap_h
3 *  Revised:        2015-11-03 09:54:47 +0100 (Tue, 03 Nov 2015)
4 *  Revision:       44933
5 *
6 * Copyright (c) 2015, Texas Instruments Incorporated
7 * All rights reserved.
8 *
9 * Redistribution and use in source and binary forms, with or without
10 * modification, are permitted provided that the following conditions are met:
11 *
12 * 1) Redistributions of source code must retain the above copyright notice,
13 *    this list of conditions and the following disclaimer.
14 *
15 * 2) Redistributions in binary form must reproduce the above copyright notice,
16 *    this list of conditions and the following disclaimer in the documentation
17 *    and/or other materials provided with the distribution.
18 *
19 * 3) Neither the name of the ORGANIZATION nor the names of its contributors may
20 *    be used to endorse or promote products derived from this software without
21 *    specific prior written permission.
22 *
23 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
24 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
25 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
26 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
27 * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
28 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
29 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
30 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
31 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
32 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
33 * POSSIBILITY OF SUCH DAMAGE.
34 *
35 ******************************************************************************/
36 
37 #ifndef __HW_MEMMAP_H__
38 #define __HW_MEMMAP_H__
39 
40 //*****************************************************************************
41 //
42 // The following are defines for the base address of the memories and
43 // peripherals on the CPU_MMAP interface
44 //
45 //*****************************************************************************
46 #define FLASHMEM_BASE           0x00000000 // FLASHMEM
47 #define BROM_BASE               0x10000000 // BROM
48 #define GPRAM_BASE              0x11000000 // GPRAM
49 #define SRAM_BASE               0x20000000 // SRAM
50 #define RFC_RAM_BASE            0x21000000 // RFRAM
51 #define SSI0_BASE               0x40000000 // SSI
52 #define UART0_BASE              0x40001000 // UART
53 #define I2C0_BASE               0x40002000 // I2C
54 #define SSI1_BASE               0x40008000 // SSI
55 #define GPT0_BASE               0x40010000 // GPT
56 #define GPT1_BASE               0x40011000 // GPT
57 #define GPT2_BASE               0x40012000 // GPT
58 #define GPT3_BASE               0x40013000 // GPT
59 #define UDMA0_BASE              0x40020000 // UDMA
60 #define I2S0_BASE               0x40021000 // I2S
61 #define GPIO_BASE               0x40022000 // GPIO
62 #define CRYPTO_BASE             0x40024000 // CRYPTO
63 #define TRNG_BASE               0x40028000 // TRNG
64 #define FLASH_BASE              0x40030000 // FLASH
65 #define VIMS_BASE               0x40034000 // VIMS
66 #define RFC_PWR_BASE            0x40040000 // RFC_PWR
67 #define RFC_DBELL_BASE          0x40041000 // RFC_DBELL
68 #define RFC_RAT_BASE            0x40043000 // RFC_RAT
69 #define RFC_FSCA_BASE           0x40044000 // RFC_FSCA
70 #define WDT_BASE                0x40080000 // WDT
71 #define IOC_BASE                0x40081000 // IOC
72 #define PRCM_BASE               0x40082000 // PRCM
73 #define EVENT_BASE              0x40083000 // EVENT
74 #define SMPH_BASE               0x40084000 // SMPH
75 #define ADI2_BASE               0x40086000 // ADI
76 #define ADI3_BASE               0x40086200 // ADI
77 #define AON_SYSCTL_BASE         0x40090000 // AON_SYSCTL
78 #define AON_WUC_BASE            0x40091000 // AON_WUC
79 #define AON_RTC_BASE            0x40092000 // AON_RTC
80 #define AON_EVENT_BASE          0x40093000 // AON_EVENT
81 #define AON_IOC_BASE            0x40094000 // AON_IOC
82 #define AON_BATMON_BASE         0x40095000 // AON_BATMON
83 #define AUX_AIODIO0_BASE        0x400C1000 // AUX_AIODIO
84 #define AUX_AIODIO1_BASE        0x400C2000 // AUX_AIODIO
85 #define AUX_TDC_BASE            0x400C4000 // AUX_TDC
86 #define AUX_EVCTL_BASE          0x400C5000 // AUX_EVCTL
87 #define AUX_WUC_BASE            0x400C6000 // AUX_WUC
88 #define AUX_TIMER_BASE          0x400C7000 // AUX_TIMER
89 #define AUX_SMPH_BASE           0x400C8000 // AUX_SMPH
90 #define AUX_ANAIF_BASE          0x400C9000 // AUX_ANAIF
91 #define AUX_DDI0_OSC_BASE       0x400CA000 // DDI
92 #define AUX_ADI4_BASE           0x400CB000 // ADI
93 #define AUX_RAM_BASE            0x400E0000 // AUX_RAM
94 #define AUX_SCE_BASE            0x400E1000 // AUX_SCE
95 #define FLASH_CFG_BASE          0x50000000 // CC26_DUMMY_COMP
96 #define FCFG1_BASE              0x50001000 // FCFG1
97 #define FCFG2_BASE              0x50002000 // FCFG2
98 #ifndef CCFG_BASE
99 #define CCFG_BASE               0x50003000 // CCFG
100 #endif
101 #define SSI0_NONBUF_BASE        0x60000000 // SSI CPU nonbuf base
102 #define UART0_NONBUF_BASE       0x60001000 // UART CPU nonbuf base
103 #define I2C0_NONBUF_BASE        0x60002000 // I2C CPU nonbuf base
104 #define SSI1_NONBUF_BASE        0x60008000 // SSI CPU nonbuf base
105 #define GPT0_NONBUF_BASE        0x60010000 // GPT CPU nonbuf base
106 #define GPT1_NONBUF_BASE        0x60011000 // GPT CPU nonbuf base
107 #define GPT2_NONBUF_BASE        0x60012000 // GPT CPU nonbuf base
108 #define GPT3_NONBUF_BASE        0x60013000 // GPT CPU nonbuf base
109 #define UDMA0_NONBUF_BASE       0x60020000 // UDMA CPU nonbuf base
110 #define I2S0_NONBUF_BASE        0x60021000 // I2S CPU nonbuf base
111 #define GPIO_NONBUF_BASE        0x60022000 // GPIO CPU nonbuf base
112 #define CRYPTO_NONBUF_BASE      0x60024000 // CRYPTO CPU nonbuf base
113 #define TRNG_NONBUF_BASE        0x60028000 // TRNG CPU nonbuf base
114 #define FLASH_NONBUF_BASE       0x60030000 // FLASH CPU nonbuf base
115 #define VIMS_NONBUF_BASE        0x60034000 // VIMS CPU nonbuf base
116 #define RFC_PWR_NONBUF_BASE     0x60040000 // RFC_PWR CPU nonbuf base
117 #define RFC_DBELL_NONBUF_BASE   0x60041000 // RFC_DBELL CPU nonbuf base
118 #define RFC_RAT_NONBUF_BASE     0x60043000 // RFC_RAT CPU nonbuf base
119 #define RFC_FSCA_NONBUF_BASE    0x60044000 // RFC_FSCA CPU nonbuf base
120 #define WDT_NONBUF_BASE         0x60080000 // WDT CPU nonbuf base
121 #define IOC_NONBUF_BASE         0x60081000 // IOC CPU nonbuf base
122 #define PRCM_NONBUF_BASE        0x60082000 // PRCM CPU nonbuf base
123 #define EVENT_NONBUF_BASE       0x60083000 // EVENT CPU nonbuf base
124 #define SMPH_NONBUF_BASE        0x60084000 // SMPH CPU nonbuf base
125 #define ADI2_NONBUF_BASE        0x60086000 // ADI CPU nonbuf base
126 #define ADI3_NONBUF_BASE        0x60086200 // ADI CPU nonbuf base
127 #define AON_SYSCTL_NONBUF_BASE  0x60090000 // AON_SYSCTL CPU nonbuf base
128 #define AON_WUC_NONBUF_BASE     0x60091000 // AON_WUC CPU nonbuf base
129 #define AON_RTC_NONBUF_BASE     0x60092000 // AON_RTC CPU nonbuf base
130 #define AON_EVENT_NONBUF_BASE   0x60093000 // AON_EVENT CPU nonbuf base
131 #define AON_IOC_NONBUF_BASE     0x60094000 // AON_IOC CPU nonbuf base
132 #define AON_BATMON_NONBUF_BASE  0x60095000 // AON_BATMON CPU nonbuf base
133 #define AUX_AIODIO0_NONBUF_BASE \
134                                 0x600C1000 // AUX_AIODIO CPU nonbuf base
135 #define AUX_AIODIO1_NONBUF_BASE \
136                                 0x600C2000 // AUX_AIODIO CPU nonbuf base
137 #define AUX_TDC_NONBUF_BASE     0x600C4000 // AUX_TDC CPU nonbuf base
138 #define AUX_EVCTL_NONBUF_BASE   0x600C5000 // AUX_EVCTL CPU nonbuf base
139 #define AUX_WUC_NONBUF_BASE     0x600C6000 // AUX_WUC CPU nonbuf base
140 #define AUX_TIMER_NONBUF_BASE   0x600C7000 // AUX_TIMER CPU nonbuf base
141 #define AUX_SMPH_NONBUF_BASE    0x600C8000 // AUX_SMPH CPU nonbuf base
142 #define AUX_ANAIF_NONBUF_BASE   0x600C9000 // AUX_ANAIF CPU nonbuf base
143 #define AUX_DDI0_OSC_NONBUF_BASE \
144                                 0x600CA000 // DDI CPU nonbuf base
145 #define AUX_ADI4_NONBUF_BASE    0x600CB000 // ADI CPU nonbuf base
146 #define AUX_RAM_NONBUF_BASE     0x600E0000 // AUX_RAM CPU nonbuf base
147 #define AUX_SCE_NONBUF_BASE     0x600E1000 // AUX_SCE CPU nonbuf base
148 #define FLASHMEM_ALIAS_BASE     0xA0000000 // FLASHMEM Alias base
149 #define CPU_ITM_BASE            0xE0000000 // CPU_ITM
150 #define CPU_DWT_BASE            0xE0001000 // CPU_DWT
151 #define CPU_FPB_BASE            0xE0002000 // CPU_FPB
152 #define CPU_SCS_BASE            0xE000E000 // CPU_SCS
153 #define CPU_TPIU_BASE           0xE0040000 // CPU_TPIU
154 #define CPU_TIPROP_BASE         0xE00FE000 // CPU_TIPROP
155 #define CPU_ROM_TABLE_BASE      0xE00FF000 // CPU_ROM_TABLE
156 
157 #endif // __HW_MEMMAP__
158