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>;
142 syscon-tcsr = <&tcsr>;
144 gsbi6_serial: serial@16540000 {
145 compatible = "qcom,msm-uartdm-v1.3", "qcom,msm-uartdm";
146 reg = <0x16540000 0x1000>,
148 interrupts = <GIC_SPI 156 IRQ_TYPE_NONE>;
149 clocks = <&gcc GSBI6_UART_CLK>, <&gcc GSBI6_H_CLK>;
150 clock-names = "core", "iface";
154 gsbi6_i2c: i2c@16580000 {
155 compatible = "qcom,i2c-qup-v1.1.1";
156 reg = <0x16580000 0x1000>;
157 interrupts = <GIC_SPI 157 IRQ_TYPE_NONE>;
158 clocks = <&gcc GSBI6_QUP_CLK>, <&gcc GSBI6_H_CLK>;
159 clock-names = "core", "iface";
160 #address-cells = <1>;
166 gsbi7: gsbi@16600000 {
167 compatible = "qcom,gsbi-v1.0.0";
169 reg = <0x16600000 0x100>;
170 clocks = <&gcc GSBI7_H_CLK>;
171 clock-names = "iface";
172 #address-cells = <1>;
176 syscon-tcsr = <&tcsr>;
178 gsbi7_serial: serial@16640000 {
179 compatible = "qcom,msm-uartdm-v1.3", "qcom,msm-uartdm";
180 reg = <0x16640000 0x1000>,
182 interrupts = <GIC_SPI 158 IRQ_TYPE_NONE>;
183 clocks = <&gcc GSBI7_UART_CLK>, <&gcc GSBI7_H_CLK>;
184 clock-names = "core", "iface";
188 gsbi7_i2c: i2c@16680000 {
189 compatible = "qcom,i2c-qup-v1.1.1";
190 reg = <0x16680000 0x1000>;
191 interrupts = <GIC_SPI 159 IRQ_TYPE_NONE>;
192 clocks = <&gcc GSBI7_QUP_CLK>, <&gcc GSBI7_H_CLK>;
193 clock-names = "core", "iface";
194 #address-cells = <1>;
200 gsbi8: gsbi@19800000 {
201 compatible = "qcom,gsbi-v1.0.0";
203 reg = <0x19800000 0x100>;
204 clocks = <&gcc GSBI8_H_CLK>;
205 clock-names = "iface";
206 #address-cells = <1>;
210 syscon-tcsr = <&tcsr>;
212 gsbi8_i2c: i2c@19880000 {
213 compatible = "qcom,i2c-qup-v1.1.1";
214 reg = <0x19880000 0x1000>;
215 interrupts = <GIC_SPI 161 IRQ_TYPE_NONE>;
216 clocks = <&gcc GSBI8_QUP_CLK>, <&gcc GSBI8_H_CLK>;
217 clock-names = "core", "iface";
218 #address-cells = <1>;
224 gsbi12: gsbi@19c00000 {
225 compatible = "qcom,gsbi-v1.0.0";
227 reg = <0x19c00000 0x100>;
228 clocks = <&gcc GSBI12_H_CLK>;
229 clock-names = "iface";
230 #address-cells = <1>;
234 syscon-tcsr = <&tcsr>;
236 gsbi12_serial: serial@19c40000 {
237 compatible = "qcom,msm-uartdm-v1.3", "qcom,msm-uartdm";
238 reg = <0x19c40000 0x1000>,
240 interrupts = <0 195 IRQ_TYPE_NONE>;
241 clocks = <&gcc GSBI12_UART_CLK>, <&gcc GSBI12_H_CLK>;
242 clock-names = "core", "iface";
246 gsbi12_i2c: i2c@19c80000 {
247 compatible = "qcom,i2c-qup-v1.1.1";
248 reg = <0x19c80000 0x1000>;
249 interrupts = <0 196 IRQ_TYPE_NONE>;
250 clocks = <&gcc GSBI12_QUP_CLK>, <&gcc GSBI12_H_CLK>;
251 clock-names = "core", "iface";
252 #address-cells = <1>;
258 external-bus@1a100000 {
259 compatible = "qcom,msm8660-ebi2";
260 #address-cells = <2>;
262 ranges = <0 0x0 0x1a800000 0x00800000>,
263 <1 0x0 0x1b000000 0x00800000>,
264 <2 0x0 0x1b800000 0x00800000>,
265 <3 0x0 0x1d000000 0x08000000>,
266 <4 0x0 0x1c800000 0x00800000>,
267 <5 0x0 0x1c000000 0x00800000>;
268 reg = <0x1a100000 0x1000>, <0x1a110000 0x1000>;
269 reg-names = "ebi2", "xmem";
270 clocks = <&gcc EBI2_2X_CLK>, <&gcc EBI2_CLK>;
271 clock-names = "ebi2x", "ebi2";
276 compatible = "qcom,ssbi";
277 reg = <0x500000 0x1000>;
278 qcom,controller-type = "pmic-arbiter";
281 compatible = "qcom,pm8058";
282 interrupt-parent = <&tlmm>;
284 #interrupt-cells = <2>;
285 interrupt-controller;
286 #address-cells = <1>;
289 pm8058_gpio: gpio@150 {
290 compatible = "qcom,pm8058-gpio",
293 interrupt-parent = <&pm8058>;
294 interrupts = <192 IRQ_TYPE_NONE>,
343 pm8058_mpps: mpps@50 {
344 compatible = "qcom,pm8058-mpp",
349 interrupt-parent = <&pm8058>;
366 compatible = "qcom,pm8058-pwrkey";
368 interrupt-parent = <&pm8058>;
369 interrupts = <50 1>, <51 1>;
375 compatible = "qcom,pm8058-keypad";
377 interrupt-parent = <&pm8058>;
378 interrupts = <74 1>, <75 1>;
385 compatible = "qcom,pm8058-adc";
387 interrupts-extended = <&pm8058 76 IRQ_TYPE_EDGE_RISING>;
388 #address-cells = <2>;
390 #io-channel-cells = <2>;
392 vcoin: adc-channel@0 {
395 vbat: adc-channel@1 {
398 dcin: adc-channel@2 {
401 ichg: adc-channel@3 {
404 vph_pwr: adc-channel@4 {
407 usb_vbus: adc-channel@a {
410 die_temp: adc-channel@b {
413 ref_625mv: adc-channel@c {
416 ref_1250mv: adc-channel@d {
419 ref_325mv: adc-channel@e {
422 ref_muxoff: adc-channel@f {
428 compatible = "qcom,pm8058-rtc";
430 interrupt-parent = <&pm8058>;
436 compatible = "qcom,pm8058-vib";
442 l2cc: clock-controller@2082000 {
443 compatible = "syscon";
444 reg = <0x02082000 0x1000>;
448 compatible = "qcom,rpm-msm8660";
449 reg = <0x00104000 0x1000>;
450 qcom,ipc = <&l2cc 0x8 2>;
452 interrupts = <GIC_SPI 19 IRQ_TYPE_EDGE_RISING>,
453 <GIC_SPI 21 IRQ_TYPE_EDGE_RISING>,
454 <GIC_SPI 22 IRQ_TYPE_EDGE_RISING>;
455 interrupt-names = "ack", "err", "wakeup";
456 clocks = <&gcc RPM_MSG_RAM_H_CLK>;
459 rpmcc: clock-controller {
460 compatible = "qcom,rpmcc-msm8660", "qcom,rpmcc";
465 compatible = "qcom,rpm-pm8901-regulators";
475 /* S0 and S1 Handled as SAW regulators by SPM */
480 pm8901_lvs0: lvs0 {};
481 pm8901_lvs1: lvs1 {};
482 pm8901_lvs2: lvs2 {};
483 pm8901_lvs3: lvs3 {};
489 compatible = "qcom,rpm-pm8058-regulators";
524 pm8058_lvs0: lvs0 {};
525 pm8058_lvs1: lvs1 {};
532 compatible = "simple-bus";
533 #address-cells = <1>;
536 sdcc1: sdcc@12400000 {
538 compatible = "arm,pl18x", "arm,primecell";
539 arm,primecell-periphid = <0x00051180>;
540 reg = <0x12400000 0x8000>;
541 interrupts = <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>;
542 interrupt-names = "cmd_irq";
543 clocks = <&gcc SDC1_CLK>, <&gcc SDC1_H_CLK>;
544 clock-names = "mclk", "apb_pclk";
546 max-frequency = <48000000>;
552 sdcc2: sdcc@12140000 {
554 compatible = "arm,pl18x", "arm,primecell";
555 arm,primecell-periphid = <0x00051180>;
556 reg = <0x12140000 0x8000>;
557 interrupts = <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>;
558 interrupt-names = "cmd_irq";
559 clocks = <&gcc SDC2_CLK>, <&gcc SDC2_H_CLK>;
560 clock-names = "mclk", "apb_pclk";
562 max-frequency = <48000000>;
567 sdcc3: sdcc@12180000 {
568 compatible = "arm,pl18x", "arm,primecell";
569 arm,primecell-periphid = <0x00051180>;
571 reg = <0x12180000 0x8000>;
572 interrupts = <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>;
573 interrupt-names = "cmd_irq";
574 clocks = <&gcc SDC3_CLK>, <&gcc SDC3_H_CLK>;
575 clock-names = "mclk", "apb_pclk";
579 max-frequency = <48000000>;
583 sdcc4: sdcc@121c0000 {
584 compatible = "arm,pl18x", "arm,primecell";
585 arm,primecell-periphid = <0x00051180>;
587 reg = <0x121c0000 0x8000>;
588 interrupts = <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>;
589 interrupt-names = "cmd_irq";
590 clocks = <&gcc SDC4_CLK>, <&gcc SDC4_H_CLK>;
591 clock-names = "mclk", "apb_pclk";
593 max-frequency = <48000000>;
598 sdcc5: sdcc@12200000 {
599 compatible = "arm,pl18x", "arm,primecell";
600 arm,primecell-periphid = <0x00051180>;
602 reg = <0x12200000 0x8000>;
603 interrupts = <GIC_SPI 188 IRQ_TYPE_LEVEL_HIGH>;
604 interrupt-names = "cmd_irq";
605 clocks = <&gcc SDC5_CLK>, <&gcc SDC5_H_CLK>;
606 clock-names = "mclk", "apb_pclk";
610 max-frequency = <48000000>;
614 tcsr: syscon@1a400000 {
615 compatible = "qcom,tcsr-msm8660", "syscon";
616 reg = <0x1a400000 0x100>;