arm64: dts: g12b: add focaltech touchpanel config

PD#169477: arm64: dts: g12b: add focaltech touchpanel config

Change-Id: Ia6ede5da68dad6994e537279b1e7edacf4203d63
Signed-off-by: Qianggui Song <qianggui.song@amlogic.com>
This commit is contained in:
Qianggui Song
2018-06-28 14:59:22 +08:00
committed by Yixun Lan
parent b7d4bb38b6
commit 729bd5a565
2 changed files with 36 additions and 0 deletions

View File

@@ -739,6 +739,24 @@
status = "okay";
};
&i2c0 {
status = "okay";
pinctrl-names = "default";
pinctrl-0 = <&i2c0_master_pins2>;
clock-frequency = <400000>;
touchscreen@38 {
compatible = "focaltech,fts";
status = "disabled";
reg = <0x38>;
reset-gpio = <&gpio GPIOZ_9 GPIO_ACTIVE_HIGH>;
irq-gpio = <&gpio GPIOZ_3 GPIO_ACTIVE_HIGH>;
x_max = <720>;
y_max = <1280>;
max-touch-number = <10>;
};
};
&i2c3 {
status = "okay";
pinctrl-names="default";

View File

@@ -674,6 +674,24 @@
status = "okay";
};
&i2c0 {
status = "okay";
pinctrl-names = "default";
pinctrl-0 = <&i2c0_master_pins2>;
clock-frequency = <400000>;
touchscreen@38 {
compatible = "focaltech,fts";
status = "disabled";
reg = <0x38>;
reset-gpio = <&gpio GPIOZ_9 GPIO_ACTIVE_HIGH>;
irq-gpio = <&gpio GPIOZ_3 GPIO_ACTIVE_HIGH>;
x_max = <720>;
y_max = <1280>;
max-touch-number = <10>;
};
};
&i2c3 {
status = "okay";
pinctrl-names="default";