diff options
Diffstat (limited to 'board/volteer/board.h')
-rw-r--r-- | board/volteer/board.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/board/volteer/board.h b/board/volteer/board.h index de1431b4e7..4aa02f6d6b 100644 --- a/board/volteer/board.h +++ b/board/volteer/board.h @@ -72,6 +72,8 @@ #define CONFIG_LID_ANGLE_SENSOR_LID LID_ACCEL /* USB Type C and USB PD defines */ +#define CONFIG_USB_PD_PORT_MAX_COUNT 2 + /* * USB-C port's USB2 & USB3 mapping from schematics * USB2 numbering on PCH - 1 to n @@ -102,6 +104,7 @@ /* Enabling USB4 mode */ #define CONFIG_USB_PD_USB4 +#define USBC_PORT_C1_BB_RETIMER_I2C_ADDR 0x40 /* USB Type A Features */ #define USB_PORT_COUNT 1 @@ -197,6 +200,12 @@ enum sensor_id { SENSOR_COUNT, }; +enum usbc_port { + USBC_PORT_C0 = 0, + USBC_PORT_C1, + USBC_PORT_COUNT +}; + void board_reset_pd_mcu(void); #endif /* !__ASSEMBLER__ */ |