Clock Details for imx8mmevk

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Clock Details for imx8mmevk

1,230 次查看
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 回复

1,089 次查看
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.