imx6: update upstream patches
[openwrt.git] / target / linux / imx6 / patches-3.14 / 0004-ARM-dts-imx6dl-enable-cpufreq-support.patch
1 From 978ed904c17cd39700a5e1f95ee29ef4fee08ce9 Mon Sep 17 00:00:00 2001
2 From: Anson Huang <b20788@freescale.com>
3 Date: Thu, 19 Dec 2013 10:02:10 -0500
4 Subject: [PATCH] ARM: dts: imx6dl: enable cpufreq support
5
6 This patch adds cpufreq dts for i.mx6dl to support cpufreq driver.
7
8 Signed-off-by: Anson Huang <b20788@freescale.com>
9 Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 ---
11  arch/arm/boot/dts/imx6dl.dtsi | 20 ++++++++++++++++++++
12  1 file changed, 20 insertions(+)
13
14 --- a/arch/arm/boot/dts/imx6dl.dtsi
15 +++ b/arch/arm/boot/dts/imx6dl.dtsi
16 @@ -21,6 +21,26 @@
17                         device_type = "cpu";
18                         reg = <0>;
19                         next-level-cache = <&L2>;
20 +                       operating-points = <
21 +                               /* kHz    uV */
22 +                               996000  1275000
23 +                               792000  1175000
24 +                               396000  1075000
25 +                       >;
26 +                       fsl,soc-operating-points = <
27 +                               /* ARM kHz  SOC-PU uV */
28 +                               996000  1175000
29 +                               792000  1175000
30 +                               396000  1175000
31 +                       >;
32 +                       clock-latency = <61036>; /* two CLK32 periods */
33 +                       clocks = <&clks 104>, <&clks 6>, <&clks 16>,
34 +                                <&clks 17>, <&clks 170>;
35 +                       clock-names = "arm", "pll2_pfd2_396m", "step",
36 +                                     "pll1_sw", "pll1_sys";
37 +                       arm-supply = <&reg_arm>;
38 +                       pu-supply = <&reg_pu>;
39 +                       soc-supply = <&reg_soc>;
40                 };
41  
42                 cpu@1 {