TX2i spi0 enable

I now need to enable SPI0 in TX2i.Now SPI1 is working properly.Can you provide the specific configuration method of SPI0?

Have a reference to below link.

https://elinux.org/Jetson/TX2_SPI

Hi
I have tested that SPI1 can work normally according to the method you provided
spi@3240000 {
compatible = “nvidia,tegra186-spi”;
reg = <0x0 0x3240000 0x0 0x10000>;
interrupts = <0x0 0x27 0x4>;
nvidia,dma-request-selector = <0x18 0x12>;
#address-cells = <0x1>;
#size-cells = <0x0>;
#stream-id-cells = <0x1>;
dmas = <0x18 0x12 0x18 0x12>;
dma-names = “rx”, “tx”;
nvidia,clk-parents = “pll_p”, “clk_m”;
clocks = <0xd 0x4a 0xd 0x10d 0xd 0x261>;
clock-names = “spi”, “pll_p”, “clk_m”;
resets = <0xd 0x2b>;
reset-names = “spi”;
status = “okay”;
linux,phandle = <0x7d>;
phandle = <0x7d>;
spi@0 {
compatible = “spidev”;
reg = <0x0>;
spi-max-frequency = <0x1312d00>;
nvidia,enable-hw-based-cs;
nvidia,cs-setup-clk-count = <0x1e>;
nvidia,cs-hold-clk-count = <0x1e>;
nvidia,rx-clk-tap-delay = <0x1f>;
nvidia,tx-clk-tap-delay = <0x0>;
};
};
But I configure SPI0 in the same way but the SPI can only send data, it can’t receive data.I hope you can help to see the problem of configuration.

   spi@3210000 {
            compatible = "nvidia,tegra186-spi";
            reg = <0x0 0x3210000 0x0 0x10000>;
            interrupts = <0x0 0x24 0x4>;
            nvidia,dma-request-selector = <0x18 0xf>;
            #address-cells = <0x1>;
            #size-cells = <0x0>;
            #stream-id-cells = <0x1>;
            dmas = <0x18 0xf 0x18 0xf>;
            dma-names = "rx", "tx";
            nvidia,clk-parents = "pll_p", "clk_m";
            clocks = <0xd 0x31 0xd 0x10d 0xd 0x261>;
            clock-names = "spi", "pll_p", "clk_m";
            resets = <0xd 0x28>;
            reset-names = "spi";
            status = "okay";
            linux,phandle = <0x7b>;
            phandle = <0x7b>;
            spi@0 {
                compatible = "spidev";
                reg = <0x0>;
                spi-max-frequency = <0x1312d00>;
                nvidia,enable-hw-based-cs;
                nvidia,cs-setup-clk-count = <0x1e>;
                nvidia,cs-hold-clk-count = <0x1e>;
                nvidia,rx-clk-tap-delay = <0x1f>;
                nvidia,tx-clk-tap-delay = <0x0>;
            };

    };

There is no update from you for a period, assuming this is not an issue any more.
Hence we are closing this topic. If need further support, please open a new one.
Thanks

What do you mean can’t receive data? Did you test by spidev_test?