Following are the changes in dts file for ecspi1 node
&ecspi1 {
#address-cells = <1>;
#size-cells = <0>;
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_ecspi1>;
spi-slave;
dmas = <&sdma1 0 7 1>, <&sdma1 1 7 2>;
dma-names = "rx", "tx";
status = "okay";
slave@0{
compatible = "linux,spislave","rohm,dh2228fv","spidev";
spi-max-frequency = <4000000>;
reg = <0>;
enable-dma = <0x1>;
};
};
Please let me know if anything wrong in this and what else changes more has to be made to enable DMA.