TX1 SPI1 not wok in R28.2

Hi all,

I use TX1 R28.2,in dts file I config spi@7000d400 as master mode the code as below
spi@7000d400 { //spi1
status = “okay”;
spi@0 {
#address-cells = <0x1>;
#size-cells = <0x0>;
compatible = “spidev”;
reg = <0x0>;
spi-max-frequency = <20000000>;
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>;
};

    spi@1 {
        #address-cells = <0x1>;
        #size-cells = <0x0>;
        compatible = "spidev";
        reg = <0x1>;
        spi-max-frequency = <20000000>;
        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>;
    };
}; 

build and burn dtb to TX1,reboot spi0 work failed,the log as below:
dmesg | grep spi
[ 2.815715] spi-tegra114 7000d400.spi: Static pin configuration used
[ 2.817066] spi-tegra114 7000da00.spi: Static pin configuration used
How can I config spi1? Thanks.

Did you enable the CONFIG_SPI_SPIDEV=m in kernel config?
Did you see the /dev/spix.x ?

Hi ShaneCCC,

I enable CONFIG_SPI_SPIDEV=m in kernel config,and install the spidev.ko module, but I can’t see /dev/spix.x. And then I enable spi3 in dts file I can see /dev/spi3.0.
spi@7000da00 {
spi@0 {
#address-cells = <0x1>;
#size-cells = <0x0>;
compatible = “spidev”;
reg = <0x0>;
spi-max-frequency = <20000000>;
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>;
};
};