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/mfd/qcom-rpm.h>
7 #include <dt-bindings/soc/qcom,gsbi.h>
12 model = "Qualcomm MSM8960";
13 compatible = "qcom,msm8960";
14 interrupt-parent = <&intc>;
19 interrupts = <1 14 0x304>;
22 compatible = "qcom,krait";
23 enable-method = "qcom,kpss-acc-v1";
26 next-level-cache = <&L2>;
32 compatible = "qcom,krait";
33 enable-method = "qcom,kpss-acc-v1";
36 next-level-cache = <&L2>;
48 device_type = "memory";
53 compatible = "qcom,krait-pmu";
54 interrupts = <1 10 0x304>;
60 compatible = "fixed-clock";
62 clock-frequency = <19200000>;
63 clock-output-names = "cxo_board";
67 compatible = "fixed-clock";
69 clock-frequency = <27000000>;
70 clock-output-names = "pxo_board";
74 compatible = "fixed-clock";
76 clock-frequency = <32768>;
77 clock-output-names = "sleep_clk";
85 compatible = "simple-bus";
87 intc: interrupt-controller@2000000 {
88 compatible = "qcom,msm-qgic2";
90 #interrupt-cells = <3>;
91 reg = <0x02000000 0x1000>,
96 compatible = "qcom,kpss-timer",
97 "qcom,kpss-wdt-msm8960", "qcom,msm-timer";
98 interrupts = <1 1 0x301>,
101 reg = <0x0200a000 0x100>;
102 clock-frequency = <27000000>,
104 cpu-offset = <0x80000>;
107 msmgpio: pinctrl@800000 {
108 compatible = "qcom,msm8960-pinctrl";
111 interrupts = <0 16 0x4>;
112 interrupt-controller;
113 #interrupt-cells = <2>;
114 reg = <0x800000 0x4000>;
117 gcc: clock-controller@900000 {
118 compatible = "qcom,gcc-msm8960";
121 reg = <0x900000 0x4000>;
124 lcc: clock-controller@28000000 {
125 compatible = "qcom,lcc-msm8960";
126 reg = <0x28000000 0x1000>;
131 clock-controller@4000000 {
132 compatible = "qcom,mmcc-msm8960";
133 reg = <0x4000000 0x1000>;
138 l2cc: clock-controller@2011000 {
139 compatible = "syscon";
140 reg = <0x2011000 0x1000>;
144 compatible = "qcom,rpm-msm8960";
145 reg = <0x108000 0x1000>;
146 qcom,ipc = <&l2cc 0x8 2>;
148 interrupts = <0 19 0>, <0 21 0>, <0 22 0>;
149 interrupt-names = "ack", "err", "wakeup";
152 compatible = "qcom,rpm-pm8921-regulators";
156 acc0: clock-controller@2088000 {
157 compatible = "qcom,kpss-acc-v1";
158 reg = <0x02088000 0x1000>, <0x02008000 0x1000>;
161 acc1: clock-controller@2098000 {
162 compatible = "qcom,kpss-acc-v1";
163 reg = <0x02098000 0x1000>, <0x02008000 0x1000>;
166 saw0: regulator@2089000 {
167 compatible = "qcom,saw2";
168 reg = <0x02089000 0x1000>, <0x02009000 0x1000>;
172 saw1: regulator@2099000 {
173 compatible = "qcom,saw2";
174 reg = <0x02099000 0x1000>, <0x02009000 0x1000>;
178 gsbi5: gsbi@16400000 {
179 compatible = "qcom,gsbi-v1.0.0";
181 reg = <0x16400000 0x100>;
182 clocks = <&gcc GSBI5_H_CLK>;
183 clock-names = "iface";
184 #address-cells = <1>;
188 syscon-tcsr = <&tcsr>;
190 gsbi5_serial: serial@16440000 {
191 compatible = "qcom,msm-uartdm-v1.3", "qcom,msm-uartdm";
192 reg = <0x16440000 0x1000>,
194 interrupts = <0 154 0x0>;
195 clocks = <&gcc GSBI5_UART_CLK>, <&gcc GSBI5_H_CLK>;
196 clock-names = "core", "iface";
202 compatible = "qcom,ssbi";
203 reg = <0x500000 0x1000>;
204 qcom,controller-type = "pmic-arbiter";
207 compatible = "qcom,pm8921";
208 interrupt-parent = <&msmgpio>;
209 interrupts = <104 8>;
210 #interrupt-cells = <2>;
211 interrupt-controller;
212 #address-cells = <1>;
216 compatible = "qcom,pm8921-pwrkey";
218 interrupt-parent = <&pmicintc>;
219 interrupts = <50 1>, <51 1>;
225 compatible = "qcom,pm8921-keypad";
227 interrupt-parent = <&pmicintc>;
228 interrupts = <74 1>, <75 1>;
235 compatible = "qcom,pm8921-rtc";
236 interrupt-parent = <&pmicintc>;
245 compatible = "qcom,prng";
246 reg = <0x1a500000 0x200>;
247 clocks = <&gcc PRNG_CLK>;
248 clock-names = "core";
251 /* Temporary fixed regulator */
252 vsdcc_fixed: vsdcc-regulator {
253 compatible = "regulator-fixed";
254 regulator-name = "SDCC Power";
255 regulator-min-microvolt = <2700000>;
256 regulator-max-microvolt = <2700000>;
261 compatible = "simple-bus";
262 #address-cells = <1>;
265 sdcc1: sdcc@12400000 {
267 compatible = "arm,pl18x", "arm,primecell";
268 arm,primecell-periphid = <0x00051180>;
269 reg = <0x12400000 0x8000>;
270 interrupts = <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>;
271 interrupt-names = "cmd_irq";
272 clocks = <&gcc SDC1_CLK>, <&gcc SDC1_H_CLK>;
273 clock-names = "mclk", "apb_pclk";
275 max-frequency = <96000000>;
279 vmmc-supply = <&vsdcc_fixed>;
282 sdcc3: sdcc@12180000 {
283 compatible = "arm,pl18x", "arm,primecell";
284 arm,primecell-periphid = <0x00051180>;
286 reg = <0x12180000 0x8000>;
287 interrupts = <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>;
288 interrupt-names = "cmd_irq";
289 clocks = <&gcc SDC3_CLK>, <&gcc SDC3_H_CLK>;
290 clock-names = "mclk", "apb_pclk";
294 max-frequency = <192000000>;
296 vmmc-supply = <&vsdcc_fixed>;
300 tcsr: syscon@1a400000 {
301 compatible = "qcom,tcsr-msm8960", "syscon";
302 reg = <0x1a400000 0x100>;
306 compatible = "qcom,gsbi-v1.0.0";
308 reg = <0x16000000 0x100>;
309 clocks = <&gcc GSBI1_H_CLK>;
310 clock-names = "iface";
311 #address-cells = <1>;
316 compatible = "qcom,spi-qup-v1.1.1";
317 #address-cells = <1>;
319 reg = <0x16080000 0x1000>;
320 interrupts = <0 147 0>;
321 spi-max-frequency = <24000000>;
322 cs-gpios = <&msmgpio 8 0>;
324 clocks = <&gcc GSBI1_QUP_CLK>, <&gcc GSBI1_H_CLK>;
325 clock-names = "core", "iface";