ARM: dts: imx: e60k02: Add touchscreen

Add the touchscreen now, since the driver is available.

Signed-off-by: Andreas Kemnade <andreas@kemnade.info>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
This commit is contained in:
Andreas Kemnade 2022-11-04 21:42:51 +01:00 committed by Shawn Guo
parent 2a43322ca7
commit e7c5f52515
3 changed files with 24 additions and 1 deletions

View File

@ -104,7 +104,16 @@ &i2c2 {
clock-frequency = <100000>;
status = "okay";
/* TODO: CYTTSP5 touch controller at 0x24 */
touchscreen@24 {
compatible = "cypress,tt21000";
reg = <0x24>;
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_cyttsp5_gpio>;
interrupt-parent = <&gpio5>;
interrupts = <6 IRQ_TYPE_EDGE_FALLING>;
reset-gpios = <&gpio5 13 GPIO_ACTIVE_LOW>;
vdd-supply = <&ldo5_reg>;
};
/* TODO: TPS65185 PMIC for E Ink at 0x68 */

View File

@ -52,6 +52,13 @@ &iomuxc {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_hog>;
pinctrl_cyttsp5_gpio: cyttsp5-gpiogrp {
fsl,pins = <
MX6SL_PAD_SD1_DAT3__GPIO5_IO06 0x17059 /* TP_INT */
MX6SL_PAD_SD1_DAT2__GPIO5_IO13 0x10059 /* TP_RST */
>;
};
pinctrl_gpio_keys: gpio-keysgrp {
fsl,pins = <
MX6SL_PAD_SD1_DAT1__GPIO5_IO08 0x17059 /* PWR_SW */

View File

@ -62,6 +62,13 @@ &iomuxc {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_hog>;
pinctrl_cyttsp5_gpio: cyttsp5-gpiogrp {
fsl,pins = <
MX6SLL_PAD_SD1_DATA3__GPIO5_IO06 0x17059 /* TP_INT */
MX6SLL_PAD_SD1_DATA2__GPIO5_IO13 0x10059 /* TP_RST */
>;
};
pinctrl_gpio_keys: gpio-keysgrp {
fsl,pins = <
MX6SLL_PAD_SD1_DATA1__GPIO5_IO08 0x17059 /* PWR_SW */