summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Krummenacher <max.krummenacher@toradex.com>2015-02-12 19:03:34 +0100
committerMax Krummenacher <max.krummenacher@toradex.com>2015-03-17 14:40:11 +0100
commite5925f53b4c6021d03a7a694d0512712036e83e6 (patch)
tree9513e8a7340cbf181f94e22c91d2dda81051ab36
parent5202ebd189bac35987bf79335fe4568aabbf2b0e (diff)
imx6dl-colibri-eval-v3.dts: prepare for fusion_F07/10A
Prepare for the needed changes to use the capacitive touch controller on Fusion F07, Fusion F10A displays. In order to use it uncomment the define PCAP and recompile and deploy the device tree
-rw-r--r--arch/arm/boot/dts/imx6dl-colibri-eval-v3.dts24
1 files changed, 22 insertions, 2 deletions
diff --git a/arch/arm/boot/dts/imx6dl-colibri-eval-v3.dts b/arch/arm/boot/dts/imx6dl-colibri-eval-v3.dts
index ad284b74c07b..e2b8e9eaaadd 100644
--- a/arch/arm/boot/dts/imx6dl-colibri-eval-v3.dts
+++ b/arch/arm/boot/dts/imx6dl-colibri-eval-v3.dts
@@ -17,6 +17,10 @@
#include "imx6dl.dtsi"
#include "imx6qdl-colibri.dtsi"
+/* Add the following define if you connect a Fusion display with a capacitive
+ touch controller */
+/* #define PCAP */
+
/ {
model = "Toradex Colibri iMX6DL/S on Colibri Evaluation Board V3";
compatible = "toradex,colibri_imx6dl-eval", "toradex,colibri_imx6dl", "fsl,imx6dl";
@@ -50,6 +54,7 @@
pwmleds {
compatible = "pwm-leds";
+#ifndef PCAP
ledpwm2 {
label = "PWM<B>";
pwms = <&pwm1 0 50000>;
@@ -61,7 +66,7 @@
pwms = <&pwm4 0 50000>;
max-brightness = <255>;
};
-
+#endif
ledpwm4 {
label = "PWM<D>";
pwms = <&pwm2 0 50000>;
@@ -118,11 +123,13 @@
*/
&i2c3 {
status = "okay";
-#if 0 /* not standard pinout, disable PWM<B>, PWM<C>
+#ifdef PCAP /* not standard pinout, disable PWM<B>, PWM<C> */
pcap@10 {
/* TouchRevolution Fusion 7 and 10 multi-touch controller */
compatible = "touchrevolution,fusion-f0710a";
reg = <0x10>;
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_pcap_1>;
gpios = <&gpio1 9 0 /* SODIMM-28, Pen down interrupt */
&gpio2 10 0 /* SODIMM-30, Reset */
>;
@@ -161,6 +168,15 @@
&pinctrl_gpio_2
&pinctrl_usbh_oc_1 &pinctrl_usbc_id_1
&pinctrl_usbc_det_1>;
+
+ gpio {
+ pinctrl_pcap_1: pcap-1 {
+ fsl,pins = <
+ MX6QDL_PAD_GPIO_9__GPIO1_IO09 PAD_CTRL_HYS_PD /* SODIMM 28 */
+ MX6QDL_PAD_SD4_DAT2__GPIO2_IO10 PAD_CTRL_HYS_PD /* SODIMM 30 */
+ >;
+ };
+ };
};
&lcd {
@@ -175,9 +191,11 @@
status = "okay";
};
+#ifndef PCAP
&pwm1 {
status = "okay";
};
+#endif
&pwm2 {
status = "okay";
@@ -187,9 +205,11 @@
status = "okay";
};
+#ifndef PCAP
&pwm4 {
status = "okay";
};
+#endif
&sound_hdmi {
status = "okay";