1 /* 2 * Copyright (c) 2009-2020 Arm Limited. All rights reserved. 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * http://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 17 /* This file is derivative of CMSIS V5.01 Device\_Template_Vendor\Vendor\Device\Include\Device.h 18 * Git SHA: 8a1d9d6ee18b143ae5befefa14d89fb5b3f99c75 19 */ 20 21 #ifndef __MUSCA_B1_BASE_ADDRESS_H__ 22 #define __MUSCA_B1_BASE_ADDRESS_H__ 23 24 #ifdef __cplusplus 25 extern "C" { 26 #endif 27 28 29 /* =========================================================================================================================== */ 30 /* ================ Device Specific Peripheral Address Map ================ */ 31 /* =========================================================================================================================== */ 32 33 34 /** @addtogroup Device_Peripheral_peripheralAddr 35 * @{ 36 */ 37 38 /* Non-Secure Peripheral and SRAM base address */ 39 #define MUSCA_B1_QSPI_FLASH_NS_BASE (0x00000000UL) /*!< (Non-Secure QSPI FLASH ) Base Address */ 40 #define MUSCA_B1_EFLASH0_NS_BASE (0x0A000000UL) /*!< (Non-Secure Embedded FLASH 0 ) Base Address */ 41 #define MUSCA_B1_EFLASH1_NS_BASE (0x0A200000UL) /*!< (Non-Secure Embedded FLASH 1 ) Base Address */ 42 #define MUSCA_B1_CODE_SRAM_NS_BASE (0x0A400000UL) /*!< (Non-Secure Code SRAM ) Base Address */ 43 #define MUSCA_B1_OTP_NS_BASE (0x0E000000UL) /*!< (Non-Secure OTP ) Base Address */ 44 #define MUSCA_B1_SRAM_NS_BASE (0x20000000UL) /*!< (Non-Secure Internal SRAM ) Base Address */ 45 #define MUSCA_B1_BASE_ELEMENT_NS_BASE (0x40000000UL) /*!< (Non-Secure Base Peripherals ) Base Address */ 46 #define MUSCA_B1_CMSDK_TIMER0_NS_BASE (0x40000000UL) /*!< (Non-Secure CMSDK Timer0 ) Base Address */ 47 #define MUSCA_B1_CMSDK_TIMER1_NS_BASE (0x40001000UL) /*!< (Non-Secure CMSDK Timer1 ) Base Address */ 48 #define MUSCA_B1_CMSDK_DUALTIMER_NS_BASE (0x40002000UL) /*!< (Non-Secure CMSDK Dual Timer ) Base Address */ 49 #define MUSCA_B1_MHU0_NS_BASE (0x40003000UL) /*!< (Non-Secure MHU0 ) Base Address */ 50 #define MUSCA_B1_MHU1_NS_BASE (0x40004000UL) /*!< (Non-Secure MHU1 ) Base Address */ 51 #define MUSCA_B1_CPU_ELEMENT_NS_BASE (0x40010000UL) /*!< (Non-Secure CPU Peripherals ) Base Address */ 52 #define MUSCA_B1_SYSTEM_INFO_NS_BASE (0x40020000UL) /*!< (Non-Secure System Info ) Base Address */ 53 #define MUSCA_B1_CMSDK_S32KTIMER_NS_BASE (0x4002F000UL) /*!< (Non-Secure CMSDK S32K Timer ) Base Address */ 54 #define MUSCA_B1_NSPCTRL_NS_BASE (0x40080000UL) /*!< (Non-Secure Privilege Ctrl Blk ) Base Address */ 55 #define MUSCA_B1_CMSDK_WATCHDOG_NS_BASE (0x40081000UL) /*!< (Non-Secure CMSDK Watchdog ) Base Address */ 56 #define MUSCA_B1_CRYPTOCELL_NS_BASE (0x40088000UL) /*!< (Non_secure CryptoCell-312 ) Base Address */ 57 #define MUSCA_B1_PWM0_NS_BASE (0x40101000UL) /*!< (Non-Secure PWM0 ) Base Address */ 58 #define MUSCA_B1_PWM1_NS_BASE (0x40102000UL) /*!< (Non-Secure PWM1 ) Base Address */ 59 #define MUSCA_B1_PWM2_NS_BASE (0x40103000UL) /*!< (Non-Secure PWM2 ) Base Address */ 60 #define MUSCA_B1_I2S_NS_BASE (0x40104000UL) /*!< (Non-Secure I2S ) Base Address */ 61 #define MUSCA_B1_UART0_NS_BASE (0x40105000UL) /*!< (Non-Secure UART0 ) Base Address */ 62 #define MUSCA_B1_UART1_NS_BASE (0x40106000UL) /*!< (Non-Secure UART1 ) Base Address */ 63 #define MUSCA_B1_I2C0_NS_BASE (0x40108000UL) /*!< (Non-Secure I2C0 ) Base Address */ 64 #define MUSCA_B1_I2C1_NS_BASE (0x40109000UL) /*!< (Non-Secure I2C1 ) Base Address */ 65 #define MUSCA_B1_SPI0_NS_BASE (0x4010A000UL) /*!< (Non-Secure SPI0 ) Base Address */ 66 #define MUSCA_B1_TIMER_NS_BASE (0x4010C000UL) /*!< (Non-Secure Timer ) Base Address */ 67 #define MUSCA_B1_RTC_NS_BASE (0x4010D000UL) /*!< (Non-Secure RTC ) Base Address */ 68 #define MUSCA_B1_PVT_NS_BASE (0x4010E000UL) /*!< (Non-Secure PVT sensors ) Base Address */ 69 #define MUSCA_B1_SDIO_NS_BASE (0x4010F000UL) /*!< (Non-Secure SDIO ) Base Address */ 70 #define MUSCA_B1_GPIO_NS_BASE (0x41000000UL) /*!< (Non-Secure GPIO ) Base Address */ 71 #define MUSCA_B1_SE_MHU_SND_NS_BASE (0x42600000UL) /*!< (Non-Secure SE MHU Sender ) Base Address */ 72 #define MUSCA_B1_SE_MHU_RCV_NS_BASE (0x42700000UL) /*!< (Non-Secure SE MHU Receiver ) Base Address */ 73 #define MUSCA_B1_QSPI_REG_NS_BASE (0x42800000UL) /*!< (Non-Secure QSPI registers ) Base Address */ 74 75 /* Secure Peripheral and SRAM base address */ 76 #define MUSCA_B1_QSPI_FLASH_S_BASE (0x10000000UL) /*!< (Secure QSPI FLASH ) Base Address */ 77 #define MUSCA_B1_EFLASH0_S_BASE (0x1A000000UL) /*!< (Secure Embedded FLASH 0 ) Base Address */ 78 #define MUSCA_B1_EFLASH1_S_BASE (0x1A200000UL) /*!< (Secure Embedded FLASH 1 ) Base Address */ 79 #define MUSCA_B1_CODE_SRAM_S_BASE (0x1A400000UL) /*!< (Secure Code SRAM ) Base Address */ 80 #define MUSCA_B1_OTP_S_BASE (0x1E000000UL) /*!< (Secure OTP ) Base Address */ 81 #define MUSCA_B1_SRAM_S_BASE (0x30000000UL) /*!< (Secure Internal SRAM ) Base Address */ 82 #define MUSCA_B1_BASE_ELEMENT_S_BASE (0x50000000UL) /*!< (Secure Base Peripherals ) Base Address */ 83 #define MUSCA_B1_CMSDK_TIMER0_S_BASE (0x50000000UL) /*!< (Secure CMSDK Timer0 ) Base Address */ 84 #define MUSCA_B1_CMSDK_TIMER1_S_BASE (0x50001000UL) /*!< (Secure CMSDK Timer1 ) Base Address */ 85 #define MUSCA_B1_CMSDK_DUALTIMER_S_BASE (0x50002000UL) /*!< (Secure CMSDK Dual Timer ) Base Address */ 86 #define MUSCA_B1_MHU0_S_BASE (0x50003000UL) /*!< (Secure MHU0 ) Base Address */ 87 #define MUSCA_B1_MHU1_S_BASE (0x50004000UL) /*!< (Secure MHU1 ) Base Address */ 88 #define MUSCA_B1_CPU_ELEMENT_S_BASE (0x50010000UL) /*!< (Secure CPU Peripherals ) Base Address */ 89 #define MUSCA_B1_SYSTEM_INFO_S_BASE (0x50020000UL) /*!< (Secure System Info ) Base Address */ 90 #define MUSCA_B1_SYSTEM_CTRL_S_BASE (0x50021000UL) /*!< (Secure System Control ) Base Address */ 91 #define MUSCA_B1_CMSDK_S32K_WDOG_S_BASE (0x5002E000UL) /*!< (Secure CMSDK S32K Watchdog ) Base Address */ 92 #define MUSCA_B1_CMSDK_S32KTIMER_S_BASE (0x5002F000UL) /*!< (Secure CMSDK S32K Timer ) Base Address */ 93 #define MUSCA_B1_SPCTRL_S_BASE (0x50080000UL) /*!< (Secure Privilege Ctrl Blk ) Base Address */ 94 #define MUSCA_B1_CMSDK_WATCHDOG_S_BASE (0x50081000UL) /*!< (Secure CMSDK Watchdog ) Base Address */ 95 #define MUSCA_B1_MPC_SRAM0_S_BASE (0x50083000UL) /*!< (Secure MPC SRAM Bank 0 ) Base Address */ 96 #define MUSCA_B1_MPC_SRAM1_S_BASE (0x50084000UL) /*!< (Secure MPC SRAM Bank 1 ) Base Address */ 97 #define MUSCA_B1_MPC_SRAM2_S_BASE (0x50085000UL) /*!< (Secure MPC SRAM Bank 2 ) Base Address */ 98 #define MUSCA_B1_MPC_SRAM3_S_BASE (0x50086000UL) /*!< (Secure MPC SRAM Bank 3 ) Base Address */ 99 #define MUSCA_B1_CRYPTOCELL_S_BASE (0x50088000UL) /*!< (Secure CryptoCell-312 ) Base Address */ 100 #define MUSCA_B1_PWM0_S_BASE (0x50101000UL) /*!< (Secure PWM0 ) Base Address */ 101 #define MUSCA_B1_PWM1_S_BASE (0x50102000UL) /*!< (Secure PWM1 ) Base Address */ 102 #define MUSCA_B1_PWM2_S_BASE (0x50103000UL) /*!< (Secure PWM2 ) Base Address */ 103 #define MUSCA_B1_I2S_S_BASE (0x50104000UL) /*!< (Secure I2S ) Base Address */ 104 #define MUSCA_B1_UART0_S_BASE (0x50105000UL) /*!< (Secure UART0 ) Base Address */ 105 #define MUSCA_B1_UART1_S_BASE (0x50106000UL) /*!< (Secure UART1 ) Base Address */ 106 #define MUSCA_B1_I2C0_S_BASE (0x50108000UL) /*!< (Secure I2C0 ) Base Address */ 107 #define MUSCA_B1_I2C1_S_BASE (0x50109000UL) /*!< (Secure I2C1 ) Base Address */ 108 #define MUSCA_B1_SPI0_S_BASE (0x5010A000UL) /*!< (Secure SPI0 ) Base Address */ 109 #define MUSCA_B1_SCC_S_BASE (0x5010B000UL) /*!< (Secure SCC ) Base Address */ 110 #define MUSCA_B1_TIMER_S_BASE (0x5010C000UL) /*!< (Secure Timer ) Base Address */ 111 #define MUSCA_B1_RTC_S_BASE (0x5010D000UL) /*!< (Secure RTC ) Base Address */ 112 #define MUSCA_B1_PVT_S_BASE (0x5010E000UL) /*!< (Secure PVT sensors ) Base Address */ 113 #define MUSCA_B1_SDIO_S_BASE (0x5010F000UL) /*!< (Secure SDIO ) Base Address */ 114 #define MUSCA_B1_GPIO_S_BASE (0x51000000UL) /*!< (Secure GPIO ) Base Address */ 115 #define MUSCA_B1_QSPI_MPC_S_BASE (0x52000000UL) /*!< (Secure QSPI MPC ) Base Address */ 116 #define MUSCA_B1_CODE_SRAM_MPC_S_BASE (0x52100000UL) /*!< (Secure Code SRAM MPC ) Base Address */ 117 #define MUSCA_B1_EFLASH0_MPC_S_BASE (0x52200000UL) /*!< (Secure Embedded Flash 0 MPC ) Base Address */ 118 #define MUSCA_B1_EFLASH1_MPC_S_BASE (0x52300000UL) /*!< (Secure Embedded Flash 1 MPC ) Base Address */ 119 #define MUSCA_B1_EFLASH0_REG_MAP_S_BASE (0x52400000UL) /*!< (Secure GFC100 EFlash0 controller ) Base Address */ 120 #define MUSCA_B1_EFLASH1_REG_MAP_S_BASE (0x52500000UL) /*!< (Secure GFC100 EFlash1 controller ) Base Address */ 121 #define MUSCA_B1_SE_MHU_SND_S_BASE (0x52600000UL) /*!< (Secure SE MHU Sender ) Base Address */ 122 #define MUSCA_B1_SE_MHU_RCV_S_BASE (0x52700000UL) /*!< (Secure SE MHU Receiver ) Base Address */ 123 #define MUSCA_B1_QSPI_REG_S_BASE (0x52800000UL) /*!< (Secure QSPI registers ) Base Address */ 124 #define MUSCA_B1_SE_MPC_S_BASE (0x52E00000UL) /*!< (Secure SE MPC ) Base Address */ 125 126 /* MPC memory range bases and limits */ 127 /* Internal SRAM */ 128 #define MPC_ISRAM0_RANGE_BASE_NS (0x20000000UL) 129 #define MPC_ISRAM0_RANGE_LIMIT_NS (0x2001FFFFUL) 130 #define MPC_ISRAM0_RANGE_BASE_S (0x30000000UL) 131 #define MPC_ISRAM0_RANGE_LIMIT_S (0x3001FFFFUL) 132 133 #define MPC_ISRAM1_RANGE_BASE_NS (0x20020000UL) 134 #define MPC_ISRAM1_RANGE_LIMIT_NS (0x2003FFFFUL) 135 #define MPC_ISRAM1_RANGE_BASE_S (0x30020000UL) 136 #define MPC_ISRAM1_RANGE_LIMIT_S (0x3003FFFFUL) 137 138 #define MPC_ISRAM2_RANGE_BASE_NS (0x20040000UL) 139 #define MPC_ISRAM2_RANGE_LIMIT_NS (0x2005FFFFUL) 140 #define MPC_ISRAM2_RANGE_BASE_S (0x30040000UL) 141 #define MPC_ISRAM2_RANGE_LIMIT_S (0x3005FFFFUL) 142 143 #define MPC_ISRAM3_RANGE_BASE_NS (0x20060000UL) 144 #define MPC_ISRAM3_RANGE_LIMIT_NS (0x2007FFFFUL) 145 #define MPC_ISRAM3_RANGE_BASE_S (0x30060000UL) 146 #define MPC_ISRAM3_RANGE_LIMIT_S (0x3007FFFFUL) 147 148 /* Code SRAM */ 149 #define MPC_CODE_SRAM_RANGE_BASE_NS (0x0A400000UL) 150 #define MPC_CODE_SRAM_RANGE_LIMIT_NS (0x0A47FFFFUL) 151 #define MPC_CODE_SRAM_RANGE_BASE_S (0x1A400000UL) 152 #define MPC_CODE_SRAM_RANGE_LIMIT_S (0x1A47FFFFUL) 153 154 /* QSPI Flash */ 155 #define MPC_QSPI_RANGE_BASE_NS (0x00000000UL) 156 #define MPC_QSPI_RANGE_LIMIT_NS (0x007FFFFFUL) 157 #define MPC_QSPI_RANGE_BASE_S (0x10000000UL) 158 #define MPC_QSPI_RANGE_LIMIT_S (0x107FFFFFUL) 159 160 /* EFlash */ 161 #define MPC_EFLASH0_RANGE_BASE_NS (0x0A000000UL) 162 #define MPC_EFLASH0_RANGE_LIMIT_NS (0x0A1FFFFFUL) 163 #define MPC_EFLASH0_RANGE_BASE_S (0x1A000000UL) 164 #define MPC_EFLASH0_RANGE_LIMIT_S (0x1A1FFFFFUL) 165 166 #define MPC_EFLASH1_RANGE_BASE_NS (0x0A200000UL) 167 #define MPC_EFLASH1_RANGE_LIMIT_NS (0x0A3FFFFFUL) 168 #define MPC_EFLASH1_RANGE_BASE_S (0x1A200000UL) 169 #define MPC_EFLASH1_RANGE_LIMIT_S (0x1A3FFFFFUL) 170 171 /** @} */ /* End of group Device_Peripheral_peripheralAddr */ 172 173 174 #ifdef __cplusplus 175 } 176 #endif 177 178 #endif /* __MUSCA_B1_BASE_ADDRESS_H__ */ 179