From: Yannick Fertré Date: Fri, 4 Oct 2019 13:17:02 +0000 (+0200) Subject: ARM: dts: stm32: add focaltech touchscreen on stm32mp157c-dk2 board X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=7e6c337f689475c5071a5fe49d6074e5b7c690ee;p=linux.git ARM: dts: stm32: add focaltech touchscreen on stm32mp157c-dk2 board Enable focaltech ft6236 touchscreen on STM32MP157C-DK2 board. Signed-off-by: Yannick Fertré Signed-off-by: Alexandre Torgue --- diff --git a/arch/arm/boot/dts/stm32mp157c-dk2.dts b/arch/arm/boot/dts/stm32mp157c-dk2.dts index 20ea601a546dd..d44a7c6c2e20c 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"; + }; +}; + <dc { status = "okay";