1 // SPDX-License-Identifier: GPL-2.0
4 /include/ "skeleton.dtsi"
6 #include <dt-bindings/interrupt-controller/irq.h>
7 #include <dt-bindings/interrupt-controller/arm-gic.h>
8 #include <dt-bindings/clock/qcom,gcc-msm8660.h>
9 #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 compatible = "qcom,scorpion-mp-pmu";
44 interrupts = <1 9 0x304>;
49 compatible = "fixed-clock";
51 clock-frequency = <19200000>;
55 compatible = "fixed-clock";
57 clock-frequency = <27000000>;
61 compatible = "fixed-clock";
63 clock-frequency = <32768>;
68 * These channels from the ADC are simply hardware monitors.
69 * That is why the ADC is referred to as "HKADC" - HouseKeeping
73 compatible = "iio-hwmon";
74 io-channels = <&xoadc 0x00 0x01>, /* Battery */
75 <&xoadc 0x00 0x02>, /* DC in (charger) */
76 <&xoadc 0x00 0x04>, /* VPH the main system voltage */
77 <&xoadc 0x00 0x0b>, /* Die temperature */
78 <&xoadc 0x00 0x0c>, /* Reference voltage 1.25V */
79 <&xoadc 0x00 0x0d>, /* Reference voltage 0.625V */
80 <&xoadc 0x00 0x0e>; /* Reference voltage 0.325V */
87 compatible = "simple-bus";
89 intc: interrupt-controller@2080000 {
90 compatible = "qcom,msm-8660-qgic";
92 #interrupt-cells = <3>;
93 reg = < 0x02080000 0x1000 >,
94 < 0x02081000 0x1000 >;
98 compatible = "qcom,scss-timer", "qcom,msm-timer";
99 interrupts = <1 0 0x301>,
102 reg = <0x02000000 0x100>;
103 clock-frequency = <27000000>,
105 cpu-offset = <0x40000>;
108 tlmm: pinctrl@800000 {
109 compatible = "qcom,msm8660-pinctrl";
110 reg = <0x800000 0x4000>;
114 interrupts = <0 16 0x4>;
115 interrupt-controller;
116 #interrupt-cells = <2>;
120 gcc: clock-controller@900000 {
121 compatible = "qcom,gcc-msm8660";
124 reg = <0x900000 0x4000>;
127 gsbi6: gsbi@16500000 {
128 compatible = "qcom,gsbi-v1.0.0";
130 reg = <0x16500000 0x100>;
131 clocks = <&gcc GSBI6_H_CLK>;
132 clock-names = "iface";
133 #address-cells = <1>;
137 syscon-tcsr = <&tcsr>;
139 gsbi6_serial: serial@16540000 {
140 compatible = "qcom,msm-uartdm-v1.3", "qcom,msm-uartdm";
141 reg = <0x16540000 0x1000>,
143 interrupts = <GIC_SPI 156 IRQ_TYPE_NONE>;
144 clocks = <&gcc GSBI6_UART_CLK>, <&gcc GSBI6_H_CLK>;
145 clock-names = "core", "iface";
149 gsbi6_i2c: i2c@16580000 {
150 compatible = "qcom,i2c-qup-v1.1.1";
151 reg = <0x16580000 0x1000>;
152 interrupts = <GIC_SPI 157 IRQ_TYPE_NONE>;
153 clocks = <&gcc GSBI6_QUP_CLK>, <&gcc GSBI6_H_CLK>;
154 clock-names = "core", "iface";
155 #address-cells = <1>;
161 gsbi7: gsbi@16600000 {
162 compatible = "qcom,gsbi-v1.0.0";
164 reg = <0x16600000 0x100>;
165 clocks = <&gcc GSBI7_H_CLK>;
166 clock-names = "iface";
167 #address-cells = <1>;
171 syscon-tcsr = <&tcsr>;
173 gsbi7_serial: serial@16640000 {
174 compatible = "qcom,msm-uartdm-v1.3", "qcom,msm-uartdm";
175 reg = <0x16640000 0x1000>,
177 interrupts = <GIC_SPI 158 IRQ_TYPE_NONE>;
178 clocks = <&gcc GSBI7_UART_CLK>, <&gcc GSBI7_H_CLK>;
179 clock-names = "core", "iface";
183 gsbi7_i2c: i2c@16680000 {
184 compatible = "qcom,i2c-qup-v1.1.1";
185 reg = <0x16680000 0x1000>;
186 interrupts = <GIC_SPI 159 IRQ_TYPE_NONE>;
187 clocks = <&gcc GSBI7_QUP_CLK>, <&gcc GSBI7_H_CLK>;
188 clock-names = "core", "iface";
189 #address-cells = <1>;
195 gsbi8: gsbi@19800000 {
196 compatible = "qcom,gsbi-v1.0.0";
198 reg = <0x19800000 0x100>;
199 clocks = <&gcc GSBI8_H_CLK>;
200 clock-names = "iface";
201 #address-cells = <1>;
205 syscon-tcsr = <&tcsr>;
207 gsbi8_i2c: i2c@19880000 {
208 compatible = "qcom,i2c-qup-v1.1.1";
209 reg = <0x19880000 0x1000>;
210 interrupts = <GIC_SPI 161 IRQ_TYPE_NONE>;
211 clocks = <&gcc GSBI8_QUP_CLK>, <&gcc GSBI8_H_CLK>;
212 clock-names = "core", "iface";
213 #address-cells = <1>;
219 gsbi12: gsbi@19c00000 {
220 compatible = "qcom,gsbi-v1.0.0";
222 reg = <0x19c00000 0x100>;
223 clocks = <&gcc GSBI12_H_CLK>;
224 clock-names = "iface";
225 #address-cells = <1>;
229 syscon-tcsr = <&tcsr>;
231 gsbi12_serial: serial@19c40000 {
232 compatible = "qcom,msm-uartdm-v1.3", "qcom,msm-uartdm";
233 reg = <0x19c40000 0x1000>,
235 interrupts = <0 195 IRQ_TYPE_NONE>;
236 clocks = <&gcc GSBI12_UART_CLK>, <&gcc GSBI12_H_CLK>;
237 clock-names = "core", "iface";
241 gsbi12_i2c: i2c@19c80000 {
242 compatible = "qcom,i2c-qup-v1.1.1";
243 reg = <0x19c80000 0x1000>;
244 interrupts = <0 196 IRQ_TYPE_NONE>;
245 clocks = <&gcc GSBI12_QUP_CLK>, <&gcc GSBI12_H_CLK>;
246 clock-names = "core", "iface";
247 #address-cells = <1>;
253 external-bus@1a100000 {
254 compatible = "qcom,msm8660-ebi2";
255 #address-cells = <2>;
257 ranges = <0 0x0 0x1a800000 0x00800000>,
258 <1 0x0 0x1b000000 0x00800000>,
259 <2 0x0 0x1b800000 0x00800000>,
260 <3 0x0 0x1d000000 0x08000000>,
261 <4 0x0 0x1c800000 0x00800000>,
262 <5 0x0 0x1c000000 0x00800000>;
263 reg = <0x1a100000 0x1000>, <0x1a110000 0x1000>;
264 reg-names = "ebi2", "xmem";
265 clocks = <&gcc EBI2_2X_CLK>, <&gcc EBI2_CLK>;
266 clock-names = "ebi2x", "ebi2";
271 compatible = "qcom,ssbi";
272 reg = <0x500000 0x1000>;
273 qcom,controller-type = "pmic-arbiter";
276 compatible = "qcom,pm8058";
277 interrupt-parent = <&tlmm>;
279 #interrupt-cells = <2>;
280 interrupt-controller;
281 #address-cells = <1>;
284 pm8058_gpio: gpio@150 {
285 compatible = "qcom,pm8058-gpio",
288 interrupt-parent = <&pm8058>;
289 interrupts = <192 IRQ_TYPE_NONE>,
338 pm8058_mpps: mpps@50 {
339 compatible = "qcom,pm8058-mpp",
344 interrupt-parent = <&pm8058>;
361 compatible = "qcom,pm8058-pwrkey";
363 interrupt-parent = <&pm8058>;
364 interrupts = <50 1>, <51 1>;
370 compatible = "qcom,pm8058-keypad";
372 interrupt-parent = <&pm8058>;
373 interrupts = <74 1>, <75 1>;
380 compatible = "qcom,pm8058-adc";
382 interrupts-extended = <&pm8058 76 IRQ_TYPE_EDGE_RISING>;
383 #address-cells = <2>;
385 #io-channel-cells = <2>;
387 vcoin: adc-channel@0 {
390 vbat: adc-channel@1 {
393 dcin: adc-channel@2 {
396 ichg: adc-channel@3 {
399 vph_pwr: adc-channel@4 {
402 usb_vbus: adc-channel@a {
405 die_temp: adc-channel@b {
408 ref_625mv: adc-channel@c {
411 ref_1250mv: adc-channel@d {
414 ref_325mv: adc-channel@e {
417 ref_muxoff: adc-channel@f {
423 compatible = "qcom,pm8058-rtc";
425 interrupt-parent = <&pm8058>;
431 compatible = "qcom,pm8058-vib";
437 l2cc: clock-controller@2082000 {
438 compatible = "syscon";
439 reg = <0x02082000 0x1000>;
443 compatible = "qcom,rpm-msm8660";
444 reg = <0x00104000 0x1000>;
445 qcom,ipc = <&l2cc 0x8 2>;
447 interrupts = <GIC_SPI 19 IRQ_TYPE_EDGE_RISING>,
448 <GIC_SPI 21 IRQ_TYPE_EDGE_RISING>,
449 <GIC_SPI 22 IRQ_TYPE_EDGE_RISING>;
450 interrupt-names = "ack", "err", "wakeup";
451 clocks = <&gcc RPM_MSG_RAM_H_CLK>;
454 rpmcc: clock-controller {
455 compatible = "qcom,rpmcc-apq8660", "qcom,rpmcc";
460 compatible = "qcom,rpm-pm8901-regulators";
470 /* S0 and S1 Handled as SAW regulators by SPM */
475 pm8901_lvs0: lvs0 {};
476 pm8901_lvs1: lvs1 {};
477 pm8901_lvs2: lvs2 {};
478 pm8901_lvs3: lvs3 {};
484 compatible = "qcom,rpm-pm8058-regulators";
519 pm8058_lvs0: lvs0 {};
520 pm8058_lvs1: lvs1 {};
527 compatible = "simple-bus";
528 #address-cells = <1>;
531 sdcc1: sdcc@12400000 {
533 compatible = "arm,pl18x", "arm,primecell";
534 arm,primecell-periphid = <0x00051180>;
535 reg = <0x12400000 0x8000>;
536 interrupts = <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>;
537 interrupt-names = "cmd_irq";
538 clocks = <&gcc SDC1_CLK>, <&gcc SDC1_H_CLK>;
539 clock-names = "mclk", "apb_pclk";
541 max-frequency = <48000000>;
547 sdcc2: sdcc@12140000 {
549 compatible = "arm,pl18x", "arm,primecell";
550 arm,primecell-periphid = <0x00051180>;
551 reg = <0x12140000 0x8000>;
552 interrupts = <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>;
553 interrupt-names = "cmd_irq";
554 clocks = <&gcc SDC2_CLK>, <&gcc SDC2_H_CLK>;
555 clock-names = "mclk", "apb_pclk";
557 max-frequency = <48000000>;
562 sdcc3: sdcc@12180000 {
563 compatible = "arm,pl18x", "arm,primecell";
564 arm,primecell-periphid = <0x00051180>;
566 reg = <0x12180000 0x8000>;
567 interrupts = <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>;
568 interrupt-names = "cmd_irq";
569 clocks = <&gcc SDC3_CLK>, <&gcc SDC3_H_CLK>;
570 clock-names = "mclk", "apb_pclk";
574 max-frequency = <48000000>;
578 sdcc4: sdcc@121c0000 {
579 compatible = "arm,pl18x", "arm,primecell";
580 arm,primecell-periphid = <0x00051180>;
582 reg = <0x121c0000 0x8000>;
583 interrupts = <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>;
584 interrupt-names = "cmd_irq";
585 clocks = <&gcc SDC4_CLK>, <&gcc SDC4_H_CLK>;
586 clock-names = "mclk", "apb_pclk";
588 max-frequency = <48000000>;
593 sdcc5: sdcc@12200000 {
594 compatible = "arm,pl18x", "arm,primecell";
595 arm,primecell-periphid = <0x00051180>;
597 reg = <0x12200000 0x8000>;
598 interrupts = <GIC_SPI 188 IRQ_TYPE_LEVEL_HIGH>;
599 interrupt-names = "cmd_irq";
600 clocks = <&gcc SDC5_CLK>, <&gcc SDC5_H_CLK>;
601 clock-names = "mclk", "apb_pclk";
605 max-frequency = <48000000>;
609 tcsr: syscon@1a400000 {
610 compatible = "qcom,tcsr-msm8660", "syscon";
611 reg = <0x1a400000 0x100>;