dts: g12a-skt: add touch device node

PD#156734: dts: g12a-skt:
1. add and enable focaltech ftxx
2. add and enable goodix gtxx

Change-Id: Iff3a2d0a28c5ba78c93f23623b3c34b651bb2cae
Signed-off-by: Sunny Luo <sunny.luo@amlogic.com>
This commit is contained in:
Sunny Luo
2018-02-04 15:57:09 +08:00
committed by Yixun Lan
parent 6a8a46b2ea
commit 829ddebafe

View File

@@ -1068,7 +1068,26 @@
status = "okay";
pinctrl-names="default";
pinctrl-0=<&i2c0_master_pins2>;
clock-frequency = <100000>; /* default 100k */
clock-frequency = <400000>;
gt9xx@5d {
compatible = "goodix,gt9xx";
status = "disabled";
reg = <0x5d>;
reset-gpio = <&gpio GPIOZ_9 0x00>;
irq-gpio = <&gpio GPIOZ_3 0x00>;
};
ftxx@38 {
compatible = "focaltech,fts";
status = "disabled";
reg = <0x38>;
reset-gpio = <&gpio GPIOZ_9 0x00>;
irq-gpio = <&gpio GPIOZ_3 0x00>;
x_max = <600>;
y_max = <1024>;
max-touch-number = <10>;
};
};
&i2c3 {