summaryrefslogtreecommitdiffstats
path: root/arch/arm64/boot/dts/rockchip/rk3568-evb1-v10.dts
diff options
context:
space:
mode:
authorMichael Riesch <michael.riesch@wolfvision.net>2022-01-29 17:24:40 +0100
committerHeiko Stuebner <heiko@sntech.de>2022-01-29 18:36:33 +0100
commit922237a6c211d9fe46b5dfb56307872cdced386d (patch)
tree1a61e6bb74434c267d6a1f92d3f302816a4cfa52 /arch/arm64/boot/dts/rockchip/rk3568-evb1-v10.dts
parentarm64: dts: rockchip: fix vcc3v3_lcd{0,1}_n regulators in rk3568-evb1-10 (diff)
downloadlinux-922237a6c211d9fe46b5dfb56307872cdced386d.tar.xz
linux-922237a6c211d9fe46b5dfb56307872cdced386d.zip
arm64: dts: rockchip: add the touchscreen controller to rk3568-evb1-v10
The Rockchip RK3568 EVB1 comes with a mounted touch display featuring a Goodix GT1158 touch controller (according to the product ID register). Signed-off-by: Michael Riesch <michael.riesch@wolfvision.net> Link: https://lore.kernel.org/r/20220129162440.5415-2-michael.riesch@wolfvision.net Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Diffstat (limited to 'arch/arm64/boot/dts/rockchip/rk3568-evb1-v10.dts')
-rw-r--r--arch/arm64/boot/dts/rockchip/rk3568-evb1-v10.dts26
1 files changed, 26 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/rockchip/rk3568-evb1-v10.dts b/arch/arm64/boot/dts/rockchip/rk3568-evb1-v10.dts
index 197aaf7ee348..d8c20a23e856 100644
--- a/arch/arm64/boot/dts/rockchip/rk3568-evb1-v10.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3568-evb1-v10.dts
@@ -330,6 +330,23 @@
};
};
+&i2c1 {
+ status = "okay";
+
+ touchscreen0: goodix@14 {
+ compatible = "goodix,gt1151";
+ reg = <0x14>;
+ interrupt-parent = <&gpio0>;
+ interrupts = <RK_PB5 IRQ_TYPE_EDGE_FALLING>;
+ AVDD28-supply = <&vcc3v3_lcd0_n>;
+ irq-gpios = <&gpio0 RK_PB5 GPIO_ACTIVE_HIGH>;
+ pinctrl-names = "default";
+ pinctrl-0 = <&touch_int &touch_rst>;
+ reset-gpios = <&gpio0 RK_PB6 GPIO_ACTIVE_HIGH>;
+ VDDIO-supply = <&vcc3v3_lcd0_n>;
+ };
+};
+
&mdio0 {
rgmii_phy0: ethernet-phy@0 {
compatible = "ethernet-phy-ieee802.3-c22";
@@ -366,6 +383,15 @@
<0 RK_PA3 RK_FUNC_GPIO &pcfg_pull_up>;
};
};
+
+ touchscreen {
+ touch_int: touch_int {
+ rockchip,pins = <0 RK_PB5 RK_FUNC_GPIO &pcfg_pull_up>;
+ };
+ touch_rst: touch_rst {
+ rockchip,pins = <0 RK_PB6 RK_FUNC_GPIO &pcfg_pull_none>;
+ };
+ };
};
&pmu_io_domains {