AnsweredAssumed Answered

How to change clock in linux-imx

Question asked by Asma Alekar on Aug 16, 2019
Latest reply on Aug 19, 2019 by Joan Xie

Hello All,


I want to understand how  the clock is setup in imx6ul in uboot and linux-imx. 

Following are my questions?


1. When I ran the command below -

 cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_cur_freq

I get the value - 5280000 is it the ARM_PPL value or system PLL value?


2. I want to set following values in CCM

SIM_PRE_CLK_SEL = 101 => PLL3 PFD2 = 508.2MHzSIM_PODF        = 001 => divide by 2.SIM_CLK_SEL     = 000 => derive clock from pre-muxed SIM clock

How can I set it and which is the ideal place to set this value after linux has booted?