summaryrefslogtreecommitdiff
path: root/zephyr/dts
diff options
context:
space:
mode:
authorJun Lin <CHLin56@nuvoton.com>2021-03-26 17:29:16 +0800
committerCommit Bot <commit-bot@chromium.org>2021-03-31 15:22:58 +0000
commit6f75875da06461dd65f13e2741e16034d27b0289 (patch)
treeb01d31e859c9c04ee828b08e8d98262c9952351b /zephyr/dts
parentcf62c88b539f0ebc8935a8cf9c375002e7a9e33f (diff)
downloadchrome-ec-6f75875da06461dd65f13e2741e16034d27b0289.tar.gz
zephyr: npcx: support SHI driver
Add the support for SHI (Serial Host Interface) driver. This is used to transfer host commands between EC and ARM-based AP. BUG=b:182600858 BRANCH=none TEST=Test host command "version" and "Hello" on npcx7_evb and the host emulator. Signed-off-by: Jun Lin <CHLin56@nuvoton.com> Change-Id: I5f290fe910600162764f5728f094dd0f42d508ef Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2786887 Reviewed-by: Jack Rosenthal <jrosenth@chromium.org> Commit-Queue: Jack Rosenthal <jrosenth@chromium.org> Tested-by: Jack Rosenthal <jrosenth@chromium.org>
Diffstat (limited to 'zephyr/dts')
-rw-r--r--zephyr/dts/bindings/cros_shi/nuvoton,npcx-cros-shi.yaml35
1 files changed, 35 insertions, 0 deletions
diff --git a/zephyr/dts/bindings/cros_shi/nuvoton,npcx-cros-shi.yaml b/zephyr/dts/bindings/cros_shi/nuvoton,npcx-cros-shi.yaml
new file mode 100644
index 0000000000..cf54cde7f8
--- /dev/null
+++ b/zephyr/dts/bindings/cros_shi/nuvoton,npcx-cros-shi.yaml
@@ -0,0 +1,35 @@
+# Copyright (c) 2021 Google Inc.
+# SPDX-License-Identifier: Apache-2.0
+
+description: Nuvoton, NPCX Serial Host Interface (SHI) node
+
+compatible: "nuvoton,npcx-cros-shi"
+
+include: base.yaml
+
+properties:
+ reg:
+ description: mmio register space
+ required: true
+
+ clocks:
+ required: true
+ description: configurations of device source clock controller
+
+ pinctrl-0:
+ type: phandles
+ required: true
+ description: configurations of pinmux controllers
+
+ ver-ctrl:
+ type: phandle
+ required: true
+ description: configurations of SHI module version
+ shi-cs-wui:
+ type: phandle
+ required: true
+ description: |
+ Mapping table between Wake-Up Input (WUI) and SHI_CS signal.
+
+ For example the WUI mapping on NPCX7 would be
+ shi-cs-wui = <&wui_io53>;