blob: 7ceb5b21f6c9f5d6a64eee7ff7e4ea671898723d [file] [log] [blame]
Dhaval Patel6a5bd8b2016-10-10 14:12:10 -07001/* Copyright (c) 2016-2017, 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&soc {
14 mdss_mdp: qcom,mdss_mdp@ae00000 {
15 compatible = "qcom,sde-kms";
Lloyd Atkinson8f2bd8c2017-04-06 11:55:49 -070016 reg = <0x0ae00000 0x81d40>,
Gopikrishnaiah Anandancd476032017-03-27 12:33:00 -070017 <0x0aeb0000 0x2008>,
18 <0x0aeac000 0xf0>;
Dhaval Patel6a5bd8b2016-10-10 14:12:10 -070019 reg-names = "mdp_phys",
Gopikrishnaiah Anandancd476032017-03-27 12:33:00 -070020 "vbif_phys",
21 "regdma_phys";
Dhaval Patel6a5bd8b2016-10-10 14:12:10 -070022
Dhaval Patel2169d612017-01-30 19:38:05 -080023 clocks =
24 <&clock_gcc GCC_DISP_AHB_CLK>,
25 <&clock_gcc GCC_DISP_AXI_CLK>,
26 <&clock_dispcc DISP_CC_MDSS_AHB_CLK>,
Alan Kwongd5e95342017-01-30 19:38:05 -080027 <&clock_dispcc DISP_CC_MDSS_AXI_CLK>,
Dhaval Patel2169d612017-01-30 19:38:05 -080028 <&clock_dispcc DISP_CC_MDSS_MDP_CLK>,
29 <&clock_dispcc DISP_CC_MDSS_VSYNC_CLK>;
Dhaval Patel2cd94b12017-04-21 19:39:53 -070030 clock-names = "gcc_iface", "gcc_bus", "iface_clk",
31 "bus_clk", "core_clk", "vsync_clk";
32 clock-rate = <0 0 0 0 300000000 19200000 0>;
33 clock-max-rate = <0 0 0 0 430000000 19200000 0>;
Alan Kwongd5e95342017-01-30 19:38:05 -080034
Dhaval Patel2169d612017-01-30 19:38:05 -080035 sde-vdd-supply = <&mdss_core_gdsc>;
Alan Kwongd5e95342017-01-30 19:38:05 -080036
Dhaval Patel6a5bd8b2016-10-10 14:12:10 -070037 /* interrupt config */
Archana Sathyakumar00a36ab2017-03-03 14:38:26 -070038 interrupt-parent = <&pdc>;
Dhaval Patel6a5bd8b2016-10-10 14:12:10 -070039 interrupts = <0 83 0>;
40 interrupt-controller;
41 #interrupt-cells = <1>;
Patrick Dalycaf09c92017-04-18 16:30:52 -070042 iommus = <&apps_smmu 0x880 0x8>,
43 <&apps_smmu 0xc80 0x8>;
Dhaval Patel6a5bd8b2016-10-10 14:12:10 -070044
Dhaval Pateld0a84042016-12-01 14:50:47 -080045 #address-cells = <1>;
46 #size-cells = <0>;
47
Dhaval Patel6a5bd8b2016-10-10 14:12:10 -070048 /* hw blocks */
49 qcom,sde-off = <0x1000>;
Lloyd Atkinson216e3062017-01-31 08:42:38 -080050 qcom,sde-len = <0x45C>;
51
Dhaval Patel6a5bd8b2016-10-10 14:12:10 -070052 qcom,sde-ctl-off = <0x2000 0x2200 0x2400
53 0x2600 0x2800>;
Lloyd Atkinson216e3062017-01-31 08:42:38 -080054 qcom,sde-ctl-size = <0xE4>;
55
Dhaval Patel6a5bd8b2016-10-10 14:12:10 -070056 qcom,sde-mixer-off = <0x45000 0x46000 0x47000
57 0x48000 0x49000 0x4a000>;
Lloyd Atkinson216e3062017-01-31 08:42:38 -080058 qcom,sde-mixer-size = <0x320>;
59
Rajesh Yadavec93afb2017-06-08 19:28:33 +053060 qcom,sde-dspp-top-off = <0x1300>;
61 qcom,sde-dspp-top-size = <0xc>;
62
Dhaval Patel6a5bd8b2016-10-10 14:12:10 -070063 qcom,sde-dspp-off = <0x55000 0x57000 0x59000 0x5b000>;
Ping Li2d6c5f92017-05-04 14:17:03 -070064 qcom,sde-dspp-size = <0x17e0>;
Lloyd Atkinson216e3062017-01-31 08:42:38 -080065
Dhaval Patel6a5bd8b2016-10-10 14:12:10 -070066 qcom,sde-wb-off = <0x66000>;
Lloyd Atkinson216e3062017-01-31 08:42:38 -080067 qcom,sde-wb-size = <0x2c8>;
68
Dhaval Patel6a5bd8b2016-10-10 14:12:10 -070069 qcom,sde-wb-xin-id = <6>;
70 qcom,sde-wb-id = <2>;
71 qcom,sde-intf-off = <0x6b000 0x6b800
72 0x6c000 0x6c800>;
Lloyd Atkinson216e3062017-01-31 08:42:38 -080073 qcom,sde-intf-size = <0x280>;
74
Dhaval Patel6a5bd8b2016-10-10 14:12:10 -070075 qcom,sde-intf-type = "dp", "dsi", "dsi", "dp";
76 qcom,sde-pp-off = <0x71000 0x71800
77 0x72000 0x72800 0x73000>;
78 qcom,sde-pp-slave = <0x0 0x0 0x0 0x0 0x1>;
Lloyd Atkinson216e3062017-01-31 08:42:38 -080079 qcom,sde-pp-size = <0xd4>;
80
Dhaval Patel6a5bd8b2016-10-10 14:12:10 -070081 qcom,sde-te2-off = <0x2000 0x2000 0x0 0x0 0x0>;
82 qcom,sde-cdm-off = <0x7a200>;
Lloyd Atkinson216e3062017-01-31 08:42:38 -080083 qcom,sde-cdm-size = <0x224>;
84
85 qcom,sde-dsc-off = <0x81000 0x81400 0x81800 0x81c00>;
86 qcom,sde-dsc-size = <0x140>;
87
Narendra Muppallaa0826c62017-06-12 11:55:33 -070088 qcom,sde-dither-off = <0x30e0 0x30e0 0x30e0 0x30e0 0x0>;
Ping Lic7dd65f2017-03-08 12:11:01 -080089 qcom,sde-dither-version = <0x00010000>;
90 qcom,sde-dither-size = <0x20>;
91
Dhaval Patel6a5bd8b2016-10-10 14:12:10 -070092 qcom,sde-sspp-type = "vig", "vig", "vig", "vig",
93 "dma", "dma", "dma", "dma";
94
95 qcom,sde-sspp-off = <0x5000 0x7000 0x9000 0xb000
96 0x25000 0x27000 0x29000 0x2b000>;
Lloyd Atkinson216e3062017-01-31 08:42:38 -080097 qcom,sde-sspp-src-size = <0x1c8>;
Dhaval Patel6a5bd8b2016-10-10 14:12:10 -070098
99 qcom,sde-sspp-xin-id = <0 4 8 12
100 1 5 9 13>;
Veera Sundaram Sankaran0ea57f62017-01-16 18:08:04 -0800101 qcom,sde-sspp-excl-rect = <1 1 1 1
102 1 1 1 1>;
Jeykumar Sankaran07515162017-05-16 13:02:33 -0700103 qcom,sde-sspp-smart-dma-priority = <5 6 7 8 1 2 3 4>;
104 qcom,sde-smart-dma-rev = "smart_dma_v2";
Dhaval Patel6a5bd8b2016-10-10 14:12:10 -0700105
Veera Sundaram Sankaran370b9912017-01-10 18:03:42 -0800106 qcom,sde-mixer-pair-mask = <2 1 6 0 0 3>;
107
108 qcom,sde-mixer-blend-op-off = <0x20 0x38 0x50 0x68 0x80 0x98
109 0xb0 0xc8 0xe0 0xf8 0x110>;
110
Dhaval Patel6a5bd8b2016-10-10 14:12:10 -0700111 /* offsets are relative to "mdp_phys + qcom,sde-off */
112 qcom,sde-sspp-clk-ctrl =
113 <0x2ac 0>, <0x2b4 0>, <0x2bc 0>, <0x2c4 0>,
114 <0x2ac 8>, <0x2b4 8>, <0x2bc 8>, <0x2c4 8>;
115 qcom,sde-sspp-csc-off = <0x1a00>;
116 qcom,sde-csc-type = "csc-10bit";
117 qcom,sde-qseed-type = "qseedv3";
118 qcom,sde-sspp-qseed-off = <0xa00>;
119 qcom,sde-mixer-linewidth = <2560>;
120 qcom,sde-sspp-linewidth = <2560>;
Alan Kwongd939be42017-03-08 19:37:38 -0800121 qcom,sde-wb-linewidth = <4096>;
Dhaval Patel6a5bd8b2016-10-10 14:12:10 -0700122 qcom,sde-mixer-blendstages = <0xb>;
123 qcom,sde-highest-bank-bit = <0x2>;
Clarence Ip03f2ffe2017-04-28 16:12:17 -0700124 qcom,sde-ubwc-version = <0x200>;
Dhaval Patel6a5bd8b2016-10-10 14:12:10 -0700125 qcom,sde-panic-per-pipe;
126 qcom,sde-has-cdp;
127 qcom,sde-has-src-split;
Veera Sundaram Sankaran0ea57f62017-01-16 18:08:04 -0800128 qcom,sde-has-dim-layer;
Veera Sundaram Sankarana92444a2017-04-07 15:48:07 -0700129 qcom,sde-has-idle-pc;
Alan Kwongd5e95342017-01-30 19:38:05 -0800130 qcom,sde-max-bw-low-kbps = <9600000>;
131 qcom,sde-max-bw-high-kbps = <9600000>;
132 qcom,sde-dram-channels = <2>;
133 qcom,sde-num-nrt-paths = <0>;
Gopikrishnaiah Anandanaaf6dcd2017-02-08 14:10:18 -0800134 qcom,sde-dspp-ad-version = <0x00040000>;
135 qcom,sde-dspp-ad-off = <0x28000 0x27000>;
Alan Kwongd5e95342017-01-30 19:38:05 -0800136
137 qcom,sde-vbif-off = <0>;
138 qcom,sde-vbif-size = <0x1040>;
139 qcom,sde-vbif-id = <0>;
Clarence Ip0b5f4412017-05-17 11:29:24 -0400140 qcom,sde-vbif-memtype-0 = <3 3 3 3 3 3 3 3>;
141 qcom,sde-vbif-memtype-1 = <3 3 3 3 3 3>;
Veera Sundaram Sankaran0ea57f62017-01-16 18:08:04 -0800142
Alan Kwong1641b0b2017-04-19 09:01:13 -0700143 qcom,sde-vbif-qos-rt-remap = <3 3 4 4 5 5 6 6>;
144 qcom,sde-vbif-qos-nrt-remap = <3 3 3 3 3 3 3 3>;
145
Alan Kwonge67b3792017-04-27 15:57:50 -0700146 qcom,sde-danger-lut = <0x0000000f 0x0000ffff 0x00000000
147 0x00000000>;
148 qcom,sde-safe-lut = <0xfffc 0xff00 0xffff 0xffff>;
149 qcom,sde-qos-lut-linear =
150 <4 0x00000000 0x00000357>,
151 <5 0x00000000 0x00003357>,
152 <6 0x00000000 0x00023357>,
153 <7 0x00000000 0x00223357>,
154 <8 0x00000000 0x02223357>,
155 <9 0x00000000 0x22223357>,
156 <10 0x00000002 0x22223357>,
157 <11 0x00000022 0x22223357>,
158 <12 0x00000222 0x22223357>,
159 <13 0x00002222 0x22223357>,
160 <14 0x00012222 0x22223357>,
161 <0 0x00112222 0x22223357>;
162 qcom,sde-qos-lut-macrotile =
163 <10 0x00000003 0x44556677>,
164 <11 0x00000033 0x44556677>,
165 <12 0x00000233 0x44556677>,
166 <13 0x00002233 0x44556677>,
167 <14 0x00012233 0x44556677>,
168 <0 0x00112233 0x44556677>;
169 qcom,sde-qos-lut-nrt =
170 <0 0x00000000 0x00000000>;
171 qcom,sde-qos-lut-cwb =
172 <0 0x75300000 0x00000000>;
173
Alan Kwong23ef3f392017-04-28 11:09:06 -0700174 qcom,sde-cdp-setting = <1 1>, <1 0>;
175
Alan Kwong00187722017-02-04 19:09:17 -0800176 qcom,sde-inline-rotator = <&mdss_rotator 0>;
Veera Sundaram Sankaran5f9ef0d2017-05-24 18:49:53 -0700177 qcom,sde-inline-rot-xin = <10 11>;
178 qcom,sde-inline-rot-xin-type = "sspp", "wb";
179
180 /* offsets are relative to "mdp_phys + qcom,sde-off */
181 qcom,sde-inline-rot-clk-ctrl = <0x2bc 0x8>, <0x2bc 0xc>;
Alan Kwong00187722017-02-04 19:09:17 -0800182
Gopikrishnaiah Anandancd476032017-03-27 12:33:00 -0700183 qcom,sde-reg-dma-off = <0>;
184 qcom,sde-reg-dma-version = <0x1>;
185 qcom,sde-reg-dma-trigger-off = <0x119c>;
186
Veera Sundaram Sankaran0ea57f62017-01-16 18:08:04 -0800187 qcom,sde-sspp-vig-blocks {
188 qcom,sde-vig-csc-off = <0x1a00>;
189 qcom,sde-vig-qseed-off = <0xa00>;
Lloyd Atkinson216e3062017-01-31 08:42:38 -0800190 qcom,sde-vig-qseed-size = <0xa0>;
Veera Sundaram Sankaran0ea57f62017-01-16 18:08:04 -0800191 };
Alan Kwongd5e95342017-01-30 19:38:05 -0800192
Gopikrishnaiah Anandancd476032017-03-27 12:33:00 -0700193 qcom,sde-dspp-blocks {
Rajesh Yadavec93afb2017-06-08 19:28:33 +0530194 qcom,sde-dspp-igc = <0x0 0x00030001>;
Gopikrishnaiah Anandancd476032017-03-27 12:33:00 -0700195 qcom,sde-dspp-vlut = <0xa00 0x00010008>;
196 qcom,sde-dspp-gamut = <0x1000 0x00040000>;
Rajesh Yadavd490cb62017-07-04 13:20:42 +0530197 qcom,sde-dspp-pcc = <0x1700 0x00040000>;
Gopikrishnaiah Anandancd476032017-03-27 12:33:00 -0700198 qcom,sde-dspp-gc = <0x17c0 0x00010008>;
199 };
200
Alan Kwongd5e95342017-01-30 19:38:05 -0800201 qcom,platform-supply-entries {
202 #address-cells = <1>;
203 #size-cells = <0>;
204
205 qcom,platform-supply-entry@0 {
206 reg = <0>;
Dhaval Patel2169d612017-01-30 19:38:05 -0800207 qcom,supply-name = "sde-vdd";
Alan Kwongd5e95342017-01-30 19:38:05 -0800208 qcom,supply-min-voltage = <0>;
209 qcom,supply-max-voltage = <0>;
210 qcom,supply-enable-load = <0>;
211 qcom,supply-disable-load = <0>;
212 };
213 };
214
Abhijit Kulkarni1774dac2017-05-01 10:51:02 -0700215 smmu_sde_sec: qcom,smmu_sde_sec_cb {
216 compatible = "qcom,smmu_sde_sec";
217 iommus = <&apps_smmu 0x881 0x8>,
218 <&apps_smmu 0xc81 0x8>;
219 };
220
Alan Kwongd5e95342017-01-30 19:38:05 -0800221 /* data and reg bus scale settings */
222 qcom,sde-data-bus {
Alan Kwonge9b257b2017-05-16 11:40:50 -0700223 qcom,msm-bus,name = "mdss_sde_mnoc";
Alan Kwongd5e95342017-01-30 19:38:05 -0800224 qcom,msm-bus,num-cases = <3>;
225 qcom,msm-bus,num-paths = <2>;
226 qcom,msm-bus,vectors-KBps =
Alan Kwonge9b257b2017-05-16 11:40:50 -0700227 <22 773 0 0>, <23 773 0 0>,
228 <22 773 0 6400000>, <23 773 0 6400000>,
229 <22 773 0 6400000>, <23 773 0 6400000>;
230 };
231
232 qcom,sde-llcc-bus {
233 qcom,msm-bus,name = "mdss_sde_llcc";
234 qcom,msm-bus,num-cases = <3>;
235 qcom,msm-bus,num-paths = <1>;
236 qcom,msm-bus,vectors-KBps =
237 <132 770 0 0>,
238 <132 770 0 6400000>,
239 <132 770 0 6400000>;
240 };
241
242 qcom,sde-ebi-bus {
243 qcom,msm-bus,name = "mdss_sde_ebi";
244 qcom,msm-bus,num-cases = <3>;
245 qcom,msm-bus,num-paths = <1>;
246 qcom,msm-bus,vectors-KBps =
247 <129 512 0 0>,
248 <129 512 0 6400000>,
249 <129 512 0 6400000>;
Alan Kwongd5e95342017-01-30 19:38:05 -0800250 };
251
252 qcom,sde-reg-bus {
253 qcom,msm-bus,name = "mdss_reg";
254 qcom,msm-bus,num-cases = <4>;
255 qcom,msm-bus,num-paths = <1>;
256 qcom,msm-bus,active-only;
257 qcom,msm-bus,vectors-KBps =
258 <1 590 0 0>,
259 <1 590 0 76800>,
260 <1 590 0 150000>,
261 <1 590 0 300000>;
262 };
Dhaval Patel6a5bd8b2016-10-10 14:12:10 -0700263 };
Dhaval Pateld0a84042016-12-01 14:50:47 -0800264
265 sde_rscc: qcom,sde_rscc@af20000 {
Dhaval Pateld0a84042016-12-01 14:50:47 -0800266 cell-index = <0>;
267 compatible = "qcom,sde-rsc";
268 reg = <0xaf20000 0x1c44>,
269 <0xaf30000 0x3fd4>;
270 reg-names = "drv", "wrapper";
271 qcom,sde-rsc-version = <1>;
272
273 vdd-supply = <&mdss_core_gdsc>;
Dhaval Patel7556ced2017-02-10 19:53:10 -0800274 clocks = <&clock_dispcc DISP_CC_MDSS_RSCC_VSYNC_CLK>,
275 <&clock_dispcc DISP_CC_MDSS_RSCC_AHB_CLK>;
276 clock-names = "vsync_clk", "iface_clk";
Dhaval Patel2169d612017-01-30 19:38:05 -0800277 clock-rate = <0 0>;
278
Dhaval Pateld0a84042016-12-01 14:50:47 -0800279 qcom,sde-dram-channels = <2>;
280
Dhaval Patel7556ced2017-02-10 19:53:10 -0800281 mboxes = <&disp_rsc 0>;
282 mbox-names = "disp_rsc";
283
Dhaval Pateld0a84042016-12-01 14:50:47 -0800284 /* data and reg bus scale settings */
285 qcom,sde-data-bus {
Alan Kwonge9b257b2017-05-16 11:40:50 -0700286 qcom,msm-bus,name = "disp_rsc_mnoc";
Dhaval Pateld0a84042016-12-01 14:50:47 -0800287 qcom,msm-bus,active-only;
288 qcom,msm-bus,num-cases = <3>;
289 qcom,msm-bus,num-paths = <2>;
290 qcom,msm-bus,vectors-KBps =
Alan Kwonge9b257b2017-05-16 11:40:50 -0700291 <20003 20515 0 0>, <20004 20515 0 0>,
292 <20003 20515 0 6400000>, <20004 20515 0 6400000>,
293 <20003 20515 0 6400000>, <20004 20515 0 6400000>;
294 };
295
296 qcom,sde-llcc-bus {
297 qcom,msm-bus,name = "disp_rsc_llcc";
298 qcom,msm-bus,active-only;
299 qcom,msm-bus,num-cases = <3>;
300 qcom,msm-bus,num-paths = <1>;
301 qcom,msm-bus,vectors-KBps =
302 <20001 20513 0 0>,
303 <20001 20513 0 6400000>,
304 <20001 20513 0 6400000>;
305 };
306
307 qcom,sde-ebi-bus {
308 qcom,msm-bus,name = "disp_rsc_ebi";
309 qcom,msm-bus,active-only;
310 qcom,msm-bus,num-cases = <3>;
311 qcom,msm-bus,num-paths = <1>;
312 qcom,msm-bus,vectors-KBps =
313 <20000 20512 0 0>,
314 <20000 20512 0 6400000>,
315 <20000 20512 0 6400000>;
Dhaval Pateld0a84042016-12-01 14:50:47 -0800316 };
Clarence Ip3b5b5ed2017-01-24 09:59:03 -0800317 };
Dhaval Pateld0a84042016-12-01 14:50:47 -0800318
Clarence Ip3b5b5ed2017-01-24 09:59:03 -0800319 mdss_rotator: qcom,mdss_rotator@ae00000 {
Clarence Ip3b5b5ed2017-01-24 09:59:03 -0800320 compatible = "qcom,sde_rotator";
321 reg = <0x0ae00000 0xac000>,
322 <0x0aeb8000 0x3000>;
323 reg-names = "mdp_phys",
324 "rot_vbif_phys";
325
Alan Kwong00187722017-02-04 19:09:17 -0800326 #list-cells = <1>;
327
Clarence Ip3b5b5ed2017-01-24 09:59:03 -0800328 qcom,mdss-rot-mode = <1>;
329 qcom,mdss-highest-bank-bit = <0x2>;
330
331 /* Bus Scale Settings */
332 qcom,msm-bus,name = "mdss_rotator";
333 qcom,msm-bus,num-cases = <3>;
334 qcom,msm-bus,num-paths = <1>;
335 qcom,msm-bus,vectors-KBps =
336 <25 512 0 0>,
337 <25 512 0 6400000>,
338 <25 512 0 6400000>;
339
340 rot-vdd-supply = <&mdss_core_gdsc>;
341 qcom,supply-names = "rot-vdd";
342
343 clocks =
344 <&clock_gcc GCC_DISP_AHB_CLK>,
345 <&clock_gcc GCC_DISP_AXI_CLK>,
346 <&clock_dispcc DISP_CC_MDSS_AHB_CLK>,
Clarence Ip3b5b5ed2017-01-24 09:59:03 -0800347 <&clock_dispcc DISP_CC_MDSS_ROT_CLK>,
348 <&clock_dispcc DISP_CC_MDSS_AXI_CLK>;
349 clock-names = "gcc_iface", "gcc_bus",
Clarence Ip015924e2017-05-01 13:28:03 -0700350 "iface_clk", "rot_clk", "axi_clk";
Clarence Ip3b5b5ed2017-01-24 09:59:03 -0800351
352 interrupt-parent = <&mdss_mdp>;
353 interrupts = <2 0>;
354
Veera Sundaram Sankaran04883492017-05-12 12:35:36 -0700355 /* Offline rotator QoS setting */
Veera Sundaram Sankaranf28be032017-04-20 08:16:41 -0700356 qcom,mdss-rot-vbif-qos-setting = <3 3 3 3 3 3 3 3>;
Alan Kwong8efe4a82017-06-30 16:05:50 -0400357 qcom,mdss-rot-vbif-memtype = <3 3>;
Veera Sundaram Sankaranfd4b37d2017-05-11 12:44:38 -0700358 qcom,mdss-rot-cdp-setting = <1 1>;
Veera Sundaram Sankaran04883492017-05-12 12:35:36 -0700359 qcom,mdss-rot-qos-lut = <0x0 0x0 0x0 0x0>;
360 qcom,mdss-rot-danger-lut = <0x0 0x0>;
361 qcom,mdss-rot-safe-lut = <0x0000ffff 0x0000ffff>;
362
363 /* Inline rotator QoS Setting */
364 /* setting default register values for RD - qos/danger/safe */
365 qcom,mdss-inline-rot-qos-lut = <0x44556677 0x00112233
366 0x44556677 0x00112233>;
367 qcom,mdss-inline-rot-danger-lut = <0x0055aaff 0x0000ffff>;
368 qcom,mdss-inline-rot-safe-lut = <0x0000f000 0x0000ff00>;
Clarence Ip3b5b5ed2017-01-24 09:59:03 -0800369
370 qcom,mdss-default-ot-rd-limit = <32>;
371 qcom,mdss-default-ot-wr-limit = <32>;
372
Alan Kwong00187722017-02-04 19:09:17 -0800373 qcom,mdss-sbuf-headroom = <20>;
374
375 cache-slice-names = "rotator";
376 cache-slices = <&llcc 4>;
377
Veera Sundaram Sankaran06418032017-06-30 14:12:58 -0700378 /* reg bus scale settings */
379 rot_reg: qcom,rot-reg-bus {
380 qcom,msm-bus,name = "mdss_rot_reg";
381 qcom,msm-bus,num-cases = <2>;
382 qcom,msm-bus,num-paths = <1>;
383 qcom,msm-bus,active-only;
384 qcom,msm-bus,vectors-KBps =
385 <1 590 0 0>,
386 <1 590 0 76800>;
387 };
388
Clarence Ip3b5b5ed2017-01-24 09:59:03 -0800389 smmu_rot_unsec: qcom,smmu_rot_unsec_cb {
390 compatible = "qcom,smmu_sde_rot_unsec";
Patrick Dalyc4aaa902017-04-24 12:45:11 -0700391 iommus = <&apps_smmu 0x1090 0x0>;
Clarence Ip3b5b5ed2017-01-24 09:59:03 -0800392 };
393
394 smmu_rot_sec: qcom,smmu_rot_sec_cb {
Clarence Ip3b5b5ed2017-01-24 09:59:03 -0800395 compatible = "qcom,smmu_sde_rot_sec";
Patrick Dalyc4aaa902017-04-24 12:45:11 -0700396 iommus = <&apps_smmu 0x1091 0x0>;
Clarence Ip3b5b5ed2017-01-24 09:59:03 -0800397 };
Dhaval Pateld0a84042016-12-01 14:50:47 -0800398 };
Shashank Babu Chinta Venkata24bdd052017-02-24 14:29:09 -0800399
400 mdss_dsi0: qcom,mdss_dsi_ctrl0@ae94000 {
Shashank Babu Chinta Venkataafef8202017-04-21 13:49:56 -0700401 compatible = "qcom,dsi-ctrl-hw-v2.2";
Shashank Babu Chinta Venkata24bdd052017-02-24 14:29:09 -0800402 label = "dsi-ctrl-0";
Shashank Babu Chinta Venkata24bdd052017-02-24 14:29:09 -0800403 cell-index = <0>;
Shashank Babu Chinta Venkataafef8202017-04-21 13:49:56 -0700404 reg = <0xae94000 0x400>,
405 <0xaf08000 0x4>;
406 reg-names = "dsi_ctrl", "disp_cc_base";
Shashank Babu Chinta Venkata24bdd052017-02-24 14:29:09 -0800407 interrupt-parent = <&mdss_mdp>;
408 interrupts = <4 0>;
409 vdda-1p2-supply = <&pm8998_l26>;
Shashank Babu Chinta Venkata24bdd052017-02-24 14:29:09 -0800410 clocks = <&clock_dispcc DISP_CC_MDSS_BYTE0_CLK>,
411 <&clock_dispcc DISP_CC_MDSS_BYTE0_CLK_SRC>,
412 <&clock_dispcc DISP_CC_MDSS_BYTE0_INTF_CLK>,
413 <&clock_dispcc DISP_CC_MDSS_PCLK0_CLK>,
Shashank Babu Chinta Venkataf84694c2017-04-05 12:14:18 -0700414 <&clock_dispcc DISP_CC_MDSS_PCLK0_CLK_SRC>,
415 <&clock_dispcc DISP_CC_MDSS_ESC0_CLK>;
Shashank Babu Chinta Venkata24bdd052017-02-24 14:29:09 -0800416 clock-names = "byte_clk", "byte_clk_rcg", "byte_intf_clk",
Shashank Babu Chinta Venkataf84694c2017-04-05 12:14:18 -0700417 "pixel_clk", "pixel_clk_rcg",
418 "esc_clk";
Shashank Babu Chinta Venkata24bdd052017-02-24 14:29:09 -0800419
420 qcom,ctrl-supply-entries {
421 #address-cells = <1>;
422 #size-cells = <0>;
Shashank Babu Chinta Venkataf84694c2017-04-05 12:14:18 -0700423
Shashank Babu Chinta Venkata24bdd052017-02-24 14:29:09 -0800424 qcom,ctrl-supply-entry@0 {
425 reg = <0>;
Shashank Babu Chinta Venkata24bdd052017-02-24 14:29:09 -0800426 qcom,supply-name = "vdda-1p2";
Shashank Babu Chinta Venkataf84694c2017-04-05 12:14:18 -0700427 qcom,supply-min-voltage = <1200000>;
428 qcom,supply-max-voltage = <1200000>;
429 qcom,supply-enable-load = <21800>;
430 qcom,supply-disable-load = <4>;
Shashank Babu Chinta Venkata24bdd052017-02-24 14:29:09 -0800431 };
432 };
433 };
434
435 mdss_dsi1: qcom,mdss_dsi_ctrl1@ae96000 {
Shashank Babu Chinta Venkataafef8202017-04-21 13:49:56 -0700436 compatible = "qcom,dsi-ctrl-hw-v2.2";
Shashank Babu Chinta Venkata24bdd052017-02-24 14:29:09 -0800437 label = "dsi-ctrl-1";
Shashank Babu Chinta Venkata24bdd052017-02-24 14:29:09 -0800438 cell-index = <1>;
Shashank Babu Chinta Venkataafef8202017-04-21 13:49:56 -0700439 reg = <0xae96000 0x400>,
440 <0xaf08000 0x4>;
441 reg-names = "dsi_ctrl", "disp_cc_base";
Shashank Babu Chinta Venkata24bdd052017-02-24 14:29:09 -0800442 interrupt-parent = <&mdss_mdp>;
443 interrupts = <5 0>;
444 vdda-1p2-supply = <&pm8998_l26>;
Shashank Babu Chinta Venkataf84694c2017-04-05 12:14:18 -0700445 clocks = <&clock_dispcc DISP_CC_MDSS_BYTE1_CLK>,
446 <&clock_dispcc DISP_CC_MDSS_BYTE1_CLK_SRC>,
447 <&clock_dispcc DISP_CC_MDSS_BYTE1_INTF_CLK>,
448 <&clock_dispcc DISP_CC_MDSS_PCLK1_CLK>,
449 <&clock_dispcc DISP_CC_MDSS_PCLK1_CLK_SRC>,
450 <&clock_dispcc DISP_CC_MDSS_ESC1_CLK>;
Shashank Babu Chinta Venkata24bdd052017-02-24 14:29:09 -0800451 clock-names = "byte_clk", "byte_clk_rcg", "byte_intf_clk",
Shashank Babu Chinta Venkataf84694c2017-04-05 12:14:18 -0700452 "pixel_clk", "pixel_clk_rcg", "esc_clk";
Shashank Babu Chinta Venkata24bdd052017-02-24 14:29:09 -0800453 qcom,ctrl-supply-entries {
454 #address-cells = <1>;
455 #size-cells = <0>;
456
457 qcom,ctrl-supply-entry@0 {
458 reg = <0>;
Shashank Babu Chinta Venkata24bdd052017-02-24 14:29:09 -0800459 qcom,supply-name = "vdda-1p2";
Shashank Babu Chinta Venkataf84694c2017-04-05 12:14:18 -0700460 qcom,supply-min-voltage = <1200000>;
461 qcom,supply-max-voltage = <1200000>;
462 qcom,supply-enable-load = <21800>;
463 qcom,supply-disable-load = <4>;
Shashank Babu Chinta Venkata24bdd052017-02-24 14:29:09 -0800464 };
465 };
466 };
467
468 mdss_dsi_phy0: qcom,mdss_dsi_phy0@ae94400 {
469 compatible = "qcom,dsi-phy-v3.0";
Shashank Babu Chinta Venkata24bdd052017-02-24 14:29:09 -0800470 label = "dsi-phy-0";
471 cell-index = <0>;
472 reg = <0xae94400 0x7c0>;
473 reg-names = "dsi_phy";
474 gdsc-supply = <&mdss_core_gdsc>;
Shashank Babu Chinta Venkataf84694c2017-04-05 12:14:18 -0700475 vdda-0p9-supply = <&pm8998_l1>;
Shashank Babu Chinta Venkata5292d192017-04-05 15:19:17 -0700476 qcom,platform-strength-ctrl = [55 03
477 55 03
478 55 03
479 55 03
480 55 00];
481 qcom,platform-lane-config = [00 00 00 00
482 00 00 00 00
483 00 00 00 00
484 00 00 00 00
485 00 00 00 80];
486 qcom,platform-regulator-settings = [1d 1d 1d 1d 1d];
Shashank Babu Chinta Venkata24bdd052017-02-24 14:29:09 -0800487 qcom,phy-supply-entries {
488 #address-cells = <1>;
489 #size-cells = <0>;
490 qcom,phy-supply-entry@0 {
491 reg = <0>;
Shashank Babu Chinta Venkataf84694c2017-04-05 12:14:18 -0700492 qcom,supply-name = "vdda-0p9";
493 qcom,supply-min-voltage = <880000>;
494 qcom,supply-max-voltage = <880000>;
495 qcom,supply-enable-load = <36000>;
496 qcom,supply-disable-load = <32>;
Shashank Babu Chinta Venkata24bdd052017-02-24 14:29:09 -0800497 };
498 };
499 };
500
501 mdss_dsi_phy1: qcom,mdss_dsi_phy0@ae96400 {
502 compatible = "qcom,dsi-phy-v3.0";
Shashank Babu Chinta Venkata24bdd052017-02-24 14:29:09 -0800503 label = "dsi-phy-1";
504 cell-index = <1>;
505 reg = <0xae96400 0x7c0>;
506 reg-names = "dsi_phy";
507 gdsc-supply = <&mdss_core_gdsc>;
Shashank Babu Chinta Venkataf84694c2017-04-05 12:14:18 -0700508 vdda-0p9-supply = <&pm8998_l1>;
Shashank Babu Chinta Venkata5292d192017-04-05 15:19:17 -0700509 qcom,platform-strength-ctrl = [55 03
510 55 03
511 55 03
512 55 03
513 55 00];
514 qcom,platform-regulator-settings = [1d 1d 1d 1d 1d];
515 qcom,platform-lane-config = [00 00 00 00
516 00 00 00 00
517 00 00 00 00
518 00 00 00 00
519 00 00 00 80];
Shashank Babu Chinta Venkata24bdd052017-02-24 14:29:09 -0800520 qcom,phy-supply-entries {
521 #address-cells = <1>;
522 #size-cells = <0>;
523 qcom,phy-supply-entry@0 {
524 reg = <0>;
Shashank Babu Chinta Venkataf84694c2017-04-05 12:14:18 -0700525 qcom,supply-name = "vdda-0p9";
526 qcom,supply-min-voltage = <880000>;
527 qcom,supply-max-voltage = <880000>;
528 qcom,supply-enable-load = <36000>;
529 qcom,supply-disable-load = <32>;
Shashank Babu Chinta Venkata24bdd052017-02-24 14:29:09 -0800530 };
531 };
532 };
533
Dhaval Patel6a5bd8b2016-10-10 14:12:10 -0700534};