summaryrefslogtreecommitdiff
path: root/zephyr/boards
diff options
context:
space:
mode:
authorDino Li <Dino.Li@ite.com.tw>2021-07-16 14:47:32 +0800
committerCommit Bot <commit-bot@chromium.org>2021-07-27 02:50:20 +0000
commit9e0226bf02e94efd042b77ea6008ee9bfb08ed6f (patch)
tree7fc311cceda1192236e4ac7a2c22dd0fe494a4af /zephyr/boards
parent78e3fa0569a53ff146364c5229b1e86c57f1d8e5 (diff)
downloadchrome-ec-9e0226bf02e94efd042b77ea6008ee9bfb08ed6f.tar.gz
zephyr: it8xxx2: shi: enable CS interrupt
This interrupt will be needed in the future to enable low power mode on idle task in S0 state. BRANCH=none BUG=b:185176098 TEST=the interrupt can be triggered correctly on asurada. Signed-off-by: Dino Li <Dino.Li@ite.com.tw> Change-Id: I04b066de0129f01adf2c7ba4c9f60788b3d46cbc Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3034781 Reviewed-by: Tim2 Lin <tim2.lin@ite.corp-partner.google.com> Reviewed-by: Denis Brockus <dbrockus@chromium.org>
Diffstat (limited to 'zephyr/boards')
-rw-r--r--zephyr/boards/riscv/it8xxx2_evb/it8xxx2_evb.dts5
1 files changed, 5 insertions, 0 deletions
diff --git a/zephyr/boards/riscv/it8xxx2_evb/it8xxx2_evb.dts b/zephyr/boards/riscv/it8xxx2_evb/it8xxx2_evb.dts
index 89ef56bc4c..de7d41abe7 100644
--- a/zephyr/boards/riscv/it8xxx2_evb/it8xxx2_evb.dts
+++ b/zephyr/boards/riscv/it8xxx2_evb/it8xxx2_evb.dts
@@ -119,6 +119,11 @@
label = "I2C_E_SDA";
};
+ spi0_cs {
+ gpios = <&gpiom 5 (GPIO_INPUT | GPIO_VOLTAGE_1P8)>;
+ enum-name = "GPIO_SPI0_CS";
+ label = "SPI0_CS";
+ };
};
named-adc-channels {