blob: 0912a339f2b1e4ff111f5b78de7979f2dfaa63fa [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
Adrian Salido-Moreno2a228652012-10-01 11:17:33 -070022 qcom,max-clk-rate = <320000000>;
Sree Sesha Aravind Vadrevu8be4b982013-01-04 14:09:20 -080023 qcom,mdss-pipe-vig-off = <0x00001200 0x00001600
24 0x00001A00>;
25 qcom,mdss-pipe-rgb-off = <0x00001E00 0x00002200
26 0x00002600>;
27 qcom,mdss-pipe-dma-off = <0x00002A00 0x00002E00>;
28 qcom,mdss-pipe-vig-fetch-id = <1 4 7>;
29 qcom,mdss-pipe-rgb-fetch-id = <16 17 18>;
30 qcom,mdss-pipe-dma-fetch-id = <10 13>;
Sree Sesha Aravind Vadrevu6dc413b2013-02-27 17:02:04 -080031 qcom,mdss-smp-data = <22 4096>;
Sree Sesha Aravind Vadrevu8be4b982013-01-04 14:09:20 -080032
33 qcom,mdss-ctl-off = <0x00000600 0x00000700 0x00000800
34 0x00000900 0x0000A00>;
35 qcom,mdss-mixer-intf-off = <0x00003200 0x00003600
36 0x00003A00>;
37 qcom,mdss-mixer-wb-off = <0x00003E00 0x00004200>;
38 qcom,mdss-dspp-off = <0x00004600 0x00004A00 0x00004E00>;
39 qcom,mdss-wb-off = <0x00011100 0x00013100 0x00015100
40 0x00017100 0x00019100>;
Adrian Salido-Moreno26045502013-02-05 22:46:01 -080041 qcom,mdss-intf-off = <0x00021100 0x00021300
42 0x00021500 0x00021700>;
Sree Sesha Aravind Vadrevu8be4b982013-01-04 14:09:20 -080043
Adrian Salido-Morenoe2e742b2013-02-07 01:54:14 -080044 qcom,vbif-settings = <0x0004 0x00000001>,
45 <0x00D8 0x00000707>,
46 <0x00F0 0x00000030>,
47 <0x0124 0x00000001>,
48 <0x0178 0x00000FFF>,
49 <0x017C 0x0FFF0FFF>,
50 <0x0160 0x22222222>,
51 <0x0164 0x00002222>;
52 qcom,mdp-settings = <0x02E0 0x000000AA>,
53 <0x02E4 0x00000055>;
54
Adrian Salido-Moreno4fe81062012-12-04 21:05:03 -080055 mdss_fb0: qcom,mdss_fb_primary {
56 cell-index = <0>;
57 compatible = "qcom,mdss-fb";
58 qcom,memory-reservation-type = "EBI1";
59 qcom,memory-reservation-size = <0x800000>;
60 };
61
62 mdss_fb1: qcom,mdss_fb_external {
63 cell-index = <1>;
64 compatible = "qcom,mdss-fb";
65 };
66
67 mdss_fb2: qcom,mdss_fb_wfd {
68 cell-index = <2>;
69 compatible = "qcom,mdss-fb";
70 };
Adrian Salido-Morenoa80c69e2012-07-31 18:11:09 -070071 };
72
Chandan Uddaraju704a16d2013-01-25 11:30:25 -080073 mdss_dsi0: qcom,mdss_dsi@fd922800 {
Chandan Uddaraju0c33e772012-12-13 22:49:58 -080074 compatible = "qcom,mdss-dsi-ctrl";
Chandan Uddaraju704a16d2013-01-25 11:30:25 -080075 label = "MDSS DSI CTRL->0";
Chandan Uddaraju0c33e772012-12-13 22:49:58 -080076 cell-index = <0>;
77 reg = <0xfd922800 0x600>;
Chandan Uddaraju7632f672012-08-27 21:59:34 -070078 vdd-supply = <&pm8941_l22>;
Aravind Venkateswaranad374332013-03-12 15:19:17 -070079 vddio-supply = <&pm8941_l12>;
80 vdda-supply = <&pm8941_l2>;
Chandan Uddaraju0c33e772012-12-13 22:49:58 -080081 qcom,mdss-fb-map = <&mdss_fb0>;
Adrian Salido-Morenoa80c69e2012-07-31 18:11:09 -070082 };
83
Chandan Uddaraju6d2c8922013-01-24 23:11:12 -080084 mdss_dsi1: qcom,mdss_dsi@fd922e00 {
85 compatible = "qcom,mdss-dsi-ctrl";
86 label = "MDSS DSI CTRL->1";
87 cell-index = <1>;
88 reg = <0xfd922e00 0x600>;
89 vdd-supply = <&pm8941_l22>;
Aravind Venkateswaranad374332013-03-12 15:19:17 -070090 vddio-supply = <&pm8941_l12>;
91 vdda-supply = <&pm8941_l2>;
Chandan Uddaraju6d2c8922013-01-24 23:11:12 -080092 qcom,mdss-fb-map = <&mdss_fb0>;
93 };
94
Manoj Raobabed622013-02-01 20:35:48 -080095 mdss_hdmi_tx: qcom,hdmi_tx@fd922100 {
Ujwal Patelf5380e12012-08-13 22:50:13 -070096 cell-index = <0>;
97 compatible = "qcom,hdmi-tx";
98 reg = <0xfd922100 0x35C>,
99 <0xfd922500 0x7C>,
100 <0xfc4b8000 0x60F0>;
101 reg-names = "core_physical", "phy_physical", "qfprom_physical";
102
Ujwal Patel0f685f22012-12-12 12:52:18 -0800103 hpd-gdsc-supply = <&gdsc_mdss>;
Ujwal Patelf5380e12012-08-13 22:50:13 -0700104 hpd-5v-supply = <&pm8941_mvs2>;
105 core-vdda-supply = <&pm8941_l12>;
106 core-vcc-supply = <&pm8941_s3>;
Ujwal Patel0f685f22012-12-12 12:52:18 -0800107 qcom,hdmi-tx-supply-names = "hpd-gdsc", "hpd-5v", "core-vdda", "core-vcc";
108 qcom,hdmi-tx-supply-type = <1 1 0 0>;
109 qcom,hdmi-tx-min-voltage-level = <0 0 1800000 1800000>;
110 qcom,hdmi-tx-max-voltage-level = <0 0 1800000 1800000>;
111 qcom,hdmi-tx-op-mode = <0 0 1800000 0>;
Ujwal Patelf5380e12012-08-13 22:50:13 -0700112
Ujwal Pateleac7d2b2012-11-14 21:53:34 -0800113 qcom,hdmi-tx-cec = <&msmgpio 31 0>;
114 qcom,hdmi-tx-ddc-clk = <&msmgpio 32 0>;
115 qcom,hdmi-tx-ddc-data = <&msmgpio 33 0>;
116 qcom,hdmi-tx-hpd = <&msmgpio 34 0>;
Adrian Salido-Moreno4fe81062012-12-04 21:05:03 -0800117 qcom,mdss-fb-map = <&mdss_fb1>;
Kiran Kandi52650322012-12-11 15:49:39 -0800118 qcom,msm-hdmi-audio-rx {
119 compatible = "qcom,msm-hdmi-audio-codec-rx";
120 };
Ujwal Patelf5380e12012-08-13 22:50:13 -0700121 };
122
Adrian Salido-Morenoa80c69e2012-07-31 18:11:09 -0700123 qcom,mdss_wb_panel {
124 compatible = "qcom,mdss_wb";
Adrian Salido-Moreno4af57eb2012-09-28 15:25:36 -0700125 qcom,mdss_pan_res = <1920 1080>;
Adrian Salido-Morenoa80c69e2012-07-31 18:11:09 -0700126 qcom,mdss_pan_bpp = <24>;
Adrian Salido-Moreno4fe81062012-12-04 21:05:03 -0800127 qcom,mdss-fb-map = <&mdss_fb2>;
Adrian Salido-Morenoa80c69e2012-07-31 18:11:09 -0700128 };
Asaf Penso4f186422012-10-18 11:25:15 +0200129
130 mdss_edp: qcom,mdss_edp@fd923400 {
131 compatible = "qcom,mdss-edp";
132 reg = <0xfd923400 0x700>,
133 <0xfd8c2000 0x1000>;
134 reg-names = "edp_base", "mmss_cc_base";
135 vdda-supply = <&pm8941_l12>;
136 gpio-panel-en = <&msmgpio 58 0>;
Asaf Penso407e03a2012-10-25 15:03:21 +0200137 gpio-panel-pwm = <&pm8941_gpios 36 0>;
138 qcom,panel-lpg-channel = <7>; /* LPG Channel 8 */
139 qcom,panel-pwm-period = <53>;
Asaf Penso4f186422012-10-18 11:25:15 +0200140 status = "disable";
Adrian Salido-Moreno4fe81062012-12-04 21:05:03 -0800141 qcom,mdss-fb-map = <&mdss_fb0>;
Asaf Penso4f186422012-10-18 11:25:15 +0200142 };
Adrian Salido-Morenoa80c69e2012-07-31 18:11:09 -0700143};