diff options
author | Andrew McRae <amcrae@google.com> | 2022-04-08 10:22:45 +1000 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2022-04-08 04:42:25 +0000 |
commit | ab34b0eca14d97c6dd0d7b95ffa698c1189a8336 (patch) | |
tree | 0166fa8fdad645f227431b57fdbbd435a1fbb374 | |
parent | 4ad9c72f5053621de80431a5c2228c82a7e13030 (diff) | |
download | chrome-ec-ab34b0eca14d97c6dd0d7b95ffa698c1189a8336.tar.gz |
nissa: Set I2C5_1 pins to be low voltage.
Set the sub-board type C I2C bus to be low voltage.
This is done for all boards, since the pin is 3.3V tolerant.
BUG=b:227695901
TEST=zmake build nivviks
BRANCH=none
Signed-off-by: Andrew McRae <amcrae@google.com>
Change-Id: I8475a4762c4da8d675a6dfc9b44baaeea6d39e53
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3577312
Reviewed-by: Peter Marheine <pmarheine@chromium.org>
-rw-r--r-- | zephyr/projects/nissa/nivviks_overlay.dts | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/zephyr/projects/nissa/nivviks_overlay.dts b/zephyr/projects/nissa/nivviks_overlay.dts index 194547a8fb..ab34f1c985 100644 --- a/zephyr/projects/nissa/nivviks_overlay.dts +++ b/zephyr/projects/nissa/nivviks_overlay.dts @@ -217,6 +217,18 @@ enable_gpio = <&gpio_fan_enable>; }; }; + + /* + * Set I2C pins for type C sub-board to be + * low voltage (I2C5_1). + * We do this for all boards, since the pins are + * 3.3V tolerant, and the only 2 types of sub-boards + * used on nivviks both have type-C ports on them. + */ + def-lvol-io-list { + compatible = "nuvoton,npcx-lvolctrl-def"; + lvol-io-pads = <&lvol_iof5 &lvol_iof4>; + }; }; &thermistor_3V3_51K1_47K_4050B { |