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_BASE0 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