How to configure multiple chip select on lpspi3 on IMX8QXP

Hi,

I need some help on configuring multiple chip selects for lpspi3. It looks like SC_P_SPI3_CS1_ADMA_LCDIF_D16 (SODIMM 57) is not multiplexed to any GPIO function. I used GPIO0 17 but it does not seem to work.

&lpspi3 {
   #address-cells = <1>;
   #size-cells = <0>;
   fsl,spi-num-chipselects = <2>;
   pinctrl-names = "default";
   num-cs = <2>;
   pinctrl-0 = <&pinctrl_lpspi3>;
   cs-gpios = <&gpio0 16 GPIO_ACTIVE_LOW>, 
                      <&gpio0 17 GPIO_ACTIVE_LOW>; ---> ????
status = "okay";

spidev3: spidev@0 {
	compatible = "toradex,evalspi";
	reg = <0>;
	spi-max-frequency = <10000000>;
	status = "okay";
};

spidev4: spidev@1 {
	compatible = "toradex,evalspi";
	reg = <1>;
	spi-max-frequency = <10000000>;
	status = "okay";
};

pinctrl_lpspi3: lpspi3 {
	fsl,pins = <
		SC_P_SPI3_CS0_LSIO_GPIO0_IO16 		        0x21		/* SODIMM  68 */
                    SC_P_SPI3_CS1_ADMA_LCDIF_D16                  0x21        /* SODIMM  57 */
	        SC_P_SPI3_SDO_ADMA_SPI3_SDO			0x06000040	/* SODIMM  66 */
		SC_P_SPI3_SDI_ADMA_SPI3_SDI			0x06000040	/* SODIMM  64 */
		SC_P_SPI3_SCK_ADMA_SPI3_SCK			0x06000040	/* SODIMM  54 */
		>;
}

Apparently, same issue is encountered and posted in https://community.nxp.com/message/1242194?commentID=1242194#comment-1242194

HI @dnoot

Thanks for writing to the Toradex Support.

Could you share the version of the hardware and software of your module?
Which carrier board are you using?

Best regards,
Jaski