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>;
118 gpio-ranges = <&tlmm 0 0 173>;
120 interrupts = <0 16 0x4>;
121 interrupt-controller;
122 #interrupt-cells = <2>;
126 gcc: clock-controller@900000 {
127 compatible = "qcom,gcc-msm8660";
130 reg = <0x900000 0x4000>;
133 gsbi6: gsbi@16500000 {
134 compatible = "qcom,gsbi-v1.0.0";
136 reg = <0x16500000 0x100>;
137 clocks = <&gcc GSBI6_H_CLK>;
138 clock-names = "iface";
139 #address-cells = <1>;
144 syscon-tcsr = <&tcsr>;
146 gsbi6_serial: serial@16540000 {
147 compatible = "qcom,msm-uartdm-v1.3", "qcom,msm-uartdm";
148 reg = <0x16540000 0x1000>,
150 interrupts = <GIC_SPI 156 IRQ_TYPE_LEVEL_HIGH>;
151 clocks = <&gcc GSBI6_UART_CLK>, <&gcc GSBI6_H_CLK>;
152 clock-names = "core", "iface";
156 gsbi6_i2c: i2c@16580000 {
157 compatible = "qcom,i2c-qup-v1.1.1";
158 reg = <0x16580000 0x1000>;
159 interrupts = <GIC_SPI 157 IRQ_TYPE_LEVEL_HIGH>;
160 clocks = <&gcc GSBI6_QUP_CLK>, <&gcc GSBI6_H_CLK>;
161 clock-names = "core", "iface";
162 #address-cells = <1>;
168 gsbi7: gsbi@16600000 {
169 compatible = "qcom,gsbi-v1.0.0";
171 reg = <0x16600000 0x100>;
172 clocks = <&gcc GSBI7_H_CLK>;
173 clock-names = "iface";
174 #address-cells = <1>;
179 syscon-tcsr = <&tcsr>;
181 gsbi7_serial: serial@16640000 {
182 compatible = "qcom,msm-uartdm-v1.3", "qcom,msm-uartdm";
183 reg = <0x16640000 0x1000>,
185 interrupts = <GIC_SPI 158 IRQ_TYPE_LEVEL_HIGH>;
186 clocks = <&gcc GSBI7_UART_CLK>, <&gcc GSBI7_H_CLK>;
187 clock-names = "core", "iface";
191 gsbi7_i2c: i2c@16680000 {
192 compatible = "qcom,i2c-qup-v1.1.1";
193 reg = <0x16680000 0x1000>;
194 interrupts = <GIC_SPI 159 IRQ_TYPE_LEVEL_HIGH>;
195 clocks = <&gcc GSBI7_QUP_CLK>, <&gcc GSBI7_H_CLK>;
196 clock-names = "core", "iface";
197 #address-cells = <1>;
203 gsbi8: gsbi@19800000 {
204 compatible = "qcom,gsbi-v1.0.0";
206 reg = <0x19800000 0x100>;
207 clocks = <&gcc GSBI8_H_CLK>;
208 clock-names = "iface";
209 #address-cells = <1>;
213 syscon-tcsr = <&tcsr>;
215 gsbi8_i2c: i2c@19880000 {
216 compatible = "qcom,i2c-qup-v1.1.1";
217 reg = <0x19880000 0x1000>;
218 interrupts = <GIC_SPI 161 IRQ_TYPE_LEVEL_HIGH>;
219 clocks = <&gcc GSBI8_QUP_CLK>, <&gcc GSBI8_H_CLK>;
220 clock-names = "core", "iface";
221 #address-cells = <1>;
227 gsbi12: gsbi@19c00000 {
228 compatible = "qcom,gsbi-v1.0.0";
230 reg = <0x19c00000 0x100>;
231 clocks = <&gcc GSBI12_H_CLK>;
232 clock-names = "iface";
233 #address-cells = <1>;
237 syscon-tcsr = <&tcsr>;
239 gsbi12_serial: serial@19c40000 {
240 compatible = "qcom,msm-uartdm-v1.3", "qcom,msm-uartdm";
241 reg = <0x19c40000 0x1000>,
243 interrupts = <0 195 IRQ_TYPE_LEVEL_HIGH>;
244 clocks = <&gcc GSBI12_UART_CLK>, <&gcc GSBI12_H_CLK>;
245 clock-names = "core", "iface";
249 gsbi12_i2c: i2c@19c80000 {
250 compatible = "qcom,i2c-qup-v1.1.1";
251 reg = <0x19c80000 0x1000>;
252 interrupts = <0 196 IRQ_TYPE_LEVEL_HIGH>;
253 clocks = <&gcc GSBI12_QUP_CLK>, <&gcc GSBI12_H_CLK>;
254 clock-names = "core", "iface";
255 #address-cells = <1>;
261 external-bus@1a100000 {
262 compatible = "qcom,msm8660-ebi2";
263 #address-cells = <2>;
265 ranges = <0 0x0 0x1a800000 0x00800000>,
266 <1 0x0 0x1b000000 0x00800000>,
267 <2 0x0 0x1b800000 0x00800000>,
268 <3 0x0 0x1d000000 0x08000000>,
269 <4 0x0 0x1c800000 0x00800000>,
270 <5 0x0 0x1c000000 0x00800000>;
271 reg = <0x1a100000 0x1000>, <0x1a110000 0x1000>;
272 reg-names = "ebi2", "xmem";
273 clocks = <&gcc EBI2_2X_CLK>, <&gcc EBI2_CLK>;
274 clock-names = "ebi2x", "ebi2";
279 compatible = "qcom,ssbi";
280 reg = <0x500000 0x1000>;
281 qcom,controller-type = "pmic-arbiter";
284 compatible = "qcom,pm8058";
285 interrupt-parent = <&tlmm>;
287 #interrupt-cells = <2>;
288 interrupt-controller;
289 #address-cells = <1>;
292 pm8058_gpio: gpio@150 {
293 compatible = "qcom,pm8058-gpio",
296 interrupt-controller;
297 #interrupt-cells = <2>;
299 gpio-ranges = <&pm8058_gpio 0 0 44>;
304 pm8058_mpps: mpps@50 {
305 compatible = "qcom,pm8058-mpp",
310 interrupt-parent = <&pm8058>;
327 compatible = "qcom,pm8058-pwrkey";
329 interrupt-parent = <&pm8058>;
330 interrupts = <50 1>, <51 1>;
336 compatible = "qcom,pm8058-keypad";
338 interrupt-parent = <&pm8058>;
339 interrupts = <74 1>, <75 1>;
346 compatible = "qcom,pm8058-adc";
348 interrupts-extended = <&pm8058 76 IRQ_TYPE_EDGE_RISING>;
349 #address-cells = <2>;
351 #io-channel-cells = <2>;
353 vcoin: adc-channel@0 {
356 vbat: adc-channel@1 {
359 dcin: adc-channel@2 {
362 ichg: adc-channel@3 {
365 vph_pwr: adc-channel@4 {
368 usb_vbus: adc-channel@a {
371 die_temp: adc-channel@b {
374 ref_625mv: adc-channel@c {
377 ref_1250mv: adc-channel@d {
380 ref_325mv: adc-channel@e {
383 ref_muxoff: adc-channel@f {
389 compatible = "qcom,pm8058-rtc";
391 interrupt-parent = <&pm8058>;
397 compatible = "qcom,pm8058-vib";
403 l2cc: clock-controller@2082000 {
404 compatible = "syscon";
405 reg = <0x02082000 0x1000>;
409 compatible = "qcom,rpm-msm8660";
410 reg = <0x00104000 0x1000>;
411 qcom,ipc = <&l2cc 0x8 2>;
413 interrupts = <GIC_SPI 19 IRQ_TYPE_EDGE_RISING>,
414 <GIC_SPI 21 IRQ_TYPE_EDGE_RISING>,
415 <GIC_SPI 22 IRQ_TYPE_EDGE_RISING>;
416 interrupt-names = "ack", "err", "wakeup";
417 clocks = <&gcc RPM_MSG_RAM_H_CLK>;
420 rpmcc: clock-controller {
421 compatible = "qcom,rpmcc-msm8660", "qcom,rpmcc";
426 compatible = "qcom,rpm-pm8901-regulators";
436 /* S0 and S1 Handled as SAW regulators by SPM */
441 pm8901_lvs0: lvs0 {};
442 pm8901_lvs1: lvs1 {};
443 pm8901_lvs2: lvs2 {};
444 pm8901_lvs3: lvs3 {};
450 compatible = "qcom,rpm-pm8058-regulators";
485 pm8058_lvs0: lvs0 {};
486 pm8058_lvs1: lvs1 {};
493 compatible = "simple-bus";
494 #address-cells = <1>;
497 sdcc1: sdcc@12400000 {
499 compatible = "arm,pl18x", "arm,primecell";
500 arm,primecell-periphid = <0x00051180>;
501 reg = <0x12400000 0x8000>;
502 interrupts = <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>;
503 interrupt-names = "cmd_irq";
504 clocks = <&gcc SDC1_CLK>, <&gcc SDC1_H_CLK>;
505 clock-names = "mclk", "apb_pclk";
507 max-frequency = <48000000>;
513 sdcc2: sdcc@12140000 {
515 compatible = "arm,pl18x", "arm,primecell";
516 arm,primecell-periphid = <0x00051180>;
517 reg = <0x12140000 0x8000>;
518 interrupts = <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>;
519 interrupt-names = "cmd_irq";
520 clocks = <&gcc SDC2_CLK>, <&gcc SDC2_H_CLK>;
521 clock-names = "mclk", "apb_pclk";
523 max-frequency = <48000000>;
528 sdcc3: sdcc@12180000 {
529 compatible = "arm,pl18x", "arm,primecell";
530 arm,primecell-periphid = <0x00051180>;
532 reg = <0x12180000 0x8000>;
533 interrupts = <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>;
534 interrupt-names = "cmd_irq";
535 clocks = <&gcc SDC3_CLK>, <&gcc SDC3_H_CLK>;
536 clock-names = "mclk", "apb_pclk";
540 max-frequency = <48000000>;
544 sdcc4: sdcc@121c0000 {
545 compatible = "arm,pl18x", "arm,primecell";
546 arm,primecell-periphid = <0x00051180>;
548 reg = <0x121c0000 0x8000>;
549 interrupts = <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>;
550 interrupt-names = "cmd_irq";
551 clocks = <&gcc SDC4_CLK>, <&gcc SDC4_H_CLK>;
552 clock-names = "mclk", "apb_pclk";
554 max-frequency = <48000000>;
559 sdcc5: sdcc@12200000 {
560 compatible = "arm,pl18x", "arm,primecell";
561 arm,primecell-periphid = <0x00051180>;
563 reg = <0x12200000 0x8000>;
564 interrupts = <GIC_SPI 188 IRQ_TYPE_LEVEL_HIGH>;
565 interrupt-names = "cmd_irq";
566 clocks = <&gcc SDC5_CLK>, <&gcc SDC5_H_CLK>;
567 clock-names = "mclk", "apb_pclk";
571 max-frequency = <48000000>;
575 tcsr: syscon@1a400000 {
576 compatible = "qcom,tcsr-msm8660", "syscon";
577 reg = <0x1a400000 0x100>;