xref: /openbmc/u-boot/arch/arm/include/asm/arch-sunxi/i2c.h (revision fd697ecf5d1797180c29328b013d48ee3a788e03)
1 /*
2  * Copyright 2014 - Hans de Goede <hdegoede@redhat.com>
3  *
4  * SPDX-License-Identifier:	GPL-2.0+
5  */
6 #ifndef _SUNXI_I2C_H_
7 #define _SUNXI_I2C_H_
8 
9 #include <asm/arch/cpu.h>
10 
11 #define CONFIG_I2C_MVTWSI_BASE	SUNXI_TWI0_BASE
12 /* This is abp0-clk on sun4i/5i/7i / abp1-clk on sun6i/sun8i which is 24MHz */
13 #define CONFIG_SYS_TCLK		24000000
14 
15 #endif
16