summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/rk3188-bqedison2qc.dts
diff options
context:
space:
mode:
authorHeiko Stuebner <heiko.stuebner@bq.com>2018-12-21 17:10:12 +0100
committerHeiko Stuebner <heiko@sntech.de>2019-01-07 09:15:24 +0100
commit321514a385fa531b08f8c555e8e63fe66bfeb146 (patch)
treea922bb6fbacd655b302193da7f03614106d5f76c /arch/arm/boot/dts/rk3188-bqedison2qc.dts
parentARM: dts: rockchip: fix cif1_pdn pin on rk3188-bqedison2qc (diff)
downloadlinux-321514a385fa531b08f8c555e8e63fe66bfeb146.tar.xz
linux-321514a385fa531b08f8c555e8e63fe66bfeb146.zip
ARM: dts: rockchip: add focaltech touchscreen to rk3188-bqedison2qc
The Edison tablet uses a Focaltech touchscreen, with one speciality that the touchscreen resolution doesn't match the display resolution (1024x768 vs. 1280x600) which userspace will have to compensate for. Signed-off-by: Heiko Stuebner <heiko.stuebner@bq.com>
Diffstat (limited to 'arch/arm/boot/dts/rk3188-bqedison2qc.dts')
-rw-r--r--arch/arm/boot/dts/rk3188-bqedison2qc.dts15
1 files changed, 15 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/rk3188-bqedison2qc.dts b/arch/arm/boot/dts/rk3188-bqedison2qc.dts
index 2b5abfb48dd0..887d1aa8d0e1 100644
--- a/arch/arm/boot/dts/rk3188-bqedison2qc.dts
+++ b/arch/arm/boot/dts/rk3188-bqedison2qc.dts
@@ -408,6 +408,21 @@
&i2c2 {
clock-frequency = <400000>;
status = "okay";
+
+ ft5606: touchscreen@3e {
+ compatible = "edt,edt-ft5506";
+ reg = <0x3e>;
+ interrupt-parent = <&gpio1>;
+ interrupts = <RK_PB7 IRQ_TYPE_EDGE_FALLING>;
+ pinctrl-names = "default";
+ pinctrl-0 = <&tp_int &tp_rst>;
+ reset-gpios = <&gpio0 RK_PB6 GPIO_ACTIVE_LOW>;
+ touchscreen-inverted-y;
+ /* hw ts resolution does not match display */
+ touchscreen-size-y = <1024>;
+ touchscreen-size-x = <768>;
+ touchscreen-swapped-x-y;
+ };
};
&i2c3 {