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 = <0 19 0>, <0 21 0>, <0 22 0>;
144 interrupt-names = "ack", "err", "wakeup";
147 compatible = "qcom,rpm-pm8921-regulators";
151 acc0: clock-controller@2088000 {
152 compatible = "qcom,kpss-acc-v1";
153 reg = <0x02088000 0x1000>, <0x02008000 0x1000>;
156 acc1: clock-controller@2098000 {
157 compatible = "qcom,kpss-acc-v1";
158 reg = <0x02098000 0x1000>, <0x02008000 0x1000>;
161 saw0: regulator@2089000 {
162 compatible = "qcom,saw2";
163 reg = <0x02089000 0x1000>, <0x02009000 0x1000>;
167 saw1: regulator@2099000 {
168 compatible = "qcom,saw2";
169 reg = <0x02099000 0x1000>, <0x02009000 0x1000>;
173 gsbi5: gsbi@16400000 {
174 compatible = "qcom,gsbi-v1.0.0";
176 reg = <0x16400000 0x100>;
177 clocks = <&gcc GSBI5_H_CLK>;
178 clock-names = "iface";
179 #address-cells = <1>;
183 syscon-tcsr = <&tcsr>;
185 gsbi5_serial: serial@16440000 {
186 compatible = "qcom,msm-uartdm-v1.3", "qcom,msm-uartdm";
187 reg = <0x16440000 0x1000>,
189 interrupts = <0 154 0x0>;
190 clocks = <&gcc GSBI5_UART_CLK>, <&gcc GSBI5_H_CLK>;
191 clock-names = "core", "iface";
197 compatible = "qcom,ssbi";
198 reg = <0x500000 0x1000>;
199 qcom,controller-type = "pmic-arbiter";
202 compatible = "qcom,pm8921";
203 interrupt-parent = <&msmgpio>;
204 interrupts = <104 8>;
205 #interrupt-cells = <2>;
206 interrupt-controller;
207 #address-cells = <1>;
211 compatible = "qcom,pm8921-pwrkey";
213 interrupt-parent = <&pmicintc>;
214 interrupts = <50 1>, <51 1>;
220 compatible = "qcom,pm8921-keypad";
222 interrupt-parent = <&pmicintc>;
223 interrupts = <74 1>, <75 1>;
230 compatible = "qcom,pm8921-rtc";
231 interrupt-parent = <&pmicintc>;
240 compatible = "qcom,prng";
241 reg = <0x1a500000 0x200>;
242 clocks = <&gcc PRNG_CLK>;
243 clock-names = "core";
246 /* Temporary fixed regulator */
247 vsdcc_fixed: vsdcc-regulator {
248 compatible = "regulator-fixed";
249 regulator-name = "SDCC Power";
250 regulator-min-microvolt = <2700000>;
251 regulator-max-microvolt = <2700000>;
256 compatible = "simple-bus";
257 #address-cells = <1>;
260 sdcc1: sdcc@12400000 {
262 compatible = "arm,pl18x", "arm,primecell";
263 arm,primecell-periphid = <0x00051180>;
264 reg = <0x12400000 0x8000>;
265 interrupts = <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>;
266 interrupt-names = "cmd_irq";
267 clocks = <&gcc SDC1_CLK>, <&gcc SDC1_H_CLK>;
268 clock-names = "mclk", "apb_pclk";
270 max-frequency = <96000000>;
274 vmmc-supply = <&vsdcc_fixed>;
277 sdcc3: sdcc@12180000 {
278 compatible = "arm,pl18x", "arm,primecell";
279 arm,primecell-periphid = <0x00051180>;
281 reg = <0x12180000 0x8000>;
282 interrupts = <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>;
283 interrupt-names = "cmd_irq";
284 clocks = <&gcc SDC3_CLK>, <&gcc SDC3_H_CLK>;
285 clock-names = "mclk", "apb_pclk";
289 max-frequency = <192000000>;
291 vmmc-supply = <&vsdcc_fixed>;
295 tcsr: syscon@1a400000 {
296 compatible = "qcom,tcsr-msm8960", "syscon";
297 reg = <0x1a400000 0x100>;
301 compatible = "qcom,gsbi-v1.0.0";
303 reg = <0x16000000 0x100>;
304 clocks = <&gcc GSBI1_H_CLK>;
305 clock-names = "iface";
306 #address-cells = <1>;
311 compatible = "qcom,spi-qup-v1.1.1";
312 #address-cells = <1>;
314 reg = <0x16080000 0x1000>;
315 interrupts = <0 147 0>;
316 spi-max-frequency = <24000000>;
317 cs-gpios = <&msmgpio 8 0>;
319 clocks = <&gcc GSBI1_QUP_CLK>, <&gcc GSBI1_H_CLK>;
320 clock-names = "core", "iface";