blob: 0b954196f027617bccc3790fb4f0f48395afc089 [file] [log] [blame]
Adrian Salido-Moreno4fe81062012-12-04 21:05:03 -08001/* Copyright (c) 2012-2013, The Linux Foundation. All rights reserved.
Adrian Salido-Morenoa80c69e2012-07-31 18:11:09 -07002 *
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/ {
Adrian Salido-Moreno42559bc2013-02-07 14:34:45 -080014 mdss_mdp: qcom,mdss_mdp@fd900000 {
Adrian Salido-Morenoa80c69e2012-07-31 18:11:09 -070015 compatible = "qcom,mdss_mdp";
Adrian Salido-Moreno45228942012-08-13 16:19:18 -070016 reg = <0xfd900000 0x22100>,
17 <0xfd924000 0x1000>;
18 reg-names = "mdp_phys", "vbif_phys";
Adrian Salido-Morenoa80c69e2012-07-31 18:11:09 -070019 interrupts = <0 72 0>;
20 vdd-supply = <&gdsc_mdss>;
Adrian Salido-Moreno4fe81062012-12-04 21:05:03 -080021
Sree Sesha Aravind Vadrevu8be4b982013-01-04 14:09:20 -080022 qcom,mdss-pipe-vig-off = <0x00001200 0x00001600
23 0x00001A00>;
24 qcom,mdss-pipe-rgb-off = <0x00001E00 0x00002200
25 0x00002600>;
26 qcom,mdss-pipe-dma-off = <0x00002A00 0x00002E00>;
27 qcom,mdss-pipe-vig-fetch-id = <1 4 7>;
28 qcom,mdss-pipe-rgb-fetch-id = <16 17 18>;
29 qcom,mdss-pipe-dma-fetch-id = <10 13>;
30
31 qcom,mdss-ctl-off = <0x00000600 0x00000700 0x00000800
32 0x00000900 0x0000A00>;
33 qcom,mdss-mixer-intf-off = <0x00003200 0x00003600
34 0x00003A00>;
35 qcom,mdss-mixer-wb-off = <0x00003E00 0x00004200>;
36 qcom,mdss-dspp-off = <0x00004600 0x00004A00 0x00004E00>;
37 qcom,mdss-wb-off = <0x00011100 0x00013100 0x00015100
38 0x00017100 0x00019100>;
Adrian Salido-Moreno26045502013-02-05 22:46:01 -080039 qcom,mdss-intf-off = <0x00021100 0x00021300
40 0x00021500 0x00021700>;
Sree Sesha Aravind Vadrevu8be4b982013-01-04 14:09:20 -080041
Adrian Salido-Morenoe2e742b2013-02-07 01:54:14 -080042 qcom,vbif-settings = <0x0004 0x00000001>,
43 <0x00D8 0x00000707>,
44 <0x00F0 0x00000030>,
45 <0x0124 0x00000001>,
46 <0x0178 0x00000FFF>,
47 <0x017C 0x0FFF0FFF>,
48 <0x0160 0x22222222>,
49 <0x0164 0x00002222>;
50 qcom,mdp-settings = <0x02E0 0x000000AA>,
51 <0x02E4 0x00000055>;
52
Adrian Salido-Moreno4fe81062012-12-04 21:05:03 -080053 mdss_fb0: qcom,mdss_fb_primary {
54 cell-index = <0>;
55 compatible = "qcom,mdss-fb";
56 qcom,memory-reservation-type = "EBI1";
57 qcom,memory-reservation-size = <0x800000>;
58 };
59
60 mdss_fb1: qcom,mdss_fb_external {
61 cell-index = <1>;
62 compatible = "qcom,mdss-fb";
63 };
64
65 mdss_fb2: qcom,mdss_fb_wfd {
66 cell-index = <2>;
67 compatible = "qcom,mdss-fb";
68 };
Adrian Salido-Morenoa80c69e2012-07-31 18:11:09 -070069 };
70
Chandan Uddaraju704a16d2013-01-25 11:30:25 -080071 mdss_dsi0: qcom,mdss_dsi@fd922800 {
Chandan Uddaraju0c33e772012-12-13 22:49:58 -080072 compatible = "qcom,mdss-dsi-ctrl";
Chandan Uddaraju704a16d2013-01-25 11:30:25 -080073 label = "MDSS DSI CTRL->0";
Chandan Uddaraju0c33e772012-12-13 22:49:58 -080074 cell-index = <0>;
75 reg = <0xfd922800 0x600>;
Chandan Uddaraju7632f672012-08-27 21:59:34 -070076 vdd-supply = <&pm8941_l22>;
77 vdd_io-supply = <&pm8941_l12>;
78 vreg-supply = <&pm8941_l2>;
Chandan Uddaraju0c33e772012-12-13 22:49:58 -080079 qcom,mdss-fb-map = <&mdss_fb0>;
Adrian Salido-Morenoa80c69e2012-07-31 18:11:09 -070080 };
81
Chandan Uddaraju6d2c8922013-01-24 23:11:12 -080082 mdss_dsi1: qcom,mdss_dsi@fd922e00 {
83 compatible = "qcom,mdss-dsi-ctrl";
84 label = "MDSS DSI CTRL->1";
85 cell-index = <1>;
86 reg = <0xfd922e00 0x600>;
87 vdd-supply = <&pm8941_l22>;
88 vdd_io-supply = <&pm8941_l12>;
89 vreg-supply = <&pm8941_l2>;
90 qcom,mdss-fb-map = <&mdss_fb0>;
91 };
92
Manoj Raobabed622013-02-01 20:35:48 -080093 mdss_hdmi_tx: qcom,hdmi_tx@fd922100 {
Ujwal Patelf5380e12012-08-13 22:50:13 -070094 cell-index = <0>;
95 compatible = "qcom,hdmi-tx";
96 reg = <0xfd922100 0x35C>,
97 <0xfd922500 0x7C>,
98 <0xfc4b8000 0x60F0>;
99 reg-names = "core_physical", "phy_physical", "qfprom_physical";
100
Ujwal Patel0f685f22012-12-12 12:52:18 -0800101 hpd-gdsc-supply = <&gdsc_mdss>;
Ujwal Patelf5380e12012-08-13 22:50:13 -0700102 hpd-5v-supply = <&pm8941_mvs2>;
103 core-vdda-supply = <&pm8941_l12>;
104 core-vcc-supply = <&pm8941_s3>;
Ujwal Patel0f685f22012-12-12 12:52:18 -0800105 qcom,hdmi-tx-supply-names = "hpd-gdsc", "hpd-5v", "core-vdda", "core-vcc";
106 qcom,hdmi-tx-supply-type = <1 1 0 0>;
107 qcom,hdmi-tx-min-voltage-level = <0 0 1800000 1800000>;
108 qcom,hdmi-tx-max-voltage-level = <0 0 1800000 1800000>;
109 qcom,hdmi-tx-op-mode = <0 0 1800000 0>;
Ujwal Patelf5380e12012-08-13 22:50:13 -0700110
Ujwal Pateleac7d2b2012-11-14 21:53:34 -0800111 qcom,hdmi-tx-cec = <&msmgpio 31 0>;
112 qcom,hdmi-tx-ddc-clk = <&msmgpio 32 0>;
113 qcom,hdmi-tx-ddc-data = <&msmgpio 33 0>;
114 qcom,hdmi-tx-hpd = <&msmgpio 34 0>;
Adrian Salido-Moreno4fe81062012-12-04 21:05:03 -0800115 qcom,mdss-fb-map = <&mdss_fb1>;
Kiran Kandi52650322012-12-11 15:49:39 -0800116 qcom,msm-hdmi-audio-rx {
117 compatible = "qcom,msm-hdmi-audio-codec-rx";
118 };
Ujwal Patelf5380e12012-08-13 22:50:13 -0700119 };
120
Adrian Salido-Morenoa80c69e2012-07-31 18:11:09 -0700121 qcom,mdss_wb_panel {
122 compatible = "qcom,mdss_wb";
Adrian Salido-Moreno4af57eb2012-09-28 15:25:36 -0700123 qcom,mdss_pan_res = <1920 1080>;
Adrian Salido-Morenoa80c69e2012-07-31 18:11:09 -0700124 qcom,mdss_pan_bpp = <24>;
Adrian Salido-Moreno4fe81062012-12-04 21:05:03 -0800125 qcom,mdss-fb-map = <&mdss_fb2>;
Adrian Salido-Morenoa80c69e2012-07-31 18:11:09 -0700126 };
Asaf Penso4f186422012-10-18 11:25:15 +0200127
128 mdss_edp: qcom,mdss_edp@fd923400 {
129 compatible = "qcom,mdss-edp";
130 reg = <0xfd923400 0x700>,
131 <0xfd8c2000 0x1000>;
132 reg-names = "edp_base", "mmss_cc_base";
133 vdda-supply = <&pm8941_l12>;
134 gpio-panel-en = <&msmgpio 58 0>;
Asaf Penso407e03a2012-10-25 15:03:21 +0200135 gpio-panel-pwm = <&pm8941_gpios 36 0>;
136 qcom,panel-lpg-channel = <7>; /* LPG Channel 8 */
137 qcom,panel-pwm-period = <53>;
Asaf Penso4f186422012-10-18 11:25:15 +0200138 status = "disable";
Adrian Salido-Moreno4fe81062012-12-04 21:05:03 -0800139 qcom,mdss-fb-map = <&mdss_fb0>;
Asaf Penso4f186422012-10-18 11:25:15 +0200140 };
Adrian Salido-Morenoa80c69e2012-07-31 18:11:09 -0700141};