HI,
We were trying to bring up ecspi2 memory MT25QL02GCBB8E12-0SIT
We followed this post "https://community.nxp.com/t5/i-MX-Processors/ECSPI2-on-i-MX8M-Mini-EVK/m-p/904313" But we were unable to see the deviceat userspace or probing at boot time .
// SPDX-License-Identifier: GPL-2.0
//
// Copyright 2020 NXP
#include "imx8mm-evk.dts"
/delete-node/&spidev0;
&ecspi2 {
#address-cells = <0>;
/delete-property/cs-gpios;
spi-slave;
fsl,spi-num-chipselects = <1>;
cs-gpios = <0>;
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_ecspi2>;
status = "okay";
spidev@0x01 {
//compatible = "fsl,imx8mm-ecspi ";
compatible = "spidev";
spi-max-frequency = <133000000>;
spi-cs-high;
reg = <0>;
};
};
&pinctrl_ecspi2_cs {
fsl,pins = <
MX8MM_IOMUXC_ECSPI2_SS0_ECSPI2_SS0 0x00000116
>;
};
pinctrl_ecspi2: ecspi2grp {
fsl,pins = <
MX8MM_IOMUXC_ECSPI2_MISO_ECSPI2_MISO 0x00000116
MX8MM_IOMUXC_ECSPI2_MOSI_ECSPI2_MOSI 0x00000116
MX8MM_IOMUXC_ECSPI2_SCLK_ECSPI2_SCLK 0x00001916
>;
};
&micfil {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_pdm>;
assigned-clocks = <&clk IMX8MM_CLK_PDM_SRC>, <&clk IMX8MM_CLK_PDM_DIV>;
assigned-clock-parents = <&clk IMX8MM_AUDIO_PLL1_OUT>;
assigned-clock-rates = <0>, <196608000>;
status = "okay";
};
pinctrl_wdog: wdoggrp {
fsl,pins = <
MX8MM_IOMUXC_GPIO1_IO02_WDOG1_WDOG_B 0xc6
>;
};
We tried to check at u-boot using $ sf probe , but we didn't seeing ecspi2 getting probe.
We tried enabling all the interfaces for ecspi2 u-boot menu config.
Can you please point out some leads on this one?
Thanks,
Vignesh Baskaran