blob: 980ef8c0af35b877bcc6cfc4dedfc609cedbe25c [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";
16 reg = <0x0ae00000 0x81a24>,
17 <0x0aeb0000 0x2008>;
18 reg-names = "mdp_phys",
19 "vbif_phys";
20
21 /* interrupt config */
22 interrupt-parent = <&intc>;
23 interrupts = <0 83 0>;
24 interrupt-controller;
25 #interrupt-cells = <1>;
26
27 /* hw blocks */
28 qcom,sde-off = <0x1000>;
29 qcom,sde-ctl-off = <0x2000 0x2200 0x2400
30 0x2600 0x2800>;
31 qcom,sde-mixer-off = <0x45000 0x46000 0x47000
32 0x48000 0x49000 0x4a000>;
33 qcom,sde-dspp-off = <0x55000 0x57000 0x59000 0x5b000>;
34 qcom,sde-wb-off = <0x66000>;
35 qcom,sde-wb-xin-id = <6>;
36 qcom,sde-wb-id = <2>;
37 qcom,sde-intf-off = <0x6b000 0x6b800
38 0x6c000 0x6c800>;
39 qcom,sde-intf-type = "dp", "dsi", "dsi", "dp";
40 qcom,sde-pp-off = <0x71000 0x71800
41 0x72000 0x72800 0x73000>;
42 qcom,sde-pp-slave = <0x0 0x0 0x0 0x0 0x1>;
43 qcom,sde-te2-off = <0x2000 0x2000 0x0 0x0 0x0>;
44 qcom,sde-cdm-off = <0x7a200>;
45 qcom,sde-intf-max-prefetch-lines = <0x15 0x15 0x15 0x15>;
46 qcom,sde-vbif-off = <0>;
47
48 qcom,sde-sspp-type = "vig", "vig", "vig", "vig",
49 "dma", "dma", "dma", "dma";
50
51 qcom,sde-sspp-off = <0x5000 0x7000 0x9000 0xb000
52 0x25000 0x27000 0x29000 0x2b000>;
53
54 qcom,sde-sspp-xin-id = <0 4 8 12
55 1 5 9 13>;
Veera Sundaram Sankaran0ea57f62017-01-16 18:08:04 -080056 qcom,sde-sspp-excl-rect = <1 1 1 1
57 1 1 1 1>;
Jeykumar Sankaran830592e2017-02-05 14:33:48 -080058 qcom,sde-sspp-smart-dma-priority = <5 6 7 8 1 2 3 4>;
59 qcom,sde-smart-dma-rev = "smart_dma_v2";
Dhaval Patel6a5bd8b2016-10-10 14:12:10 -070060
Veera Sundaram Sankaran370b9912017-01-10 18:03:42 -080061 qcom,sde-mixer-pair-mask = <2 1 6 0 0 3>;
62
63 qcom,sde-mixer-blend-op-off = <0x20 0x38 0x50 0x68 0x80 0x98
64 0xb0 0xc8 0xe0 0xf8 0x110>;
65
Dhaval Patel6a5bd8b2016-10-10 14:12:10 -070066 /* offsets are relative to "mdp_phys + qcom,sde-off */
67 qcom,sde-sspp-clk-ctrl =
68 <0x2ac 0>, <0x2b4 0>, <0x2bc 0>, <0x2c4 0>,
69 <0x2ac 8>, <0x2b4 8>, <0x2bc 8>, <0x2c4 8>;
70 qcom,sde-sspp-csc-off = <0x1a00>;
71 qcom,sde-csc-type = "csc-10bit";
72 qcom,sde-qseed-type = "qseedv3";
73 qcom,sde-sspp-qseed-off = <0xa00>;
74 qcom,sde-mixer-linewidth = <2560>;
75 qcom,sde-sspp-linewidth = <2560>;
76 qcom,sde-mixer-blendstages = <0xb>;
77 qcom,sde-highest-bank-bit = <0x2>;
78 qcom,sde-panic-per-pipe;
79 qcom,sde-has-cdp;
80 qcom,sde-has-src-split;
Veera Sundaram Sankaran0ea57f62017-01-16 18:08:04 -080081 qcom,sde-has-dim-layer;
82
83 qcom,sde-sspp-vig-blocks {
84 qcom,sde-vig-csc-off = <0x1a00>;
85 qcom,sde-vig-qseed-off = <0xa00>;
86 };
Dhaval Patel6a5bd8b2016-10-10 14:12:10 -070087 };
88};