what is compatible for imx6ull to configure it as spimaster

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

what is compatible for imx6ull to configure it as spimaster

786件の閲覧回数
sheraz_ali
Contributor II

&ecspi2 {
fsl,spi-num-chipselects = <1>;
cs-gpios = <&gpio4 22 GPIO_ACTIVE_LOW>;
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_spi>;
status = "okay";
spidev@0x00 {
compatible = //what should be the value here
spi-max-frequency = <20000000>;
reg = <0>;
};
};

ラベル(4)
タグ(2)
0 件の賞賛
返信
1 返信

725件の閲覧回数
AldoG
NXP TechSupport
NXP TechSupport

Hello,

 

You may write spidev there so it will look like this:
 

&ecspi2 {

fsl,spi-num-chipselects = <1>;

cs-gpios = <&gpio4 22 GPIO_ACTIVE_LOW>;

pinctrl-names = "default";

pinctrl-0 = <&pinctrl_spi>;

status = "okay";

spidev@0x00 {

compatible = "spidev";

spi-max-frequency = <20000000>;

reg = <0>;

};

};

 

Best regards,

Aldo.

0 件の賞賛
返信