Clock Details for imx8mmevk

cancel
Showing results for 
Search instead for 
Did you mean: 

Clock Details for imx8mmevk

354 Views
rutuja_patil
Contributor II

I am working on imx8mmevk board. When itweak into dts file, 6 different clocks are present. I need to check what is the clock setting selected for ecspi2? Depending on that I need to set clock for ecspi2.

1 Reply

213 Views
diegoadrian
NXP Employee
NXP Employee

Hello,

I apologize for the late answer.

The default 8MM EVK has no ecspi module, if we want to use it, we should rework the board and enable ecspi device node in dts file.

 

If the clock frequency hasn't be set in U-Boot or other files, then normally it will be 24MHz OSC by default. We can change the parent source of mux clock by "assigned-clock-parents" in Linux dts file, the parent clock name is in include/dt-bindings/clock/imx8mm-clock.h file.

 

On default 8MM EVK, enter "cat /sys/kernel/debug/clk/clk_summary" in board console, I can see ecspi2_root_clk is off (enable_cnt=0), the frequency is 24MHz.

Best regards,

Diego.