AnsweredAssumed Answered

How to change the clock frequency of sdhc/sdio in device tree

Question asked by Jackie Chau on Oct 6, 2015
Latest reply on May 17, 2016 by zhanxiaozhang

The default clock frequency of sdhc2 is 50Mhz, I would like to change it to 40Mhz by adding clock-frequency = <40000000> in device tree; But when I use scope to probe the clock signal, it's still 50Mhz, anyone can help please?

 

 

&usdhc2 {

    pinctrl-names = "default";

    pinctrl-0 = <&pinctrl_usdhc2_2>;

    no-1-8-v;

    bus-width = <4>;

    clock-frequency = <40000000>;

    max-frequency = <40000000>;

    keep-power-in-suspend;

    enable-sdio-wakeup;

    status = "okay";

};

Outcomes