1 // SPDX-License-Identifier: GPL-2.0
4 /include/ "skeleton.dtsi"
6 #include <dt-bindings/interrupt-controller/arm-gic.h>
7 #include <dt-bindings/clock/qcom,gcc-msm8960.h>
8 #include <dt-bindings/mfd/qcom-rpm.h>
9 #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 compatible = "qcom,krait-pmu";
49 interrupts = <1 10 0x304>;
55 compatible = "fixed-clock";
57 clock-frequency = <19200000>;
58 clock-output-names = "cxo_board";
62 compatible = "fixed-clock";
64 clock-frequency = <27000000>;
65 clock-output-names = "pxo_board";
69 compatible = "fixed-clock";
71 clock-frequency = <32768>;
72 clock-output-names = "sleep_clk";
80 compatible = "simple-bus";
82 intc: interrupt-controller@2000000 {
83 compatible = "qcom,msm-qgic2";
85 #interrupt-cells = <3>;
86 reg = <0x02000000 0x1000>,
91 compatible = "qcom,kpss-timer",
92 "qcom,kpss-wdt-msm8960", "qcom,msm-timer";
93 interrupts = <1 1 0x301>,
96 reg = <0x0200a000 0x100>;
97 clock-frequency = <27000000>,
99 cpu-offset = <0x80000>;
102 msmgpio: pinctrl@800000 {
103 compatible = "qcom,msm8960-pinctrl";
106 interrupts = <0 16 0x4>;
107 interrupt-controller;
108 #interrupt-cells = <2>;
109 reg = <0x800000 0x4000>;
112 gcc: clock-controller@900000 {
113 compatible = "qcom,gcc-msm8960";
116 reg = <0x900000 0x4000>;
119 lcc: clock-controller@28000000 {
120 compatible = "qcom,lcc-msm8960";
121 reg = <0x28000000 0x1000>;
126 clock-controller@4000000 {
127 compatible = "qcom,mmcc-msm8960";
128 reg = <0x4000000 0x1000>;
133 l2cc: clock-controller@2011000 {
134 compatible = "syscon";
135 reg = <0x2011000 0x1000>;
139 compatible = "qcom,rpm-msm8960";
140 reg = <0x108000 0x1000>;
141 qcom,ipc = <&l2cc 0x8 2>;
143 interrupts = <GIC_SPI 19 IRQ_TYPE_EDGE_RISING>,
144 <GIC_SPI 21 IRQ_TYPE_EDGE_RISING>,
145 <GIC_SPI 22 IRQ_TYPE_EDGE_RISING>;
146 interrupt-names = "ack", "err", "wakeup";
149 compatible = "qcom,rpm-pm8921-regulators";
153 acc0: clock-controller@2088000 {
154 compatible = "qcom,kpss-acc-v1";
155 reg = <0x02088000 0x1000>, <0x02008000 0x1000>;
158 acc1: clock-controller@2098000 {
159 compatible = "qcom,kpss-acc-v1";
160 reg = <0x02098000 0x1000>, <0x02008000 0x1000>;
163 saw0: regulator@2089000 {
164 compatible = "qcom,saw2";
165 reg = <0x02089000 0x1000>, <0x02009000 0x1000>;
169 saw1: regulator@2099000 {
170 compatible = "qcom,saw2";
171 reg = <0x02099000 0x1000>, <0x02009000 0x1000>;
175 gsbi5: gsbi@16400000 {
176 compatible = "qcom,gsbi-v1.0.0";
178 reg = <0x16400000 0x100>;
179 clocks = <&gcc GSBI5_H_CLK>;
180 clock-names = "iface";
181 #address-cells = <1>;
185 syscon-tcsr = <&tcsr>;
187 gsbi5_serial: serial@16440000 {
188 compatible = "qcom,msm-uartdm-v1.3", "qcom,msm-uartdm";
189 reg = <0x16440000 0x1000>,
191 interrupts = <GIC_SPI 154 IRQ_TYPE_LEVEL_HIGH>;
192 clocks = <&gcc GSBI5_UART_CLK>, <&gcc GSBI5_H_CLK>;
193 clock-names = "core", "iface";
199 compatible = "qcom,ssbi";
200 reg = <0x500000 0x1000>;
201 qcom,controller-type = "pmic-arbiter";
204 compatible = "qcom,pm8921";
205 interrupt-parent = <&msmgpio>;
206 interrupts = <104 8>;
207 #interrupt-cells = <2>;
208 interrupt-controller;
209 #address-cells = <1>;
213 compatible = "qcom,pm8921-pwrkey";
215 interrupt-parent = <&pmicintc>;
216 interrupts = <50 1>, <51 1>;
222 compatible = "qcom,pm8921-keypad";
224 interrupt-parent = <&pmicintc>;
225 interrupts = <74 1>, <75 1>;
232 compatible = "qcom,pm8921-rtc";
233 interrupt-parent = <&pmicintc>;
242 compatible = "qcom,prng";
243 reg = <0x1a500000 0x200>;
244 clocks = <&gcc PRNG_CLK>;
245 clock-names = "core";
248 /* Temporary fixed regulator */
249 vsdcc_fixed: vsdcc-regulator {
250 compatible = "regulator-fixed";
251 regulator-name = "SDCC Power";
252 regulator-min-microvolt = <2700000>;
253 regulator-max-microvolt = <2700000>;
258 compatible = "simple-bus";
259 #address-cells = <1>;
262 sdcc1: sdcc@12400000 {
264 compatible = "arm,pl18x", "arm,primecell";
265 arm,primecell-periphid = <0x00051180>;
266 reg = <0x12400000 0x8000>;
267 interrupts = <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>;
268 interrupt-names = "cmd_irq";
269 clocks = <&gcc SDC1_CLK>, <&gcc SDC1_H_CLK>;
270 clock-names = "mclk", "apb_pclk";
272 max-frequency = <96000000>;
276 vmmc-supply = <&vsdcc_fixed>;
279 sdcc3: sdcc@12180000 {
280 compatible = "arm,pl18x", "arm,primecell";
281 arm,primecell-periphid = <0x00051180>;
283 reg = <0x12180000 0x8000>;
284 interrupts = <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>;
285 interrupt-names = "cmd_irq";
286 clocks = <&gcc SDC3_CLK>, <&gcc SDC3_H_CLK>;
287 clock-names = "mclk", "apb_pclk";
291 max-frequency = <192000000>;
293 vmmc-supply = <&vsdcc_fixed>;
297 tcsr: syscon@1a400000 {
298 compatible = "qcom,tcsr-msm8960", "syscon";
299 reg = <0x1a400000 0x100>;
303 compatible = "qcom,gsbi-v1.0.0";
305 reg = <0x16000000 0x100>;
306 clocks = <&gcc GSBI1_H_CLK>;
307 clock-names = "iface";
308 #address-cells = <1>;
313 compatible = "qcom,spi-qup-v1.1.1";
314 #address-cells = <1>;
316 reg = <0x16080000 0x1000>;
317 interrupts = <GIC_SPI 147 IRQ_TYPE_LEVEL_HIGH>;
318 spi-max-frequency = <24000000>;
319 cs-gpios = <&msmgpio 8 0>;
321 clocks = <&gcc GSBI1_QUP_CLK>, <&gcc GSBI1_H_CLK>;
322 clock-names = "core", "iface";