Chip Select goes away soon after the transfer to a SPI slave is complete. Why?

Thank you, Appreciate your help.

We have modified our designs to use additional GPIOs to control the CS. I don’t see the SPI devices enumerated in the system file system. Following is the dts tree. We have two slave devices on the SPI1 controller. THe probe is failing with EPROBE_DEFER (-517) error. Looks like the spi-dw-mmio.c::spi-dw-mmio-probe():of_get_named_gpio() function is returning incorrect values (though the function is successful). Any ideas on what is wrong with the below dts?

&gpio2 {
status = “okay”;
#gpio-cells = <2>;
};
&spi1 {
status = “okay”;
spi-cpha;
spi-cpol;
num-cs = <2>;
/*
* <&gpioChip gpioPinOffset ACTIVE_HIGH(0)/ACTIVE_LOW(1)
* gpioChip = gpio2
* gpioPinOffset for CS0 is 66, which is offset 8 in gpio2
* gpioPinOffset for CS1 is 62, which is offset 4 in gpio2
* ACTIVE_HIGH = 0
* ACTIVE_LOW = 1
*/
cs-gpios = <&gpio2 8 1>, <&gpio2 4 1>;

mram0: eeprom@0 {
reg = <0>;
compatible = "mr25h40";
spi-max-frequency = <50000000>;
#address-cells = <1>;
#size-cells = <1>;
spi-cpol;
spi-cpha;
partition@0 {
    /* 512KB */
    label = "MRAM Partition";
    reg = <0x0 0x80000>;
    };
};
cfpgaSeeprom0: eeprom@1 {
    reg = <1>;
    compatible = "n25q128a13", "jedec,spi-nor";
    /* compatible = “jedec,spi-nor”; */
    spi-max-frequency = <54000000>;
    #address-cells = <1>;
    #size-cells = <1>;
    spi-cpol;
    spi-cpha;
    partition@0 {
        /* 16MB for raw data. */
        label = "CFPGA Image";
        reg = <0x0 0x01000000>;
    };
};