ARM: dts: stm32: add focaltech touchscreen on stm32mp157c-dk2 board
authorYannick Fertré <yannick.fertre@st.com>
Fri, 4 Oct 2019 13:17:02 +0000 (15:17 +0200)
committerAlexandre Torgue <alexandre.torgue@st.com>
Fri, 25 Oct 2019 12:28:42 +0000 (14:28 +0200)
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>
arch/arm/boot/dts/stm32mp157c-dk2.dts

index 20ea601a546ddf1bd51ed6cbcb76cb46446d20b0..d44a7c6c2e20c93421aa40264db0cd04987bad7d 100644 (file)
        };
 };
 
+&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";