blob: 7e102fe221a469b0e067200d4cef480084afedca [file] [log] [blame]
Stepan Moskovchenko1b6dac62013-01-15 18:48:51 -08001/* Copyright (c) 2013, The Linux Foundation. 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 */
12
13/*
14 * As a general rule, only version-specific property overrides should be placed
15 * inside this file. However, device definitions should be placed inside the
16 * msm8974.dtsi file.
17 */
18
19/include/ "msm8974.dtsi"
David Collins02817ff2013-06-18 09:31:00 -070020
21/include/ "msm-pm8x41-rpm-regulator.dtsi"
22/include/ "msm-pm8841.dtsi"
23&spmi_bus {
24 pm8941_lsid0: qcom,pm8941@0 {
25 reg = <0x0>;
26 };
27 pm8941_lsid1: qcom,pm8941@1 {
28 reg = <0x1>;
29 };
30};
31/include/ "msm-pm8941.dtsi"
32/include/ "msm8974-regulator.dtsi"
33/include/ "msm8974-clock.dtsi"
34
Olav Haugan8e32a992013-01-31 11:42:28 -080035/include/ "msm8974-v2-iommu.dtsi"
Shalaj Jain300e5ce2013-02-09 16:15:56 -080036/include/ "msm8974-v2-iommu-domains.dtsi"
Mahesh Sivasubramanian84c31c92013-03-06 18:19:49 -070037/include/ "msm8974-v2-pm.dtsi"
Abhimanyu Kapur032b1f42013-01-18 00:10:50 -080038
Stepan Moskovchenko7d8cdcaa2013-04-25 17:10:55 -070039&soc {
Manu Gautam8a7a8f12013-01-22 13:56:29 +053040 android_usb@fe8050c8 {
41 compatible = "qcom,android-usb";
42 reg = <0xfe8050c8 0xc8>;
43 qcom,android-usb-swfi-latency = <1>;
44 };
45
Abhimanyu Kapur032b1f42013-01-18 00:10:50 -080046 qcom,msm-imem@fe805000 {
47 compatible = "qcom,msm-imem";
48 reg = <0xfe805000 0x1000>; /* Address and size of IMEM */
49 };
50};
Jordan Crousec13e9e92013-01-29 10:13:36 -070051
Vijayavardhan Vennapusa51f76c12014-02-17 11:01:12 +053052&usb3 {
53 qcom,usbin-vadc = <&pm8941_vadc>;
54};
55
Jordan Crousec13e9e92013-01-29 10:13:36 -070056/* GPU overrides */
57&msm_gpu {
58 /* Updated chip ID */
59 qcom,chipid = <0x03030001>;
60
61 /* Updated bus bandwidth requirements */
62 qcom,msm-bus,vectors-KBps =
63 /* Off */
64 <26 512 0 0>, <89 604 0 0>,
Lucille Sylvesterb80b6c92013-09-20 16:53:50 -060065 /* Sub-SVS / SVS */
66 <26 512 0 1600000>, <89 604 0 3000000>,
Jordan Crousec13e9e92013-01-29 10:13:36 -070067 /* SVS */
Lucille Sylvester395e6ce2013-01-18 17:09:02 -070068 <26 512 0 2400000>, <89 604 0 3000000>,
69 /* Nominal / SVS */
Lucille Sylvesterb80b6c92013-09-20 16:53:50 -060070 <26 512 0 4912000>, <89 604 0 3000000>,
71 /* SVS / Nominal */
72 <26 512 0 2400000>, <89 604 0 5120000>,
Jordan Crousec13e9e92013-01-29 10:13:36 -070073 /* Nominal */
Lucille Sylvesterb80b6c92013-09-20 16:53:50 -060074 <26 512 0 4912000>, <89 604 0 5120000>,
Lucille Sylvester395e6ce2013-01-18 17:09:02 -070075 /* Turbo / Nominal */
Suman Tatiraju392822d2013-03-27 11:26:24 -070076 <26 512 0 7464000>, <89 604 0 5120000>,
Lucille Sylvesterb80b6c92013-09-20 16:53:50 -060077 /* Nominal / Turbo */
78 <26 512 0 4912000>, <89 604 0 6400000>,
Jordan Crousec13e9e92013-01-29 10:13:36 -070079 /* Turbo */
80 <26 512 0 7464000>, <89 604 0 6400000>;
81};
Adrian Salido-Moreno42559bc2013-02-07 14:34:45 -080082
83&mdss_mdp {
84 qcom,vbif-settings = <0x0004 0x00000001>;
Adrian Salido-Moreno42559bc2013-02-07 14:34:45 -080085
86 qcom,mdss-wb-off = <0x00011100 0x00011500
87 0x00011900 0x00011D00 0x00012100>;
88 qcom,mdss-intf-off = <0x00012500 0x00012700
89 0x00012900 0x00012b00>;
Siddhartha Agrawal98f415c2013-03-26 16:58:01 -070090 qcom,mdss-pingpong-off = <0x00012D00 0x00012E00 0x00012F00>;
Sree Sesha Aravind Vadrevu30b53702013-04-09 16:37:47 -070091 qcom,mdss-has-bwc;
Sree Sesha Aravind Vadrevu691d5812013-04-09 21:34:28 -070092 qcom,mdss-has-decimation;
Carl Vanderlip79fd23e2013-04-24 10:12:09 -070093 qcom,mdss-ad-off = <0x0013100 0x00013300>;
Chandan Uddarajufa37a3c2013-08-27 20:14:04 -070094 vdd-cx-supply = <&pm8841_s2_corner>;
Adrian Salido-Moreno42559bc2013-02-07 14:34:45 -080095};
Vinay Kaliab35a0182013-02-16 16:44:34 -080096
Ujwal Patel47c187d2013-04-03 19:26:52 -070097&mdss_hdmi_tx {
98 reg = <0xfd922100 0x370>,
99 <0xfd922500 0x7C>,
100 <0xfc4b8000 0x60F0>;
101 reg-names = "core_physical", "phy_physical", "qfprom_physical";
102};
103
Vinay Kaliab35a0182013-02-16 16:44:34 -0800104&msm_vidc {
105 qcom,vidc-ns-map = <0x40000000 0x40000000>;
106 qcom,load-freq-tbl = <979200 465000000>,
107 <783360 465000000>,
108 <489600 266670000>,
109 <244800 133330000>;
Deva Ramasubramanian5ecfb002013-05-14 15:51:28 -0700110 qcom,reg-presets = <0x80004 0x1>,
111 <0x80070 0x11FFF>,
Vinay Kaliab35a0182013-02-16 16:44:34 -0800112 <0x80074 0xA4>,
113 <0x800A8 0x1FFF>,
114 <0x80124 0x3>,
115 <0xE0020 0x5555556>,
116 <0xE0024 0x0>;
117 qcom,bus-ports = <1>;
118 qcom,enc-ocmem-ab-ib = <0 0>,
119 <138000 1034000>,
120 <414000 1034000>,
121 <940000 1034000>,
122 <1880000 2068000>,
123 <3008000 3309000>,
124 <3760000 4136000>,
125 <4468000 2457000>;
126 qcom,dec-ocmem-ab-ib = <0 0>,
127 <176000 519000>,
128 <456000 519000>,
Vinay Kaliafe094852013-11-18 17:44:22 -0800129 <864000 629000>,
Vinay Kaliab35a0182013-02-16 16:44:34 -0800130 <1728000 1038000>,
131 <2766000 1661000>,
132 <3456000 2076000>,
133 <3662000 2198000>;
134 qcom,enc-ddr-ab-ib = <0 0>,
Vinay Kalia7201fe22013-05-08 15:14:56 -0700135 <120000 302000>,
136 <364000 302000>,
137 <804000 302000>,
138 <1608000 604000>,
139 <2576000 967000>,
140 <4680000 1404000>,
141 <49880000 1496000>;
Vinay Kaliab35a0182013-02-16 16:44:34 -0800142 qcom,dec-ddr-ab-ib = <0 0>,
Vinay Kalia7201fe22013-05-08 15:14:56 -0700143 <208000 303000>,
Vinay Kalia7d9c8062013-06-04 13:38:54 -0700144 <536000 1600000>,
145 <1012000 1600000>,
146 <2024000 1600000>,
147 <3240000 1600000>,
148 <4048000 1600000>,
149 <4264000 1600000>;
Cullum Baldwin673f9862013-10-25 17:39:47 -0700150 qcom,buffer-type-tz-usage-table = <0x241 0x1>,
151 <0x106 0x2>,
152 <0x480 0x3>;
Eric Hoa00e2da2013-06-20 17:41:57 -0700153 qcom,vidc-iommu-domains {
Praneeth Paladugu34a025d2013-09-20 16:53:23 -0700154 qcom,domain-ns {
155 qcom,vidc-domain-phandle = <&venus_domain_ns>;
156 qcom,vidc-partition-buffer-types = <0x7ff>,
157 <0x800>;
158 };
159 qcom,domain-sec-bs {
160 qcom,vidc-domain-phandle = <&venus_domain_sec_bitstream>;
161 qcom,vidc-partition-buffer-types = <0x241>;
162 };
163 qcom,domain-sec-px {
164 qcom,vidc-domain-phandle = <&venus_domain_sec_pixel>;
165 qcom,vidc-partition-buffer-types = <0x106>;
166 };
167 qcom,domain-sec-np {
168 qcom,vidc-domain-phandle = <&venus_domain_sec_non_pixel>;
169 qcom,vidc-partition-buffer-types = <0x480>;
170 };
171 };
Eric Hoa00e2da2013-06-20 17:41:57 -0700172
Vinay Kaliab35a0182013-02-16 16:44:34 -0800173};
Abhijeet Dharmapurikar46a7ad32013-02-23 12:50:19 -0800174
175&krait_pdn {
176 qcom,use-phase-switching;
177};
Vikram Mulukutla4bf66f22013-04-19 11:10:14 -0700178
179&tspp {
180 vdd_cx-supply = <&pm8841_s2_corner>;
181};
Abhijeet Dharmapurikar579347c2013-07-19 12:35:06 -0700182
183&krait_regulator_pmic {
184 status = "ok";
185
186 qcom,ctl@2000 {
187 status = "ok";
188 };
189
190 qcom,ps@2100 {
191 status = "ok";
192 };
193
194 qcom,freq@2200 {
195 status = "ok";
196 };
197};
Xu Han09755942013-09-20 11:00:00 -0700198
199&cci {
200
201 qcom,camera@6e {
202 qcom,vdd-cx-supply = <&pm8841_s2>;
203 qcom,vdd-cx-name = "qcom,vdd-cx";
204 };
205
206 qcom,camera@20 {
207 qcom,vdd-cx-supply = <&pm8841_s2>;
208 qcom,vdd-cx-name = "qcom,vdd-cx";
209 };
210
211 qcom,camera@6c {
212 qcom,vdd-cx-supply = <&pm8841_s2>;
213 qcom,vdd-cx-name = "qcom,vdd-cx";
214 };
215
216 qcom,camera@90 {
217 qcom,vdd-cx-supply = <&pm8841_s2>;
218 qcom,vdd-cx-name = "qcom,vdd-cx";
219 };
220};