blob: 9f0ab13f8e92dc0736a5d0d186418b9d8f4ed1c0 [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"
24/include/ "msm-gdsc.dtsi"
25/include/ "mpq8092-ion.dtsi"
26
27&soc {
28 #address-cells = <1>;
29 #size-cells = <1>;
30 ranges;
31
Ravi Kumar Vf4d78d22012-09-12 13:45:00 +053032 intc: interrupt-controller@f9000000 {
33 compatible = "qcom,msm-qgic2";
34 interrupt-controller;
35 #interrupt-cells = <3>;
36 reg = <0xf9000000 0x1000>,
37 <0xf9002000 0x1000>;
38 };
39
Ravi Kumar V57f65f52012-09-12 14:39:23 +053040 msmgpio: gpio@fd510000 {
41 compatible = "qcom,msm-gpio";
42 gpio-controller;
43 #gpio-cells = <2>;
44 interrupt-controller;
45 #interrupt-cells = <2>;
46 reg = <0xfd510000 0x4000>;
Rohit Vaswani341c2032012-11-08 18:49:29 -080047 ngpio = <146>;
Rohit Vaswanid2001522012-12-05 19:23:44 -080048 interrupts = <0 208 0>;
Rohit Vaswanied0a4ef2012-12-11 15:14:42 -080049 qcom,direct-connect-irqs = <8>;
Ravi Kumar V57f65f52012-09-12 14:39:23 +053050 };
51
Ravi Kumar Vf4d78d22012-09-12 13:45:00 +053052 timer {
Syed Rameez Mustafa0824d6c2012-11-29 18:53:56 -080053 compatible = "arm,armv7-timer";
Ravi Kumar Vf4d78d22012-09-12 13:45:00 +053054 interrupts = <1 2 0>, <1 3 0>;
55 clock-frequency = <19200000>;
56 };
57
Srinivas Ramanab4103ab2013-06-04 19:55:03 +053058 timer@f9020000 {
59 #address-cells = <1>;
60 #size-cells = <1>;
61 ranges;
62 compatible = "arm,armv7-timer-mem";
63 reg = <0xf9020000 0x1000>;
64 clock-frequency = <19200000>;
65
66 frame@f9021000 {
67 frame-number = <0>;
68 interrupts = <0 8 0x4>,
69 <0 7 0x4>;
70 reg = <0xf9021000 0x1000>,
71 <0xf9022000 0x1000>;
72 };
73
74 frame@f9023000 {
75 frame-number = <1>;
76 interrupts = <0 9 0x4>;
77 reg = <0xf9023000 0x1000>;
78 status = "disabled";
79 };
80
81 frame@f9024000 {
82 frame-number = <2>;
83 interrupts = <0 10 0x4>;
84 reg = <0xf9024000 0x1000>;
85 status = "disabled";
86 };
87
88 frame@f9025000 {
89 frame-number = <3>;
90 interrupts = <0 11 0x4>;
91 reg = <0xf9025000 0x1000>;
92 status = "disabled";
93 };
94
95 frame@f9026000 {
96 frame-number = <4>;
97 interrupts = <0 12 0x4>;
98 reg = <0xf9026000 0x1000>;
99 status = "disabled";
100 };
101
102 frame@f9027000 {
103 frame-number = <5>;
104 interrupts = <0 13 0x4>;
105 reg = <0xf9027000 0x1000>;
106 status = "disabled";
107 };
108
109 frame@f9028000 {
110 frame-number = <6>;
111 interrupts = <0 14 0x4>;
112 reg = <0xf9028000 0x1000>;
113 status = "disabled";
114 };
115 };
116
Ravi Kumar Vf4d78d22012-09-12 13:45:00 +0530117 serial@f991f000 {
118 compatible = "qcom,msm-lsuart-v14";
119 reg = <0xf991f000 0x1000>;
120 interrupts = <0 109 0>;
121 status = "disabled";
122 };
123
Srinivas Ramanab4103ab2013-06-04 19:55:03 +0530124 serial@f9922000 {
125 compatible = "qcom,msm-lsuart-v14";
126 reg = <0xf9922000 0x1000>;
127 interrupts = <0 112 0>;
128 status = "disabled";
129 };
130
Ravi Kumar Vf4d78d22012-09-12 13:45:00 +0530131 serial@f995e000 {
132 compatible = "qcom,msm-lsuart-v14";
133 reg = <0xf995e000 0x1000>;
134 interrupts = <0 114 0>;
135 status = "disabled";
136 };
Ravi Kumar V73e5cbc2012-09-10 20:22:39 +0530137
Srinivas Ramana8a9ad552013-05-22 14:58:56 +0530138 qcom,msm-imem@fe805000 {
139 compatible = "qcom,msm-imem";
140 reg = <0xfe805000 0x1000>; /* Address and size of IMEM */
141 };
142
Ravi Kumar V73e5cbc2012-09-10 20:22:39 +0530143 spmi_bus: qcom,spmi@fc4c0000 {
144 cell-index = <0>;
145 compatible = "qcom,spmi-pmic-arb";
Kenneth Heitke366b8a42012-12-18 13:51:37 -0700146 reg-names = "core", "intr", "cnfg";
Ravi Kumar V73e5cbc2012-09-10 20:22:39 +0530147 reg = <0xfc4cf000 0x1000>,
Kenneth Heitke366b8a42012-12-18 13:51:37 -0700148 <0Xfc4cb000 0x1000>,
149 <0Xfc4ca000 0x1000>;
Ravi Kumar V73e5cbc2012-09-10 20:22:39 +0530150 /* 190,ee0_krait_hlos_spmi_periph_irq */
151 /* 187,channel_0_krait_hlos_trans_done_irq */
152 interrupts = <0 190 0 0 187 0>;
Sujit Reddy Thumma397dffd2012-10-29 13:38:49 +0530153 qcom,not-wakeup;
Ravi Kumar V73e5cbc2012-09-10 20:22:39 +0530154 qcom,pmic-arb-ee = <0>;
155 qcom,pmic-arb-channel = <0>;
Ravi Kumar V73e5cbc2012-09-10 20:22:39 +0530156 };
Sujit Reddy Thumma2330f3a372012-10-18 10:28:51 +0530157
158 sdcc1: qcom,sdcc@f9824000 {
159 cell-index = <1>; /* SDC1 eMMC slot */
160 compatible = "qcom,msm-sdcc";
161 reg = <0xf9824000 0x800>;
162 reg-names = "core_mem";
163 interrupts = <0 123 0>;
164 interrupt-names = "core_irq";
165
Oluwafemi Adeyemi6cdfdb82012-11-02 13:36:29 -0700166 qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */
167 qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */
Krishna Konda6c5d0f42013-04-12 16:44:26 -0700168 qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */
Oluwafemi Adeyemi6cdfdb82012-11-02 13:36:29 -0700169 qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */
Sujit Reddy Thumma2330f3a372012-10-18 10:28:51 +0530170
Oluwafemi Adeyemi6cdfdb82012-11-02 13:36:29 -0700171 qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>;
172 qcom,sup-voltages = <2950 2950>;
173 qcom,bus-width = <8>;
174 qcom,nonremovable;
175 qcom,bus-speed-mode = "HS200_1p8v", "DDR_1p8v";
Sujit Reddy Thumma2330f3a372012-10-18 10:28:51 +0530176 };
177
178 sdcc2: qcom,sdcc@f98a4000 {
179 cell-index = <2>; /* SDC2 SD card slot */
180 compatible = "qcom,msm-sdcc";
181 reg = <0xf98a4000 0x800>;
182 reg-names = "core_mem";
183 interrupts = <0 125 0>;
184 interrupt-names = "core_irq";
185
Oluwafemi Adeyemi6cdfdb82012-11-02 13:36:29 -0700186 qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */
187 qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */
Krishna Konda6c5d0f42013-04-12 16:44:26 -0700188 qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */
Oluwafemi Adeyemi6cdfdb82012-11-02 13:36:29 -0700189 qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */
Sujit Reddy Thumma2330f3a372012-10-18 10:28:51 +0530190
Oluwafemi Adeyemi6cdfdb82012-11-02 13:36:29 -0700191 qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>;
192 qcom,sup-voltages = <2950 2950>;
193 qcom,bus-width = <4>;
194 qcom,xpc;
195 qcom,bus-speed-mode = "SDR12", "SDR25", "SDR50", "DDR50", "SDR104";
196 qcom,current-limit = <800>;
Sujit Reddy Thumma2330f3a372012-10-18 10:28:51 +0530197 };
Sujit Reddy Thumma35106382012-10-12 20:36:53 +0530198
199 sata: sata@fc580000 {
200 compatible = "qcom,msm-ahci";
201 reg = <0xfc580000 0x17c>;
202 interrupts = <0 243 0>;
203 };
Srinivas Ramana97e3a092013-05-21 19:23:39 +0530204
205 qcom,wdt@f9017000 {
206 compatible = "qcom,msm-watchdog";
207 reg = <0xf9017000 0x1000>;
208 interrupts = <0 3 0>, <0 4 0>;
209 qcom,bark-time = <11000>;
210 qcom,pet-time = <10000>;
211 qcom,ipi-ping;
212 };
Trilok Soni4220d462013-06-06 16:39:58 +0530213
214 qcom,ocmem@fdd00000 {
215 compatible = "qcom,msm-ocmem";
216 reg = <0xfdd00000 0x2000>,
217 <0xfdd02000 0x2000>,
218 <0xfe070000 0x400>,
219 <0xfec00000 0x180000>;
220 reg-names = "ocmem_ctrl_physical", "dm_ctrl_physical", "br_ctrl_physical", "ocmem_physical";
221 interrupts = <0 76 0>, <0 77 0>;
222 interrupt-names = "ocmem_irq", "dm_irq";
223 qcom,ocmem-num-regions = <0x3>;
224 qcom,ocmem-num-macros = <0x18>;
225 qcom,resource-type = <0x706d636f>;
226 #address-cells = <1>;
227 #size-cells = <1>;
228 ranges = <0x0 0xfec00000 0x180000>;
229
230 partition@0 {
231 reg = <0x0 0x100000>;
232 qcom,ocmem-part-name = "graphics";
233 qcom,ocmem-part-min = <0x80000>;
234 };
235
236 partition@80000 {
237 reg = <0x100000 0x80000>;
238 qcom,ocmem-part-name = "lp_audio";
239 qcom,ocmem-part-min = <0x80000>;
240 };
241
242 partition@100000 {
243 reg = <0x100000 0x80000>;
244 qcom,ocmem-part-name = "video";
245 qcom,ocmem-part-min = <0x55000>;
246 };
247 };
Ravi Kumar Vf4d78d22012-09-12 13:45:00 +0530248};
Ravi Kumar V605f1cd2012-09-10 20:43:17 +0530249
Patrick Dalye8977aa2012-11-06 15:25:58 -0800250&gdsc_venus {
251 status = "ok";
252};
253
254&gdsc_mdss {
255 status = "ok";
256};
257
258&gdsc_jpeg {
259 status = "ok";
260};
261
Srinivas Ramanaa3817612013-07-09 12:29:12 +0530262&gdsc_vpu {
263 status = "ok";
264};
265
Patrick Dalye8977aa2012-11-06 15:25:58 -0800266&gdsc_oxili_gx {
267 status = "ok";
268};
269
270&gdsc_oxili_cx {
271 status = "ok";
272};
273
274&gdsc_usb_hsic {
275 status = "ok";
276};
277
David Collins819bebf2013-04-22 14:55:19 -0700278/include/ "msm-pma8084.dtsi"
Ravi Kumar Vd9e522c2012-10-03 12:52:14 +0530279/include/ "mpq8092-regulator.dtsi"