PD#169477: arm64: dts: g12b: add focaltech touchpanel config
Change-Id: Ia6ede5da68dad6994e537279b1e7edacf4203d63
Signed-off-by: Qianggui Song <qianggui.song@amlogic.com>
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";
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";