Commit 9a1bee3f authored by Andreas Kemnade's avatar Andreas Kemnade Committed by Shawn Guo

ARM: dts: imx: e70k02: Add touchscreen

Add the touchscreen now, since the driver is available.
Signed-off-by: default avatarAndreas Kemnade <andreas@kemnade.info>
Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
parent 5bd9ffed
......@@ -122,7 +122,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 = <&gpio4>;
interrupts = <24 IRQ_TYPE_EDGE_FALLING>;
reset-gpios = <&gpio4 18 GPIO_ACTIVE_LOW>;
vdd-supply = <&ldo5_reg>;
};
/* TODO: SY7636 PMIC for E Ink at 0x62 */
......
......@@ -52,6 +52,13 @@ &iomuxc {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_hog>;
pinctrl_cyttsp5_gpio: cyttsp5-gpiogrp {
fsl,pins = <
MX6SL_PAD_FEC_TXD0__GPIO4_IO24 0x17059 /* TP_INT */
MX6SL_PAD_FEC_RXD1__GPIO4_IO18 0x10059 /* TP_RST */
>;
};
pinctrl_gpio_keys: gpio-keysgrp {
fsl,pins = <
MX6SL_PAD_FEC_CRS_DV__GPIO4_IO25 0x17059 /* PWR_SW */
......
......@@ -62,6 +62,13 @@ &iomuxc {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_hog>;
pinctrl_cyttsp5_gpio: cyttsp5-gpiogrp {
fsl,pins = <
MX6SLL_PAD_GPIO4_IO24__GPIO4_IO24 0x17059 /* TP_INT */
MX6SLL_PAD_GPIO4_IO18__GPIO4_IO18 0x10059 /* TP_RST */
>;
};
pinctrl_gpio_keys: gpio-keysgrp {
fsl,pins = <
MX6SLL_PAD_GPIO4_IO25__GPIO4_IO25 0x17059 /* PWR_SW */
......
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