kernel: backport bcma patches queued for 3.20
[openwrt/svn-archive/archive.git] / target / linux / ipq806x / patches / 0175-ARM-dts-ipq8064-Add-necessary-DT-data-for-Krait-cpuf.patch
1 From 258a3ea23ec048603debe1621c681b0cc733f236 Mon Sep 17 00:00:00 2001
2 From: Stephen Boyd <sboyd@codeaurora.org>
3 Date: Wed, 18 Jun 2014 16:04:37 -0700
4 Subject: [PATCH 175/182] ARM: dts: ipq8064: Add necessary DT data for Krait
5 cpufreq
6
7 Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
8 ---
9 arch/arm/boot/dts/qcom-ipq8064.dtsi | 45 +++++++++++++++++++++++++++++++++++
10 1 file changed, 45 insertions(+)
11
12 --- a/arch/arm/boot/dts/qcom-ipq8064.dtsi
13 +++ b/arch/arm/boot/dts/qcom-ipq8064.dtsi
14 @@ -23,6 +23,22 @@
15 next-level-cache = <&L2>;
16 qcom,acc = <&acc0>;
17 qcom,saw = <&saw0>;
18 + clocks = <&kraitcc 0>;
19 + clock-names = "cpu";
20 + operating-points = <
21 + /* kHz ignored */
22 + 1400000 1000000
23 + 1200000 1000000
24 + 1000000 1000000
25 + 800000 1000000
26 + 600000 1000000
27 + 384000 1000000
28 + >;
29 + clock-latency = <100000>;
30 +
31 + cooling-min-state = <0>;
32 + cooling-max-state = <10>;
33 + #cooling-cells = <2>;
34 };
35
36 cpu@1 {
37 @@ -33,6 +49,22 @@
38 next-level-cache = <&L2>;
39 qcom,acc = <&acc1>;
40 qcom,saw = <&saw1>;
41 + clocks = <&kraitcc 1>;
42 + clock-names = "cpu";
43 + operating-points = <
44 + /* kHz ignored */
45 + 1400000 1000000
46 + 1200000 1000000
47 + 1000000 1000000
48 + 800000 1000000
49 + 600000 1000000
50 + 384000 1000000
51 + >;
52 + clock-latency = <100000>;
53 +
54 + cooling-min-state = <0>;
55 + cooling-max-state = <10>;
56 + #cooling-cells = <2>;
57 };
58
59 L2: l2-cache {
60 @@ -46,6 +78,11 @@
61 interrupts = <1 10 0x304>;
62 };
63
64 + kraitcc: clock-controller {
65 + compatible = "qcom,krait-cc-v1";
66 + #clock-cells = <1>;
67 + };
68 +
69 reserved-memory {
70 #address-cells = <1>;
71 #size-cells = <1>;
72 @@ -102,11 +139,19 @@
73 acc0: clock-controller@2088000 {
74 compatible = "qcom,kpss-acc-v1";
75 reg = <0x02088000 0x1000>, <0x02008000 0x1000>;
76 + clock-output-names = "acpu0_aux";
77 };
78
79 acc1: clock-controller@2098000 {
80 compatible = "qcom,kpss-acc-v1";
81 reg = <0x02098000 0x1000>, <0x02008000 0x1000>;
82 + clock-output-names = "acpu1_aux";
83 + };
84 +
85 + l2cc: clock-controller@2011000 {
86 + compatible = "qcom,kpss-gcc";
87 + reg = <0x2011000 0x1000>;
88 + clock-output-names = "acpu_l2_aux";
89 };
90
91 saw0: regulator@2089000 {