Skip to content

Commit 2a31636

Browse files
changhuangliangMichaIng
authored andcommitted
riscv: dts: starfive: Add goodix gt911 touchscreen support
Add goodix gt911 touchscreen support. Signed-off-by: Changhuang Liang <changhuang.liang@starfivetech.com>
1 parent 8200f64 commit 2a31636

2 files changed

Lines changed: 7 additions & 0 deletions

File tree

arch/riscv/boot/dts/starfive/jh7110-visionfive-v2.dtsi

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -424,6 +424,12 @@
424424
};
425425
};
426426

427+
touchscreen@14 {
428+
compatible = "goodix,gt911";
429+
reg = <0x14>;
430+
irq-gpios = <&gpio 30 GPIO_ACTIVE_HIGH>;
431+
reset-gpios = <&gpio 31 GPIO_ACTIVE_HIGH>;
432+
};
427433
};
428434

429435
&i2c5 {

arch/riscv/boot/dts/starfive/jh7110.dtsi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
#include <dt-bindings/clock/starfive-jh7110-clkgen.h>
1111
#include <dt-bindings/clock/starfive-jh7110-vout.h>
1212
#include <dt-bindings/clock/starfive-jh7110-isp.h>
13+
#include <dt-bindings/interrupt-controller/irq.h>
1314
#include <dt-bindings/power/jh7110-power.h>
1415

1516
/ {

0 commit comments

Comments
 (0)