what is compatible for imx6ull to configure it as spimaster

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

what is compatible for imx6ull to configure it as spimaster

607 Views
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>;
};
};

Labels (4)
Tags (2)
0 Kudos
1 Reply

546 Views
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 Kudos