->One just needs to change the IOMUX setting for the SPI's CS pin to the GPIO pin. ->Please refer to this location in the linux source code to do the changes for the same. <Linux_src_code>/Documentation/devicetree/bindings/spi
->I have shared an example for reference one can refer to that too. &ecspi1 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_spi1>; status = "okay"; cs-gpios = <&gpio5 9 GPIO_ACTIVE_LOW>, <&gpio3 2 GPIO_ACTIVE_LOW>; #address-cells = <1>; #size-cells = <0>;