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>;
43 device_type = "memory";
48 compatible = "qcom,scorpion-mp-pmu";
49 interrupts = <1 9 0x304>;
54 compatible = "fixed-clock";
56 clock-frequency = <19200000>;
60 compatible = "fixed-clock";
62 clock-frequency = <27000000>;
66 compatible = "fixed-clock";
68 clock-frequency = <32768>;
73 * These channels from the ADC are simply hardware monitors.
74 * That is why the ADC is referred to as "HKADC" - HouseKeeping
78 compatible = "iio-hwmon";
79 io-channels = <&xoadc 0x00 0x01>, /* Battery */
80 <&xoadc 0x00 0x02>, /* DC in (charger) */
81 <&xoadc 0x00 0x04>, /* VPH the main system voltage */
82 <&xoadc 0x00 0x0b>, /* Die temperature */
83 <&xoadc 0x00 0x0c>, /* Reference voltage 1.25V */
84 <&xoadc 0x00 0x0d>, /* Reference voltage 0.625V */
85 <&xoadc 0x00 0x0e>; /* Reference voltage 0.325V */
92 compatible = "simple-bus";
94 intc: interrupt-controller@2080000 {
95 compatible = "qcom,msm-8660-qgic";
97 #interrupt-cells = <3>;
98 reg = < 0x02080000 0x1000 >,
99 < 0x02081000 0x1000 >;
103 compatible = "qcom,scss-timer", "qcom,msm-timer";
104 interrupts = <1 0 0x301>,
107 reg = <0x02000000 0x100>;
108 clock-frequency = <27000000>,
110 cpu-offset = <0x40000>;
113 tlmm: pinctrl@800000 {
114 compatible = "qcom,msm8660-pinctrl";
115 reg = <0x800000 0x4000>;
119 interrupts = <0 16 0x4>;
120 interrupt-controller;
121 #interrupt-cells = <2>;
125 gcc: clock-controller@900000 {
126 compatible = "qcom,gcc-msm8660";
129 reg = <0x900000 0x4000>;
132 gsbi6: gsbi@16500000 {
133 compatible = "qcom,gsbi-v1.0.0";
135 reg = <0x16500000 0x100>;
136 clocks = <&gcc GSBI6_H_CLK>;
137 clock-names = "iface";
138 #address-cells = <1>;
143 syscon-tcsr = <&tcsr>;
145 gsbi6_serial: serial@16540000 {
146 compatible = "qcom,msm-uartdm-v1.3", "qcom,msm-uartdm";
147 reg = <0x16540000 0x1000>,
149 interrupts = <GIC_SPI 156 IRQ_TYPE_LEVEL_HIGH>;
150 clocks = <&gcc GSBI6_UART_CLK>, <&gcc GSBI6_H_CLK>;
151 clock-names = "core", "iface";
155 gsbi6_i2c: i2c@16580000 {
156 compatible = "qcom,i2c-qup-v1.1.1";
157 reg = <0x16580000 0x1000>;
158 interrupts = <GIC_SPI 157 IRQ_TYPE_LEVEL_HIGH>;
159 clocks = <&gcc GSBI6_QUP_CLK>, <&gcc GSBI6_H_CLK>;
160 clock-names = "core", "iface";
161 #address-cells = <1>;
167 gsbi7: gsbi@16600000 {
168 compatible = "qcom,gsbi-v1.0.0";
170 reg = <0x16600000 0x100>;
171 clocks = <&gcc GSBI7_H_CLK>;
172 clock-names = "iface";
173 #address-cells = <1>;
178 syscon-tcsr = <&tcsr>;
180 gsbi7_serial: serial@16640000 {
181 compatible = "qcom,msm-uartdm-v1.3", "qcom,msm-uartdm";
182 reg = <0x16640000 0x1000>,
184 interrupts = <GIC_SPI 158 IRQ_TYPE_LEVEL_HIGH>;
185 clocks = <&gcc GSBI7_UART_CLK>, <&gcc GSBI7_H_CLK>;
186 clock-names = "core", "iface";
190 gsbi7_i2c: i2c@16680000 {
191 compatible = "qcom,i2c-qup-v1.1.1";
192 reg = <0x16680000 0x1000>;
193 interrupts = <GIC_SPI 159 IRQ_TYPE_LEVEL_HIGH>;
194 clocks = <&gcc GSBI7_QUP_CLK>, <&gcc GSBI7_H_CLK>;
195 clock-names = "core", "iface";
196 #address-cells = <1>;
202 gsbi8: gsbi@19800000 {
203 compatible = "qcom,gsbi-v1.0.0";
205 reg = <0x19800000 0x100>;
206 clocks = <&gcc GSBI8_H_CLK>;
207 clock-names = "iface";
208 #address-cells = <1>;
212 syscon-tcsr = <&tcsr>;
214 gsbi8_i2c: i2c@19880000 {
215 compatible = "qcom,i2c-qup-v1.1.1";
216 reg = <0x19880000 0x1000>;
217 interrupts = <GIC_SPI 161 IRQ_TYPE_LEVEL_HIGH>;
218 clocks = <&gcc GSBI8_QUP_CLK>, <&gcc GSBI8_H_CLK>;
219 clock-names = "core", "iface";
220 #address-cells = <1>;
226 gsbi12: gsbi@19c00000 {
227 compatible = "qcom,gsbi-v1.0.0";
229 reg = <0x19c00000 0x100>;
230 clocks = <&gcc GSBI12_H_CLK>;
231 clock-names = "iface";
232 #address-cells = <1>;
236 syscon-tcsr = <&tcsr>;
238 gsbi12_serial: serial@19c40000 {
239 compatible = "qcom,msm-uartdm-v1.3", "qcom,msm-uartdm";
240 reg = <0x19c40000 0x1000>,
242 interrupts = <0 195 IRQ_TYPE_LEVEL_HIGH>;
243 clocks = <&gcc GSBI12_UART_CLK>, <&gcc GSBI12_H_CLK>;
244 clock-names = "core", "iface";
248 gsbi12_i2c: i2c@19c80000 {
249 compatible = "qcom,i2c-qup-v1.1.1";
250 reg = <0x19c80000 0x1000>;
251 interrupts = <0 196 IRQ_TYPE_LEVEL_HIGH>;
252 clocks = <&gcc GSBI12_QUP_CLK>, <&gcc GSBI12_H_CLK>;
253 clock-names = "core", "iface";
254 #address-cells = <1>;
260 external-bus@1a100000 {
261 compatible = "qcom,msm8660-ebi2";
262 #address-cells = <2>;
264 ranges = <0 0x0 0x1a800000 0x00800000>,
265 <1 0x0 0x1b000000 0x00800000>,
266 <2 0x0 0x1b800000 0x00800000>,
267 <3 0x0 0x1d000000 0x08000000>,
268 <4 0x0 0x1c800000 0x00800000>,
269 <5 0x0 0x1c000000 0x00800000>;
270 reg = <0x1a100000 0x1000>, <0x1a110000 0x1000>;
271 reg-names = "ebi2", "xmem";
272 clocks = <&gcc EBI2_2X_CLK>, <&gcc EBI2_CLK>;
273 clock-names = "ebi2x", "ebi2";
278 compatible = "qcom,ssbi";
279 reg = <0x500000 0x1000>;
280 qcom,controller-type = "pmic-arbiter";
283 compatible = "qcom,pm8058";
284 interrupt-parent = <&tlmm>;
286 #interrupt-cells = <2>;
287 interrupt-controller;
288 #address-cells = <1>;
291 pm8058_gpio: gpio@150 {
292 compatible = "qcom,pm8058-gpio",
295 interrupt-controller;
296 #interrupt-cells = <2>;
298 gpio-ranges = <&pm8058_gpio 0 0 44>;
303 pm8058_mpps: mpps@50 {
304 compatible = "qcom,pm8058-mpp",
309 interrupt-parent = <&pm8058>;
326 compatible = "qcom,pm8058-pwrkey";
328 interrupt-parent = <&pm8058>;
329 interrupts = <50 1>, <51 1>;
335 compatible = "qcom,pm8058-keypad";
337 interrupt-parent = <&pm8058>;
338 interrupts = <74 1>, <75 1>;
345 compatible = "qcom,pm8058-adc";
347 interrupts-extended = <&pm8058 76 IRQ_TYPE_EDGE_RISING>;
348 #address-cells = <2>;
350 #io-channel-cells = <2>;
352 vcoin: adc-channel@0 {
355 vbat: adc-channel@1 {
358 dcin: adc-channel@2 {
361 ichg: adc-channel@3 {
364 vph_pwr: adc-channel@4 {
367 usb_vbus: adc-channel@a {
370 die_temp: adc-channel@b {
373 ref_625mv: adc-channel@c {
376 ref_1250mv: adc-channel@d {
379 ref_325mv: adc-channel@e {
382 ref_muxoff: adc-channel@f {
388 compatible = "qcom,pm8058-rtc";
390 interrupt-parent = <&pm8058>;
396 compatible = "qcom,pm8058-vib";
402 l2cc: clock-controller@2082000 {
403 compatible = "syscon";
404 reg = <0x02082000 0x1000>;
408 compatible = "qcom,rpm-msm8660";
409 reg = <0x00104000 0x1000>;
410 qcom,ipc = <&l2cc 0x8 2>;
412 interrupts = <GIC_SPI 19 IRQ_TYPE_EDGE_RISING>,
413 <GIC_SPI 21 IRQ_TYPE_EDGE_RISING>,
414 <GIC_SPI 22 IRQ_TYPE_EDGE_RISING>;
415 interrupt-names = "ack", "err", "wakeup";
416 clocks = <&gcc RPM_MSG_RAM_H_CLK>;
419 rpmcc: clock-controller {
420 compatible = "qcom,rpmcc-msm8660", "qcom,rpmcc";
425 compatible = "qcom,rpm-pm8901-regulators";
435 /* S0 and S1 Handled as SAW regulators by SPM */
440 pm8901_lvs0: lvs0 {};
441 pm8901_lvs1: lvs1 {};
442 pm8901_lvs2: lvs2 {};
443 pm8901_lvs3: lvs3 {};
449 compatible = "qcom,rpm-pm8058-regulators";
484 pm8058_lvs0: lvs0 {};
485 pm8058_lvs1: lvs1 {};
492 compatible = "simple-bus";
493 #address-cells = <1>;
496 sdcc1: sdcc@12400000 {
498 compatible = "arm,pl18x", "arm,primecell";
499 arm,primecell-periphid = <0x00051180>;
500 reg = <0x12400000 0x8000>;
501 interrupts = <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>;
502 interrupt-names = "cmd_irq";
503 clocks = <&gcc SDC1_CLK>, <&gcc SDC1_H_CLK>;
504 clock-names = "mclk", "apb_pclk";
506 max-frequency = <48000000>;
512 sdcc2: sdcc@12140000 {
514 compatible = "arm,pl18x", "arm,primecell";
515 arm,primecell-periphid = <0x00051180>;
516 reg = <0x12140000 0x8000>;
517 interrupts = <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>;
518 interrupt-names = "cmd_irq";
519 clocks = <&gcc SDC2_CLK>, <&gcc SDC2_H_CLK>;
520 clock-names = "mclk", "apb_pclk";
522 max-frequency = <48000000>;
527 sdcc3: sdcc@12180000 {
528 compatible = "arm,pl18x", "arm,primecell";
529 arm,primecell-periphid = <0x00051180>;
531 reg = <0x12180000 0x8000>;
532 interrupts = <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>;
533 interrupt-names = "cmd_irq";
534 clocks = <&gcc SDC3_CLK>, <&gcc SDC3_H_CLK>;
535 clock-names = "mclk", "apb_pclk";
539 max-frequency = <48000000>;
543 sdcc4: sdcc@121c0000 {
544 compatible = "arm,pl18x", "arm,primecell";
545 arm,primecell-periphid = <0x00051180>;
547 reg = <0x121c0000 0x8000>;
548 interrupts = <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>;
549 interrupt-names = "cmd_irq";
550 clocks = <&gcc SDC4_CLK>, <&gcc SDC4_H_CLK>;
551 clock-names = "mclk", "apb_pclk";
553 max-frequency = <48000000>;
558 sdcc5: sdcc@12200000 {
559 compatible = "arm,pl18x", "arm,primecell";
560 arm,primecell-periphid = <0x00051180>;
562 reg = <0x12200000 0x8000>;
563 interrupts = <GIC_SPI 188 IRQ_TYPE_LEVEL_HIGH>;
564 interrupt-names = "cmd_irq";
565 clocks = <&gcc SDC5_CLK>, <&gcc SDC5_H_CLK>;
566 clock-names = "mclk", "apb_pclk";
570 max-frequency = <48000000>;
574 tcsr: syscon@1a400000 {
575 compatible = "qcom,tcsr-msm8660", "syscon";
576 reg = <0x1a400000 0x100>;