From 114424dfb1540462f90867028d1ad915e05f3016 Mon Sep 17 00:00:00 2001 From: Changhuang Liang Date: Tue, 3 Jan 2023 14:17:16 +0800 Subject: [PATCH] riscv: dts: starfive: Add gt9xx touchscreen support Add gt9xx touchscreen support. Signed-off-by: Changhuang Liang --- arch/riscv/boot/dts/starfive/jh7110-visionfive-v2.dtsi | 9 +++++++++ arch/riscv/boot/dts/starfive/jh7110.dtsi | 1 + 2 files changed, 10 insertions(+) diff --git a/arch/riscv/boot/dts/starfive/jh7110-visionfive-v2.dtsi b/arch/riscv/boot/dts/starfive/jh7110-visionfive-v2.dtsi index 0df37ad..344ebae6c 100755 --- a/arch/riscv/boot/dts/starfive/jh7110-visionfive-v2.dtsi +++ b/arch/riscv/boot/dts/starfive/jh7110-visionfive-v2.dtsi @@ -424,6 +424,15 @@ }; }; + gt9xx: gt9xx@14 { + compatible = "goodix,gt9xx"; + reg = <0x14>; + touch-gpio = <&gpio 30 IRQ_TYPE_LEVEL_LOW>; + reset-gpio = <&gpio 31 GPIO_ACTIVE_HIGH>; + max-x = <800>; + max-y = <1280>; + tp-size = <9112>; + }; }; &i2c5 { diff --git a/arch/riscv/boot/dts/starfive/jh7110.dtsi b/arch/riscv/boot/dts/starfive/jh7110.dtsi index 401a2cd..78734df 100644 --- a/arch/riscv/boot/dts/starfive/jh7110.dtsi +++ b/arch/riscv/boot/dts/starfive/jh7110.dtsi @@ -11,6 +11,7 @@ #include #include #include +#include / { compatible = "starfive,jh7110"; -- 2.7.4