diff options
author | Keith Short <keithshort@chromium.org> | 2021-09-15 18:22:26 -0600 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-09-20 19:39:56 +0000 |
commit | e1c265a7b346fea2c20812b1c78342460e28b35b (patch) | |
tree | 2a1c55d0885b644e44bb80235f8c87537c27d241 /zephyr/projects/herobrine | |
parent | 5e50d8a3f3ee4ae578707f4df99051a4051c0b86 (diff) | |
download | chrome-ec-e1c265a7b346fea2c20812b1c78342460e28b35b.tar.gz |
zephyr: Explicitly enable the I2C controller
Explicitly enable the I2C controller node that is used on each board
using the Nuvoton NPCX7 or NPCX9 chipset.
This is a no-op at the moment, but prepares for an upstream change that
will disable the I2C controller nodes by default.
BUG=b:200292035
BRANCH=none
TEST=zmake testall
Signed-off-by: Keith Short <keithshort@chromium.org>
Change-Id: I158ae44090a719ef20930350d89efd7903e6e531
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3169389
Reviewed-by: Jack Rosenthal <jrosenth@chromium.org>
Diffstat (limited to 'zephyr/projects/herobrine')
-rw-r--r-- | zephyr/projects/herobrine/herobrine_npcx9/i2c.dts | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/zephyr/projects/herobrine/herobrine_npcx9/i2c.dts b/zephyr/projects/herobrine/herobrine_npcx9/i2c.dts index 8e26fae393..0821f8b806 100644 --- a/zephyr/projects/herobrine/herobrine_npcx9/i2c.dts +++ b/zephyr/projects/herobrine/herobrine_npcx9/i2c.dts @@ -84,6 +84,10 @@ }; }; +&i2c_ctrl0 { + status = "okay"; +}; + &i2c1_0 { status = "okay"; /* @@ -98,17 +102,29 @@ clock-frequency = <I2C_BITRATE_FAST>; }; +&i2c_ctrl1 { + status = "okay"; +}; + &i2c2_0 { status = "okay"; /* TODO(b/200280341): PS8805 SPI ROM access */ clock-frequency = <I2C_BITRATE_FAST>; }; +&i2c_ctrl2 { + status = "okay"; +}; + &i2c3_0 { /* Not used as no WLC connected */ clock-frequency = <I2C_BITRATE_FAST>; }; +&i2c_ctrl3 { + status = "okay"; +}; + &i2c4_1 { status = "okay"; clock-frequency = <I2C_BITRATE_FAST>; @@ -121,12 +137,24 @@ }; }; +&i2c_ctrl4 { + status = "okay"; +}; + &i2c5_0 { status = "okay"; clock-frequency = <I2C_BITRATE_FAST>; }; +&i2c_ctrl5 { + status = "okay"; +}; + &i2c7_0 { status = "okay"; clock-frequency = <I2C_BITRATE_FAST>; }; + +&i2c_ctrl7 { + status = "okay"; +}; |