summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/am3517-som.dtsi
diff options
context:
space:
mode:
authorAdam Ford <aford173@gmail.com>2018-05-05 20:26:11 -0500
committerTony Lindgren <tony@atomide.com>2018-05-15 11:30:53 -0700
commitad365516446c5ebd5da78b41d094c7a34c82dbb7 (patch)
tree0844cb79dcb9a5a5c2bfc4224344c6c10f1328bf /arch/arm/boot/dts/am3517-som.dtsi
parenta00ff99c4b213dad5fe0b7da619a90c6d0aa39ba (diff)
ARM: dts: am3517-evm: Add LCD panel type 15 support
The AM3517-EVM by Logic PD has a Logic PD type 15 display LCD attached to the baseboard, and the SOM itself has an integrated touchscreen controller. This patch enables both the LCD and the tsc2004 on the SOM. Signed-off-by: Adam Ford <aford173@gmail.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/boot/dts/am3517-som.dtsi')
-rw-r--r--arch/arm/boot/dts/am3517-som.dtsi29
1 files changed, 29 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/am3517-som.dtsi b/arch/arm/boot/dts/am3517-som.dtsi
index d6edaebfa251..d65b21a2d61f 100644
--- a/arch/arm/boot/dts/am3517-som.dtsi
+++ b/arch/arm/boot/dts/am3517-som.dtsi
@@ -94,4 +94,33 @@
};
};
};
+
+ touchscreen: tsc2004@4b {
+ compatible = "ti,tsc2004";
+ reg = <0x4b>;
+
+ vio-supply = <&vdd_io_reg>;
+
+ pinctrl-names = "default";
+ pinctrl-0 = <&tsc2004_pins>;
+ interrupts-extended = <&gpio3 1 IRQ_TYPE_EDGE_RISING>; /* gpio_65 */
+
+ touchscreen-fuzz-x = <4>;
+ touchscreen-fuzz-y = <7>;
+ touchscreen-fuzz-pressure = <2>;
+ touchscreen-size-x = <480>;
+ touchscreen-size-y = <272>;
+ touchscreen-max-pressure = <2048>;
+
+ ti,x-plate-ohms = <280>;
+ ti,esd-recovery-timeout-ms = <8000>;
+ };
+};
+
+&omap3_pmx_core {
+ tsc2004_pins: pinmux_tsc2004_pins {
+ pinctrl-single,pins = <
+ OMAP3_CORE1_IOPAD(0x20d2, PIN_INPUT | MUX_MODE4) /* gpmc_wait3.gpio_65 */
+ >;
+ };
};