Commit 7ccdc892 authored by Alex Gonzalez's avatar Alex Gonzalez Committed by Shawn Guo

ARM: dts: ccimx6ulsbcpro: Add support for Goodix touch controller

The ConnectCore 6UL SBC Pro has an AUO/Goodix LCD accessory kit that is
connected on the LVDS interface through an on-board LVDS transceiver.

This change adds support for the touch interface.
Signed-off-by: default avatarAlex Gonzalez <alex.gonzalez@digi.com>
Reviewed-by: default avatarFabio Estevam <festevam@gmail.com>
Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
parent 429c4580
...@@ -117,6 +117,19 @@ emmc-usd-mux { ...@@ -117,6 +117,19 @@ emmc-usd-mux {
}; };
}; };
&i2c1 {
touchscreen@14 {
compatible = "goodix,gt911";
reg = <0x14>;
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_goodix_touch>;
interrupt-parent = <&gpio5>;
interrupts = <2 IRQ_TYPE_EDGE_RISING>;
irq-gpios = <&gpio5 2 GPIO_ACTIVE_HIGH>;
status = "okay";
};
};
&lcdif { &lcdif {
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&pinctrl_lcdif_dat0_17 pinctrl-0 = <&pinctrl_lcdif_dat0_17
...@@ -290,6 +303,12 @@ MX6UL_PAD_UART2_RTS_B__FLEXCAN2_RX 0x1b020 ...@@ -290,6 +303,12 @@ MX6UL_PAD_UART2_RTS_B__FLEXCAN2_RX 0x1b020
>; >;
}; };
pinctrl_goodix_touch: goodixgrp{
fsl,pins = <
MX6UL_PAD_SNVS_TAMPER2__GPIO5_IO02 0x1020
>;
};
pinctrl_lcdif_dat0_17: lcdifdatgrp0-17 { pinctrl_lcdif_dat0_17: lcdifdatgrp0-17 {
fsl,pins = < fsl,pins = <
MX6UL_PAD_LCD_DATA00__LCDIF_DATA00 0x79 MX6UL_PAD_LCD_DATA00__LCDIF_DATA00 0x79
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment