This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM6442: Device tree - reference to non existing node?

Part Number: AM6442


Hello

 I'm trying to enable SPI to kontrol TPM module. I have a board AM6442-SK version. Device tree that is loaded by uboot is k3-am642-sk. I found that in this tree there is a reference (phandle) to non existing node mcu_spi0 with property status="disabled" (I can't find the definition of this node in any place of main tree or include files). So my question is if I must define this node by myself or there od other solution? TPM driver try to send command to hardware by SPI interface but its return errno code ETIMEDOUT. I also checked on the osciloscope mcu_spi0 pins, but nothing happens on this pins. In kernel config I enabled CONFIG_SPI and CONFIG_MASTER_SPI options and ofcourse appropriate configuration for TPM driver. I also patched spi.c core driver code to add some traces. IT seams that driver od initialized properly. Taking info consideration all od above I think that the reason why this not working is lack of some properties on spi device tree node am I wrong?

 Thank you for help.