blob: 2131d49ce9f4d788ba7acc4a65e3f0528613ec0e [file] [log] [blame]
Sathish Ambley9d69ac32012-03-21 10:28:26 -07001/* Copyright (c) 2012, Code Aurora Forum. All rights reserved.
2 *
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 */
Sathish Ambley4df614c2011-10-07 16:30:46 -070012
13/include/ "skeleton.dtsi"
Abhimanyu Kapur90ced6e2012-06-26 17:41:25 -070014/include/ "msm8974_pm.dtsi"
Abhimanyu Kapur90ced6e2012-06-26 17:41:25 -070015/include/ "msm8974-iommu.dtsi"
Kevin Chan350b6932012-08-01 02:21:00 -070016/include/ "msm8974-camera.dtsi"
Matt Wagantallfc727212012-01-06 18:18:25 -080017/include/ "msm-gdsc.dtsi"
Olav Haugan49173442012-08-01 13:23:18 -070018/include/ "msm8974-ion.dtsi"
Pu Chen1335e872012-08-01 08:45:25 -060019/include/ "msm8974-gpu.dtsi"
Sathish Ambley4df614c2011-10-07 16:30:46 -070020
21/ {
Abhimanyu Kapur90ced6e2012-06-26 17:41:25 -070022 model = "Qualcomm MSM 8974";
23 compatible = "qcom,msm8974";
Sathish Ambley4df614c2011-10-07 16:30:46 -070024 interrupt-parent = <&intc>;
25
26 intc: interrupt-controller@F9000000 {
27 compatible = "qcom,msm-qgic2";
28 interrupt-controller;
Michael Bohanc7224532012-01-06 16:02:52 -080029 #interrupt-cells = <3>;
Sathish Ambley4df614c2011-10-07 16:30:46 -070030 reg = <0xF9000000 0x1000>,
31 <0xF9002000 0x1000>;
32 };
Sathish Ambley3d50c762011-10-25 15:26:00 -070033
Sathish Ambleye046b242012-04-09 12:38:05 -070034 msmgpio: gpio@fd510000 {
Michael Bohan0425f6f2012-01-17 14:36:39 -080035 compatible = "qcom,msm-gpio";
Rohit Vaswanib1cc4932012-07-23 21:30:11 -070036 gpio-controller;
37 #gpio-cells = <2>;
Michael Bohan0425f6f2012-01-17 14:36:39 -080038 interrupt-controller;
39 #interrupt-cells = <2>;
Sathish Ambleye046b242012-04-09 12:38:05 -070040 reg = <0xfd510000 0x4000>;
Michael Bohan0425f6f2012-01-17 14:36:39 -080041 };
42
Sathish Ambley098f9bd2011-11-09 16:32:53 -080043 timer {
Sathish Ambley2f27a172012-03-16 10:46:28 -070044 compatible = "qcom,msm-qtimer", "arm,armv7-timer";
Sathish Ambleyddd099e2012-04-25 13:24:47 -070045 interrupts = <1 2 0 1 3 0>;
Sathish Ambley2f27a172012-03-16 10:46:28 -070046 clock-frequency = <19200000>;
Sathish Ambley098f9bd2011-11-09 16:32:53 -080047 };
48
Praneeth Paladugu4b73ec82012-02-08 12:55:59 -080049 qcom,vidc@fdc00000 {
50 compatible = "qcom,msm-vidc";
51 reg = <0xfdc00000 0xff000>;
52 interrupts = <0 44 0>;
Vinay Kalia68398a42012-06-22 18:36:12 -070053 vidc-cp-map = <0x1000000 0x40000000>;
54 vidc-ns-map = <0x40000000 0x40000000>;
Vinay Kalia40680aa2012-07-23 12:45:39 -070055 load-freq-tbl = <979200 410000000>,
56 <560145 266670000>,
57 <421161 200000000>,
58 <243000 133330000>,
59 <108000 100000000>,
60 <36000 50000000>;
Praneeth Paladugu4b73ec82012-02-08 12:55:59 -080061 };
62
David Brown225abee2012-02-09 22:28:50 -080063 serial@f991f000 {
Sathish Ambley3d50c762011-10-25 15:26:00 -070064 compatible = "qcom,msm-lsuart-v14";
David Brown225abee2012-02-09 22:28:50 -080065 reg = <0xf991f000 0x1000>;
Michael Bohanc7224532012-01-06 16:02:52 -080066 interrupts = <0 109 0>;
Stepan Moskovchenko43f11582012-08-08 17:20:38 -070067 status = "disabled";
Sathish Ambley3d50c762011-10-25 15:26:00 -070068 };
Pavankumar Kondetieaea7fe2011-10-27 14:46:45 +053069
Sathish Ambley9d69ac32012-03-21 10:28:26 -070070 serial@f995e000 {
71 compatible = "qcom,msm-lsuart-v14";
72 reg = <0xf995e000 0x1000>;
73 interrupts = <0 114 0>;
Stepan Moskovchenko43f11582012-08-08 17:20:38 -070074 status = "disabled";
Sathish Ambley9d69ac32012-03-21 10:28:26 -070075 };
76
Stepan Moskovchenko5269b602012-08-08 17:57:09 -070077 serial@f991e000 {
78 compatible = "qcom,msm-lsuart-v14";
79 reg = <0xf991e000 0x1000>;
80 interrupts = <0 108 0>;
81 status = "disabled";
82 };
83
David Brown225abee2012-02-09 22:28:50 -080084 usb@f9a55000 {
Pavankumar Kondetieaea7fe2011-10-27 14:46:45 +053085 compatible = "qcom,hsusb-otg";
David Brown225abee2012-02-09 22:28:50 -080086 reg = <0xf9a55000 0x400>;
Michael Bohanc7224532012-01-06 16:02:52 -080087 interrupts = <0 134 0>;
Michael Bohane66a3a92012-03-26 12:47:28 -070088 HSUSB_VDDCX-supply = <&pm8841_s2>;
89 HSUSB_1p8-supply = <&pm8941_l6>;
90 HSUSB_3p3-supply = <&pm8941_l24>;
Pavankumar Kondetieaea7fe2011-10-27 14:46:45 +053091
92 qcom,hsusb-otg-phy-type = <2>;
93 qcom,hsusb-otg-mode = <1>;
94 qcom,hsusb-otg-otg-control = <1>;
Manu Gautambd53fba2012-07-31 16:13:06 +053095 qcom,hsusb-otg-disable-reset;
Pavankumar Kondetieaea7fe2011-10-27 14:46:45 +053096 };
Sujit Reddy Thumma7285c2e2011-11-04 10:18:15 +053097
Sujit Reddy Thumma85fc52c2012-05-02 12:53:45 +053098 qcom,sdcc@f9824000 {
Sujit Reddy Thumma38459152012-06-26 00:07:59 +053099 cell-index = <1>; /* SDC1 eMMC slot */
Sujit Reddy Thumma7285c2e2011-11-04 10:18:15 +0530100 compatible = "qcom,msm-sdcc";
Sujit Reddy Thumma85fc52c2012-05-02 12:53:45 +0530101 reg = <0xf9824000 0x1000>;
Sujit Reddy Thumma1dfac2c2012-07-30 10:15:39 +0530102 reg-names = "core_mem";
Michael Bohanc7224532012-01-06 16:02:52 -0800103 interrupts = <0 123 0>;
Sujit Reddy Thumma1dfac2c2012-07-30 10:15:39 +0530104 interrupt-names = "core_irq";
Sujit Reddy Thummab9ff7f02012-05-04 09:57:49 +0530105 vdd-supply = <&pm8941_l20>;
106 vdd-io-supply = <&pm8941_s3>;
107
108 qcom,sdcc-vdd-voltage_level = <2950000 2950000>;
109 qcom,sdcc-vdd-current_level = <800 500000>;
110
111 qcom,sdcc-vdd-io-always_on;
112 qcom,sdcc-vdd-io-voltage_level = <1800000 1800000>;
113 qcom,sdcc-vdd-io-current_level = <250 154000>;
Sujit Reddy Thumma7285c2e2011-11-04 10:18:15 +0530114
Sujit Reddy Thumma38459152012-06-26 00:07:59 +0530115 qcom,sdcc-pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */
116 qcom,sdcc-pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */
117 qcom,sdcc-pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */
118 qcom,sdcc-pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */
119
Sujit Reddy Thumma85fc52c2012-05-02 12:53:45 +0530120 qcom,sdcc-clk-rates = <400000 25000000 50000000 100000000 200000000>;
121 qcom,sdcc-sup-voltages = <2950 2950>;
Sujit Reddy Thumma7285c2e2011-11-04 10:18:15 +0530122 qcom,sdcc-bus-width = <8>;
123 qcom,sdcc-nonremovable;
Sujit Reddy Thumma824b7522012-05-30 13:04:34 +0530124 qcom,sdcc-bus-speed-mode = "HS200_1p8v", "DDR_1p8v";
Sujit Reddy Thumma7285c2e2011-11-04 10:18:15 +0530125 };
126
Sujit Reddy Thumma85fc52c2012-05-02 12:53:45 +0530127 qcom,sdcc@f98a4000 {
Sujit Reddy Thumma38459152012-06-26 00:07:59 +0530128 cell-index = <2>; /* SDC2 SD card slot */
Sujit Reddy Thumma85fc52c2012-05-02 12:53:45 +0530129 compatible = "qcom,msm-sdcc";
130 reg = <0xf98a4000 0x1000>;
Sujit Reddy Thumma1dfac2c2012-07-30 10:15:39 +0530131 reg-names = "core_mem";
Sujit Reddy Thumma85fc52c2012-05-02 12:53:45 +0530132 interrupts = <0 125 0>;
Sujit Reddy Thumma1dfac2c2012-07-30 10:15:39 +0530133 interrupt-names = "core_irq";
Sujit Reddy Thummab9ff7f02012-05-04 09:57:49 +0530134 vdd-supply = <&pm8941_l21>;
135 vdd-io-supply = <&pm8941_l13>;
136
137 qcom,sdcc-vdd-voltage_level = <2950000 2950000>;
138 qcom,sdcc-vdd-current_level = <9000 800000>;
139
140 qcom,sdcc-vdd-io-always_on;
141 qcom,sdcc-vdd-io-lpm_sup;
142 qcom,sdcc-vdd-io-voltage_level = <1800000 2950000>;
143 qcom,sdcc-vdd-io-current_level = <6 22000>;
Sujit Reddy Thumma85fc52c2012-05-02 12:53:45 +0530144
Sujit Reddy Thumma38459152012-06-26 00:07:59 +0530145 qcom,sdcc-pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */
146 qcom,sdcc-pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */
147 qcom,sdcc-pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */
148 qcom,sdcc-pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */
149
Sujit Reddy Thumma85fc52c2012-05-02 12:53:45 +0530150 qcom,sdcc-clk-rates = <400000 25000000 50000000 100000000 200000000>;
151 qcom,sdcc-sup-voltages = <2950 2950>;
152 qcom,sdcc-bus-width = <4>;
Sujit Reddy Thumma824b7522012-05-30 13:04:34 +0530153 qcom,sdcc-xpc;
154 qcom,sdcc-bus-speed-mode = "SDR12", "SDR25", "SDR50", "DDR50", "SDR104";
155 qcom,sdcc-current-limit = <800>;
Sujit Reddy Thumma85fc52c2012-05-02 12:53:45 +0530156 };
157
158 qcom,sdcc@f9864000 {
Sujit Reddy Thumma38459152012-06-26 00:07:59 +0530159 cell-index = <3>; /* SDC3 SDIO slot */
Sujit Reddy Thumma7285c2e2011-11-04 10:18:15 +0530160 compatible = "qcom,msm-sdcc";
Sujit Reddy Thumma85fc52c2012-05-02 12:53:45 +0530161 reg = <0xf9864000 0x1000>;
Sujit Reddy Thumma1dfac2c2012-07-30 10:15:39 +0530162 reg-names = "core_mem";
Michael Bohanc7224532012-01-06 16:02:52 -0800163 interrupts = <0 127 0>;
Sujit Reddy Thumma1dfac2c2012-07-30 10:15:39 +0530164 interrupt-names = "core_irq";
Sujit Reddy Thumma7285c2e2011-11-04 10:18:15 +0530165
Sujit Reddy Thumma38459152012-06-26 00:07:59 +0530166 gpios = <&msmgpio 40 0>, /* CLK */
167 <&msmgpio 39 0>, /* CMD */
168 <&msmgpio 38 0>, /* DATA0 */
169 <&msmgpio 37 0>, /* DATA1 */
170 <&msmgpio 36 0>, /* DATA2 */
171 <&msmgpio 35 0>; /* DATA3 */
172 qcom,sdcc-gpio-names = "CLK", "CMD", "DAT0", "DAT1", "DAT2", "DAT3";
173
Sujit Reddy Thumma85fc52c2012-05-02 12:53:45 +0530174 qcom,sdcc-clk-rates = <400000 25000000 50000000 100000000>;
175 qcom,sdcc-sup-voltages = <1800 1800>;
Sujit Reddy Thumma7285c2e2011-11-04 10:18:15 +0530176 qcom,sdcc-bus-width = <4>;
Sujit Reddy Thumma824b7522012-05-30 13:04:34 +0530177 qcom,sdcc-bus-speed-mode = "SDR12", "SDR25", "SDR50", "DDR50";
Sujit Reddy Thumma7138b3e2012-06-04 09:10:11 +0530178 status = "disable";
Sujit Reddy Thumma85fc52c2012-05-02 12:53:45 +0530179 };
180
181 qcom,sdcc@f98e4000 {
Sujit Reddy Thumma38459152012-06-26 00:07:59 +0530182 cell-index = <4>; /* SDC4 SDIO slot */
Sujit Reddy Thumma85fc52c2012-05-02 12:53:45 +0530183 compatible = "qcom,msm-sdcc";
184 reg = <0xf98e4000 0x1000>;
Sujit Reddy Thumma1dfac2c2012-07-30 10:15:39 +0530185 reg-names = "core_mem";
Sujit Reddy Thumma85fc52c2012-05-02 12:53:45 +0530186 interrupts = <0 129 0>;
Sujit Reddy Thumma1dfac2c2012-07-30 10:15:39 +0530187 interrupt-names = "core_irq";
Sujit Reddy Thumma85fc52c2012-05-02 12:53:45 +0530188
Sujit Reddy Thumma38459152012-06-26 00:07:59 +0530189 gpios = <&msmgpio 93 0>, /* CLK */
190 <&msmgpio 91 0>, /* CMD */
191 <&msmgpio 96 0>, /* DATA0 */
192 <&msmgpio 95 0>, /* DATA1 */
193 <&msmgpio 94 0>, /* DATA2 */
194 <&msmgpio 92 0>; /* DATA3 */
195 qcom,sdcc-gpio-names = "CLK", "CMD", "DAT0", "DAT1", "DAT2", "DAT3";
196
Sujit Reddy Thumma85fc52c2012-05-02 12:53:45 +0530197 qcom,sdcc-clk-rates = <400000 25000000 50000000 100000000>;
198 qcom,sdcc-sup-voltages = <1800 1800>;
199 qcom,sdcc-bus-width = <4>;
Sujit Reddy Thumma824b7522012-05-30 13:04:34 +0530200 qcom,sdcc-bus-speed-mode = "SDR12", "SDR25", "SDR50", "DDR50";
Sujit Reddy Thumma7138b3e2012-06-04 09:10:11 +0530201 status = "disable";
Sujit Reddy Thumma7285c2e2011-11-04 10:18:15 +0530202 };
Yan He1466daa2011-11-30 17:25:38 -0800203
David Brown225abee2012-02-09 22:28:50 -0800204 qcom,sps@f9980000 {
Yan He1466daa2011-11-30 17:25:38 -0800205 compatible = "qcom,msm_sps";
David Brown225abee2012-02-09 22:28:50 -0800206 reg = <0xf9984000 0x15000>,
207 <0xf9999000 0xb000>;
Michael Bohanc7224532012-01-06 16:02:52 -0800208 interrupts = <0 94 0>;
Yan He1466daa2011-11-30 17:25:38 -0800209
210 qcom,bam-dma-res-pipes = <6>;
211 };
212
Hariprasad Dhalinarasimhade991f02012-05-31 13:15:51 -0700213
Harini Jayaraman5f98dbb2011-12-20 13:38:19 -0700214 spi@f9924000 {
215 compatible = "qcom,spi-qup-v2";
216 reg = <0xf9924000 0x1000>;
Michael Bohan857c8ac2012-01-23 16:57:34 -0800217 interrupts = <0 96 0>;
Vikram Mulukutla703e5722012-05-24 21:53:40 -0700218 spi-max-frequency = <25000000>;
Harini Jayaraman5f98dbb2011-12-20 13:38:19 -0700219 };
Kenneth Heitkef3c829c2012-01-13 17:02:43 -0700220
Sagar Dhariaa316a962012-03-21 16:13:22 -0600221 slim@fe12f000 {
222 cell-index = <1>;
223 compatible = "qcom,slim-msm";
224 reg = <0xfe12f000 0x35000>,
225 <0xfe104000 0x20000>;
226 reg-names = "slimbus_physical", "slimbus_bam_physical";
227 interrupts = <0 163 0 0 164 0>;
228 interrupt-names = "slimbus_irq", "slimbus_bam_irq";
229 qcom,min-clk-gear = <10>;
Sagar Dhariac0d6cf52012-07-31 19:17:26 -0600230 qcom,rxreg-access;
Sagar Dhariaa316a962012-03-21 16:13:22 -0600231 };
232
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700233 spmi_bus: qcom,spmi@fc4c0000 {
Kenneth Heitkef3c829c2012-01-13 17:02:43 -0700234 cell-index = <0>;
235 compatible = "qcom,spmi-pmic-arb";
236 reg = <0xfc4cf000 0x1000>,
237 <0Xfc4cb000 0x1000>;
238 /* 190,ee0_krait_hlos_spmi_periph_irq */
239 /* 187,channel_0_krait_hlos_trans_done_irq */
240 interrupts = <0 190 0 0 187 0>;
241 qcom,pmic-arb-ee = <0>;
242 qcom,pmic-arb-channel = <0>;
Gilad Avidova11c0b52012-02-15 15:30:49 -0700243 qcom,pmic-arb-ppid-map = <0x13000000>, /* PM8941_LDO1 */
244 <0x13100001>, /* PM8941_LDO2 */
245 <0x13200002>, /* PM8941_LDO3 */
246 <0x13300003>, /* PM8941_LDO4 */
247 <0x13400004>, /* PM8941_LDO5 */
248 <0x13500005>, /* PM8941_LDO6 */
249 <0x13600006>, /* PM8941_LDO7 */
250 <0x13700007>, /* PM8941_LDO8 */
251 <0x13800008>, /* PM8941_LDO9 */
252 <0x13900009>, /* PM8941_LDO10 */
253 <0x13a0000a>, /* PM8941_LDO11 */
254 <0x13b0000b>, /* PM8941_LDO12 */
255 <0x13c0000c>, /* PM8941_LDO13 */
256 <0x13d0000d>, /* PM8941_LDO14 */
257 <0x13e0000e>, /* PM8941_LDO15 */
258 <0x13f0000f>, /* PM8941_LDO16 */
259 <0x14000010>, /* PM8941_LDO17 */
260 <0x14100011>, /* PM8941_LDO18 */
261 <0x14200012>, /* PM8941_LDO19 */
262 <0x14300013>, /* PM8941_LDO20 */
263 <0x14400014>, /* PM8941_LDO21 */
264 <0x14500015>, /* PM8941_LDO22 */
265 <0x14600016>, /* PM8941_LDO23 */
266 <0x14700017>, /* PM8941_LDO24 */
267 <0x14800018>, /* PM8941_LDO25 */
268 <0x14900019>, /* PM8941_LDO26 */
269 <0x0c00001a>, /* PM8941_GPIO1 */
270 <0x0c10001b>, /* PM8941_GPIO2 */
271 <0x0c20001c>, /* PM8941_GPIO3 */
272 <0x0c30001d>, /* PM8941_GPIO4 */
273 <0x0c40001e>, /* PM8941_GPIO5 */
274 <0x0c50001f>, /* PM8941_GPIO6 */
275 <0x0c600020>, /* PM8941_GPIO7 */
276 <0x0c700021>, /* PM8941_GPIO8 */
277 <0x0c800022>, /* PM8941_GPIO9 */
278 <0x0c900023>, /* PM8941_GPIO10 */
279 <0x0ca00024>, /* PM8941_GPIO11 */
280 <0x0cb00025>, /* PM8941_GPIO12 */
281 <0x0cc00026>, /* PM8941_GPIO13 */
282 <0x0cd00027>, /* PM8941_GPIO14 */
283 <0x0ce00028>, /* PM8941_GPIO15 */
284 <0x0cf00029>, /* PM8941_GPIO16 */
285 <0x0d00002a>, /* PM8941_GPIO17 */
286 <0x0d10002b>, /* PM8941_GPIO18 */
287 <0x0d20002c>, /* PM8941_GPIO19 */
288 <0x0d30002d>, /* PM8941_GPIO20 */
289 <0x0d40002e>, /* PM8941_GPIO21 */
290 <0x0d50002f>, /* PM8941_GPIO22 */
291 <0x0d600030>, /* PM8941_GPIO23 */
292 <0x0d700031>, /* PM8941_GPIO24 */
293 <0x0d800032>, /* PM8941_GPIO25 */
294 <0x0d900033>, /* PM8941_GPIO26 */
295 <0x0da00034>, /* PM8941_GPIO27 */
296 <0x0db00035>, /* PM8941_GPIO28 */
297 <0x0dc00036>, /* PM8941_GPIO29 */
298 <0x0dd00037>, /* PM8941_GPIO30 */
299 <0x0de00038>, /* PM8941_GPIO31 */
300 <0x0df00039>, /* PM8941_GPIO32 */
301 <0x0e00003a>, /* PM8941_GPIO33 */
302 <0x0e10003b>, /* PM8941_GPIO34 */
303 <0x0e20003c>, /* PM8941_GPIO35 */
304 <0x0e30003d>, /* PM8941_GPIO36 */
305 <0x0280003e>, /* COINCELL */
306 <0x0100003f>, /* SMBC_OVP */
307 <0x01100040>, /* SMBC_CHG */
308 <0x01200041>, /* SMBC_BIF */
309 <0x00500042>, /* INTERRUPT */
310 <0x00100043>, /* PM8941_0 */
311 <0x20100044>, /* PM8841_0 */
312 <0x10100045>, /* PM8941_1 */
313 <0x30100046>, /* PM8841_1 */
314 <0x00800047>, /* PON0 */
315 <0x20800048>, /* PON1 */
316 <0x11000049>, /* PM8941_SMPS1 */
317 <0x1110004a>, /* PM8941_SMPS2 */
318 <0x1120004b>, /* PM8941_SMPS3 */
319 <0x3100004c>, /* PM8841_SMPS1 */
320 <0x3110004d>, /* PM8841_SMPS2 */
321 <0x3120004e>, /* PM8841_SMPS3 */
322 <0x3130004f>, /* PM8841_SMPS4 */
323 <0x31400050>, /* PM8841_SMPS5 */
324 <0x31500051>, /* PM8841_SMPS6 */
325 <0x31600052>, /* PM8841_SMPS7 */
326 <0x31700053>, /* PM8841_SMPS8 */
327 <0x05000054>, /* SHARED_XO */
328 <0x05100055>, /* BB_CLK1 */
329 <0x05200056>, /* BB_CLK2 */
330 <0x05900057>, /* SLEEP_CLK */
331 <0x07000058>, /* PBS_CORE */
332 <0x07100059>, /* PBS_CLIENT1 */
333 <0x0720005a>; /* PBS_CLIENT2 */
Kenneth Heitkef3c829c2012-01-13 17:02:43 -0700334 };
Sagar Dharia218edb92012-01-15 18:03:01 -0700335
336 i2c@f9966000 {
337 cell-index = <0>;
338 compatible = "qcom,i2c-qup";
339 reg = <0Xf9966000 0x1000>;
340 reg-names = "qup_phys_addr";
341 interrupts = <0 104 0>;
342 interrupt-names = "qup_err_intr";
343 qcom,i2c-bus-freq = <100000>;
344 qcom,i2c-src-freq = <24000000>;
345 };
Matt Wagantalle9b715a2012-01-04 18:16:14 -0800346
Matt Wagantall48523022012-04-23 13:28:42 -0700347 qcom,acpuclk@f9000000 {
Abhimanyu Kapur90ced6e2012-06-26 17:41:25 -0700348 compatible = "qcom,acpuclk-8974";
Matt Wagantallbf9eb2c2012-05-31 09:44:22 -0700349 krait0-supply = <&krait0_vreg>;
350 krait1-supply = <&krait1_vreg>;
351 krait2-supply = <&krait2_vreg>;
352 krait3-supply = <&krait3_vreg>;
David Collins1c91ea72012-05-03 16:17:35 -0700353 krait0_mem-supply = <&pm8841_s1_ao>;
354 krait1_mem-supply = <&pm8841_s1_ao>;
355 krait2_mem-supply = <&pm8841_s1_ao>;
356 krait3_mem-supply = <&pm8841_s1_ao>;
357 krait0_dig-supply = <&pm8841_s2_corner_ao>;
358 krait1_dig-supply = <&pm8841_s2_corner_ao>;
359 krait2_dig-supply = <&pm8841_s2_corner_ao>;
360 krait3_dig-supply = <&pm8841_s2_corner_ao>;
Matt Wagantall337cdb72012-06-29 12:07:27 -0700361 krait0_hfpll_a-supply = <&pm8941_s2_ao>;
362 krait1_hfpll_a-supply = <&pm8941_s2_ao>;
363 krait2_hfpll_a-supply = <&pm8941_s2_ao>;
364 krait3_hfpll_a-supply = <&pm8941_s2_ao>;
365 l2_hfpll_a-supply = <&pm8941_s2_ao>;
366 krait0_hfpll_b-supply = <&pm8941_l12_ao>;
367 krait1_hfpll_b-supply = <&pm8941_l12_ao>;
368 krait2_hfpll_b-supply = <&pm8941_l12_ao>;
369 krait3_hfpll_b-supply = <&pm8941_l12_ao>;
370 l2_hfpll_b-supply = <&pm8941_l12_ao>;
Matt Wagantalle9b715a2012-01-04 18:16:14 -0800371 };
Ido Shayevitzef72ddd2012-03-28 18:55:55 +0200372
Shimrit Malichi57ae1492012-08-06 14:03:45 +0300373 qcom,ssusb@f9200000 {
Ido Shayevitzef72ddd2012-03-28 18:55:55 +0200374 compatible = "qcom,dwc-usb3-msm";
Shimrit Malichi57ae1492012-08-06 14:03:45 +0300375 reg = <0xf9200000 0xfc000>;
Manu Gautam17206c22012-06-21 10:17:53 +0530376 interrupts = <0 131 0 0 179 0>;
377 interrupt-names = "irq", "otg_irq";
Manu Gautam60e01352012-05-29 09:00:34 +0530378 SSUSB_VDDCX-supply = <&pm8841_s2>;
379 SSUSB_1p8-supply = <&pm8941_l6>;
380 HSUSB_VDDCX-supply = <&pm8841_s2>;
381 HSUSB_1p8-supply = <&pm8941_l6>;
382 HSUSB_3p3-supply = <&pm8941_l24>;
Ido Shayevitzef72ddd2012-03-28 18:55:55 +0200383 qcom,dwc-usb3-msm-dbm-eps = <4>;
384 };
Matt Wagantallc2bbdc32012-03-21 19:44:50 -0700385
Matt Wagantallfc727212012-01-06 18:18:25 -0800386 gdsc_oxili_gx: qcom,gdsc@fd8c4024 {
387 parent-supply = <&pm8841_s4>;
388 };
389
Matt Wagantallc2bbdc32012-03-21 19:44:50 -0700390 qcom,lpass@fe200000 {
391 compatible = "qcom,pil-q6v5-lpass";
392 reg = <0xfe200000 0x00100>,
Matt Wagantallc2bbdc32012-03-21 19:44:50 -0700393 <0xfd485100 0x00010>;
394
Matt Wagantall6e6b8cd2012-05-24 12:42:24 -0700395 qcom,firmware-name = "adsp";
Matt Wagantallc2bbdc32012-03-21 19:44:50 -0700396 };
Tianyi Gouc1e049f82011-11-23 14:20:16 -0800397
Phani Kumar Uppalapati87841c82012-06-14 21:28:43 -0700398 qcom,msm-pcm {
399 compatible = "qcom,msm-pcm-dsp";
400 };
Phani Kumar Uppalapatic6651692012-06-14 20:33:09 -0700401
Phani Kumar Uppalapati87841c82012-06-14 21:28:43 -0700402 qcom,msm-pcm-routing {
403 compatible = "qcom,msm-pcm-routing";
404 };
Phani Kumar Uppalapatic6651692012-06-14 20:33:09 -0700405
Phani Kumar Uppalapati87841c82012-06-14 21:28:43 -0700406 qcom,msm-pcm-lpa {
407 compatible = "qcom,msm-pcm-lpa";
408 };
Phani Kumar Uppalapatic6651692012-06-14 20:33:09 -0700409
Harmandeep Singha3453a72012-07-03 12:31:09 -0700410 qcom,msm-compr-dsp {
411 compatible = "qcom,msm-compr-dsp";
412 };
413
Phani Kumar Uppalapati87841c82012-06-14 21:28:43 -0700414 qcom,msm-voip-dsp {
415 compatible = "qcom,msm-voip-dsp";
416 };
Phani Kumar Uppalapatic6651692012-06-14 20:33:09 -0700417
Phani Kumar Uppalapati87841c82012-06-14 21:28:43 -0700418 qcom,msm-stub-codec {
419 compatible = "qcom,msm-stub-codec";
420 };
Phani Kumar Uppalapatic6651692012-06-14 20:33:09 -0700421
Phani Kumar Uppalapati87841c82012-06-14 21:28:43 -0700422 qcom,msm-dai-fe {
423 compatible = "qcom,msm-dai-fe";
424 };
Phani Kumar Uppalapatic6651692012-06-14 20:33:09 -0700425
Joonwoo Park6572ac52012-07-10 17:17:00 -0700426 qcom,msm-dai-q6 {
427 compatible = "qcom,msm-dai-q6";
428 qcom,msm-dai-q6-sb-0-rx {
429 compatible = "qcom,msm-dai-q6-dev";
430 qcom,msm-dai-q6-dev-id = <16384>;
431 };
432
433 qcom,msm-dai-q6-sb-0-tx {
434 compatible = "qcom,msm-dai-q6-dev";
435 qcom,msm-dai-q6-dev-id = <16385>;
436 };
437 };
438
Phani Kumar Uppalapati87841c82012-06-14 21:28:43 -0700439 qcom,msm-auxpcm {
440 compatible = "qcom,msm-auxpcm-resource";
441 qcom,msm-cpudai-auxpcm-clk = "pcm_clk";
442 qcom,msm-cpudai-auxpcm-mode = <0>;
443 qcom,msm-cpudai-auxpcm-sync = <1>;
444 qcom,msm-cpudai-auxpcm-frame = <5>;
445 qcom,msm-cpudai-auxpcm-quant = <2>;
446 qcom,msm-cpudai-auxpcm-slot = <1>;
447 qcom,msm-cpudai-auxpcm-data = <0>;
448 qcom,msm-cpudai-auxpcm-pcm-clk-rate = <2048000>;
Phani Kumar Uppalapatic6651692012-06-14 20:33:09 -0700449
Phani Kumar Uppalapati87841c82012-06-14 21:28:43 -0700450 qcom,msm-auxpcm-rx {
451 qcom,msm-auxpcm-dev-id = <4106>;
452 compatible = "qcom,msm-auxpcm-dev";
453 };
Phani Kumar Uppalapatic6651692012-06-14 20:33:09 -0700454
Phani Kumar Uppalapati87841c82012-06-14 21:28:43 -0700455 qcom,msm-auxpcm-tx {
456 qcom,msm-auxpcm-dev-id = <4107>;
457 compatible = "qcom,msm-auxpcm-dev";
458 };
459 };
460
461 qcom,msm-pcm-hostless {
462 compatible = "qcom,msm-pcm-hostless";
463 };
Phani Kumar Uppalapatic6651692012-06-14 20:33:09 -0700464
Phani Kumar Uppalapati8b3a1bb2012-06-26 19:56:58 -0700465 qcom,msm-ocmem-audio {
466 compatible = "qcom,msm-ocmem-audio";
467 qcom,msm-ocmem-audio-src-id = <11>;
468 qcom,msm-ocmem-audio-dst-id = <604>;
469 qcom,msm-ocmem-audio-ab = <32505856>;
470 qcom,msm-ocmem-audio-ib = <32505856>;
471 };
472
Matt Wagantall4e2599e2012-03-21 22:31:35 -0700473 qcom,mss@fc880000 {
474 compatible = "qcom,pil-q6v5-mss";
475 reg = <0xfc880000 0x100>,
476 <0xfd485000 0x400>,
477 <0xfc820000 0x020>,
Matt Wagantall16bc5cc2012-08-09 21:33:23 -0700478 <0xfc401680 0x004>,
479 <0xfc980008 0x004>;
Matt Wagantall4e2599e2012-03-21 22:31:35 -0700480 vdd_mss-supply = <&pm8841_s3>;
481
482 qcom,firmware-name = "mba";
483 qcom,pil-self-auth = <1>;
484 };
485
Matt Wagantalle6e00d52012-03-08 17:39:07 -0800486 qcom,mba@fc820000 {
487 compatible = "qcom,pil-mba";
488 reg = <0xfc820000 0x0020>,
489 <0x0d1fc000 0x4000>;
490
491 qcom,firmware-name = "modem";
492 qcom,depends-on = "mba";
493 };
494
Tianyi Gouc1e049f82011-11-23 14:20:16 -0800495 qcom,pronto@fb21b000 {
496 compatible = "qcom,pil-pronto";
497 reg = <0xfb21b000 0x3000>,
498 <0xfc401700 0x4>,
499 <0xfd485300 0xc>;
500 vdd_pronto_pll-supply = <&pm8941_l12>;
501
502 qcom,firmware-name = "wcnss";
503 };
Naveen Ramaraj51f5e8b2012-04-09 15:58:40 -0700504
505 qcom,ocmem@fdd00000 {
Naveen Ramaraj94455a42012-07-05 16:01:40 -0700506 compatible = "qcom,msm-ocmem";
507 reg = <0xfdd00000 0x2000>,
508 <0xfdd02000 0x2000>,
509 <0xfe039000 0x400>,
510 <0xfec00000 0x180000>;
511 reg-names = "ocmem_ctrl_physical", "dm_ctrl_physical", "br_ctrl_physical", "ocmem_physical";
512 interrupts = <0 76 0 0 77 0>;
513 interrupt-names = "ocmem_irq", "dm_irq";
514 qcom,ocmem-num-regions = <0x3>;
Naveen Ramarajba3a6262012-08-02 17:14:27 -0700515 qcom,resource-type = <0x706d636f>;
Naveen Ramaraj94455a42012-07-05 16:01:40 -0700516 #address-cells = <1>;
517 #size-cells = <1>;
518 ranges = <0x0 0xfec00000 0x180000>;
519
520 partition@0 {
521 reg = <0x0 0x100000>;
522 qcom,ocmem-part-name = "graphics";
523 qcom,ocmem-part-min = <0x80000>;
524 };
525
526 partition@80000 {
527 reg = <0x80000 0xA0000>;
528 qcom,ocmem-part-name = "lp_audio";
529 qcom,ocmem-part-min = <0xA0000>;
530 };
531
532 partition@E0000 {
533 reg = <0x120000 0x20000>;
Naveen Ramarajcc4ec152012-05-14 09:55:29 -0700534 qcom,ocmem-part-name = "other_os";
Naveen Ramaraj94455a42012-07-05 16:01:40 -0700535 qcom,ocmem-part-min = <0x20000>;
536 };
537
538 partition@100000 {
539 reg = <0x100000 0x80000>;
540 qcom,ocmem-part-name = "video";
541 qcom,ocmem-part-min = <0x55000>;
542 };
543
544 partition@140000 {
545 reg = <0x140000 0x40000>;
546 qcom,ocmem-part-name = "sensors";
547 qcom,ocmem-part-min = <0x40000>;
548 };
Naveen Ramaraj51f5e8b2012-04-09 15:58:40 -0700549 };
Mahesh Sivasubramanian3f0d0c72012-05-04 17:35:55 -0600550
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700551 rpm_bus: qcom,rpm-smd {
Mahesh Sivasubramanian3f0d0c72012-05-04 17:35:55 -0600552 compatible = "qcom,rpm-smd";
553 rpm-channel-name = "rpm_requests";
554 rpm-channel-type = <15>; /* SMD_APPS_RPM */
555 };
Hariprasad Dhalinarasimhade991f02012-05-31 13:15:51 -0700556
557 qcom,msm-rng@f9bff000 {
558 compatible = "qcom,msm-rng";
559 reg = <0xf9bff000 0x200>;
560 };
Ramesh Masavarapufb1f01e2012-06-14 09:40:40 -0700561
562 qcom,qseecom@fe806000 {
563 compatible = "qcom,qseecom";
564 };
Adrian Salido-Moreno5ef3ac02012-05-14 18:40:47 -0700565
566 qcom,mdss_mdp@fd900000 {
567 cell-index = <0>;
568 compatible = "qcom,mdss_mdp";
569 reg = <0xfd900000 0x22100>;
570 interrupts = <0 72 0>;
Matt Wagantall37320fb2012-06-26 14:50:28 -0700571 vdd-supply = <&gdsc_mdss>;
Adrian Salido-Moreno5ef3ac02012-05-14 18:40:47 -0700572 };
573
Chandan Uddarajude63dec2012-05-29 18:55:10 -0700574 mdss_dsi: qcom,mdss_dsi@fd922800 {
575 cell-index = <1>;
576 compatible = "qcom,msm-mdss-dsi";
577 reg = <0xfd922800 0x5ac>,
578 <0xfd8c0000 0x01000>;
Chandan Uddarajude63dec2012-05-29 18:55:10 -0700579 };
580
Adrian Salido-Moreno5ef3ac02012-05-14 18:40:47 -0700581 qcom,mdss_wb_panel {
582 cell-index = <1>;
583 compatible = "qcom,mdss_wb";
584 qcom,mdss_pan_res = <640 480>;
585 qcom,mdss_pan_bpp = <24>;
586 };
Hanumant72aec702012-06-25 11:51:07 -0700587
588 qcom,wdt@f9017000 {
589 compatible = "qcom,msm-watchdog";
590 reg = <0xf9017000 0x1000>;
591 interrupts = <0 3 0 0 4 0>;
592 qcom,bark-time = <11000>;
593 qcom,pet-time = <10000>;
594 qcom,ipi-ping = <1>;
595 };
Hariprasad Dhalinarasimha0fc258f2012-07-05 13:01:29 -0700596
597 qcom,tz-log@fe805720 {
598 compatible = "qcom,tz-log";
599 reg = <0xfe805720 0x1000>;
600 };
Tianyi Gou828798d2012-05-02 21:12:38 -0700601
602 qcom,venus@fdce0000 {
603 compatible = "qcom,pil-venus";
604 reg = <0xfdce0000 0x4000>,
605 <0xfdc80208 0x8>;
606 vdd-supply = <&gdsc_venus>;
607
608 qcom,firmware-name = "venus";
609 qcom,firmware-min-paddr = <0xF500000>;
610 qcom,firmware-max-paddr = <0xFA00000>;
611 };
Siddartha Mohanadoss05a6e382012-05-14 15:13:37 -0700612
Stepan Moskovchenkoc79a7382012-07-19 17:24:32 -0700613 qcom,cache_erp {
614 compatible = "qcom,cache_erp";
615 interrupts = <1 9 0>, <0 2 0>;
616 interrupt-names = "l1_irq", "l2_irq";
617 };
618
Siddartha Mohanadoss05a6e382012-05-14 15:13:37 -0700619 tsens@fc4a8000 {
620 compatible = "qcom,msm-tsens";
621 reg = <0xfc4a8000 0x2000>,
622 <0xfc4b80d0 0x5>;
623 reg-names = "tsens_physical", "tsens_eeprom_physical";
624 interrupts = <0 184 0>;
625 qcom,sensors = <11>;
Siddartha Mohanadoss205bce62012-07-27 17:17:18 -0700626 qcom,slope = <3200 3200 3200 3200 3200 3200 3200 3200 3200
627 3200 3200>;
Siddartha Mohanadoss05a6e382012-05-14 15:13:37 -0700628 };
Laura Abbottf7e44042012-06-22 12:50:32 -0700629
630 qcom,msm-rtb {
631 compatible = "qcom,msm-rtb";
632 qcom,memory-reservation-type = "EBI1";
633 qcom,memory-reservation-size = <0x100000>; /* 1M EBI1 buffer */
634 };
Mona Hossainb43e94b2012-05-07 08:52:06 -0700635
636 qcom,qcedev@fd440000 {
637 compatible = "qcom,qcedev";
638 reg = <0xfd440000 0x20000>,
639 <0xfd444000 0x8000>;
640 interrupts = <0 235 0>;
641 qcom,bam-pipes = <0>;
642 };
643
644 qcom,qcrypto@fd444000 {
645 compatible = "qcom,qcrypto";
646 reg = <0xfd440000 0x20000>,
647 <0xfd444000 0x8000>;
648 interrupts = <0 235 0>;
649 qcom,bam-pipes = <1>;
650 };
Shimrit Malichi57ae1492012-08-06 14:03:45 +0300651
652 qcom,usbbam@f9304000 {
653 compatible = "qcom,usb-bam-msm";
654 reg = <0xf9304000 0x9000>;
655 interrupts = <0 132 0>;
656 qcom,usb-active-bam = <0>;
657 qcom,usb-total-bam-num = <1>;
658 qcom,usb-bam-num-pipes = <16>;
659 qcom,usb-base-address = <0xf9200000>;
660
661 qcom,pipe1 {
662 label = "usb-to-peri-qdss-dwc3";
663 qcom,usb-bam-type = <0>;
664 qcom,src-bam-physical-address = <0>;
665 qcom,src-bam-pipe-index = <0>;
666 qcom,dst-bam-physical-address = <0>;
667 qcom,dst-bam-pipe-index = <0>;
668 qcom,data-fifo-offset = <0>;
669 qcom,data-fifo-size = <0>;
670 qcom,descriptor-fifo-offset = <0>;
671 qcom,descriptor-fifo-size = <0>;
672 };
673
674 qcom,pipe2 {
675 label = "peri-to-usb-qdss-dwc3";
676 qcom,usb-bam-type = <0>;
677 qcom,src-bam-physical-address = <0xfc37C000>;
678 qcom,src-bam-pipe-index = <0>;
679 qcom,dst-bam-physical-address = <0xf9304000>;
680 qcom,dst-bam-pipe-index = <2>;
681 qcom,data-fifo-offset = <0xf0000>;
682 qcom,data-fifo-size = <0x4000>;
683 qcom,descriptor-fifo-offset = <0xf4000>;
684 qcom,descriptor-fifo-size = <0x1400>;
685 };
686 };
Sathish Ambley4df614c2011-10-07 16:30:46 -0700687};
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700688
689/include/ "msm-pm8x41-rpm-regulator.dtsi"
690/include/ "msm-pm8841.dtsi"
691/include/ "msm-pm8941.dtsi"
692/include/ "msm8974-regulator.dtsi"
693/include/ "msm8974-gpio.dtsi"