i.MX7 QSPI devicetree to get /dev/spidevX.X device or equal

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

i.MX7 QSPI devicetree to get /dev/spidevX.X device or equal

816件の閲覧回数
bdskpef
Contributor I

Hi, i am trying to get a /dev device based on i.MX7 QSPI_A , that will work with the simple spidev_test.c from the linux documentation. I have /dev/spidev4.0 , but i get unknown error -524.

Does anyone have a working dts/dtsi for this ?

When using the flash example, the chip-id is read correctly. But i would like to use something like sidev_test.c method for testing devices on the QSPI bus.

Linux 5.4 Toradex Colibri - based on imx7d-colibri-eval-v3.dts and imx7d-sdb-qspi.dtsi

&qspi1 {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_qspi1_1>;
status = "okay";
ddrsmp=<0>;

spidev1: spidev@0 {
compatible = "toradex,evalspi";
reg = <0>;
spi-max-frequency = <33000000>;
spi-rx-bus-width = <1>;
spi-tx-bus-width = <1>;
status = "okay";
};};

タグ(4)
0 件の賞賛
返信
0 返答(返信)