summaryrefslogtreecommitdiff
path: root/board/drobit/board.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/drobit/board.c')
-rw-r--r--board/drobit/board.c11
1 files changed, 4 insertions, 7 deletions
diff --git a/board/drobit/board.c b/board/drobit/board.c
index e236cf0128..00e7e20710 100644
--- a/board/drobit/board.c
+++ b/board/drobit/board.c
@@ -9,8 +9,6 @@
#include "common.h"
#include "accelgyro.h"
#include "cbi_ec_fw_config.h"
-#include "driver/accel_bma2x2.h"
-#include "driver/accelgyro_bmi260.h"
#include "driver/bc12/pi3usb9201.h"
#include "driver/ppc/sn5s330.h"
#include "driver/ppc/syv682x.h"
@@ -35,7 +33,6 @@
#include "switch.h"
#include "system.h"
#include "task.h"
-#include "tablet_mode.h"
#include "throttle_ap.h"
#include "uart.h"
#include "usb_mux.h"
@@ -219,11 +216,11 @@ BUILD_ASSERT(ARRAY_SIZE(mft_channels) == MFT_CH_COUNT);
/* I2C port map configuration */
const struct i2c_port_t i2c_ports[] = {
{
- .name = "sensor",
- .port = I2C_PORT_SENSOR,
+ .name = "usb_c1_mix",
+ .port = I2C_PORT_USB_C1_MIX,
.kbps = 400,
- .scl = GPIO_EC_I2C0_SENSOR_SCL,
- .sda = GPIO_EC_I2C0_SENSOR_SDA,
+ .scl = GPIO_EC_I2C0_USB_C1_MIX_SCL,
+ .sda = GPIO_EC_I2C0_USB_C1_MIX_SDA,
},
{
.name = "usb_c0",