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>;
128 gsbi8: gsbi@19800000 {
129 compatible = "qcom,gsbi-v1.0.0";
131 reg = <0x19800000 0x100>;
132 clocks = <&gcc GSBI8_H_CLK>;
133 clock-names = "iface";
134 #address-cells = <1>;
138 syscon-tcsr = <&tcsr>;
140 gsbi8_i2c: i2c@19880000 {
141 compatible = "qcom,i2c-qup-v1.1.1";
142 reg = <0x19880000 0x1000>;
143 interrupts = <GIC_SPI 161 IRQ_TYPE_NONE>;
144 clocks = <&gcc GSBI8_QUP_CLK>, <&gcc GSBI8_H_CLK>;
145 clock-names = "core", "iface";
146 #address-cells = <1>;
152 gsbi12: gsbi@19c00000 {
153 compatible = "qcom,gsbi-v1.0.0";
155 reg = <0x19c00000 0x100>;
156 clocks = <&gcc GSBI12_H_CLK>;
157 clock-names = "iface";
158 #address-cells = <1>;
162 syscon-tcsr = <&tcsr>;
164 gsbi12_serial: serial@19c40000 {
165 compatible = "qcom,msm-uartdm-v1.3", "qcom,msm-uartdm";
166 reg = <0x19c40000 0x1000>,
168 interrupts = <0 195 IRQ_TYPE_NONE>;
169 clocks = <&gcc GSBI12_UART_CLK>, <&gcc GSBI12_H_CLK>;
170 clock-names = "core", "iface";
174 gsbi12_i2c: i2c@19c80000 {
175 compatible = "qcom,i2c-qup-v1.1.1";
176 reg = <0x19c80000 0x1000>;
177 interrupts = <0 196 IRQ_TYPE_NONE>;
178 clocks = <&gcc GSBI12_QUP_CLK>, <&gcc GSBI12_H_CLK>;
179 clock-names = "core", "iface";
180 #address-cells = <1>;
186 external-bus@1a100000 {
187 compatible = "qcom,msm8660-ebi2";
188 #address-cells = <2>;
190 ranges = <0 0x0 0x1a800000 0x00800000>,
191 <1 0x0 0x1b000000 0x00800000>,
192 <2 0x0 0x1b800000 0x00800000>,
193 <3 0x0 0x1d000000 0x08000000>,
194 <4 0x0 0x1c800000 0x00800000>,
195 <5 0x0 0x1c000000 0x00800000>;
196 reg = <0x1a100000 0x1000>, <0x1a110000 0x1000>;
197 reg-names = "ebi2", "xmem";
198 clocks = <&gcc EBI2_2X_CLK>, <&gcc EBI2_CLK>;
199 clock-names = "ebi2x", "ebi2";
204 compatible = "qcom,ssbi";
205 reg = <0x500000 0x1000>;
206 qcom,controller-type = "pmic-arbiter";
209 compatible = "qcom,pm8058";
210 interrupt-parent = <&tlmm>;
212 #interrupt-cells = <2>;
213 interrupt-controller;
214 #address-cells = <1>;
217 pm8058_gpio: gpio@150 {
218 compatible = "qcom,pm8058-gpio",
221 interrupt-parent = <&pm8058>;
222 interrupts = <192 IRQ_TYPE_NONE>,
271 pm8058_mpps: mpps@50 {
272 compatible = "qcom,pm8058-mpp",
277 interrupt-parent = <&pm8058>;
294 compatible = "qcom,pm8058-pwrkey";
296 interrupt-parent = <&pm8058>;
297 interrupts = <50 1>, <51 1>;
303 compatible = "qcom,pm8058-keypad";
305 interrupt-parent = <&pm8058>;
306 interrupts = <74 1>, <75 1>;
313 compatible = "qcom,pm8058-adc";
315 interrupts-extended = <&pm8058 76 IRQ_TYPE_EDGE_RISING>;
316 #address-cells = <2>;
318 #io-channel-cells = <2>;
320 vcoin: adc-channel@00 {
323 vbat: adc-channel@01 {
326 dcin: adc-channel@02 {
329 ichg: adc-channel@03 {
332 vph_pwr: adc-channel@04 {
335 usb_vbus: adc-channel@0a {
338 die_temp: adc-channel@0b {
341 ref_625mv: adc-channel@0c {
344 ref_1250mv: adc-channel@0d {
347 ref_325mv: adc-channel@0e {
350 ref_muxoff: adc-channel@0f {
356 compatible = "qcom,pm8058-rtc";
358 interrupt-parent = <&pm8058>;
364 compatible = "qcom,pm8058-vib";
370 l2cc: clock-controller@2082000 {
371 compatible = "syscon";
372 reg = <0x02082000 0x1000>;
376 compatible = "qcom,rpm-msm8660";
377 reg = <0x00104000 0x1000>;
378 qcom,ipc = <&l2cc 0x8 2>;
380 interrupts = <GIC_SPI 19 IRQ_TYPE_EDGE_RISING>,
381 <GIC_SPI 21 IRQ_TYPE_EDGE_RISING>,
382 <GIC_SPI 22 IRQ_TYPE_EDGE_RISING>;
383 interrupt-names = "ack", "err", "wakeup";
384 clocks = <&gcc RPM_MSG_RAM_H_CLK>;
387 rpmcc: clock-controller {
388 compatible = "qcom,rpmcc-apq8660", "qcom,rpmcc";
393 compatible = "qcom,rpm-pm8901-regulators";
403 /* S0 and S1 Handled as SAW regulators by SPM */
408 pm8901_lvs0: lvs0 {};
409 pm8901_lvs1: lvs1 {};
410 pm8901_lvs2: lvs2 {};
411 pm8901_lvs3: lvs3 {};
417 compatible = "qcom,rpm-pm8058-regulators";
452 pm8058_lvs0: lvs0 {};
453 pm8058_lvs1: lvs1 {};
460 compatible = "simple-bus";
461 #address-cells = <1>;
464 sdcc1: sdcc@12400000 {
466 compatible = "arm,pl18x", "arm,primecell";
467 arm,primecell-periphid = <0x00051180>;
468 reg = <0x12400000 0x8000>;
469 interrupts = <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>;
470 interrupt-names = "cmd_irq";
471 clocks = <&gcc SDC1_CLK>, <&gcc SDC1_H_CLK>;
472 clock-names = "mclk", "apb_pclk";
474 max-frequency = <48000000>;
480 sdcc2: sdcc@12140000 {
482 compatible = "arm,pl18x", "arm,primecell";
483 arm,primecell-periphid = <0x00051180>;
484 reg = <0x12140000 0x8000>;
485 interrupts = <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>;
486 interrupt-names = "cmd_irq";
487 clocks = <&gcc SDC2_CLK>, <&gcc SDC2_H_CLK>;
488 clock-names = "mclk", "apb_pclk";
490 max-frequency = <48000000>;
495 sdcc3: sdcc@12180000 {
496 compatible = "arm,pl18x", "arm,primecell";
497 arm,primecell-periphid = <0x00051180>;
499 reg = <0x12180000 0x8000>;
500 interrupts = <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>;
501 interrupt-names = "cmd_irq";
502 clocks = <&gcc SDC3_CLK>, <&gcc SDC3_H_CLK>;
503 clock-names = "mclk", "apb_pclk";
507 max-frequency = <48000000>;
511 sdcc4: sdcc@121c0000 {
512 compatible = "arm,pl18x", "arm,primecell";
513 arm,primecell-periphid = <0x00051180>;
515 reg = <0x121c0000 0x8000>;
516 interrupts = <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>;
517 interrupt-names = "cmd_irq";
518 clocks = <&gcc SDC4_CLK>, <&gcc SDC4_H_CLK>;
519 clock-names = "mclk", "apb_pclk";
521 max-frequency = <48000000>;
526 sdcc5: sdcc@12200000 {
527 compatible = "arm,pl18x", "arm,primecell";
528 arm,primecell-periphid = <0x00051180>;
530 reg = <0x12200000 0x8000>;
531 interrupts = <GIC_SPI 188 IRQ_TYPE_LEVEL_HIGH>;
532 interrupt-names = "cmd_irq";
533 clocks = <&gcc SDC5_CLK>, <&gcc SDC5_H_CLK>;
534 clock-names = "mclk", "apb_pclk";
538 max-frequency = <48000000>;
542 tcsr: syscon@1a400000 {
543 compatible = "qcom,tcsr-msm8660", "syscon";
544 reg = <0x1a400000 0x100>;