Hi,
I modprobe TPM driver: tpm_tis_spi.
but get the error message:

and I modified the device tree file ls1043a-rdb.dts for dspi as following:
......
&dspi0 {
bus-num = <1>;
status = "okay";
flash@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "n25q128a13", "jedec,spi-nor"; // 16MB /
reg = <0>;
spi-max-frequency = <1000000>; // input clock /
};
tcg@1 {
compatible = "tcg,tpm_tis-spi";
reg = <1>;
#address-cells = <1>;
#size-cells = <0>;
spi-max-frequency = <500000>;
pinctrl-names = "default";
};
...
Please help.
Thanks,
Randy