]> git.kernelconcepts.de Git - karo-tx-uboot.git/blob - arch/arm/include/asm/arch-sunxi/i2c.h
dc5406b213c76fe9b1f28b76ab3ed79bfa72c630
[karo-tx-uboot.git] / arch / arm / include / asm / arch-sunxi / i2c.h
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