summaryrefslogtreecommitdiff
path: root/zephyr/program/geralt
diff options
context:
space:
mode:
Diffstat (limited to 'zephyr/program/geralt')
-rw-r--r--zephyr/program/geralt/geralt/project.overlay1
-rw-r--r--zephyr/program/geralt/shi.dtsi13
2 files changed, 14 insertions, 0 deletions
diff --git a/zephyr/program/geralt/geralt/project.overlay b/zephyr/program/geralt/geralt/project.overlay
index fc63f53050..b54d181c38 100644
--- a/zephyr/program/geralt/geralt/project.overlay
+++ b/zephyr/program/geralt/geralt/project.overlay
@@ -13,5 +13,6 @@
#include "../motionsense.dtsi"
#include "../power_signal.dtsi"
#include "../usbc.dtsi"
+#include "../shi.dtsi"
#include "battery.dtsi"
#include "led.dtsi"
diff --git a/zephyr/program/geralt/shi.dtsi b/zephyr/program/geralt/shi.dtsi
new file mode 100644
index 0000000000..12c0c6ca5b
--- /dev/null
+++ b/zephyr/program/geralt/shi.dtsi
@@ -0,0 +1,13 @@
+/* Copyright 2023 The ChromiumOS Authors
+ * Use of this source code is governed by a BSD-style license that can be
+ * found in the LICENSE file.
+ */
+
+#include <ite/it8xxx2-pinctrl-map.dtsi>
+
+&shi {
+ status = "okay";
+ pinctrl-0 = <&shi_mosi_gpm0_default &shi_miso_gpm1_default
+ &shi_clk_gpm4_default &shi_cs_gpm5_default>;
+ pinctrl-names = "default";
+};