blob: 5aa39d3ceb7c5e83b5d40adce4ea1180671ec839 [file] [log] [blame]
Sree Sesha Aravind Vadrevu82a171d2013-02-26 20:17:01 -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 qcom,mdss_mdp@fd900000 {
15 compatible = "qcom,mdss_mdp";
16 reg = <0xfd900000 0x22100>,
17 <0xfd924000 0x1000>;
18 reg-names = "mdp_phys", "vbif_phys";
19 interrupts = <0 72 0>;
20 vdd-supply = <&gdsc_mdss>;
21
Adrian Salido-Moreno2a228652012-10-01 11:17:33 -070022 qcom,max-clk-rate = <200000000>;
Sree Sesha Aravind Vadrevu82a171d2013-02-26 20:17:01 -080023 qcom,mdss-pipe-vig-off = <0x00001200>;
24 qcom,mdss-pipe-rgb-off = <0x00001E00>;
25 qcom,mdss-pipe-dma-off = <0x00002A00>;
26 qcom,mdss-pipe-vig-fetch-id = <1>;
27 qcom,mdss-pipe-rgb-fetch-id = <7>;
28 qcom,mdss-pipe-dma-fetch-id = <4>;
29 qcom,mdss-smp-data = <7 4096>;
30
31 qcom,mdss-ctl-off = <0x00000600 0x00000700>;
32 qcom,mdss-mixer-intf-off = <0x00003200>;
33 qcom,mdss-mixer-wb-off = <0x00003E00>;
34 qcom,mdss-dspp-off = <0x00004600>;
Siddhartha Agrawal98f415c2013-03-26 16:58:01 -070035 qcom,mdss-pingpong-off = <0x00021B00>;
Sree Sesha Aravind Vadrevu82a171d2013-02-26 20:17:01 -080036 qcom,mdss-wb-off = <0x00011100 0x00013100>;
37 qcom,mdss-intf-off = <0x00000000 0x00021300>;
Aravind Venkateswaranf3f382a2013-03-26 11:25:08 -070038 qcom,mdss-rot-block-size = <64>;
Sree Sesha Aravind Vadrevu82a171d2013-02-26 20:17:01 -080039
40 qcom,vbif-settings = <0x004 0x00000001>,
41 <0x0D8 0x00000707>,
42 <0x124 0x00000003>;
43 qcom,mdp-settings = <0x02E0 0x000000A9>,
44 <0x02E4 0x00000055>;
45
46 mdss_fb0: qcom,mdss_fb_primary {
47 cell-index = <0>;
48 compatible = "qcom,mdss-fb";
49 qcom,memory-reservation-type = "EBI1";
50 qcom,memory-reservation-size = <0x800000>;
51 };
52
53 mdss_fb1: qcom,mdss_fb_wfd {
54 cell-index = <1>;
55 compatible = "qcom,mdss-fb";
56 };
57 };
58
Ray Zhang764496b2013-02-27 09:11:06 +080059 mdss_dsi0: qcom,mdss_dsi@fd922800 {
60 compatible = "qcom,mdss-dsi-ctrl";
61 label = "MDSS DSI CTRL->0";
62 cell-index = <0>;
63 reg = <0xfd922800 0x600>;
64 vdd-supply = <&pm8226_l15>;
Aravind Venkateswaranad374332013-03-12 15:19:17 -070065 vddio-supply = <&pm8226_l8>;
66 vdda-supply = <&pm8226_l4>;
67 qcom,supply-names = "vdd", "vddio", "vdda";
Aravind Venkateswaranad374332013-03-12 15:19:17 -070068 qcom,supply-min-voltage-level = <2800000 1800000 1200000>;
69 qcom,supply-max-voltage-level = <2800000 1800000 1200000>;
70 qcom,supply-peak-current = <150000 100000 100000>;
Ray Zhang764496b2013-02-27 09:11:06 +080071 qcom,mdss-fb-map = <&mdss_fb0>;
72 };
73
Sree Sesha Aravind Vadrevu82a171d2013-02-26 20:17:01 -080074 qcom,mdss_wb_panel {
75 compatible = "qcom,mdss_wb";
76 qcom,mdss_pan_res = <1280 720>;
77 qcom,mdss_pan_bpp = <24>;
78 qcom,mdss-fb-map = <&mdss_fb1>;
79 };
80};