summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Krummenacher <max.krummenacher@toradex.com>2015-10-15 14:02:53 +0200
committerMax Krummenacher <max.krummenacher@toradex.com>2015-10-15 14:02:53 +0200
commit1ce9413bb35208dc647cb61ef093d0ab3cfa340d (patch)
treec8106c27ea41e08b97e4f5a955a2fb1eacb65d3d
parent0c25d7b2eb7cc4f0258544face69931f01db8f49 (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 Forward port of 3.10.17, commit e5925f53b4c6021d03a7a694d0512712036e83e6
-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 9d4dd5180482..96db16920544 100644
--- a/arch/arm/boot/dts/imx6dl-colibri-eval-v3.dts
+++ b/arch/arm/boot/dts/imx6dl-colibri-eval-v3.dts
@@ -18,6 +18,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";
@@ -65,6 +69,7 @@
pwmleds {
compatible = "pwm-leds";
+#ifndef PCAP
ledpwm2 {
label = "PWM<B>";
pwms = <&pwm1 0 50000>;
@@ -76,7 +81,7 @@
pwms = <&pwm4 0 50000>;
max-brightness = <255>;
};
-
+#endif
ledpwm4 {
label = "PWM<D>";
pwms = <&pwm2 0 50000>;
@@ -134,11 +139,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 */
>;
@@ -175,6 +182,15 @@
&pinctrl_csi_gpio_1
&pinctrl_gpio_1
&pinctrl_usbh_oc_1 &pinctrl_usbc_id_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 {
@@ -189,9 +205,11 @@
status = "okay";
};
+#ifndef PCAP
&pwm1 {
status = "okay";
};
+#endif
&pwm2 {
status = "okay";
@@ -201,9 +219,11 @@
status = "okay";
};
+#ifndef PCAP
&pwm4 {
status = "okay";
};
+#endif
&sound_hdmi {
status = "okay";