I cloned the linux-toradex from linux-toradex.git - Linux kernel for Apalis, Colibri and Verdin modules and am working in branch toradex_5.4-2.3.x-imx.
I am able to compile the kernel and device tree according to https://developer-archives.toradex.com/knowledge-base/build-u-boot-and-linux-kernel-from-source-code#tab-imx-88x8m-mini8m-plus.
The device tree is working as I do replace an existing file imx8mp-verdin-wifi-dahlia.dtb with my own (unmodified) version.
Now for my question:
the GPIO CTRL_SLEEP_MOCI# has SODIMM 256 according to the Verdin data sheet. In a linux console however this GPIO is mapped on two different lines which to me seems not consistent (gpioinfo shows giochip1 line 29 and gpiochip3 line 29). Is there a typo in linux-toradex/arch/arm64/boot/dts/freescale/imx8mp-verdin-wifi.dtsi?
gpiochip1 - 32 lines: ... line 29: unnamed "CTRL_SLEEP_MOCI#" output active-high [used] ...
gpiochip3 - 32 lines: ... line 29: "SODIMM_256" unused output active-high ...