Why am I not able to lower the clock of FlexSPI?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Why am I not able to lower the clock of FlexSPI?

415 Views
rdr3e
Contributor I

HI I'm trying to lower the clock for the flash connected to FlexSPI however no change to settings cause any effect. I checked and the spi-max-frequency is used bu spi-nxp-fspi controller driver each time it starts a transaction on the bus. I checked the frequency under the analyzer and no matter what I set it always shows the same frequency.

 

mt35xu02g0: flash@0 {
compatible = "jedec,spi-nor";
#address-cells = <1>;
#size-cells = <1>;
spi-max-frequency = <50000000>;
/* The following setting enables 1-1-8 (CMD-ADDR-DATA) mode */
spi-rx-bus-width = <8>; /* 8 SPI Rx lines */
spi-tx-bus-width = <1>; /* 1 SPI Tx line */
reg = <0>;
};

 

I changed 50Mhz to 20/10/1Mhz with no effect.

Any idea what goes wrong? I'm using LS1028ardb.

Also /sys/kernel/debug/clk/fspi_clk/clk_rage shows 18750000

 

0 Kudos
Reply
0 Replies