I'm encountering difficulties getting my PLC module, utilizing the Qualcomm QCA7005, to function properly when connected to the ecspi2 interface on the i.MX8MP. Below is the configuration I'm using. Could you please review it for any potential misconfigurations?
&ecspi2 {
#address-cells = <1>;
#size-cells = <0>;
fsl,spi-num-chipselects = <1>;
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_ecspi2>;
status = "okay";
qca7000: qca7000@0 {
status = "okay";
compatible = "qca,qca7000";
reg = <0x0>; /* CE0 */
pinctrl-names = "default";
interrupt-parent = <&gpio5>;
interrupts = <3 IRQ_TYPE_EDGE_RISING>;
spi-max-frequency = <8000000>;
spi-cpha; /* SPI mode: CPHA=1 */
spi-cpol; /* SPI mode: CPOL=1 */
};
};
pinctrl_ecspi2: ecspi2grp {
fsl,pins = <
MX8MP_IOMUXC_ECSPI2_SCLK__ECSPI2_SCLK 0x82
MX8MP_IOMUXC_ECSPI2_MOSI__ECSPI2_MOSI 0x82
MX8MP_IOMUXC_ECSPI2_MISO__ECSPI2_MISO 0x82
MX8MP_IOMUXC_ECSPI2_SS0__ECSPI2_SS0 0x82
MX8MP_IOMUXC_SPDIF_TX__GPIO5_IO03 0x144
>;
};
For context, when connecting the same PLC module to the phyBOARD®-AM62x Development Kit using the TI AM62X, it operates correctly. Any insights you could provide would be greatly appreciated.