xref: /rk3399_ARM-atf/plat/allwinner/common/include/sunxi_def.h (revision b4cf974a3256275fe2c03d8eaaf07a5e5b337cfc)
1 /*
2  * Copyright (c) 2017-2018, ARM Limited and Contributors. All rights reserved.
3  *
4  * SPDX-License-Identifier: BSD-3-Clause
5  */
6 
7 #ifndef __SUNXI_DEF_H__
8 #define __SUNXI_DEF_H__
9 
10 /* Clock configuration */
11 #define SUNXI_OSC24M_CLK_IN_HZ		24000000
12 
13 /* UART configuration */
14 #define SUNXI_UART0_BAUDRATE		115200
15 #define SUNXI_UART0_CLK_IN_HZ		SUNXI_OSC24M_CLK_IN_HZ
16 
17 #define SUNXI_SOC_A64			0x1689
18 #define SUNXI_SOC_H5			0x1718
19 #define SUNXI_SOC_H6			0x1728
20 
21 #endif /* __SUNXI_DEF_H__ */
22