blob: f2f73e979565d82aca33031f5059e56157b6f75e [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
52/* GPU overrides */
53&msm_gpu {
54 /* Updated chip ID */
55 qcom,chipid = <0x03030001>;
56
57 /* Updated bus bandwidth requirements */
58 qcom,msm-bus,vectors-KBps =
59 /* Off */
60 <26 512 0 0>, <89 604 0 0>,
61 /* SVS */
Lucille Sylvester395e6ce2013-01-18 17:09:02 -070062 <26 512 0 2400000>, <89 604 0 3000000>,
63 /* Nominal / SVS */
64 <26 512 0 4656000>, <89 604 0 3000000>,
Jordan Crousec13e9e92013-01-29 10:13:36 -070065 /* Nominal */
Suman Tatiraju392822d2013-03-27 11:26:24 -070066 <26 512 0 4656000>, <89 604 0 5120000>,
Lucille Sylvester395e6ce2013-01-18 17:09:02 -070067 /* Turbo / Nominal */
Suman Tatiraju392822d2013-03-27 11:26:24 -070068 <26 512 0 7464000>, <89 604 0 5120000>,
Jordan Crousec13e9e92013-01-29 10:13:36 -070069 /* Turbo */
70 <26 512 0 7464000>, <89 604 0 6400000>;
71};
Adrian Salido-Moreno42559bc2013-02-07 14:34:45 -080072
73&mdss_mdp {
74 qcom,vbif-settings = <0x0004 0x00000001>;
Adrian Salido-Moreno42559bc2013-02-07 14:34:45 -080075
76 qcom,mdss-wb-off = <0x00011100 0x00011500
77 0x00011900 0x00011D00 0x00012100>;
78 qcom,mdss-intf-off = <0x00012500 0x00012700
79 0x00012900 0x00012b00>;
Siddhartha Agrawal98f415c2013-03-26 16:58:01 -070080 qcom,mdss-pingpong-off = <0x00012D00 0x00012E00 0x00012F00>;
Sree Sesha Aravind Vadrevu30b53702013-04-09 16:37:47 -070081 qcom,mdss-has-bwc;
Sree Sesha Aravind Vadrevu691d5812013-04-09 21:34:28 -070082 qcom,mdss-has-decimation;
Carl Vanderlip79fd23e2013-04-24 10:12:09 -070083 qcom,mdss-ad-off = <0x0013100 0x00013300>;
Adrian Salido-Moreno42559bc2013-02-07 14:34:45 -080084};
Vinay Kaliab35a0182013-02-16 16:44:34 -080085
Ujwal Patel47c187d2013-04-03 19:26:52 -070086&mdss_hdmi_tx {
87 reg = <0xfd922100 0x370>,
88 <0xfd922500 0x7C>,
89 <0xfc4b8000 0x60F0>;
90 reg-names = "core_physical", "phy_physical", "qfprom_physical";
91};
92
Vinay Kaliab35a0182013-02-16 16:44:34 -080093&msm_vidc {
94 qcom,vidc-ns-map = <0x40000000 0x40000000>;
95 qcom,load-freq-tbl = <979200 465000000>,
96 <783360 465000000>,
97 <489600 266670000>,
98 <244800 133330000>;
Deva Ramasubramanian5ecfb002013-05-14 15:51:28 -070099 qcom,reg-presets = <0x80004 0x1>,
100 <0x80070 0x11FFF>,
Vinay Kaliab35a0182013-02-16 16:44:34 -0800101 <0x80074 0xA4>,
102 <0x800A8 0x1FFF>,
103 <0x80124 0x3>,
104 <0xE0020 0x5555556>,
105 <0xE0024 0x0>;
106 qcom,bus-ports = <1>;
107 qcom,enc-ocmem-ab-ib = <0 0>,
108 <138000 1034000>,
109 <414000 1034000>,
110 <940000 1034000>,
111 <1880000 2068000>,
112 <3008000 3309000>,
113 <3760000 4136000>,
114 <4468000 2457000>;
115 qcom,dec-ocmem-ab-ib = <0 0>,
116 <176000 519000>,
117 <456000 519000>,
118 <864000 519000>,
119 <1728000 1038000>,
120 <2766000 1661000>,
121 <3456000 2076000>,
122 <3662000 2198000>;
123 qcom,enc-ddr-ab-ib = <0 0>,
Vinay Kalia7201fe22013-05-08 15:14:56 -0700124 <120000 302000>,
125 <364000 302000>,
126 <804000 302000>,
127 <1608000 604000>,
128 <2576000 967000>,
129 <4680000 1404000>,
130 <49880000 1496000>;
Vinay Kaliab35a0182013-02-16 16:44:34 -0800131 qcom,dec-ddr-ab-ib = <0 0>,
Vinay Kalia7201fe22013-05-08 15:14:56 -0700132 <208000 303000>,
Vinay Kalia7d9c8062013-06-04 13:38:54 -0700133 <536000 1600000>,
134 <1012000 1600000>,
135 <2024000 1600000>,
136 <3240000 1600000>,
137 <4048000 1600000>,
138 <4264000 1600000>;
Shalaj Jainc2feb4d2013-02-12 13:44:00 -0800139 qcom,buffer-type-tz-usage-table = <0x91 0x1>,
140 <0x42 0x2>,
141 <0x120 0x3>;
Eric Hoa00e2da2013-06-20 17:41:57 -0700142 qcom,vidc-iommu-domains {
143 qcom,domain-ns {
144 qcom,vidc-domain-phandle = <&venus_domain_ns>;
145 qcom,vidc-partition-buffer-types = <0x1ff>,
146 <0x200>;
147 };
148 qcom,domain-sec-bs {
149 qcom,vidc-domain-phandle = <&venus_domain_sec_bitstream>;
150 qcom,vidc-partition-buffer-types = <0x91>;
151 };
152 qcom,domain-sec-px {
153 qcom,vidc-domain-phandle = <&venus_domain_sec_pixel>;
154 qcom,vidc-partition-buffer-types = <0x42>;
155 };
156 qcom,domain-sec-np {
157 qcom,vidc-domain-phandle = <&venus_domain_sec_non_pixel>;
158 qcom,vidc-partition-buffer-types = <0x120>;
159 };
160 };
161
Vinay Kaliab35a0182013-02-16 16:44:34 -0800162};
Abhijeet Dharmapurikar46a7ad32013-02-23 12:50:19 -0800163
164&krait_pdn {
165 qcom,use-phase-switching;
166};
Vikram Mulukutla4bf66f22013-04-19 11:10:14 -0700167
168&tspp {
169 vdd_cx-supply = <&pm8841_s2_corner>;
170};
Abhijeet Dharmapurikar579347c2013-07-19 12:35:06 -0700171
172&krait_regulator_pmic {
173 status = "ok";
174
175 qcom,ctl@2000 {
176 status = "ok";
177 };
178
179 qcom,ps@2100 {
180 status = "ok";
181 };
182
183 qcom,freq@2200 {
184 status = "ok";
185 };
186};
Xu Han09755942013-09-20 11:00:00 -0700187
188&cci {
189
190 qcom,camera@6e {
191 qcom,vdd-cx-supply = <&pm8841_s2>;
192 qcom,vdd-cx-name = "qcom,vdd-cx";
193 };
194
195 qcom,camera@20 {
196 qcom,vdd-cx-supply = <&pm8841_s2>;
197 qcom,vdd-cx-name = "qcom,vdd-cx";
198 };
199
200 qcom,camera@6c {
201 qcom,vdd-cx-supply = <&pm8841_s2>;
202 qcom,vdd-cx-name = "qcom,vdd-cx";
203 };
204
205 qcom,camera@90 {
206 qcom,vdd-cx-supply = <&pm8841_s2>;
207 qcom,vdd-cx-name = "qcom,vdd-cx";
208 };
209};