summaryrefslogtreecommitdiff
path: root/zephyr/projects/volteer/include/i2c_map.h
diff options
context:
space:
mode:
Diffstat (limited to 'zephyr/projects/volteer/include/i2c_map.h')
-rw-r--r--zephyr/projects/volteer/include/i2c_map.h5
1 files changed, 5 insertions, 0 deletions
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 */