how to change spi number

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

how to change spi number

735 Views
kangmw086
Contributor III

hi

I am using Android for IMX8MQ.

android version O. 8.1

Linux localhost 4.9.78-dirty

I want to change the SPI number.

spi32766 -> ../../devices/platform/30830000.ecspi/spi_master/spi32766

I setting up ECSPI_2, but why is the number 32766?

i want change the SPI number to 1.

 

regards.

0 Kudos
3 Replies

727 Views
Rita_Wang
NXP TechSupport
NXP TechSupport

Could you show us what all have you modified?

0 Kudos

685 Views
kangmw086
Contributor III

Are you still checking?

0 Kudos

718 Views
kangmw086
Contributor III

my android kernel device-tree

&ecspi2 {
//#address-cells = <1>;
//#size-cells = <0>;
//fsl,spi-num-chipselects = <1>;
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_ecspi2>;
cs-gpios = <&gpio5 13 0>;
status = "okay";

};

0 Kudos