how to change spi number

cancel
Showing results for 
Search instead for 
Did you mean: 

how to change spi number

84 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

76 Views
b45499
NXP TechSupport
NXP TechSupport

Could you show us what all have you modified?

0 Kudos

34 Views
kangmw086
Contributor III

Are you still checking?

0 Kudos

67 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