1 /*
2  * Copyright (c) 2019-2023 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 installed to NS build and renamed to device_cfg.h */
18 
19 #ifndef __DEVICE_CFG_H__
20 #define __DEVICE_CFG_H__
21 
22 /**
23  * \file device_cfg.h
24  * \brief
25  * This is the device configuration file with only used peripherals
26  * defined and configured via the secure and/or non-secure base address.
27  */
28 
29 #include "host_device_cfg.h"
30 #ifdef RSE_HAS_EXPANSION_PERIPHERALS
31 #include "rse_expansion_device_cfg.h"
32 #endif /* RSE_HAS_EXPANSION_PERIPHERALS */
33 
34 #ifdef RSE_DEBUG_UART
35 /* ARM UART CMSDK */
36 #define DEFAULT_UART_CONTROL 0
37 #define DEFAULT_UART_BAUDRATE  115200
38 #define UART0_CMSDK_NS
39 #endif /* RSE_DEBUG_UART */
40 
41 /* Arm GPIO */
42 #define GPIO0_NS
43 #define GPIO1_NS
44 
45 #endif  /* __DEVICE_CFG_H__ */
46