Hello
I am trying to create a device tree for a SPI slave device for Linux OpenWRT 6.6.58, my SPI device will be interfaced to Lima module
via SPI. I have used "target/linux/ath79/dts/qca9531_8dev_lima.dts" as template. However, I found that by just putting another client
as follows will not work.
&spi {
status = "okay";
/* Winbond W25Q256 SPI flash */
flash@0 {
.....
};
/* more clients */
bmi160: bmi160@1 {
compatible = "bosch,bmi160";
reg = <1>;
spi-max-frequency = <7500000>;
};
};
I am wondering are there device tree examples of how to connect a SPI slave to Lima module. Thanks!