blob: da87b23899ea6607f3cc585169ca2f7a988f7683 [file] [log] [blame]
Samuel Hollandb8566642017-08-12 04:07:39 -05001/*
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
Andre Przywara78dca1f2018-09-17 00:03:09 +010017#define SUNXI_SOC_A64 0x1689
18#define SUNXI_SOC_H5 0x1718
19#define SUNXI_SOC_H6 0x1728
20
Samuel Hollandb8566642017-08-12 04:07:39 -050021#endif /* __SUNXI_DEF_H__ */