diff options
author | Josh Tsai <josh_tsai@compal.corp-partner.google.com> | 2020-04-14 14:27:26 +0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-04-16 23:50:15 +0000 |
commit | 2f0b41555ceb7737bfd2bc1dd5258394a007da9a (patch) | |
tree | 33dcef99309c6ce4ceefd0031e27d61ca0e5b3cc /board/halvor/board.h | |
parent | dd9ecdca31bd759f8db2e9a65acd663465360296 (diff) | |
download | chrome-ec-2f0b41555ceb7737bfd2bc1dd5258394a007da9a.tar.gz |
Halvor: Modify GPIO and I2C bus configuration
Configure I2C pins and i2c_ports for Halvor
BUG=none
BRANCH=none
TEST=make buildall, make BOARD=halvor
Change-Id: Ie80723563e39af07907cca5d5a0fc50ec0851032
Signed-off-by: Josh Tsai <josh_tsai@compal.corp-partner.google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2147765
Reviewed-by: Ruby Lee <ruby_lee@compal.corp-partner.google.com>
Reviewed-by: Keith Short <keithshort@chromium.org>
Commit-Queue: Keith Short <keithshort@chromium.org>
Diffstat (limited to 'board/halvor/board.h')
-rw-r--r-- | board/halvor/board.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/board/halvor/board.h b/board/halvor/board.h index 713548714d..ef1b436a28 100644 --- a/board/halvor/board.h +++ b/board/halvor/board.h @@ -92,12 +92,14 @@ #define I2C_PORT_SENSOR NPCX_I2C_PORT0_0 #define I2C_PORT_USB_C0 NPCX_I2C_PORT1_0 #define I2C_PORT_USB_C1 NPCX_I2C_PORT2_0 -#define I2C_PORT_USB_1_MIX NPCX_I2C_PORT3_0 +#define I2C_PORT_USB_BB_RETIMER NPCX_I2C_PORT3_0 +#define I2C_PORT_USB_C2 NPCX_I2C_PORT4_1 #define I2C_PORT_POWER NPCX_I2C_PORT5_0 #define I2C_PORT_EEPROM NPCX_I2C_PORT7_0 #define I2C_PORT_BATTERY I2C_PORT_POWER #define I2C_PORT_CHARGER I2C_PORT_EEPROM +#define I2C_PORT_USB_1_MIX I2C_PORT_USB_BB_RETIMER #define I2C_ADDR_EEPROM_FLAGS 0x50 #define CONFIG_I2C_MASTER |