Skip to content

Commit 593c93c

Browse files
committed
boards: stm32mp135f_dk: add touchscreen and lvgl pointer
STM32MP135F_DK board embeds a LCD screen with touchscreen driven by I2C5. GT911 touchscreen already have driver support in Zephyr so just add necessary nodes here. Signed-off-by: Erwan SZYMANSKI <erwan.szymanski@st.com>
1 parent 354a63f commit 593c93c

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

boards/st/stm32mp135f_dk/stm32mp135f_dk.dts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,11 @@
5959
};
6060
};
6161

62+
lvgl_pointer {
63+
compatible = "zephyr,lvgl-pointer-input";
64+
input = <&gt911>;
65+
};
66+
6267
aliases {
6368
led0 = &blue_led_1;
6469
led1 = &red_led_2;
@@ -181,6 +186,13 @@ csi_i2c: &i2c5 {
181186
};
182187
};
183188
};
189+
190+
gt911: gt911@5d {
191+
compatible = "goodix,gt911";
192+
reg = <0x5d>;
193+
reset-gpios = <&gpioh 2 GPIO_ACTIVE_LOW>;
194+
irq-gpios = <&gpiof 5 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)>;
195+
};
184196
};
185197

186198
csi_interface: &dcmipp {

0 commit comments

Comments
 (0)