blob: f31d20b3ceb423bf4c1234e11de8eb32dbcde90f [file] [log] [blame]
Kumar Galaf335b8a2014-04-03 14:48:22 -05001/dts-v1/;
2
3#include "skeleton.dtsi"
4#include <dt-bindings/clock/qcom,gcc-msm8960.h>
Stephen Boyd3fe5e3c2014-07-16 13:49:43 -07005#include <dt-bindings/clock/qcom,mmcc-msm8960.h>
Kumar Galaf335b8a2014-04-03 14:48:22 -05006#include <dt-bindings/soc/qcom,gsbi.h>
Pramod Gurav8b8936f2014-08-29 20:00:56 +05307#include <dt-bindings/interrupt-controller/arm-gic.h>
Kumar Galaf335b8a2014-04-03 14:48:22 -05008
9/ {
10 model = "Qualcomm APQ8064";
11 compatible = "qcom,apq8064";
12 interrupt-parent = <&intc>;
13
14 cpus {
15 #address-cells = <1>;
16 #size-cells = <0>;
17
18 cpu@0 {
19 compatible = "qcom,krait";
20 enable-method = "qcom,kpss-acc-v1";
21 device_type = "cpu";
22 reg = <0>;
23 next-level-cache = <&L2>;
24 qcom,acc = <&acc0>;
25 qcom,saw = <&saw0>;
26 };
27
28 cpu@1 {
29 compatible = "qcom,krait";
30 enable-method = "qcom,kpss-acc-v1";
31 device_type = "cpu";
32 reg = <1>;
33 next-level-cache = <&L2>;
34 qcom,acc = <&acc1>;
35 qcom,saw = <&saw1>;
36 };
37
38 cpu@2 {
39 compatible = "qcom,krait";
40 enable-method = "qcom,kpss-acc-v1";
41 device_type = "cpu";
42 reg = <2>;
43 next-level-cache = <&L2>;
44 qcom,acc = <&acc2>;
45 qcom,saw = <&saw2>;
46 };
47
48 cpu@3 {
49 compatible = "qcom,krait";
50 enable-method = "qcom,kpss-acc-v1";
51 device_type = "cpu";
52 reg = <3>;
53 next-level-cache = <&L2>;
54 qcom,acc = <&acc3>;
55 qcom,saw = <&saw3>;
56 };
57
58 L2: l2-cache {
59 compatible = "cache";
60 cache-level = <2>;
61 };
62 };
63
64 cpu-pmu {
65 compatible = "qcom,krait-pmu";
66 interrupts = <1 10 0x304>;
67 };
68
69 soc: soc {
70 #address-cells = <1>;
71 #size-cells = <1>;
72 ranges;
73 compatible = "simple-bus";
74
Pramod Gurav8b8936f2014-08-29 20:00:56 +053075 tlmm_pinmux: pinctrl@800000 {
76 compatible = "qcom,apq8064-pinctrl";
77 reg = <0x800000 0x4000>;
78
79 gpio-controller;
80 #gpio-cells = <2>;
81 interrupt-controller;
82 #interrupt-cells = <2>;
83 interrupts = <0 16 IRQ_TYPE_LEVEL_HIGH>;
Pramod Guravcd6dd112014-08-29 20:00:57 +053084
85 pinctrl-names = "default";
86 pinctrl-0 = <&ps_hold>;
87
Srinivas Kandagatla0be5fef2014-09-17 06:39:35 +010088 sdc4_gpios: sdc4-gpios {
89 pios {
90 pins = "gpio63", "gpio64", "gpio65", "gpio66", "gpio67", "gpio68";
91 function = "sdc4";
92 };
93 };
94
Pramod Guravcd6dd112014-08-29 20:00:57 +053095 ps_hold: ps_hold {
96 mux {
97 pins = "gpio78";
98 function = "ps_hold";
99 };
100 };
Pramod Gurav8b8936f2014-08-29 20:00:56 +0530101 };
102
Kumar Galaf335b8a2014-04-03 14:48:22 -0500103 intc: interrupt-controller@2000000 {
104 compatible = "qcom,msm-qgic2";
105 interrupt-controller;
106 #interrupt-cells = <3>;
107 reg = <0x02000000 0x1000>,
108 <0x02002000 0x1000>;
109 };
110
111 timer@200a000 {
112 compatible = "qcom,kpss-timer", "qcom,msm-timer";
113 interrupts = <1 1 0x301>,
114 <1 2 0x301>,
115 <1 3 0x301>;
116 reg = <0x0200a000 0x100>;
117 clock-frequency = <27000000>,
118 <32768>;
119 cpu-offset = <0x80000>;
120 };
121
122 acc0: clock-controller@2088000 {
123 compatible = "qcom,kpss-acc-v1";
124 reg = <0x02088000 0x1000>, <0x02008000 0x1000>;
125 };
126
127 acc1: clock-controller@2098000 {
128 compatible = "qcom,kpss-acc-v1";
129 reg = <0x02098000 0x1000>, <0x02008000 0x1000>;
130 };
131
132 acc2: clock-controller@20a8000 {
133 compatible = "qcom,kpss-acc-v1";
134 reg = <0x020a8000 0x1000>, <0x02008000 0x1000>;
135 };
136
137 acc3: clock-controller@20b8000 {
138 compatible = "qcom,kpss-acc-v1";
139 reg = <0x020b8000 0x1000>, <0x02008000 0x1000>;
140 };
141
142 saw0: regulator@2089000 {
143 compatible = "qcom,saw2";
144 reg = <0x02089000 0x1000>, <0x02009000 0x1000>;
145 regulator;
146 };
147
148 saw1: regulator@2099000 {
149 compatible = "qcom,saw2";
150 reg = <0x02099000 0x1000>, <0x02009000 0x1000>;
151 regulator;
152 };
153
154 saw2: regulator@20a9000 {
155 compatible = "qcom,saw2";
156 reg = <0x020a9000 0x1000>, <0x02009000 0x1000>;
157 regulator;
158 };
159
160 saw3: regulator@20b9000 {
161 compatible = "qcom,saw2";
162 reg = <0x020b9000 0x1000>, <0x02009000 0x1000>;
163 regulator;
164 };
165
166 gsbi7: gsbi@16600000 {
167 status = "disabled";
168 compatible = "qcom,gsbi-v1.0.0";
169 reg = <0x16600000 0x100>;
170 clocks = <&gcc GSBI7_H_CLK>;
171 clock-names = "iface";
172 #address-cells = <1>;
173 #size-cells = <1>;
174 ranges;
175
176 serial@16640000 {
177 compatible = "qcom,msm-uartdm-v1.3", "qcom,msm-uartdm";
178 reg = <0x16640000 0x1000>,
179 <0x16600000 0x1000>;
180 interrupts = <0 158 0x0>;
181 clocks = <&gcc GSBI7_UART_CLK>, <&gcc GSBI7_H_CLK>;
182 clock-names = "core", "iface";
183 status = "disabled";
184 };
185 };
186
187 qcom,ssbi@500000 {
188 compatible = "qcom,ssbi";
189 reg = <0x00500000 0x1000>;
190 qcom,controller-type = "pmic-arbiter";
191 };
192
193 gcc: clock-controller@900000 {
194 compatible = "qcom,gcc-apq8064";
195 reg = <0x00900000 0x4000>;
196 #clock-cells = <1>;
197 #reset-cells = <1>;
198 };
Stephen Boyd3fe5e3c2014-07-16 13:49:43 -0700199
200 mmcc: clock-controller@4000000 {
201 compatible = "qcom,mmcc-apq8064";
202 reg = <0x4000000 0x1000>;
203 #clock-cells = <1>;
204 #reset-cells = <1>;
205 };
Srinivas Kandagatla045644f2014-04-29 08:33:52 +0100206
207 /* Temporary fixed regulator */
208 vsdcc_fixed: vsdcc-regulator {
209 compatible = "regulator-fixed";
210 regulator-name = "SDCC Power";
211 regulator-min-microvolt = <2700000>;
212 regulator-max-microvolt = <2700000>;
213 regulator-always-on;
214 };
215
Srinivas Kandagatlaedb81ca2014-05-16 20:18:53 +0100216 sdcc1bam:dma@12402000{
217 compatible = "qcom,bam-v1.3.0";
218 reg = <0x12402000 0x8000>;
219 interrupts = <0 98 0>;
220 clocks = <&gcc SDC1_H_CLK>;
221 clock-names = "bam_clk";
222 #dma-cells = <1>;
223 qcom,ee = <0>;
224 };
225
226 sdcc3bam:dma@12182000{
227 compatible = "qcom,bam-v1.3.0";
228 reg = <0x12182000 0x8000>;
229 interrupts = <0 96 0>;
230 clocks = <&gcc SDC3_H_CLK>;
231 clock-names = "bam_clk";
232 #dma-cells = <1>;
233 qcom,ee = <0>;
234 };
235
Srinivas Kandagatla0be5fef2014-09-17 06:39:35 +0100236 sdcc4bam:dma@121c2000{
237 compatible = "qcom,bam-v1.3.0";
238 reg = <0x121c2000 0x8000>;
239 interrupts = <0 95 0>;
240 clocks = <&gcc SDC4_H_CLK>;
241 clock-names = "bam_clk";
242 #dma-cells = <1>;
243 qcom,ee = <0>;
244 };
245
Srinivas Kandagatla045644f2014-04-29 08:33:52 +0100246 amba {
247 compatible = "arm,amba-bus";
248 #address-cells = <1>;
249 #size-cells = <1>;
250 ranges;
251 sdcc1: sdcc@12400000 {
252 status = "disabled";
253 compatible = "arm,pl18x", "arm,primecell";
254 arm,primecell-periphid = <0x00051180>;
255 reg = <0x12400000 0x2000>;
256 interrupts = <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>;
257 interrupt-names = "cmd_irq";
258 clocks = <&gcc SDC1_CLK>, <&gcc SDC1_H_CLK>;
259 clock-names = "mclk", "apb_pclk";
260 bus-width = <8>;
261 max-frequency = <96000000>;
262 non-removable;
263 cap-sd-highspeed;
264 cap-mmc-highspeed;
265 vmmc-supply = <&vsdcc_fixed>;
Srinivas Kandagatlaedb81ca2014-05-16 20:18:53 +0100266 dmas = <&sdcc1bam 2>, <&sdcc1bam 1>;
267 dma-names = "tx", "rx";
Srinivas Kandagatla045644f2014-04-29 08:33:52 +0100268 };
269
270 sdcc3: sdcc@12180000 {
271 compatible = "arm,pl18x", "arm,primecell";
272 arm,primecell-periphid = <0x00051180>;
273 status = "disabled";
274 reg = <0x12180000 0x2000>;
275 interrupts = <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>;
276 interrupt-names = "cmd_irq";
277 clocks = <&gcc SDC3_CLK>, <&gcc SDC3_H_CLK>;
278 clock-names = "mclk", "apb_pclk";
279 bus-width = <4>;
280 cap-sd-highspeed;
281 cap-mmc-highspeed;
282 max-frequency = <192000000>;
283 no-1-8-v;
284 vmmc-supply = <&vsdcc_fixed>;
Srinivas Kandagatlaedb81ca2014-05-16 20:18:53 +0100285 dmas = <&sdcc3bam 2>, <&sdcc3bam 1>;
286 dma-names = "tx", "rx";
Srinivas Kandagatla045644f2014-04-29 08:33:52 +0100287 };
Srinivas Kandagatla0be5fef2014-09-17 06:39:35 +0100288
289 sdcc4: sdcc@121c0000 {
290 compatible = "arm,pl18x", "arm,primecell";
291 arm,primecell-periphid = <0x00051180>;
292 status = "disabled";
293 reg = <0x121c0000 0x2000>;
294 interrupts = <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>;
295 interrupt-names = "cmd_irq";
296 clocks = <&gcc SDC4_CLK>, <&gcc SDC4_H_CLK>;
297 clock-names = "mclk", "apb_pclk";
298 bus-width = <4>;
299 cap-sd-highspeed;
300 cap-mmc-highspeed;
301 max-frequency = <48000000>;
302 vmmc-supply = <&vsdcc_fixed>;
303 vqmmc-supply = <&vsdcc_fixed>;
304 dmas = <&sdcc4bam 2>, <&sdcc4bam 1>;
305 dma-names = "tx", "rx";
306 pinctrl-names = "default";
307 pinctrl-0 = <&sdc4_gpios>;
308 };
Srinivas Kandagatla045644f2014-04-29 08:33:52 +0100309 };
Kumar Galaf335b8a2014-04-03 14:48:22 -0500310 };
311};