Clock Details for imx8mmevk

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

Clock Details for imx8mmevk

1,179 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

1,038 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.