summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Short <keithshort@chromium.org>2021-09-27 09:40:20 -0600
committerCommit Bot <commit-bot@chromium.org>2021-09-27 23:05:47 +0000
commit4c58dc54f65e9dde3363a62f027d023d26b991f3 (patch)
tree956c570863b9b92e617161b0cdc8c09e55000e5b
parentb6b9720eb46256ff3870f4fd9f74c2163ac64df9 (diff)
downloadchrome-ec-4c58dc54f65e9dde3363a62f027d023d26b991f3.tar.gz
zephyr: NPCX EVB: disable unused I2C controllers
Upstream Zephyr now requires that both the I2C port and I2C controller are explicitly enabled. BUG=b:200292035 BRANCH=none TEST=zmake testall Signed-off-by: Keith Short <keithshort@chromium.org> Change-Id: I32cae81567fc9420c293e06128653039a69f6d75 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3188562 Commit-Queue: Jeremy Bettis <jbettis@chromium.org> Reviewed-by: Jeremy Bettis <jbettis@chromium.org>
-rw-r--r--zephyr/boards/arm/npcx_evb/npcx_evb.dtsi20
1 files changed, 20 insertions, 0 deletions
diff --git a/zephyr/boards/arm/npcx_evb/npcx_evb.dtsi b/zephyr/boards/arm/npcx_evb/npcx_evb.dtsi
index 51f40d6594..61a1e79783 100644
--- a/zephyr/boards/arm/npcx_evb/npcx_evb.dtsi
+++ b/zephyr/boards/arm/npcx_evb/npcx_evb.dtsi
@@ -87,26 +87,46 @@
clock-frequency = <I2C_BITRATE_STANDARD>;
};
+&i2c_ctrl0 {
+ status = "okay";
+};
+
&i2c1_0 {
status = "okay";
clock-frequency = <I2C_BITRATE_STANDARD>;
};
+&i2c_ctrl1 {
+ status = "okay";
+};
+
&i2c2_0 {
status = "okay";
clock-frequency = <I2C_BITRATE_STANDARD>;
};
+&i2c_ctrl2 {
+ status = "okay";
+};
+
&i2c3_0 {
status = "okay";
clock-frequency = <I2C_BITRATE_STANDARD>;
};
+&i2c_ctrl3 {
+ status = "okay";
+};
+
&i2c7_0 {
status = "okay";
clock-frequency = <I2C_BITRATE_STANDARD>;
};
+&i2c_ctrl7 {
+ status = "okay";
+};
+
&adc0 {
status = "okay";
};