|
地板
楼主 |
发表于 2020-7-15 17:13:57
|
只看该作者
而且我在rk3399pro-toybrick-prod-linux.dts中增加了设备节点&spi5 {
status = "okay";
max-freq = <48000000>; //spi internal clk, don't modify
spi_test@00 {
compatible = "rockchip,spi_test_bus0_cs0";
reg = <0>; //chip select 0:cs0 1:cs1
id = <0>;
spi-max-frequency = <24000000>; //spi output clock
};
spi_test@01 {
compatible = "rockchip,spi_test_bus0_cs1";
reg = <1>;
id = <1>;
spi-max-frequency = <24000000>;
};
};
但是编译内核之后在sys/firmware/devicetree/base中找不到节点。
SPI的教程文档也不详细,请问是哪里的问题 |
|