summaryrefslogtreecommitdiff
path: root/zephyr/projects/intelrvp/mtlrvp
diff options
context:
space:
mode:
authorDawid Niedzwiecki <dn@semihalf.com>2022-08-25 13:31:40 +0200
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2022-09-01 07:09:15 +0000
commitfda63a334e9eb787649edf049d6ed2a1298d72cf (patch)
treec01099e7be21e500746e402df16d866717885f44 /zephyr/projects/intelrvp/mtlrvp
parent4ebd39c76300382b14f6614cc5d7993545d4b99e (diff)
downloadchrome-ec-fda63a334e9eb787649edf049d6ed2a1298d72cf.tar.gz
zephyr: add i2c dts files per board variant
Some boards like krabby/tentacruel share the same i2c dts file, but not all i2c nodes are the same. It requires declaring the i2c nodes in other files like usbc.dts. Create an i2c file per board variant if the variants don't have the same i2c nodes. Also, move the remaining i2c nodes to the i2c files. BUG=b:228240586 TEST=zmake build -a BRANCH=main Signed-off-by: Dawid Niedzwiecki <dn@semihalf.com> Change-Id: I10f77dcbff6b0116232358ccfd4d3a2cf9e2647f Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3858648 Reviewed-by: Adam Mills <adamjmills@google.com> Commit-Queue: Dawid Niedzwiecki <dawidn@google.com> Reviewed-by: Keith Short <keithshort@chromium.org>
Diffstat (limited to 'zephyr/projects/intelrvp/mtlrvp')
-rw-r--r--zephyr/projects/intelrvp/mtlrvp/mtlrvpp_npcx/mtlrvp_npcx.dts9
1 files changed, 9 insertions, 0 deletions
diff --git a/zephyr/projects/intelrvp/mtlrvp/mtlrvpp_npcx/mtlrvp_npcx.dts b/zephyr/projects/intelrvp/mtlrvp/mtlrvpp_npcx/mtlrvp_npcx.dts
index 9c2a461ff0..d599a21948 100644
--- a/zephyr/projects/intelrvp/mtlrvp/mtlrvpp_npcx/mtlrvp_npcx.dts
+++ b/zephyr/projects/intelrvp/mtlrvp/mtlrvpp_npcx/mtlrvp_npcx.dts
@@ -116,6 +116,15 @@
status = "okay";
reg = <0x9>;
};
+
+ cbi_eeprom: eeprom@50 {
+ compatible = "atmel,at24";
+ reg = <0x50>;
+ size = <2048>;
+ pagesize = <16>;
+ address-width = <8>;
+ timeout = <5>;
+ };
};
/* host interface */