How to get LVDS to support 640x480 18bit display on ROM-5722

We have built a board using a ROM-5722 and works fine, network, HMDI, serial ports etc but are having difficulty getting the LVDS interface working. We have connected up to LVDS0 similar to the ROM-DB5901 wiring, with LCD0_VDD_EN to enable panel supply, LCD0_BKLT_EN to enable back light and LCD0_BKLT_PWM to dim backlight.

Is there a guide or application note somewhere on how to get LVDS support in AIM Linux ?

I know it may involve editing a .dts file from GitHub, but I am unable to find any ROM-5722 .dts files on GitHub.

I have previously compiled .dts to .dto files before, but would then need to know where to place them in AIM Linux for it to support them.


There is Yocto 3.0 BSP user guide that you can reference to fetch, modify and build the Linux kernel,
Yocto Linux BSP Ver.A User Guide for iMX8 series -Yocto 3.0 - ESS-WIKI (

There is Device Tree Source file select within the user guide:
Yocto Linux BSP Ver.A User Guide for iMX8 series -Yocto 3.0 - ESS-WIKI (
There are two LVDS panel support (g070vw01 800x480 and g215hvn01 1920x1080) in default BSP/image:

dtbs file location:
eMMC: mmcblk2p1
SD: mmcblk1p1

list file in uboot::

Select dtb file in uboot:

The dts files path at the link below:
linux-imx/arch/arm64/boot/dts/freescale at adv_5.4.70_2.3.0 · ADVANTECH-Corp/linux-imx (

Panel clock:
linux-imx/drivers/gpu/drm/panel/panel-simple.c at adv_5.4.70_2.3.0 · ADVANTECH-Corp/linux-imx (

MX8MP PLL limited: