Hi Team,
Board : imx8qxp
We made below dts changes for SPI. but could't get the node detection.
Cloud you please suggest solution for this issue.
&lpspi0 {
fsl,spi-num-chipselects = <1>;
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_lpspi0>;
status = "okay";
};
&lpspi2 {
fsl,spi-num-chipselects = <1>;
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_lpspi2>;
status = "okay";
};
&lpspi3 {
fsl,spi-num-chipselects = <1>;
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_lpspi3>;
status = "okay";
};
pinctrl_lpspi0: lpspi0grp {
fsl,pins = <
IMX8QXP_SPI0_CS0_ADMA_SPI0_CS0 0x06000021
IMX8QXP_SPI0_SCK_ADMA_SPI0_SCK 0x06000021
IMX8QXP_SPI0_SDI_ADMA_SPI0_SDI 0x00000021
IMX8QXP_SPI0_SDO_ADMA_SPI0_SDO 0x06000021
>;
};
pinctrl_lpspi2: lpspi2grp {
fsl,pins = <
IMX8QXP_SPI2_CS0_ADMA_SPI2_CS0 0x06000040
IMX8QXP_SPI2_SCK_ADMA_SPI2_SCK 0x06000021
IMX8QXP_SPI2_SDI_ADMA_SPI2_SDI 0x00000021
IMX8QXP_SPI2_SDO_ADMA_SPI2_SDO 0x06000021
>;
};
pinctrl_lpspi3: lpspi3grp {
fsl,pins = <
IMX8QXP_SPI3_CS0_ADMA_SPI3_CS0 0x00000060
IMX8QXP_SPI3_SCK_ADMA_SPI3_SCK 0x00000060
IMX8QXP_SPI3_SDI_ADMA_SPI3_SDI 0x00000060
IMX8QXP_SPI3_SDO_ADMA_SPI3_SDO 0x00000060
>;
};