Hello,
We are using a custom board based on iMX8QXPMEK. We are using Yocto Zeus with BSP L5.4.24-2.1.0.
In this board, we have provided support for connecting two memories on the flexSPI interface similar to the below diagram from the reference manual,
priyank_bhatt_0-1602051331766.png
In our dts file, we have added another node inside &flexspi0 as follows
ram0: abc@1 {
reg = <1>;
#address-cells = <1>;
#size-cells = <1>;
compatible = "my-driver";
spi-max-frequency = <60000000>;
spi-tx-bus-width = <8>;
spi-rx-bus-width = <8>;
};
But when the board boot-up, it shows the below error msgs
[ 1.296063] imx8qxp-pinctrl scu:pinctrl: pin IMX8QXP_QSPI0B_SCLK already requested by scu:pinctrl; cannot claim for 5d120000.spi
[ 1.307656] imx8qxp-pinctrl scu:pinctrl: pin-165 (5d120000.spi) status -22
[ 1.314553] imx8qxp-pinctrl scu:pinctrl: could not request pin 165 (IMX8QXP_QSPI0B_SCLK) from group flexspi0grp on device scu:pinctrl
[ 1.326661] nxp-fspi 5d120000.spi: Error applying setting, reverse things back
[ 1.333925] nxp-fspi: probe of 5d120000.spi failed with error -22
We are not even using IMX8QXP_QSPI0B_SCLK pins in our HW connections. Still getting these errors.
The error remains even if the flash0: mt35xu512aba@0 node is disabled.
Kindly help to resolve the issue.
Thank you.