1 /* 2 * Copyright (c) 2019-2024, 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 #ifndef __CMSIS_DRIVER_CONFIG_H__ 18 #define __CMSIS_DRIVER_CONFIG_H__ 19 20 #include "tfm_hal_device_header.h" 21 #include "device_definition.h" 22 #include "RTE_Device.h" 23 #include "host_cmsis_driver_config.h" 24 #ifdef RSE_HAS_EXPANSION_PERIPHERALS 25 #include "rse_expansion_cmsis_driver_config.h" 26 #endif /* RSE_HAS_EXPANSION_PERIPHERALS */ 27 28 29 #ifdef RSE_DEBUG_UART 30 #define UART0_DEV UART0_CMSDK_DEV_NS 31 #endif /* RSE_DEBUG_UART */ 32 33 #define MPC_VM0_DEV MPC_VM0_DEV_S 34 #define MPC_VM1_DEV MPC_VM1_DEV_S 35 #ifdef RSE_XIP 36 #define MPC_SIC_DEV MPC_SIC_DEV_S 37 #endif /* RSE_XIP */ 38 39 #define PPC_RSE_MAIN0_DEV PPC_RSE_MAIN0_DEV_S 40 #define PPC_RSE_MAIN_EXP0_DEV PPC_RSE_MAIN_EXP0_DEV_S 41 #define PPC_RSE_MAIN_EXP1_DEV PPC_RSE_MAIN_EXP1_DEV_S 42 #define PPC_RSE_MAIN_EXP2_DEV PPC_RSE_MAIN_EXP2_DEV_S 43 #define PPC_RSE_MAIN_EXP3_DEV PPC_RSE_MAIN_EXP3_DEV_S 44 #define PPC_RSE_PERIPH0_DEV PPC_RSE_PERIPH0_DEV_S 45 #define PPC_RSE_PERIPH1_DEV PPC_RSE_PERIPH1_DEV_S 46 #define PPC_RSE_PERIPH_EXP0_DEV PPC_RSE_PERIPH_EXP0_DEV_S 47 #define PPC_RSE_PERIPH_EXP1_DEV PPC_RSE_PERIPH_EXP1_DEV_S 48 #define PPC_RSE_PERIPH_EXP2_DEV PPC_RSE_PERIPH_EXP2_DEV_S 49 #define PPC_RSE_PERIPH_EXP3_DEV PPC_RSE_PERIPH_EXP3_DEV_S 50 51 #endif /* __CMSIS_DRIVER_CONFIG_H__ */ 52