1 // SPDX-License-Identifier: GPL-2.0
4 #include <dt-bindings/interrupt-controller/arm-gic.h>
5 #include <dt-bindings/clock/qcom,gcc-msm8960.h>
6 #include <dt-bindings/reset/qcom,gcc-msm8960.h>
7 #include <dt-bindings/clock/qcom,lcc-msm8960.h>
8 #include <dt-bindings/mfd/qcom-rpm.h>
9 #include <dt-bindings/soc/qcom,gsbi.h>
14 model = "Qualcomm MSM8960";
15 compatible = "qcom,msm8960";
16 interrupt-parent = <&intc>;
21 interrupts = <GIC_PPI 14 0x304>;
24 compatible = "qcom,krait";
25 enable-method = "qcom,kpss-acc-v1";
28 next-level-cache = <&L2>;
34 compatible = "qcom,krait";
35 enable-method = "qcom,kpss-acc-v1";
38 next-level-cache = <&L2>;
51 device_type = "memory";
56 compatible = "qcom,krait-pmu";
57 interrupts = <GIC_PPI 10 0x304>;
62 cxo_board: cxo_board {
63 compatible = "fixed-clock";
65 clock-frequency = <19200000>;
66 clock-output-names = "cxo_board";
69 pxo_board: pxo_board {
70 compatible = "fixed-clock";
72 clock-frequency = <27000000>;
73 clock-output-names = "pxo_board";
76 sleep_clk: sleep_clk {
77 compatible = "fixed-clock";
79 clock-frequency = <32768>;
80 clock-output-names = "sleep_clk";
84 /* Temporary fixed regulator */
85 vsdcc_fixed: vsdcc-regulator {
86 compatible = "regulator-fixed";
87 regulator-name = "SDCC Power";
88 regulator-min-microvolt = <2700000>;
89 regulator-max-microvolt = <2700000>;
97 compatible = "simple-bus";
99 intc: interrupt-controller@2000000 {
100 compatible = "qcom,msm-qgic2";
101 interrupt-controller;
102 #interrupt-cells = <3>;
103 reg = <0x02000000 0x1000>,
108 compatible = "qcom,kpss-wdt-msm8960", "qcom,kpss-timer",
110 interrupts = <GIC_PPI 1 0x301>,
113 reg = <0x0200a000 0x100>;
114 clock-frequency = <27000000>;
115 cpu-offset = <0x80000>;
118 msmgpio: pinctrl@800000 {
119 compatible = "qcom,msm8960-pinctrl";
121 gpio-ranges = <&msmgpio 0 0 152>;
123 interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>;
124 interrupt-controller;
125 #interrupt-cells = <2>;
126 reg = <0x800000 0x4000>;
129 gcc: clock-controller@900000 {
130 compatible = "qcom,gcc-msm8960";
132 #power-domain-cells = <1>;
134 reg = <0x900000 0x4000>;
135 clocks = <&cxo_board>,
138 clock-names = "cxo", "pxo", "pll4";
141 lcc: clock-controller@28000000 {
142 compatible = "qcom,lcc-msm8960";
143 reg = <0x28000000 0x1000>;
146 clocks = <&pxo_board>,
155 "codec_i2s_mic_codec_clk",
156 "spare_i2s_mic_codec_clk",
157 "codec_i2s_spkr_codec_clk",
158 "spare_i2s_spkr_codec_clk",
162 clock-controller@4000000 {
163 compatible = "qcom,mmcc-msm8960";
164 reg = <0x4000000 0x1000>;
166 #power-domain-cells = <1>;
168 clocks = <&pxo_board>,
186 l2cc: clock-controller@2011000 {
187 compatible = "qcom,kpss-gcc-msm8960", "qcom,kpss-gcc", "syscon";
188 reg = <0x2011000 0x1000>;
189 clocks = <&gcc PLL8_VOTE>, <&pxo_board>;
190 clock-names = "pll8_vote", "pxo";
195 compatible = "qcom,rpm-msm8960";
196 reg = <0x108000 0x1000>;
197 qcom,ipc = <&l2cc 0x8 2>;
199 interrupts = <GIC_SPI 19 IRQ_TYPE_EDGE_RISING>,
200 <GIC_SPI 21 IRQ_TYPE_EDGE_RISING>,
201 <GIC_SPI 22 IRQ_TYPE_EDGE_RISING>;
202 interrupt-names = "ack", "err", "wakeup";
205 compatible = "qcom,rpm-pm8921-regulators";
209 acc0: clock-controller@2088000 {
210 compatible = "qcom,kpss-acc-v1";
211 reg = <0x02088000 0x1000>, <0x02008000 0x1000>;
212 clocks = <&gcc PLL8_VOTE>, <&pxo_board>;
213 clock-names = "pll8_vote", "pxo";
214 clock-output-names = "acpu0_aux";
218 acc1: clock-controller@2098000 {
219 compatible = "qcom,kpss-acc-v1";
220 reg = <0x02098000 0x1000>, <0x02008000 0x1000>;
221 clocks = <&gcc PLL8_VOTE>, <&pxo_board>;
222 clock-names = "pll8_vote", "pxo";
223 clock-output-names = "acpu1_aux";
227 saw0: regulator@2089000 {
228 compatible = "qcom,saw2";
229 reg = <0x02089000 0x1000>, <0x02009000 0x1000>;
233 saw1: regulator@2099000 {
234 compatible = "qcom,saw2";
235 reg = <0x02099000 0x1000>, <0x02009000 0x1000>;
239 gsbi5: gsbi@16400000 {
240 compatible = "qcom,gsbi-v1.0.0";
242 reg = <0x16400000 0x100>;
243 clocks = <&gcc GSBI5_H_CLK>;
244 clock-names = "iface";
245 #address-cells = <1>;
249 syscon-tcsr = <&tcsr>;
251 gsbi5_serial: serial@16440000 {
252 compatible = "qcom,msm-uartdm-v1.3", "qcom,msm-uartdm";
253 reg = <0x16440000 0x1000>,
255 interrupts = <GIC_SPI 154 IRQ_TYPE_LEVEL_HIGH>;
256 clocks = <&gcc GSBI5_UART_CLK>, <&gcc GSBI5_H_CLK>;
257 clock-names = "core", "iface";
263 compatible = "qcom,ssbi";
264 reg = <0x500000 0x1000>;
265 qcom,controller-type = "pmic-arbiter";
268 compatible = "qcom,pm8921";
269 interrupt-parent = <&msmgpio>;
270 interrupts = <104 IRQ_TYPE_LEVEL_LOW>;
271 #interrupt-cells = <2>;
272 interrupt-controller;
273 #address-cells = <1>;
277 compatible = "qcom,pm8921-pwrkey";
279 interrupt-parent = <&pmicintc>;
280 interrupts = <50 IRQ_TYPE_EDGE_RISING>,
281 <51 IRQ_TYPE_EDGE_RISING>;
287 compatible = "qcom,pm8921-keypad";
289 interrupt-parent = <&pmicintc>;
290 interrupts = <74 IRQ_TYPE_EDGE_RISING>,
291 <75 IRQ_TYPE_EDGE_RISING>;
298 compatible = "qcom,pm8921-rtc";
299 interrupt-parent = <&pmicintc>;
300 interrupts = <39 IRQ_TYPE_EDGE_RISING>;
308 compatible = "qcom,prng";
309 reg = <0x1a500000 0x200>;
310 clocks = <&gcc PRNG_CLK>;
311 clock-names = "core";
314 sdcc3: mmc@12180000 {
315 compatible = "arm,pl18x", "arm,primecell";
316 arm,primecell-periphid = <0x00051180>;
318 reg = <0x12180000 0x8000>;
319 interrupts = <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>;
320 clocks = <&gcc SDC3_CLK>, <&gcc SDC3_H_CLK>;
321 clock-names = "mclk", "apb_pclk";
325 max-frequency = <192000000>;
327 vmmc-supply = <&vsdcc_fixed>;
330 sdcc1: mmc@12400000 {
332 compatible = "arm,pl18x", "arm,primecell";
333 arm,primecell-periphid = <0x00051180>;
334 reg = <0x12400000 0x8000>;
335 interrupts = <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>;
336 clocks = <&gcc SDC1_CLK>, <&gcc SDC1_H_CLK>;
337 clock-names = "mclk", "apb_pclk";
339 max-frequency = <96000000>;
343 vmmc-supply = <&vsdcc_fixed>;
346 tcsr: syscon@1a400000 {
347 compatible = "qcom,tcsr-msm8960", "syscon";
348 reg = <0x1a400000 0x100>;
351 gsbi1: gsbi@16000000 {
352 compatible = "qcom,gsbi-v1.0.0";
354 reg = <0x16000000 0x100>;
355 clocks = <&gcc GSBI1_H_CLK>;
356 clock-names = "iface";
357 #address-cells = <1>;
361 gsbi1_spi: spi@16080000 {
362 compatible = "qcom,spi-qup-v1.1.1";
363 #address-cells = <1>;
365 reg = <0x16080000 0x1000>;
366 interrupts = <GIC_SPI 147 IRQ_TYPE_LEVEL_HIGH>;
367 spi-max-frequency = <24000000>;
368 cs-gpios = <&msmgpio 8 0>;
370 clocks = <&gcc GSBI1_QUP_CLK>, <&gcc GSBI1_H_CLK>;
371 clock-names = "core", "iface";
377 compatible = "qcom,ci-hdrc";
378 reg = <0x12500000 0x200>,
380 interrupts = <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>;
381 clocks = <&gcc USB_HS1_XCVR_CLK>, <&gcc USB_HS1_H_CLK>;
382 clock-names = "core", "iface";
383 assigned-clocks = <&gcc USB_HS1_XCVR_CLK>;
384 assigned-clock-rates = <60000000>;
385 resets = <&gcc USB_HS1_RESET>;
386 reset-names = "core";
388 ahb-burst-config = <0>;
389 phys = <&usb_hs1_phy>;
390 phy-names = "usb-phy";
396 compatible = "qcom,usb-hs-phy-msm8960",
398 clocks = <&sleep_clk>, <&cxo_board>;
399 clock-names = "sleep", "ref";