diff options
Diffstat (limited to 'arch/arm/boot/dts/qcom-apq8064.dtsi')
-rw-r--r-- | arch/arm/boot/dts/qcom-apq8064.dtsi | 51 |
1 files changed, 43 insertions, 8 deletions
diff --git a/arch/arm/boot/dts/qcom-apq8064.dtsi b/arch/arm/boot/dts/qcom-apq8064.dtsi index b3154c071652..6c1511263a55 100644 --- a/arch/arm/boot/dts/qcom-apq8064.dtsi +++ b/arch/arm/boot/dts/qcom-apq8064.dtsi | |||
@@ -23,6 +23,7 @@ | |||
23 | next-level-cache = <&L2>; | 23 | next-level-cache = <&L2>; |
24 | qcom,acc = <&acc0>; | 24 | qcom,acc = <&acc0>; |
25 | qcom,saw = <&saw0>; | 25 | qcom,saw = <&saw0>; |
26 | cpu-idle-states = <&CPU_SPC>; | ||
26 | }; | 27 | }; |
27 | 28 | ||
28 | cpu@1 { | 29 | cpu@1 { |
@@ -33,6 +34,7 @@ | |||
33 | next-level-cache = <&L2>; | 34 | next-level-cache = <&L2>; |
34 | qcom,acc = <&acc1>; | 35 | qcom,acc = <&acc1>; |
35 | qcom,saw = <&saw1>; | 36 | qcom,saw = <&saw1>; |
37 | cpu-idle-states = <&CPU_SPC>; | ||
36 | }; | 38 | }; |
37 | 39 | ||
38 | cpu@2 { | 40 | cpu@2 { |
@@ -43,6 +45,7 @@ | |||
43 | next-level-cache = <&L2>; | 45 | next-level-cache = <&L2>; |
44 | qcom,acc = <&acc2>; | 46 | qcom,acc = <&acc2>; |
45 | qcom,saw = <&saw2>; | 47 | qcom,saw = <&saw2>; |
48 | cpu-idle-states = <&CPU_SPC>; | ||
46 | }; | 49 | }; |
47 | 50 | ||
48 | cpu@3 { | 51 | cpu@3 { |
@@ -53,12 +56,23 @@ | |||
53 | next-level-cache = <&L2>; | 56 | next-level-cache = <&L2>; |
54 | qcom,acc = <&acc3>; | 57 | qcom,acc = <&acc3>; |
55 | qcom,saw = <&saw3>; | 58 | qcom,saw = <&saw3>; |
59 | cpu-idle-states = <&CPU_SPC>; | ||
56 | }; | 60 | }; |
57 | 61 | ||
58 | L2: l2-cache { | 62 | L2: l2-cache { |
59 | compatible = "cache"; | 63 | compatible = "cache"; |
60 | cache-level = <2>; | 64 | cache-level = <2>; |
61 | }; | 65 | }; |
66 | |||
67 | idle-states { | ||
68 | CPU_SPC: spc { | ||
69 | compatible = "qcom,idle-state-spc", | ||
70 | "arm,idle-state"; | ||
71 | entry-latency-us = <400>; | ||
72 | exit-latency-us = <900>; | ||
73 | min-residency-us = <3000>; | ||
74 | }; | ||
75 | }; | ||
62 | }; | 76 | }; |
63 | 77 | ||
64 | cpu-pmu { | 78 | cpu-pmu { |
@@ -139,26 +153,26 @@ | |||
139 | reg = <0x020b8000 0x1000>, <0x02008000 0x1000>; | 153 | reg = <0x020b8000 0x1000>, <0x02008000 0x1000>; |
140 | }; | 154 | }; |
141 | 155 | ||
142 | saw0: regulator@2089000 { | 156 | saw0: power-controller@2089000 { |
143 | compatible = "qcom,saw2"; | 157 | compatible = "qcom,apq8064-saw2-v1.1-cpu", "qcom,saw2"; |
144 | reg = <0x02089000 0x1000>, <0x02009000 0x1000>; | 158 | reg = <0x02089000 0x1000>, <0x02009000 0x1000>; |
145 | regulator; | 159 | regulator; |
146 | }; | 160 | }; |
147 | 161 | ||
148 | saw1: regulator@2099000 { | 162 | saw1: power-controller@2099000 { |
149 | compatible = "qcom,saw2"; | 163 | compatible = "qcom,apq8064-saw2-v1.1-cpu", "qcom,saw2"; |
150 | reg = <0x02099000 0x1000>, <0x02009000 0x1000>; | 164 | reg = <0x02099000 0x1000>, <0x02009000 0x1000>; |
151 | regulator; | 165 | regulator; |
152 | }; | 166 | }; |
153 | 167 | ||
154 | saw2: regulator@20a9000 { | 168 | saw2: power-controller@20a9000 { |
155 | compatible = "qcom,saw2"; | 169 | compatible = "qcom,apq8064-saw2-v1.1-cpu", "qcom,saw2"; |
156 | reg = <0x020a9000 0x1000>, <0x02009000 0x1000>; | 170 | reg = <0x020a9000 0x1000>, <0x02009000 0x1000>; |
157 | regulator; | 171 | regulator; |
158 | }; | 172 | }; |
159 | 173 | ||
160 | saw3: regulator@20b9000 { | 174 | saw3: power-controller@20b9000 { |
161 | compatible = "qcom,saw2"; | 175 | compatible = "qcom,apq8064-saw2-v1.1-cpu", "qcom,saw2"; |
162 | reg = <0x020b9000 0x1000>, <0x02009000 0x1000>; | 176 | reg = <0x020b9000 0x1000>, <0x02009000 0x1000>; |
163 | regulator; | 177 | regulator; |
164 | }; | 178 | }; |
@@ -166,6 +180,7 @@ | |||
166 | gsbi1: gsbi@12440000 { | 180 | gsbi1: gsbi@12440000 { |
167 | status = "disabled"; | 181 | status = "disabled"; |
168 | compatible = "qcom,gsbi-v1.0.0"; | 182 | compatible = "qcom,gsbi-v1.0.0"; |
183 | cell-index = <1>; | ||
169 | reg = <0x12440000 0x100>; | 184 | reg = <0x12440000 0x100>; |
170 | clocks = <&gcc GSBI1_H_CLK>; | 185 | clocks = <&gcc GSBI1_H_CLK>; |
171 | clock-names = "iface"; | 186 | clock-names = "iface"; |
@@ -173,6 +188,8 @@ | |||
173 | #size-cells = <1>; | 188 | #size-cells = <1>; |
174 | ranges; | 189 | ranges; |
175 | 190 | ||
191 | syscon-tcsr = <&tcsr>; | ||
192 | |||
176 | i2c1: i2c@12460000 { | 193 | i2c1: i2c@12460000 { |
177 | compatible = "qcom,i2c-qup-v1.1.1"; | 194 | compatible = "qcom,i2c-qup-v1.1.1"; |
178 | reg = <0x12460000 0x1000>; | 195 | reg = <0x12460000 0x1000>; |
@@ -187,6 +204,7 @@ | |||
187 | gsbi2: gsbi@12480000 { | 204 | gsbi2: gsbi@12480000 { |
188 | status = "disabled"; | 205 | status = "disabled"; |
189 | compatible = "qcom,gsbi-v1.0.0"; | 206 | compatible = "qcom,gsbi-v1.0.0"; |
207 | cell-index = <2>; | ||
190 | reg = <0x12480000 0x100>; | 208 | reg = <0x12480000 0x100>; |
191 | clocks = <&gcc GSBI2_H_CLK>; | 209 | clocks = <&gcc GSBI2_H_CLK>; |
192 | clock-names = "iface"; | 210 | clock-names = "iface"; |
@@ -194,6 +212,8 @@ | |||
194 | #size-cells = <1>; | 212 | #size-cells = <1>; |
195 | ranges; | 213 | ranges; |
196 | 214 | ||
215 | syscon-tcsr = <&tcsr>; | ||
216 | |||
197 | i2c2: i2c@124a0000 { | 217 | i2c2: i2c@124a0000 { |
198 | compatible = "qcom,i2c-qup-v1.1.1"; | 218 | compatible = "qcom,i2c-qup-v1.1.1"; |
199 | reg = <0x124a0000 0x1000>; | 219 | reg = <0x124a0000 0x1000>; |
@@ -208,6 +228,7 @@ | |||
208 | gsbi7: gsbi@16600000 { | 228 | gsbi7: gsbi@16600000 { |
209 | status = "disabled"; | 229 | status = "disabled"; |
210 | compatible = "qcom,gsbi-v1.0.0"; | 230 | compatible = "qcom,gsbi-v1.0.0"; |
231 | cell-index = <7>; | ||
211 | reg = <0x16600000 0x100>; | 232 | reg = <0x16600000 0x100>; |
212 | clocks = <&gcc GSBI7_H_CLK>; | 233 | clocks = <&gcc GSBI7_H_CLK>; |
213 | clock-names = "iface"; | 234 | clock-names = "iface"; |
@@ -215,6 +236,8 @@ | |||
215 | #size-cells = <1>; | 236 | #size-cells = <1>; |
216 | ranges; | 237 | ranges; |
217 | 238 | ||
239 | syscon-tcsr = <&tcsr>; | ||
240 | |||
218 | serial@16640000 { | 241 | serial@16640000 { |
219 | compatible = "qcom,msm-uartdm-v1.3", "qcom,msm-uartdm"; | 242 | compatible = "qcom,msm-uartdm-v1.3", "qcom,msm-uartdm"; |
220 | reg = <0x16640000 0x1000>, | 243 | reg = <0x16640000 0x1000>, |
@@ -239,6 +262,13 @@ | |||
239 | #reset-cells = <1>; | 262 | #reset-cells = <1>; |
240 | }; | 263 | }; |
241 | 264 | ||
265 | lcc: clock-controller@28000000 { | ||
266 | compatible = "qcom,lcc-apq8064"; | ||
267 | reg = <0x28000000 0x1000>; | ||
268 | #clock-cells = <1>; | ||
269 | #reset-cells = <1>; | ||
270 | }; | ||
271 | |||
242 | mmcc: clock-controller@4000000 { | 272 | mmcc: clock-controller@4000000 { |
243 | compatible = "qcom,mmcc-apq8064"; | 273 | compatible = "qcom,mmcc-apq8064"; |
244 | reg = <0x4000000 0x1000>; | 274 | reg = <0x4000000 0x1000>; |
@@ -349,5 +379,10 @@ | |||
349 | pinctrl-0 = <&sdc4_gpios>; | 379 | pinctrl-0 = <&sdc4_gpios>; |
350 | }; | 380 | }; |
351 | }; | 381 | }; |
382 | |||
383 | tcsr: syscon@1a400000 { | ||
384 | compatible = "qcom,tcsr-apq8064", "syscon"; | ||
385 | reg = <0x1a400000 0x100>; | ||
386 | }; | ||
352 | }; | 387 | }; |
353 | }; | 388 | }; |