[PATCH 3/4] ARM: dts: vf610-twr: Add crtouch node and pinmux
Anthony Felice
tony.felice at timesys.com
Fri Jun 24 12:44:45 PDT 2016
This adds a node for crtouch, the touchscreen controller of the Vybrid
Tower. Pinmux for the gpio irq used by crtouch is also defined in this
commit.
Signed-off-by: Anthony Felice <tony.felice at timesys.com>
---
arch/arm/boot/dts/vf610-twr.dts | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/arch/arm/boot/dts/vf610-twr.dts b/arch/arm/boot/dts/vf610-twr.dts
index ad1aff9..5d5cecf 100644
--- a/arch/arm/boot/dts/vf610-twr.dts
+++ b/arch/arm/boot/dts/vf610-twr.dts
@@ -217,6 +217,14 @@
VDDIO-supply = <®_3p3v>;
clocks = <&clks VF610_CLK_SAI2>;
};
+
+ touch: crtouch at 49 {
+ compatible = "fsl,crtouch_ts";
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_touchscreen>;
+ reg = <0x49>;
+ irq-gpio = <&gpio0 21 GPIO_ACTIVE_HIGH>;
+ };
};
&iomuxc {
@@ -365,6 +373,12 @@
>;
};
+ pinctrl_touchscreen: touchscreengrp {
+ fsl,pins = <
+ VF610_PAD_PTA31__GPIO_21 0x219d
+ >;
+ };
+
pinctrl_uart1: uart1grp {
fsl,pins = <
VF610_PAD_PTB4__UART1_TX 0x21a2
--
2.7.4
More information about the linux-arm-kernel
mailing list