summaryrefslogtreecommitdiff
path: root/recipes-kernel/linux/rvphone/cl-imx8/dts/cl-imx8-touch.dtsi
diff options
context:
space:
mode:
authormajstor <majstor@majstor.org>2021-08-17 18:23:23 -0700
committermajstor <majstor@majstor.org>2021-08-17 18:23:23 -0700
commit72f5e32b508c665999955f97d0db0c24d0fbb26c (patch)
treeab4da1c4d66dfe0970338dd168b772ffd16f0ec5 /recipes-kernel/linux/rvphone/cl-imx8/dts/cl-imx8-touch.dtsi
parentb472b869f73e6b7ba1d5ea51c4b1d583a3e28f35 (diff)
parent9b00edfbc0222db721833118b2aef778f548d2e4 (diff)
Merge branch 'master' of freebsd:base/meta-bsp-rvphone-sumo
Diffstat (limited to 'recipes-kernel/linux/rvphone/cl-imx8/dts/cl-imx8-touch.dtsi')
-rw-r--r--recipes-kernel/linux/rvphone/cl-imx8/dts/cl-imx8-touch.dtsi28
1 files changed, 28 insertions, 0 deletions
diff --git a/recipes-kernel/linux/rvphone/cl-imx8/dts/cl-imx8-touch.dtsi b/recipes-kernel/linux/rvphone/cl-imx8/dts/cl-imx8-touch.dtsi
new file mode 100644
index 0000000..b59fba1
--- /dev/null
+++ b/recipes-kernel/linux/rvphone/cl-imx8/dts/cl-imx8-touch.dtsi
@@ -0,0 +1,28 @@
+&iomuxc {
+ rvphone-cl-imx8-touch {
+ pinctrl_ts: tsgrp {
+ fsl,pins = <
+ MX8MQ_IOMUXC_UART4_RXD_GPIO5_IO28 0x16 /* TOUCH IRQ */
+ MX8MQ_IOMUXC_UART4_TXD_GPIO5_IO29 0x16 /* TOUCH RST */
+ >;
+ };
+ };
+};
+
+&i2c3 {
+ status = "okay";
+ goodix_ts@5d {
+ compatible = "goodix,gt911";
+ reg = <0x5d>;
+
+ interrupt-parent = <&gpio5>;
+ interrupts = <28 IRQ_TYPE_EDGE_FALLING>;
+
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_ts>;
+
+ irq-gpios = <&gpio5 28 GPIO_ACTIVE_HIGH>;
+ reset-gpios = <&gpio5 29 GPIO_ACTIVE_HIGH>;
+ status = "okay";
+ };
+};