summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts
diff options
context:
space:
mode:
authorYannick Fertré <yannick.fertre@st.com>2019-10-04 15:17:02 +0200
committerAlexandre Torgue <alexandre.torgue@st.com>2019-10-25 14:28:42 +0200
commit7e6c337f689475c5071a5fe49d6074e5b7c690ee (patch)
treea940df2a1555eeb3d1e378d0a9e68937038801d4 /arch/arm/boot/dts
parentARM: dts: stm32: enable ADC support on stm32mp157a-dk1 (diff)
downloadlinux-7e6c337f689475c5071a5fe49d6074e5b7c690ee.tar.xz
linux-7e6c337f689475c5071a5fe49d6074e5b7c690ee.zip
ARM: dts: stm32: add focaltech touchscreen on stm32mp157c-dk2 board
Enable focaltech ft6236 touchscreen on STM32MP157C-DK2 board. Signed-off-by: Yannick Fertré <yannick.fertre@st.com> Signed-off-by: Alexandre Torgue <alexandre.torgue@st.com>
Diffstat (limited to 'arch/arm/boot/dts')
-rw-r--r--arch/arm/boot/dts/stm32mp157c-dk2.dts13
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/stm32mp157c-dk2.dts b/arch/arm/boot/dts/stm32mp157c-dk2.dts
index 20ea601a546d..d44a7c6c2e20 100644
--- a/arch/arm/boot/dts/stm32mp157c-dk2.dts
+++ b/arch/arm/boot/dts/stm32mp157c-dk2.dts
@@ -61,6 +61,19 @@
};
};
+&i2c1 {
+ touchscreen@38 {
+ compatible = "focaltech,ft6236";
+ reg = <0x38>;
+ interrupts = <2 2>;
+ interrupt-parent = <&gpiof>;
+ interrupt-controller;
+ touchscreen-size-x = <480>;
+ touchscreen-size-y = <800>;
+ status = "okay";
+ };
+};
+
&ltdc {
status = "okay";