diff options
-rw-r--r-- | zephyr/projects/volteer/include/gpio_map.h | 1 | ||||
-rw-r--r-- | zephyr/projects/volteer/include/i2c_map.h | 5 | ||||
-rw-r--r-- | zephyr/projects/volteer/prj.conf | 2 |
3 files changed, 8 insertions, 0 deletions
diff --git a/zephyr/projects/volteer/include/gpio_map.h b/zephyr/projects/volteer/include/gpio_map.h index 01f5c30206..f23d1db1bb 100644 --- a/zephyr/projects/volteer/include/gpio_map.h +++ b/zephyr/projects/volteer/include/gpio_map.h @@ -44,6 +44,7 @@ #define GPIO_RSMRST_L_PGOOD NAMED_GPIO(pg_ec_rsmrst_odl) #define GPIO_SLP_SUS_L NAMED_GPIO(slp_sus_l) #define GPIO_SYS_RESET_L NAMED_GPIO(sys_rst_odl) +#define GPIO_WP_L NAMED_GPIO(ec_wp_l) /* * Set EC_CROS_GPIO_INTERRUPTS to a space-separated list of GPIO_INT items. diff --git a/zephyr/projects/volteer/include/i2c_map.h b/zephyr/projects/volteer/include/i2c_map.h index cecf9dfa19..de174e311a 100644 --- a/zephyr/projects/volteer/include/i2c_map.h +++ b/zephyr/projects/volteer/include/i2c_map.h @@ -10,6 +10,9 @@ #include "config.h" +/* We need registers.h to get the chip specific defines for now */ +#include "registers.h" + #define I2C_PORT_ACCEL I2C_PORT_SENSOR #define I2C_PORT_SENSOR NPCX_I2C_PORT0_0 #define I2C_PORT_USB_C0 NPCX_I2C_PORT1_0 @@ -18,4 +21,6 @@ #define I2C_PORT_POWER NPCX_I2C_PORT5_0 #define I2C_PORT_EEPROM NPCX_I2C_PORT7_0 +#define I2C_ADDR_EEPROM_FLAGS 0x50 + #endif /* __ZEPHYR_CHROME_I2C_MAP_H */ diff --git a/zephyr/projects/volteer/prj.conf b/zephyr/projects/volteer/prj.conf index 42bd5af499..976122d038 100644 --- a/zephyr/projects/volteer/prj.conf +++ b/zephyr/projects/volteer/prj.conf @@ -10,6 +10,7 @@ CONFIG_PLATFORM_EC_ESPI_VW_SLP_S4=y # TODO(b/161470456): can we remove the below when zmake generates it? CONFIG_CROS_EC_RO=y + CONFIG_PLATFORM_EC=y CONFIG_I2C=y CONFIG_PLATFORM_EC_EXTPOWER_GPIO=y @@ -17,6 +18,7 @@ CONFIG_PLATFORM_EC_KEYBOARD=y CONFIG_PLATFORM_EC_KEYBOARD_COL2_INVERTED=y CONFIG_PLATFORM_EC_LID_SWITCH=y CONFIG_PLATFORM_EC_POWER_BUTTON=y +CONFIG_PLATFORM_EC_CBI=y # Power Sequencing CONFIG_PLATFORM_EC_POWERSEQ=y |