summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/e70k02.dtsi
diff options
context:
space:
mode:
authorAndreas Kemnade <andreas@kemnade.info>2023-01-07 13:36:21 +0100
committerShawn Guo <shawnguo@kernel.org>2023-01-26 08:03:52 +0800
commit9a1bee3fb7e2669eb321b600f3ca57f4f792fd38 (patch)
treef70b867b3c5f57401a1823aac2fbf2e5f578b7b2 /arch/arm/boot/dts/e70k02.dtsi
parent5bd9ffed9e66a27f5b00f5f878f4cef0b981082c (diff)
downloadlinux-next-9a1bee3fb7e2669eb321b600f3ca57f4f792fd38.tar.gz
ARM: dts: imx: e70k02: Add touchscreen
Add the touchscreen now, since the driver is available. Signed-off-by: Andreas Kemnade <andreas@kemnade.info> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Diffstat (limited to 'arch/arm/boot/dts/e70k02.dtsi')
-rw-r--r--arch/arm/boot/dts/e70k02.dtsi11
1 files changed, 10 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/e70k02.dtsi b/arch/arm/boot/dts/e70k02.dtsi
index 27ef9a62b23c..ace3eb8a97b8 100644
--- a/arch/arm/boot/dts/e70k02.dtsi
+++ b/arch/arm/boot/dts/e70k02.dtsi
@@ -122,7 +122,16 @@
clock-frequency = <100000>;
status = "okay";
- /* TODO: CYTTSP5 touch controller at 0x24 */
+ touchscreen@24 {
+ compatible = "cypress,tt21000";
+ reg = <0x24>;
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_cyttsp5_gpio>;
+ interrupt-parent = <&gpio4>;
+ interrupts = <24 IRQ_TYPE_EDGE_FALLING>;
+ reset-gpios = <&gpio4 18 GPIO_ACTIVE_LOW>;
+ vdd-supply = <&ldo5_reg>;
+ };
/* TODO: SY7636 PMIC for E Ink at 0x62 */