summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--zephyr/projects/corsola/BUILD.py3
-rw-r--r--zephyr/projects/corsola/cbi_eeprom.dts (renamed from zephyr/projects/corsola/cbi_eeprom_kingler.dts)0
-rw-r--r--zephyr/projects/corsola/i2c_krabby.dts2
-rw-r--r--zephyr/projects/corsola/prj_krabby.conf4
4 files changed, 7 insertions, 2 deletions
diff --git a/zephyr/projects/corsola/BUILD.py b/zephyr/projects/corsola/BUILD.py
index 1254b01003..918cb4bdbf 100644
--- a/zephyr/projects/corsola/BUILD.py
+++ b/zephyr/projects/corsola/BUILD.py
@@ -30,6 +30,7 @@ register_corsola_project(
here / "battery_krabby.dts",
here / "gpio_krabby.dts",
here / "i2c_krabby.dts",
+ here / "cbi_eeprom.dts",
here / "motionsense_krabby.dts",
here / "pwm_krabby.dts",
],
@@ -43,7 +44,7 @@ register_corsola_project(
here / "adc_kingler.dts",
here / "battery_kingler.dts",
here / "i2c_kingler.dts",
- here / "cbi_eeprom_kingler.dts",
+ here / "cbi_eeprom.dts",
here / "gpio_kingler.dts",
],
extra_kconfig_files=[here / "prj_kingler.conf"],
diff --git a/zephyr/projects/corsola/cbi_eeprom_kingler.dts b/zephyr/projects/corsola/cbi_eeprom.dts
index 7f95e2ed6d..7f95e2ed6d 100644
--- a/zephyr/projects/corsola/cbi_eeprom_kingler.dts
+++ b/zephyr/projects/corsola/cbi_eeprom.dts
diff --git a/zephyr/projects/corsola/i2c_krabby.dts b/zephyr/projects/corsola/i2c_krabby.dts
index 1dbfd83782..42e7218a9d 100644
--- a/zephyr/projects/corsola/i2c_krabby.dts
+++ b/zephyr/projects/corsola/i2c_krabby.dts
@@ -56,7 +56,7 @@
};
-&i2c0 {
+i2c_pwr_cbi: &i2c0 {
/* EC_I2C_PWR_CBI */
label = "I2C_PWR_CBI";
status = "okay";
diff --git a/zephyr/projects/corsola/prj_krabby.conf b/zephyr/projects/corsola/prj_krabby.conf
index efafefedf1..1182b2bbb5 100644
--- a/zephyr/projects/corsola/prj_krabby.conf
+++ b/zephyr/projects/corsola/prj_krabby.conf
@@ -17,6 +17,10 @@ CONFIG_KERNEL_SHELL=y
CONFIG_PLATFORM_EC_SYSTEM_UNLOCKED=y
CONFIG_PLATFORM_EC_BRINGUP=y
+# CBI
+CONFIG_PLATFORM_EC_BOARD_VERSION_CBI=y
+CONFIG_PLATFORM_EC_CBI_EEPROM=y
+
# Power Sequencing
CONFIG_PLATFORM_EC_POWERSEQ=y
CONFIG_PLATFORM_EC_POWERSEQ_HOST_SLEEP=y