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";
129 #power-domain-cells = <1>;
131 reg = <0x900000 0x4000>;
134 gsbi6: gsbi@16500000 {
135 compatible = "qcom,gsbi-v1.0.0";
137 reg = <0x16500000 0x100>;
138 clocks = <&gcc GSBI6_H_CLK>;
139 clock-names = "iface";
140 #address-cells = <1>;
145 syscon-tcsr = <&tcsr>;
147 gsbi6_serial: serial@16540000 {
148 compatible = "qcom,msm-uartdm-v1.3", "qcom,msm-uartdm";
149 reg = <0x16540000 0x1000>,
151 interrupts = <GIC_SPI 156 IRQ_TYPE_LEVEL_HIGH>;
152 clocks = <&gcc GSBI6_UART_CLK>, <&gcc GSBI6_H_CLK>;
153 clock-names = "core", "iface";
157 gsbi6_i2c: i2c@16580000 {
158 compatible = "qcom,i2c-qup-v1.1.1";
159 reg = <0x16580000 0x1000>;
160 interrupts = <GIC_SPI 157 IRQ_TYPE_LEVEL_HIGH>;
161 clocks = <&gcc GSBI6_QUP_CLK>, <&gcc GSBI6_H_CLK>;
162 clock-names = "core", "iface";
163 #address-cells = <1>;
169 gsbi7: gsbi@16600000 {
170 compatible = "qcom,gsbi-v1.0.0";
172 reg = <0x16600000 0x100>;
173 clocks = <&gcc GSBI7_H_CLK>;
174 clock-names = "iface";
175 #address-cells = <1>;
180 syscon-tcsr = <&tcsr>;
182 gsbi7_serial: serial@16640000 {
183 compatible = "qcom,msm-uartdm-v1.3", "qcom,msm-uartdm";
184 reg = <0x16640000 0x1000>,
186 interrupts = <GIC_SPI 158 IRQ_TYPE_LEVEL_HIGH>;
187 clocks = <&gcc GSBI7_UART_CLK>, <&gcc GSBI7_H_CLK>;
188 clock-names = "core", "iface";
192 gsbi7_i2c: i2c@16680000 {
193 compatible = "qcom,i2c-qup-v1.1.1";
194 reg = <0x16680000 0x1000>;
195 interrupts = <GIC_SPI 159 IRQ_TYPE_LEVEL_HIGH>;
196 clocks = <&gcc GSBI7_QUP_CLK>, <&gcc GSBI7_H_CLK>;
197 clock-names = "core", "iface";
198 #address-cells = <1>;
204 gsbi8: gsbi@19800000 {
205 compatible = "qcom,gsbi-v1.0.0";
207 reg = <0x19800000 0x100>;
208 clocks = <&gcc GSBI8_H_CLK>;
209 clock-names = "iface";
210 #address-cells = <1>;
214 syscon-tcsr = <&tcsr>;
217 gsbi8_i2c: i2c@19880000 {
218 compatible = "qcom,i2c-qup-v1.1.1";
219 reg = <0x19880000 0x1000>;
220 interrupts = <GIC_SPI 161 IRQ_TYPE_LEVEL_HIGH>;
221 clocks = <&gcc GSBI8_QUP_CLK>, <&gcc GSBI8_H_CLK>;
222 clock-names = "core", "iface";
223 #address-cells = <1>;
229 gsbi12: gsbi@19c00000 {
230 compatible = "qcom,gsbi-v1.0.0";
232 reg = <0x19c00000 0x100>;
233 clocks = <&gcc GSBI12_H_CLK>;
234 clock-names = "iface";
235 #address-cells = <1>;
239 syscon-tcsr = <&tcsr>;
241 gsbi12_serial: serial@19c40000 {
242 compatible = "qcom,msm-uartdm-v1.3", "qcom,msm-uartdm";
243 reg = <0x19c40000 0x1000>,
245 interrupts = <0 195 IRQ_TYPE_LEVEL_HIGH>;
246 clocks = <&gcc GSBI12_UART_CLK>, <&gcc GSBI12_H_CLK>;
247 clock-names = "core", "iface";
251 gsbi12_i2c: i2c@19c80000 {
252 compatible = "qcom,i2c-qup-v1.1.1";
253 reg = <0x19c80000 0x1000>;
254 interrupts = <0 196 IRQ_TYPE_LEVEL_HIGH>;
255 clocks = <&gcc GSBI12_QUP_CLK>, <&gcc GSBI12_H_CLK>;
256 clock-names = "core", "iface";
257 #address-cells = <1>;
263 external-bus@1a100000 {
264 compatible = "qcom,msm8660-ebi2";
265 #address-cells = <2>;
267 ranges = <0 0x0 0x1a800000 0x00800000>,
268 <1 0x0 0x1b000000 0x00800000>,
269 <2 0x0 0x1b800000 0x00800000>,
270 <3 0x0 0x1d000000 0x08000000>,
271 <4 0x0 0x1c800000 0x00800000>,
272 <5 0x0 0x1c000000 0x00800000>;
273 reg = <0x1a100000 0x1000>, <0x1a110000 0x1000>;
274 reg-names = "ebi2", "xmem";
275 clocks = <&gcc EBI2_2X_CLK>, <&gcc EBI2_CLK>;
276 clock-names = "ebi2x", "ebi2";
281 compatible = "qcom,ssbi";
282 reg = <0x500000 0x1000>;
283 qcom,controller-type = "pmic-arbiter";
286 compatible = "qcom,pm8058";
287 interrupt-parent = <&tlmm>;
289 #interrupt-cells = <2>;
290 interrupt-controller;
291 #address-cells = <1>;
294 pm8058_gpio: gpio@150 {
295 compatible = "qcom,pm8058-gpio",
298 interrupt-controller;
299 #interrupt-cells = <2>;
301 gpio-ranges = <&pm8058_gpio 0 0 44>;
306 pm8058_mpps: mpps@50 {
307 compatible = "qcom,pm8058-mpp",
312 gpio-ranges = <&pm8058_mpps 0 0 12>;
313 interrupt-controller;
314 #interrupt-cells = <2>;
318 compatible = "qcom,pm8058-pwrkey";
320 interrupt-parent = <&pm8058>;
321 interrupts = <50 1>, <51 1>;
327 compatible = "qcom,pm8058-keypad";
329 interrupt-parent = <&pm8058>;
330 interrupts = <74 1>, <75 1>;
337 compatible = "qcom,pm8058-adc";
339 interrupts-extended = <&pm8058 76 IRQ_TYPE_EDGE_RISING>;
340 #address-cells = <2>;
342 #io-channel-cells = <2>;
344 vcoin: adc-channel@0 {
347 vbat: adc-channel@1 {
350 dcin: adc-channel@2 {
353 ichg: adc-channel@3 {
356 vph_pwr: adc-channel@4 {
359 usb_vbus: adc-channel@a {
362 die_temp: adc-channel@b {
365 ref_625mv: adc-channel@c {
368 ref_1250mv: adc-channel@d {
371 ref_325mv: adc-channel@e {
374 ref_muxoff: adc-channel@f {
380 compatible = "qcom,pm8058-rtc";
382 interrupt-parent = <&pm8058>;
388 compatible = "qcom,pm8058-vib";
394 l2cc: clock-controller@2082000 {
395 compatible = "qcom,kpss-gcc", "syscon";
396 reg = <0x02082000 0x1000>;
400 compatible = "qcom,rpm-msm8660";
401 reg = <0x00104000 0x1000>;
402 qcom,ipc = <&l2cc 0x8 2>;
404 interrupts = <GIC_SPI 19 IRQ_TYPE_EDGE_RISING>,
405 <GIC_SPI 21 IRQ_TYPE_EDGE_RISING>,
406 <GIC_SPI 22 IRQ_TYPE_EDGE_RISING>;
407 interrupt-names = "ack", "err", "wakeup";
408 clocks = <&gcc RPM_MSG_RAM_H_CLK>;
411 rpmcc: clock-controller {
412 compatible = "qcom,rpmcc-msm8660", "qcom,rpmcc";
417 compatible = "qcom,rpm-pm8901-regulators";
427 /* S0 and S1 Handled as SAW regulators by SPM */
432 pm8901_lvs0: lvs0 {};
433 pm8901_lvs1: lvs1 {};
434 pm8901_lvs2: lvs2 {};
435 pm8901_lvs3: lvs3 {};
441 compatible = "qcom,rpm-pm8058-regulators";
476 pm8058_lvs0: lvs0 {};
477 pm8058_lvs1: lvs1 {};
484 compatible = "simple-bus";
485 #address-cells = <1>;
488 sdcc1: mmc@12400000 {
490 compatible = "arm,pl18x", "arm,primecell";
491 arm,primecell-periphid = <0x00051180>;
492 reg = <0x12400000 0x8000>;
493 interrupts = <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>;
494 interrupt-names = "cmd_irq";
495 clocks = <&gcc SDC1_CLK>, <&gcc SDC1_H_CLK>;
496 clock-names = "mclk", "apb_pclk";
498 max-frequency = <48000000>;
504 sdcc2: mmc@12140000 {
506 compatible = "arm,pl18x", "arm,primecell";
507 arm,primecell-periphid = <0x00051180>;
508 reg = <0x12140000 0x8000>;
509 interrupts = <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>;
510 interrupt-names = "cmd_irq";
511 clocks = <&gcc SDC2_CLK>, <&gcc SDC2_H_CLK>;
512 clock-names = "mclk", "apb_pclk";
514 max-frequency = <48000000>;
519 sdcc3: mmc@12180000 {
520 compatible = "arm,pl18x", "arm,primecell";
521 arm,primecell-periphid = <0x00051180>;
523 reg = <0x12180000 0x8000>;
524 interrupts = <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>;
525 interrupt-names = "cmd_irq";
526 clocks = <&gcc SDC3_CLK>, <&gcc SDC3_H_CLK>;
527 clock-names = "mclk", "apb_pclk";
531 max-frequency = <48000000>;
535 sdcc4: mmc@121c0000 {
536 compatible = "arm,pl18x", "arm,primecell";
537 arm,primecell-periphid = <0x00051180>;
539 reg = <0x121c0000 0x8000>;
540 interrupts = <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>;
541 interrupt-names = "cmd_irq";
542 clocks = <&gcc SDC4_CLK>, <&gcc SDC4_H_CLK>;
543 clock-names = "mclk", "apb_pclk";
545 max-frequency = <48000000>;
550 sdcc5: mmc@12200000 {
551 compatible = "arm,pl18x", "arm,primecell";
552 arm,primecell-periphid = <0x00051180>;
554 reg = <0x12200000 0x8000>;
555 interrupts = <GIC_SPI 188 IRQ_TYPE_LEVEL_HIGH>;
556 interrupt-names = "cmd_irq";
557 clocks = <&gcc SDC5_CLK>, <&gcc SDC5_H_CLK>;
558 clock-names = "mclk", "apb_pclk";
562 max-frequency = <48000000>;
566 tcsr: syscon@1a400000 {
567 compatible = "qcom,tcsr-msm8660", "syscon";
568 reg = <0x1a400000 0x100>;