全志F1C100s在Tina Linux SDK上修改CPU频率的方法

打开平台的clock配置dts文件, 位于[sdk]/lichee/linux-3.10/arch/arm/boot/dts/, 文件名是sun3iw1p1-clk.dtsi
找到pll cpu, 将assigned-clock-rates修改为目标的频率, 单位是Hz. 如下:

clk_pll_cpu: pll_cpu {
#clock-cells = <0>;
compatible = "allwinner,sunxi-pll-clock";
lock-mode = "none";
assigned-clock-rates = <696000000>;
clock-output-names = "pll_cpu";
};

你可能感兴趣的:(嵌入式,linux-kernel,linux,cpu,智能硬件)