From: luka Date: Fri, 8 Aug 2014 13:38:27 +0000 (+0000) Subject: imx6: backport IMX6DL DVFS support from 3.15 X-Git-Url: https://git.archive.openwrt.org/?p=openwrt.git;a=commitdiff_plain;h=faf8d4688b74c1be28a8dde71447b5219700f49e imx6: backport IMX6DL DVFS support from 3.15 This allows dynamic voltage and frequency scaling to work for IMX6DL CPU's. Signed-off-by: Tim Harvey git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42072 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/target/linux/imx6/patches-3.14/0004-ARM-dts-imx6dl-enable-cpufreq-support.patch b/target/linux/imx6/patches-3.14/0004-ARM-dts-imx6dl-enable-cpufreq-support.patch new file mode 100644 index 0000000000..be5eefbfa5 --- /dev/null +++ b/target/linux/imx6/patches-3.14/0004-ARM-dts-imx6dl-enable-cpufreq-support.patch @@ -0,0 +1,47 @@ +From 978ed904c17cd39700a5e1f95ee29ef4fee08ce9 Mon Sep 17 00:00:00 2001 +From: Anson Huang +Date: Thu, 19 Dec 2013 10:02:10 -0500 +Subject: [PATCH] ARM: dts: imx6dl: enable cpufreq support + +This patch adds cpufreq dts for i.mx6dl to support cpufreq driver. + +Signed-off-by: Anson Huang +Signed-off-by: Shawn Guo +--- + arch/arm/boot/dts/imx6dl.dtsi | 20 ++++++++++++++++++++ + 1 file changed, 20 insertions(+) + +diff --git a/arch/arm/boot/dts/imx6dl.dtsi b/arch/arm/boot/dts/imx6dl.dtsi +index 80d0abe..9c4942f 100644 +--- a/arch/arm/boot/dts/imx6dl.dtsi ++++ b/arch/arm/boot/dts/imx6dl.dtsi +@@ -22,6 +22,26 @@ + device_type = "cpu"; + reg = <0>; + next-level-cache = <&L2>; ++ operating-points = < ++ /* kHz uV */ ++ 996000 1275000 ++ 792000 1175000 ++ 396000 1075000 ++ >; ++ fsl,soc-operating-points = < ++ /* ARM kHz SOC-PU uV */ ++ 996000 1175000 ++ 792000 1175000 ++ 396000 1175000 ++ >; ++ clock-latency = <61036>; /* two CLK32 periods */ ++ clocks = <&clks 104>, <&clks 6>, <&clks 16>, ++ <&clks 17>, <&clks 170>; ++ clock-names = "arm", "pll2_pfd2_396m", "step", ++ "pll1_sw", "pll1_sys"; ++ arm-supply = <®_arm>; ++ pu-supply = <®_pu>; ++ soc-supply = <®_soc>; + }; + + cpu@1 { +-- +2.0.3 +