diff options
author | Uros Majstorovic <majstor@majstor.org> | 2021-08-27 03:06:13 +0200 |
---|---|---|
committer | Uros Majstorovic <majstor@majstor.org> | 2021-08-27 03:06:13 +0200 |
commit | 76ec318118106cb25d762de83857f6579c13e273 (patch) | |
tree | ac1025b9e79a5eae04b6036d56599c0df98dcb08 /yocto/meta-bsp-rvphone/recipes-kernel/linux/rvphone/cl-imx8/dts/cl-imx8-touch.dtsi | |
parent | 6d270f43cfea8e840463c260b43a6afbd24c1149 (diff) |
yocto rename
Diffstat (limited to 'yocto/meta-bsp-rvphone/recipes-kernel/linux/rvphone/cl-imx8/dts/cl-imx8-touch.dtsi')
-rw-r--r-- | yocto/meta-bsp-rvphone/recipes-kernel/linux/rvphone/cl-imx8/dts/cl-imx8-touch.dtsi | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/yocto/meta-bsp-rvphone/recipes-kernel/linux/rvphone/cl-imx8/dts/cl-imx8-touch.dtsi b/yocto/meta-bsp-rvphone/recipes-kernel/linux/rvphone/cl-imx8/dts/cl-imx8-touch.dtsi new file mode 100644 index 0000000..b59fba1 --- /dev/null +++ b/yocto/meta-bsp-rvphone/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"; + }; +}; |