From 78a408bb49a78462b1cdff0611029d8f830c5e5e Mon Sep 17 00:00:00 2001 From: Holger Brunck Date: Fri, 10 Jan 2020 12:47:42 +0100 Subject: KM/kmp204x: qrio and i2c deblock code moved to common This patch moves the qrio and i2c deblocking code to keymile/common as it will also be used by the upcoming CENT2 board. Signed-off-by: Holger Brunck CC: Priyanka Jain --- include/configs/kmp204x.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include/configs/kmp204x.h') diff --git a/include/configs/kmp204x.h b/include/configs/kmp204x.h index 6cee3b47b3e..0224ac41484 100644 --- a/include/configs/kmp204x.h +++ b/include/configs/kmp204x.h @@ -224,6 +224,10 @@ unsigned long get_board_sys_clk(unsigned long dummy); #define CONFIG_KM_CONSOLE_TTY "ttyS0" /* I2C */ +/* QRIO GPIOs used for deblocking */ +#define KM_I2C_DEBLOCK_PORT QRIO_GPIO_A +#define KM_I2C_DEBLOCK_SCL 20 +#define KM_I2C_DEBLOCK_SDA 21 #define CONFIG_SYS_I2C #define CONFIG_SYS_I2C_INIT_BOARD -- cgit v1.2.3