Commit e512cef8 authored by Philippe Schenker's avatar Philippe Schenker Committed by Shawn Guo

ARM: dts: imx7-colibri: Add touch controllers

Add touch controller that is connected over an I2C bus.
It is disabled by default because the pins are also used for PWM,
which is the standard use for colibri boards.
Signed-off-by: default avatarPhilippe Schenker <philippe.schenker@toradex.com>
Acked-by: default avatarMarcel Ziswiler <marcel.ziswiler@toradex.com>
Reviewed-by: default avatarOleksandr Suvorov <oleksandr.suvorov@toradex.com>
Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
parent bde07b1e
...@@ -145,6 +145,21 @@ &fec1 { ...@@ -145,6 +145,21 @@ &fec1 {
&i2c4 { &i2c4 {
status = "okay"; status = "okay";
/*
* Touchscreen is using SODIMM 28/30, also used for PWM<B>, PWM<C>,
* aka pwm2, pwm3. so if you enable touchscreen, disable the pwms
*/
touchscreen@4a {
compatible = "atmel,maxtouch";
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_gpiotouch>;
reg = <0x4a>;
interrupt-parent = <&gpio1>;
interrupts = <9 IRQ_TYPE_EDGE_FALLING>; /* SODIMM 28 */
reset-gpios = <&gpio1 10 GPIO_ACTIVE_HIGH>; /* SODIMM 30 */
status = "disabled";
};
/* M41T0M6 real time clock on carrier board */ /* M41T0M6 real time clock on carrier board */
rtc: m41t0m6@68 { rtc: m41t0m6@68 {
compatible = "st,m41t0"; compatible = "st,m41t0";
...@@ -200,3 +215,12 @@ &usdhc1 { ...@@ -200,3 +215,12 @@ &usdhc1 {
vmmc-supply = <&reg_3v3>; vmmc-supply = <&reg_3v3>;
status = "okay"; status = "okay";
}; };
&iomuxc {
pinctrl_gpiotouch: touchgpios {
fsl,pins = <
MX7D_PAD_GPIO1_IO09__GPIO1_IO9 0x74
MX7D_PAD_GPIO1_IO10__GPIO1_IO10 0x14
>;
};
};
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