xref: /rk3399_ARM-atf/plat/allwinner/common/include/sunxi_def.h (revision 13bacd3bc3e6b76009adf9183e5396b6457eb12c)
158032586SSamuel Holland /*
258032586SSamuel Holland  * Copyright (c) 2017-2018, ARM Limited and Contributors. All rights reserved.
358032586SSamuel Holland  *
458032586SSamuel Holland  * SPDX-License-Identifier: BSD-3-Clause
558032586SSamuel Holland  */
658032586SSamuel Holland 
7c3cf06f1SAntonio Nino Diaz #ifndef SUNXI_DEF_H
8c3cf06f1SAntonio Nino Diaz #define SUNXI_DEF_H
958032586SSamuel Holland 
1058032586SSamuel Holland /* Clock configuration */
1158032586SSamuel Holland #define SUNXI_OSC24M_CLK_IN_HZ		24000000
1258032586SSamuel Holland 
1358032586SSamuel Holland /* UART configuration */
1458032586SSamuel Holland #define SUNXI_UART0_BAUDRATE		115200
1558032586SSamuel Holland #define SUNXI_UART0_CLK_IN_HZ		SUNXI_OSC24M_CLK_IN_HZ
1658032586SSamuel Holland 
17123bcb3fSAndre Przywara #define SUNXI_SOC_A64			0x1689
18123bcb3fSAndre Przywara #define SUNXI_SOC_H5			0x1718
19123bcb3fSAndre Przywara #define SUNXI_SOC_H6			0x1728
20bb104f27SAndre Przywara #define SUNXI_SOC_H616			0x1823
21*13bacd3bSIcenowy Zheng #define SUNXI_SOC_R329			0x1851
22123bcb3fSAndre Przywara 
23c3cf06f1SAntonio Nino Diaz #endif /* SUNXI_DEF_H */
24