summaryrefslogtreecommitdiff
path: root/zephyr/boards/riscv/it8xxx2/it8xxx2.dts
diff options
context:
space:
mode:
Diffstat (limited to 'zephyr/boards/riscv/it8xxx2/it8xxx2.dts')
-rw-r--r--zephyr/boards/riscv/it8xxx2/it8xxx2.dts17
1 files changed, 17 insertions, 0 deletions
diff --git a/zephyr/boards/riscv/it8xxx2/it8xxx2.dts b/zephyr/boards/riscv/it8xxx2/it8xxx2.dts
index 82b5bbc7f1..29fb718f70 100644
--- a/zephyr/boards/riscv/it8xxx2/it8xxx2.dts
+++ b/zephyr/boards/riscv/it8xxx2/it8xxx2.dts
@@ -18,6 +18,19 @@
zephyr,flash = &flash0;
zephyr,flash-controller = &flashctrl;
};
+
+ /* Override keyboard scanning */
+ soc {
+ /delete-node/ kscan@f01d00;
+
+ cros_kb_raw: cros-kb-raw@f01d00 {
+ compatible = "ite,it8xxx2-cros-kb-raw";
+ reg = <0x00f01d00 0x29>;
+ label = "CROS_KB_RAW_0";
+ interrupt-parent = <&intc>;
+ interrupts = <13 IRQ_TYPE_LEVEL_HIGH>;
+ };
+ };
};
&uart1 {
@@ -29,3 +42,7 @@
&ite_uart1_wrapper {
status = "okay";
};
+
+&cros_kb_raw {
+ status = "okay"; /* Override in project dts if not required */
+};