2026-05-26 6:25 AM
Hi,
I am trying to bring up an ILI9341 SPI TFT display on STM32MP257F-EV1 using OpenSTLinux Yocto (kernel 6.6.116).
SPI2/SPI3/SPI8 work correctly with generic spidev nodes:
<compatible = "rohm,dh2228fv";>
and /dev/spidev* devices are created successfully. SPI loopback also works.
I configured:
and updated:
I enabled:
<CONFIG_FB_TFT=y
CONFIG_FB_TFT_ILI9341=y
CONFIG_TINYDRM_ILI9341=y
CONFIG_DRM_PANEL_ILITEK_ILI9341=y>
Problem starts when replacing spidev node with:
<ili9341@0 {
compatible = "ilitek,ili9341";
reg = <0>;
spi-max-frequency = <32000000>;
dc-gpios = <&gpiob 13 GPIO_ACTIVE_HIGH>;
reset-gpios = <&gpiob 14 GPIO_ACTIVE_LOW>;
rotation = <0>;
bgr;
};>
After this:
If I revert back to spidev compatible, system boots normally again.
Questions:
Any suggestions or reference DTS examples would help.