summaryrefslogtreecommitdiff
path: root/zephyr/include/cros/nuvoton/npcx.dtsi
diff options
context:
space:
mode:
authorPeter Marheine <pmarheine@chromium.org>2021-12-01 10:58:56 +1100
committerCommit Bot <commit-bot@chromium.org>2021-12-08 03:51:23 +0000
commit849ac6ee864eedc0eef6ce0b900f9645597c0086 (patch)
tree081ee253b5dc033706b0103e45e13bdc2deadb43 /zephyr/include/cros/nuvoton/npcx.dtsi
parentba2512fce12a15282a8120e1ddbf566383c251e6 (diff)
downloadchrome-ec-849ac6ee864eedc0eef6ce0b900f9645597c0086.tar.gz
zephyr: use a chosen device for raw keyboard shim
Rather than assuming the keyboard is named cros_kb_raw, get the device from a chosen cros-ec,raw-kb node instead. To make this work whether the keyboard is in use or not, also move the cros_kb_raw node to live in the main it8xxx2.dtsi file, rather than being duplicated for those boards that use it. BUG=b:205615358 TEST=zmake testall BRANCH=none Signed-off-by: Peter Marheine <pmarheine@chromium.org> Change-Id: Id0e6208e03a3cfa06a38c63b34282736fc3a3489 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3312505 Reviewed-by: Keith Short <keithshort@chromium.org>
Diffstat (limited to 'zephyr/include/cros/nuvoton/npcx.dtsi')
-rw-r--r--zephyr/include/cros/nuvoton/npcx.dtsi1
1 files changed, 1 insertions, 0 deletions
diff --git a/zephyr/include/cros/nuvoton/npcx.dtsi b/zephyr/include/cros/nuvoton/npcx.dtsi
index eecc533c74..0a658663a8 100644
--- a/zephyr/include/cros/nuvoton/npcx.dtsi
+++ b/zephyr/include/cros/nuvoton/npcx.dtsi
@@ -15,6 +15,7 @@
cros-ec,bbram = &bbram;
cros-ec,espi = &espi0;
cros-ec,flash = &fiu0;
+ cros-ec,raw-kb = &cros_kb_raw;
cros-ec,watchdog = &twd0;
};