blob: 4b7601a16d451812cedcfcb992f00c16818a31e2 [file] [log] [blame]
Gilad Avidov289d0fc2012-08-08 14:06:24 -06001/* Copyright (c) 2012-2013, The Linux Foundation. All rights reserved.
Ravi Kumar Vf4d78d22012-09-12 13:45:00 +05302 *
3 * This program is free software; you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License version 2 and
5 * only version 2 as published by the Free Software Foundation.
6 *
7 * This program is distributed in the hope that it will be useful,
8 * but WITHOUT ANY WARRANTY; without even the implied warranty of
9 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 * GNU General Public License for more details.
11 */
12
13/include/ "skeleton.dtsi"
14
15/ {
16 model = "Qualcomm MPQ8092";
17 compatible = "qcom,mpq8092";
18 interrupt-parent = <&intc>;
19
Stepan Moskovchenko7d8cdcaa2013-04-25 17:10:55 -070020 soc: soc { };
21};
22
23/include/ "mpq8092-iommu.dtsi"
Chintan Pandya07541762013-05-23 15:21:54 +053024/include/ "mpq8092-iommu-domains.dtsi"
Stepan Moskovchenko7d8cdcaa2013-04-25 17:10:55 -070025/include/ "msm-gdsc.dtsi"
26/include/ "mpq8092-ion.dtsi"
27
28&soc {
29 #address-cells = <1>;
30 #size-cells = <1>;
31 ranges;
32
Ravi Kumar Vf4d78d22012-09-12 13:45:00 +053033 intc: interrupt-controller@f9000000 {
34 compatible = "qcom,msm-qgic2";
35 interrupt-controller;
36 #interrupt-cells = <3>;
37 reg = <0xf9000000 0x1000>,
38 <0xf9002000 0x1000>;
39 };
40
Ravi Kumar V57f65f52012-09-12 14:39:23 +053041 msmgpio: gpio@fd510000 {
42 compatible = "qcom,msm-gpio";
43 gpio-controller;
44 #gpio-cells = <2>;
45 interrupt-controller;
46 #interrupt-cells = <2>;
47 reg = <0xfd510000 0x4000>;
Rohit Vaswani341c2032012-11-08 18:49:29 -080048 ngpio = <146>;
Rohit Vaswanid2001522012-12-05 19:23:44 -080049 interrupts = <0 208 0>;
Rohit Vaswanied0a4ef2012-12-11 15:14:42 -080050 qcom,direct-connect-irqs = <8>;
Ravi Kumar V57f65f52012-09-12 14:39:23 +053051 };
52
Ravi Kumar Vf4d78d22012-09-12 13:45:00 +053053 timer {
Syed Rameez Mustafa0824d6c2012-11-29 18:53:56 -080054 compatible = "arm,armv7-timer";
Ravi Kumar Vf4d78d22012-09-12 13:45:00 +053055 interrupts = <1 2 0>, <1 3 0>;
56 clock-frequency = <19200000>;
57 };
58
Srinivas Ramanab4103ab2013-06-04 19:55:03 +053059 timer@f9020000 {
60 #address-cells = <1>;
61 #size-cells = <1>;
62 ranges;
63 compatible = "arm,armv7-timer-mem";
64 reg = <0xf9020000 0x1000>;
65 clock-frequency = <19200000>;
66
67 frame@f9021000 {
68 frame-number = <0>;
69 interrupts = <0 8 0x4>,
70 <0 7 0x4>;
71 reg = <0xf9021000 0x1000>,
72 <0xf9022000 0x1000>;
73 };
74
75 frame@f9023000 {
76 frame-number = <1>;
77 interrupts = <0 9 0x4>;
78 reg = <0xf9023000 0x1000>;
79 status = "disabled";
80 };
81
82 frame@f9024000 {
83 frame-number = <2>;
84 interrupts = <0 10 0x4>;
85 reg = <0xf9024000 0x1000>;
86 status = "disabled";
87 };
88
89 frame@f9025000 {
90 frame-number = <3>;
91 interrupts = <0 11 0x4>;
92 reg = <0xf9025000 0x1000>;
93 status = "disabled";
94 };
95
96 frame@f9026000 {
97 frame-number = <4>;
98 interrupts = <0 12 0x4>;
99 reg = <0xf9026000 0x1000>;
100 status = "disabled";
101 };
102
103 frame@f9027000 {
104 frame-number = <5>;
105 interrupts = <0 13 0x4>;
106 reg = <0xf9027000 0x1000>;
107 status = "disabled";
108 };
109
110 frame@f9028000 {
111 frame-number = <6>;
112 interrupts = <0 14 0x4>;
113 reg = <0xf9028000 0x1000>;
114 status = "disabled";
115 };
116 };
117
Ravi Kumar Vf4d78d22012-09-12 13:45:00 +0530118 serial@f991f000 {
119 compatible = "qcom,msm-lsuart-v14";
120 reg = <0xf991f000 0x1000>;
121 interrupts = <0 109 0>;
122 status = "disabled";
123 };
124
Srinivas Ramanab4103ab2013-06-04 19:55:03 +0530125 serial@f9922000 {
126 compatible = "qcom,msm-lsuart-v14";
127 reg = <0xf9922000 0x1000>;
128 interrupts = <0 112 0>;
129 status = "disabled";
130 };
131
Ravi Kumar Vf4d78d22012-09-12 13:45:00 +0530132 serial@f995e000 {
133 compatible = "qcom,msm-lsuart-v14";
134 reg = <0xf995e000 0x1000>;
135 interrupts = <0 114 0>;
136 status = "disabled";
137 };
Ravi Kumar V73e5cbc2012-09-10 20:22:39 +0530138
Srinivas Ramana8a9ad552013-05-22 14:58:56 +0530139 qcom,msm-imem@fe805000 {
140 compatible = "qcom,msm-imem";
141 reg = <0xfe805000 0x1000>; /* Address and size of IMEM */
142 };
143
Ravi Kumar V73e5cbc2012-09-10 20:22:39 +0530144 spmi_bus: qcom,spmi@fc4c0000 {
145 cell-index = <0>;
146 compatible = "qcom,spmi-pmic-arb";
Kenneth Heitke366b8a42012-12-18 13:51:37 -0700147 reg-names = "core", "intr", "cnfg";
Ravi Kumar V73e5cbc2012-09-10 20:22:39 +0530148 reg = <0xfc4cf000 0x1000>,
Kenneth Heitke366b8a42012-12-18 13:51:37 -0700149 <0Xfc4cb000 0x1000>,
150 <0Xfc4ca000 0x1000>;
Ravi Kumar V73e5cbc2012-09-10 20:22:39 +0530151 /* 190,ee0_krait_hlos_spmi_periph_irq */
152 /* 187,channel_0_krait_hlos_trans_done_irq */
153 interrupts = <0 190 0 0 187 0>;
Sujit Reddy Thumma397dffd2012-10-29 13:38:49 +0530154 qcom,not-wakeup;
Ravi Kumar V73e5cbc2012-09-10 20:22:39 +0530155 qcom,pmic-arb-ee = <0>;
156 qcom,pmic-arb-channel = <0>;
Ravi Kumar V73e5cbc2012-09-10 20:22:39 +0530157 };
Sujit Reddy Thumma2330f3a372012-10-18 10:28:51 +0530158
159 sdcc1: qcom,sdcc@f9824000 {
160 cell-index = <1>; /* SDC1 eMMC slot */
161 compatible = "qcom,msm-sdcc";
162 reg = <0xf9824000 0x800>;
163 reg-names = "core_mem";
164 interrupts = <0 123 0>;
165 interrupt-names = "core_irq";
166
Oluwafemi Adeyemi6cdfdb82012-11-02 13:36:29 -0700167 qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */
168 qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */
Krishna Konda6c5d0f42013-04-12 16:44:26 -0700169 qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */
Oluwafemi Adeyemi6cdfdb82012-11-02 13:36:29 -0700170 qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */
Sujit Reddy Thumma2330f3a372012-10-18 10:28:51 +0530171
Oluwafemi Adeyemi6cdfdb82012-11-02 13:36:29 -0700172 qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>;
173 qcom,sup-voltages = <2950 2950>;
174 qcom,bus-width = <8>;
175 qcom,nonremovable;
176 qcom,bus-speed-mode = "HS200_1p8v", "DDR_1p8v";
Sujit Reddy Thumma2330f3a372012-10-18 10:28:51 +0530177 };
178
179 sdcc2: qcom,sdcc@f98a4000 {
180 cell-index = <2>; /* SDC2 SD card slot */
181 compatible = "qcom,msm-sdcc";
182 reg = <0xf98a4000 0x800>;
183 reg-names = "core_mem";
184 interrupts = <0 125 0>;
185 interrupt-names = "core_irq";
186
Oluwafemi Adeyemi6cdfdb82012-11-02 13:36:29 -0700187 qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */
188 qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */
Krishna Konda6c5d0f42013-04-12 16:44:26 -0700189 qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */
Oluwafemi Adeyemi6cdfdb82012-11-02 13:36:29 -0700190 qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */
Sujit Reddy Thumma2330f3a372012-10-18 10:28:51 +0530191
Oluwafemi Adeyemi6cdfdb82012-11-02 13:36:29 -0700192 qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>;
193 qcom,sup-voltages = <2950 2950>;
194 qcom,bus-width = <4>;
195 qcom,xpc;
196 qcom,bus-speed-mode = "SDR12", "SDR25", "SDR50", "DDR50", "SDR104";
197 qcom,current-limit = <800>;
Sujit Reddy Thumma2330f3a372012-10-18 10:28:51 +0530198 };
Sujit Reddy Thumma35106382012-10-12 20:36:53 +0530199
200 sata: sata@fc580000 {
201 compatible = "qcom,msm-ahci";
202 reg = <0xfc580000 0x17c>;
203 interrupts = <0 243 0>;
204 };
Srinivas Ramana97e3a092013-05-21 19:23:39 +0530205
206 qcom,wdt@f9017000 {
207 compatible = "qcom,msm-watchdog";
208 reg = <0xf9017000 0x1000>;
209 interrupts = <0 3 0>, <0 4 0>;
210 qcom,bark-time = <11000>;
211 qcom,pet-time = <10000>;
212 qcom,ipi-ping;
213 };
Trilok Soni4220d462013-06-06 16:39:58 +0530214
215 qcom,ocmem@fdd00000 {
216 compatible = "qcom,msm-ocmem";
217 reg = <0xfdd00000 0x2000>,
218 <0xfdd02000 0x2000>,
219 <0xfe070000 0x400>,
220 <0xfec00000 0x180000>;
221 reg-names = "ocmem_ctrl_physical", "dm_ctrl_physical", "br_ctrl_physical", "ocmem_physical";
222 interrupts = <0 76 0>, <0 77 0>;
223 interrupt-names = "ocmem_irq", "dm_irq";
224 qcom,ocmem-num-regions = <0x3>;
225 qcom,ocmem-num-macros = <0x18>;
226 qcom,resource-type = <0x706d636f>;
227 #address-cells = <1>;
228 #size-cells = <1>;
229 ranges = <0x0 0xfec00000 0x180000>;
230
231 partition@0 {
232 reg = <0x0 0x100000>;
233 qcom,ocmem-part-name = "graphics";
234 qcom,ocmem-part-min = <0x80000>;
235 };
236
237 partition@80000 {
238 reg = <0x100000 0x80000>;
239 qcom,ocmem-part-name = "lp_audio";
240 qcom,ocmem-part-min = <0x80000>;
241 };
242
243 partition@100000 {
244 reg = <0x100000 0x80000>;
245 qcom,ocmem-part-name = "video";
246 qcom,ocmem-part-min = <0x55000>;
247 };
248 };
Ravi Kumar Vf4d78d22012-09-12 13:45:00 +0530249};
Ravi Kumar V605f1cd2012-09-10 20:43:17 +0530250
Patrick Dalye8977aa2012-11-06 15:25:58 -0800251&gdsc_venus {
252 status = "ok";
253};
254
255&gdsc_mdss {
256 status = "ok";
257};
258
259&gdsc_jpeg {
260 status = "ok";
261};
262
Srinivas Ramanaa3817612013-07-09 12:29:12 +0530263&gdsc_vpu {
264 status = "ok";
265};
266
Patrick Dalye8977aa2012-11-06 15:25:58 -0800267&gdsc_oxili_gx {
268 status = "ok";
269};
270
271&gdsc_oxili_cx {
272 status = "ok";
273};
274
275&gdsc_usb_hsic {
276 status = "ok";
277};
278
David Collins819bebf2013-04-22 14:55:19 -0700279/include/ "msm-pma8084.dtsi"
Ravi Kumar Vd9e522c2012-10-03 12:52:14 +0530280/include/ "mpq8092-regulator.dtsi"