ARM: dts: sun8i: a83t: a711: Add touchscreen node

Enable a FocalTech EDT-FT5x06 Polytouch touchscreen.

Signed-off-by: Ondrej Jirman <megous@megous.com>
Signed-off-by: Mylène Josserand <mylene.josserand@bootlin.com>
Signed-off-by: Maxime Ripard <mripard@kernel.org>
This commit is contained in:
Mylène Josserand 2019-10-29 01:58:06 +01:00 committed by Maxime Ripard
parent a0365c09b5
commit 0c25bfa7fa
No known key found for this signature in database
GPG Key ID: E3EF0D6F671851C5
1 changed files with 16 additions and 0 deletions

View File

@ -164,6 +164,22 @@
status = "okay";
};
&i2c0 {
clock-frequency = <400000>;
status = "okay";
touchscreen@38 {
compatible = "edt,edt-ft5x06";
reg = <0x38>;
interrupt-parent = <&r_pio>;
interrupts = <0 7 IRQ_TYPE_EDGE_FALLING>; /* PL7 */
reset-gpios = <&pio 3 5 GPIO_ACTIVE_LOW>; /* PD5 */
vcc-supply = <&reg_ldo_io0>;
touchscreen-size-x = <1024>;
touchscreen-size-y = <600>;
};
};
&i2c1 {
clock-frequency = <400000>;
status = "okay";