/* * Copyright (c) 2017-2020 Arm Limited. All rights reserved. * * Licensed under the Apache License Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing software * distributed under the License is distributed on an "AS IS" BASIS * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ #ifndef __MUSCA_B1_DEVICE_CFG_H__ #define __MUSCA_B1_DEVICE_CFG_H__ /** * \file device_cfg.h * \brief Configuration file native driver re-targeting * * \details This file can be used to add native driver specific macro * definitions to select which peripherals are available in the build. * * This is a default device configuration file with all peripherals enabled. */ /* ARM SCC */ #define MUSCA_B1_SCC_S /* CMSDK GPIO */ #define GPIO0_CMSDK_S /* ARM Memory Protection Controller (MPC) SIE 200 */ #define MPC_ISRAM0_S #define MPC_ISRAM1_S #define MPC_ISRAM2_S #define MPC_ISRAM3_S #define MPC_CODE_SRAM_S #define MPC_QSPI_S #define MPC_EFLASH0_S #define MPC_EFLASH1_S /* ARM Peripheral Protection Controllers (PPC) */ #define AHB_PPC0_S #define AHB_PPCEXP0_S #define AHB_PPCEXP1_S #define AHB_PPCEXP2_S #define AHB_PPCEXP3_S #define APB_PPC0_S #define APB_PPC1_S #define APB_PPCEXP0_S #define APB_PPCEXP1_S #define APB_PPCEXP2_S #define APB_PPCEXP3_S /*ARM UART Controller PL011*/ #define UART0_PL011_S #define UART0_PL011_NS #define UART1_PL011_S #define UART1_PL011_NS /* CMSDK Timers */ #define CMSDK_TIMER0_S #define CMSDK_TIMER0_NS #define CMSDK_TIMER1_S #define CMSDK_TIMER1_NS /* GFC-100 EFlash controller */ #define GFC100_EFLASH0_S /* Cadence QSPI Flash Controller */ #define QSPI_IP6514E_S #define QSPI_IP6514E_NS /* MT25QL Flash memory library */ #define MT25QL_S #define MT25QL_NS #ifdef USE_SECURE_ENCLAVE_MAILBOX /* SE MHU */ #define SE_MHU_SENDER_S #define SE_MHU_SENDER_DEV SE_MHU_SENDER_DEV_S #define SE_MHU_RECEIVER_S #define SE_MHU_RECEIVER_DEV SE_MHU_RECEIVER_DEV_S #endif #define DEFAULT_UART_CONTROL 0 /* Default UART baud rate */ #define DEFAULT_UART_BAUDRATE 115200 #endif /* __MUSCA_B1_DEVICE_CFG_H__ */