1 // SPDX-License-Identifier: GPL-2.0
4 #include <dt-bindings/interrupt-controller/irq.h>
5 #include <dt-bindings/interrupt-controller/arm-gic.h>
6 #include <dt-bindings/clock/qcom,gcc-msm8660.h>
7 #include <dt-bindings/soc/qcom,gsbi.h>
12 model = "Qualcomm MSM8660";
13 compatible = "qcom,msm8660";
14 interrupt-parent = <&intc>;
21 compatible = "qcom,scorpion";
22 enable-method = "qcom,gcc-msm8660";
25 next-level-cache = <&L2>;
29 compatible = "qcom,scorpion";
30 enable-method = "qcom,gcc-msm8660";
33 next-level-cache = <&L2>;
44 device_type = "memory";
49 compatible = "qcom,scorpion-mp-pmu";
50 interrupts = <1 9 0x304>;
54 cxo_board: cxo-board-clk {
55 compatible = "fixed-clock";
57 clock-frequency = <19200000>;
58 clock-output-names = "cxo_board";
61 pxo_board: pxo-board-clk {
62 compatible = "fixed-clock";
64 clock-frequency = <27000000>;
65 clock-output-names = "pxo_board";
69 compatible = "fixed-clock";
71 clock-frequency = <32768>;
72 clock-output-names = "sleep_clk";
80 compatible = "simple-bus";
82 intc: interrupt-controller@2080000 {
83 compatible = "qcom,msm-8660-qgic";
85 #interrupt-cells = <3>;
86 reg = < 0x02080000 0x1000 >,
87 < 0x02081000 0x1000 >;
91 compatible = "qcom,scss-timer", "qcom,msm-timer";
92 interrupts = <1 0 0x301>,
95 reg = <0x02000000 0x100>;
96 clock-frequency = <27000000>,
98 cpu-offset = <0x40000>;
101 tlmm: pinctrl@800000 {
102 compatible = "qcom,msm8660-pinctrl";
103 reg = <0x800000 0x4000>;
106 gpio-ranges = <&tlmm 0 0 173>;
108 interrupts = <0 16 0x4>;
109 interrupt-controller;
110 #interrupt-cells = <2>;
114 gcc: clock-controller@900000 {
115 compatible = "qcom,gcc-msm8660";
117 #power-domain-cells = <1>;
119 reg = <0x900000 0x4000>;
120 clocks = <&pxo_board>, <&cxo_board>;
121 clock-names = "pxo", "cxo";
124 gsbi1: gsbi@16000000 {
125 compatible = "qcom,gsbi-v1.0.0";
127 reg = <0x16000000 0x100>;
128 clocks = <&gcc GSBI1_H_CLK>;
129 clock-names = "iface";
130 #address-cells = <1>;
134 syscon-tcsr = <&tcsr>;
138 gsbi1_spi: spi@16080000 {
139 compatible = "qcom,spi-qup-v1.1.1";
140 reg = <0x16080000 0x1000>;
141 interrupts = <GIC_SPI 147 IRQ_TYPE_LEVEL_HIGH>;
142 clocks = <&gcc GSBI1_QUP_CLK>, <&gcc GSBI1_H_CLK>;
143 clock-names = "core", "iface";
144 #address-cells = <1>;
150 gsbi3: gsbi@16200000 {
151 compatible = "qcom,gsbi-v1.0.0";
153 reg = <0x16200000 0x100>;
154 clocks = <&gcc GSBI3_H_CLK>;
155 clock-names = "iface";
156 #address-cells = <1>;
160 syscon-tcsr = <&tcsr>;
163 gsbi3_i2c: i2c@16280000 {
164 compatible = "qcom,i2c-qup-v1.1.1";
165 reg = <0x16280000 0x1000>;
166 interrupts = <GIC_SPI 151 IRQ_TYPE_LEVEL_HIGH>;
167 clocks = <&gcc GSBI3_QUP_CLK>, <&gcc GSBI3_H_CLK>;
168 clock-names = "core", "iface";
169 #address-cells = <1>;
175 gsbi6: gsbi@16500000 {
176 compatible = "qcom,gsbi-v1.0.0";
178 reg = <0x16500000 0x100>;
179 clocks = <&gcc GSBI6_H_CLK>;
180 clock-names = "iface";
181 #address-cells = <1>;
186 syscon-tcsr = <&tcsr>;
188 gsbi6_serial: serial@16540000 {
189 compatible = "qcom,msm-uartdm-v1.3", "qcom,msm-uartdm";
190 reg = <0x16540000 0x1000>,
192 interrupts = <GIC_SPI 156 IRQ_TYPE_LEVEL_HIGH>;
193 clocks = <&gcc GSBI6_UART_CLK>, <&gcc GSBI6_H_CLK>;
194 clock-names = "core", "iface";
198 gsbi6_i2c: i2c@16580000 {
199 compatible = "qcom,i2c-qup-v1.1.1";
200 reg = <0x16580000 0x1000>;
201 interrupts = <GIC_SPI 157 IRQ_TYPE_LEVEL_HIGH>;
202 clocks = <&gcc GSBI6_QUP_CLK>, <&gcc GSBI6_H_CLK>;
203 clock-names = "core", "iface";
204 #address-cells = <1>;
210 gsbi7: gsbi@16600000 {
211 compatible = "qcom,gsbi-v1.0.0";
213 reg = <0x16600000 0x100>;
214 clocks = <&gcc GSBI7_H_CLK>;
215 clock-names = "iface";
216 #address-cells = <1>;
221 syscon-tcsr = <&tcsr>;
223 gsbi7_serial: serial@16640000 {
224 compatible = "qcom,msm-uartdm-v1.3", "qcom,msm-uartdm";
225 reg = <0x16640000 0x1000>,
227 interrupts = <GIC_SPI 158 IRQ_TYPE_LEVEL_HIGH>;
228 clocks = <&gcc GSBI7_UART_CLK>, <&gcc GSBI7_H_CLK>;
229 clock-names = "core", "iface";
233 gsbi7_i2c: i2c@16680000 {
234 compatible = "qcom,i2c-qup-v1.1.1";
235 reg = <0x16680000 0x1000>;
236 interrupts = <GIC_SPI 159 IRQ_TYPE_LEVEL_HIGH>;
237 clocks = <&gcc GSBI7_QUP_CLK>, <&gcc GSBI7_H_CLK>;
238 clock-names = "core", "iface";
239 #address-cells = <1>;
245 gsbi8: gsbi@19800000 {
246 compatible = "qcom,gsbi-v1.0.0";
248 reg = <0x19800000 0x100>;
249 clocks = <&gcc GSBI8_H_CLK>;
250 clock-names = "iface";
251 #address-cells = <1>;
255 syscon-tcsr = <&tcsr>;
258 gsbi8_i2c: i2c@19880000 {
259 compatible = "qcom,i2c-qup-v1.1.1";
260 reg = <0x19880000 0x1000>;
261 interrupts = <GIC_SPI 161 IRQ_TYPE_LEVEL_HIGH>;
262 clocks = <&gcc GSBI8_QUP_CLK>, <&gcc GSBI8_H_CLK>;
263 clock-names = "core", "iface";
264 #address-cells = <1>;
270 gsbi12: gsbi@19c00000 {
271 compatible = "qcom,gsbi-v1.0.0";
273 reg = <0x19c00000 0x100>;
274 clocks = <&gcc GSBI12_H_CLK>;
275 clock-names = "iface";
276 #address-cells = <1>;
280 syscon-tcsr = <&tcsr>;
282 gsbi12_serial: serial@19c40000 {
283 compatible = "qcom,msm-uartdm-v1.3", "qcom,msm-uartdm";
284 reg = <0x19c40000 0x1000>,
286 interrupts = <0 195 IRQ_TYPE_LEVEL_HIGH>;
287 clocks = <&gcc GSBI12_UART_CLK>, <&gcc GSBI12_H_CLK>;
288 clock-names = "core", "iface";
292 gsbi12_i2c: i2c@19c80000 {
293 compatible = "qcom,i2c-qup-v1.1.1";
294 reg = <0x19c80000 0x1000>;
295 interrupts = <0 196 IRQ_TYPE_LEVEL_HIGH>;
296 clocks = <&gcc GSBI12_QUP_CLK>, <&gcc GSBI12_H_CLK>;
297 clock-names = "core", "iface";
298 #address-cells = <1>;
304 ebi2: external-bus@1a100000 {
305 compatible = "qcom,msm8660-ebi2";
306 #address-cells = <2>;
308 ranges = <0 0x0 0x1a800000 0x00800000>,
309 <1 0x0 0x1b000000 0x00800000>,
310 <2 0x0 0x1b800000 0x00800000>,
311 <3 0x0 0x1d000000 0x08000000>,
312 <4 0x0 0x1c800000 0x00800000>,
313 <5 0x0 0x1c000000 0x00800000>;
314 reg = <0x1a100000 0x1000>, <0x1a110000 0x1000>;
315 reg-names = "ebi2", "xmem";
316 clocks = <&gcc EBI2_2X_CLK>, <&gcc EBI2_CLK>;
317 clock-names = "ebi2x", "ebi2";
322 compatible = "qcom,ssbi";
323 reg = <0x500000 0x1000>;
324 qcom,controller-type = "pmic-arbiter";
327 l2cc: clock-controller@2082000 {
328 compatible = "qcom,kpss-gcc-msm8660", "qcom,kpss-gcc", "syscon";
329 reg = <0x02082000 0x1000>;
333 compatible = "qcom,rpm-msm8660";
334 reg = <0x00104000 0x1000>;
335 qcom,ipc = <&l2cc 0x8 2>;
337 interrupts = <GIC_SPI 19 IRQ_TYPE_EDGE_RISING>,
338 <GIC_SPI 21 IRQ_TYPE_EDGE_RISING>,
339 <GIC_SPI 22 IRQ_TYPE_EDGE_RISING>;
340 interrupt-names = "ack", "err", "wakeup";
341 clocks = <&gcc RPM_MSG_RAM_H_CLK>;
344 rpmcc: clock-controller {
345 compatible = "qcom,rpmcc-msm8660", "qcom,rpmcc";
347 clocks = <&pxo_board>;
353 compatible = "simple-bus";
354 #address-cells = <1>;
357 sdcc1: mmc@12400000 {
359 compatible = "arm,pl18x", "arm,primecell";
360 arm,primecell-periphid = <0x00051180>;
361 reg = <0x12400000 0x8000>;
362 interrupts = <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>;
363 clocks = <&gcc SDC1_CLK>, <&gcc SDC1_H_CLK>;
364 clock-names = "mclk", "apb_pclk";
366 max-frequency = <48000000>;
372 sdcc2: mmc@12140000 {
374 compatible = "arm,pl18x", "arm,primecell";
375 arm,primecell-periphid = <0x00051180>;
376 reg = <0x12140000 0x8000>;
377 interrupts = <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>;
378 clocks = <&gcc SDC2_CLK>, <&gcc SDC2_H_CLK>;
379 clock-names = "mclk", "apb_pclk";
381 max-frequency = <48000000>;
386 sdcc3: mmc@12180000 {
387 compatible = "arm,pl18x", "arm,primecell";
388 arm,primecell-periphid = <0x00051180>;
390 reg = <0x12180000 0x8000>;
391 interrupts = <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>;
392 clocks = <&gcc SDC3_CLK>, <&gcc SDC3_H_CLK>;
393 clock-names = "mclk", "apb_pclk";
397 max-frequency = <48000000>;
401 sdcc4: mmc@121c0000 {
402 compatible = "arm,pl18x", "arm,primecell";
403 arm,primecell-periphid = <0x00051180>;
405 reg = <0x121c0000 0x8000>;
406 interrupts = <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>;
407 clocks = <&gcc SDC4_CLK>, <&gcc SDC4_H_CLK>;
408 clock-names = "mclk", "apb_pclk";
410 max-frequency = <48000000>;
415 sdcc5: mmc@12200000 {
416 compatible = "arm,pl18x", "arm,primecell";
417 arm,primecell-periphid = <0x00051180>;
419 reg = <0x12200000 0x8000>;
420 interrupts = <GIC_SPI 188 IRQ_TYPE_LEVEL_HIGH>;
421 clocks = <&gcc SDC5_CLK>, <&gcc SDC5_H_CLK>;
422 clock-names = "mclk", "apb_pclk";
426 max-frequency = <48000000>;
430 tcsr: syscon@1a400000 {
431 compatible = "qcom,tcsr-msm8660", "syscon";
432 reg = <0x1a400000 0x100>;