AnsweredAssumed Answered

QSPI clock set issue in imx8mq

Question asked by Darshak Patel on Jan 16, 2019
Latest reply on Jan 16, 2019 by igorpadykov

Hi all,

I am evaluating IMX8MQ evk board and linux Distro 4.14-ga release. I want to Set QSPI clock rate 100MHZ in fsl driver property. So, I have made some clock rate changes in fsl-imx8mq-evk.dts file as following.

 

&qspi {
    pinctrl-names = "default";
    pinctrl-0 = <&pinctrl_qspi>;

    spi-max-frequency = <100000000>;
    status = "okay";
 

 

    flash0: w25q256@0 {
        reg = <0>;
        #address-cells = <1>;
        #size-cells = <1>;
        compatible = "sst,w25q256";
        spi-max-frequency = <100000000>;
        spi-nor,ddr-quad-read-dummy = <6>;
        status = "okay";
    };
};

But when i measuring clock at QSPI_SCLK  pin it gives the 25Mhz.So, my query is

1. How to set QSPI CLOCK RATE 100Mhz?

2. Can you please suggest me modification to set?

 

Let me know if you need further information.

Thanks,

Darshak

Outcomes