Adrian Salido-Moreno | 4fe8106 | 2012-12-04 21:05:03 -0800 | [diff] [blame] | 1 | /* Copyright (c) 2012-2013, The Linux Foundation. All rights reserved. |
Adrian Salido-Moreno | a80c69e | 2012-07-31 18:11:09 -0700 | [diff] [blame] | 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 | |
Stepan Moskovchenko | 7d8cdcaa | 2013-04-25 17:10:55 -0700 | [diff] [blame] | 13 | &soc { |
Adrian Salido-Moreno | 42559bc | 2013-02-07 14:34:45 -0800 | [diff] [blame] | 14 | mdss_mdp: qcom,mdss_mdp@fd900000 { |
Adrian Salido-Moreno | a80c69e | 2012-07-31 18:11:09 -0700 | [diff] [blame] | 15 | compatible = "qcom,mdss_mdp"; |
Adrian Salido-Moreno | 4522894 | 2012-08-13 16:19:18 -0700 | [diff] [blame] | 16 | reg = <0xfd900000 0x22100>, |
| 17 | <0xfd924000 0x1000>; |
| 18 | reg-names = "mdp_phys", "vbif_phys"; |
Adrian Salido-Moreno | a80c69e | 2012-07-31 18:11:09 -0700 | [diff] [blame] | 19 | interrupts = <0 72 0>; |
| 20 | vdd-supply = <&gdsc_mdss>; |
Adrian Salido-Moreno | 4fe8106 | 2012-12-04 21:05:03 -0800 | [diff] [blame] | 21 | |
Adrian Salido-Moreno | 2a22865 | 2012-10-01 11:17:33 -0700 | [diff] [blame] | 22 | qcom,max-clk-rate = <320000000>; |
Sree Sesha Aravind Vadrevu | 8be4b98 | 2013-01-04 14:09:20 -0800 | [diff] [blame] | 23 | 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 Vadrevu | 6dc413b | 2013-02-27 17:02:04 -0800 | [diff] [blame] | 31 | qcom,mdss-smp-data = <22 4096>; |
Sree Sesha Aravind Vadrevu | 8be4b98 | 2013-01-04 14:09:20 -0800 | [diff] [blame] | 32 | |
| 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-Moreno | 2604550 | 2013-02-05 22:46:01 -0800 | [diff] [blame] | 41 | qcom,mdss-intf-off = <0x00021100 0x00021300 |
| 42 | 0x00021500 0x00021700>; |
Sree Sesha Aravind Vadrevu | 8be4b98 | 2013-01-04 14:09:20 -0800 | [diff] [blame] | 43 | |
Sree Sesha Aravind Vadrevu | 57fe587 | 2013-06-07 15:32:11 -0700 | [diff] [blame] | 44 | qcom,mdss-has-wfd-blk; |
Adrian Salido-Moreno | e2e742b | 2013-02-07 01:54:14 -0800 | [diff] [blame] | 45 | qcom,vbif-settings = <0x0004 0x00000001>, |
| 46 | <0x00D8 0x00000707>, |
| 47 | <0x00F0 0x00000030>, |
| 48 | <0x0124 0x00000001>, |
| 49 | <0x0178 0x00000FFF>, |
| 50 | <0x017C 0x0FFF0FFF>, |
| 51 | <0x0160 0x22222222>, |
| 52 | <0x0164 0x00002222>; |
Adrian Salido-Moreno | 2b0b1b8 | 2013-03-06 17:09:33 -0800 | [diff] [blame] | 53 | qcom,mdp-settings = <0x02E0 0x000000E9>, |
Carl Vanderlip | 4512a44 | 2013-03-20 17:02:23 -0700 | [diff] [blame] | 54 | <0x02E4 0x00000055>, |
| 55 | <0x03AC 0xC0000CCC>, |
| 56 | <0x03B4 0xC0000CCC>, |
| 57 | <0x03BC 0x00CCCCCC>, |
| 58 | <0x04A8 0x0CCCC0C0>, |
| 59 | <0x04B0 0xCCCCC0C0>, |
| 60 | <0x04B8 0xCCCCC000>; |
Adrian Salido-Moreno | e2e742b | 2013-02-07 01:54:14 -0800 | [diff] [blame] | 61 | |
Adrian Salido-Moreno | 4fe8106 | 2012-12-04 21:05:03 -0800 | [diff] [blame] | 62 | mdss_fb0: qcom,mdss_fb_primary { |
| 63 | cell-index = <0>; |
| 64 | compatible = "qcom,mdss-fb"; |
| 65 | qcom,memory-reservation-type = "EBI1"; |
| 66 | qcom,memory-reservation-size = <0x800000>; |
Siddhartha Agrawal | e6de048 | 2013-07-18 16:30:27 -0700 | [diff] [blame] | 67 | qcom,memblock-reserve = <0x03200000 0x01E00000>; |
Adrian Salido-Moreno | 4fe8106 | 2012-12-04 21:05:03 -0800 | [diff] [blame] | 68 | }; |
| 69 | |
| 70 | mdss_fb1: qcom,mdss_fb_external { |
| 71 | cell-index = <1>; |
| 72 | compatible = "qcom,mdss-fb"; |
| 73 | }; |
| 74 | |
| 75 | mdss_fb2: qcom,mdss_fb_wfd { |
| 76 | cell-index = <2>; |
| 77 | compatible = "qcom,mdss-fb"; |
| 78 | }; |
Adrian Salido-Moreno | a80c69e | 2012-07-31 18:11:09 -0700 | [diff] [blame] | 79 | }; |
| 80 | |
Chandan Uddaraju | 704a16d | 2013-01-25 11:30:25 -0800 | [diff] [blame] | 81 | mdss_dsi0: qcom,mdss_dsi@fd922800 { |
Chandan Uddaraju | 0c33e77 | 2012-12-13 22:49:58 -0800 | [diff] [blame] | 82 | compatible = "qcom,mdss-dsi-ctrl"; |
Chandan Uddaraju | 704a16d | 2013-01-25 11:30:25 -0800 | [diff] [blame] | 83 | label = "MDSS DSI CTRL->0"; |
Chandan Uddaraju | 0c33e77 | 2012-12-13 22:49:58 -0800 | [diff] [blame] | 84 | cell-index = <0>; |
| 85 | reg = <0xfd922800 0x600>; |
Chandan Uddaraju | 7632f67 | 2012-08-27 21:59:34 -0700 | [diff] [blame] | 86 | vdd-supply = <&pm8941_l22>; |
Aravind Venkateswaran | ad37433 | 2013-03-12 15:19:17 -0700 | [diff] [blame] | 87 | vddio-supply = <&pm8941_l12>; |
| 88 | vdda-supply = <&pm8941_l2>; |
Chandan Uddaraju | 0c33e77 | 2012-12-13 22:49:58 -0800 | [diff] [blame] | 89 | qcom,mdss-fb-map = <&mdss_fb0>; |
Manoj Rao | 702a043 | 2013-08-12 22:58:27 -0700 | [diff] [blame] | 90 | qcom,mdss-mdp = <&mdss_mdp>; |
Huaibin Yang | 23d85aa | 2013-08-05 11:56:38 -0700 | [diff] [blame] | 91 | qcom,platform-reset-gpio = <&pm8941_gpios 19 0>; |
| 92 | qcom,platform-enable-gpio = <&msmgpio 58 0>; |
Huaibin Yang | 6a4a0a0 | 2013-09-16 12:19:50 +0530 | [diff] [blame] | 93 | qcom,platform-te-gpio = <&msmgpio 12 0>; |
Arpita Banerjee | c057d58 | 2013-06-28 18:35:23 -0700 | [diff] [blame] | 94 | qcom,platform-strength-ctrl = [ff 06]; |
| 95 | qcom,platform-bist-ctrl = [00 00 b1 ff 00 00]; |
| 96 | qcom,platform-regulator-settings = [07 09 03 00 20 00 01]; |
| 97 | qcom,platform-lane-config = [00 00 00 00 00 00 00 01 97 |
| 98 | 00 00 00 00 05 00 00 01 97 |
| 99 | 00 00 00 00 0a 00 00 01 97 |
| 100 | 00 00 00 00 0f 00 00 01 97 |
| 101 | 00 c0 00 00 00 00 00 01 bb]; |
| 102 | qcom,platform-supply-entry1 { |
| 103 | qcom,supply-name = "vdd"; |
| 104 | qcom,supply-min-voltage = <3000000>; |
| 105 | qcom,supply-max-voltage = <3000000>; |
| 106 | qcom,supply-enable-load = <100000>; |
| 107 | qcom,supply-disable-load = <100>; |
| 108 | qcom,supply-pre-on-sleep = <0>; |
| 109 | qcom,supply-post-on-sleep = <20>; |
| 110 | qcom,supply-pre-off-sleep = <0>; |
| 111 | qcom,supply-post-off-sleep = <0>; |
| 112 | }; |
| 113 | qcom,platform-supply-entry2 { |
| 114 | qcom,supply-name = "vddio"; |
| 115 | qcom,supply-min-voltage = <1800000>; |
| 116 | qcom,supply-max-voltage = <1800000>; |
| 117 | qcom,supply-enable-load = <100000>; |
| 118 | qcom,supply-disable-load = <100>; |
| 119 | qcom,supply-pre-on-sleep = <0>; |
| 120 | qcom,supply-post-on-sleep = <20>; |
| 121 | qcom,supply-pre-off-sleep = <0>; |
| 122 | qcom,supply-post-off-sleep = <0>; |
| 123 | }; |
| 124 | qcom,platform-supply-entry3 { |
| 125 | qcom,supply-name = "vdda"; |
| 126 | qcom,supply-min-voltage = <1200000>; |
| 127 | qcom,supply-max-voltage = <1200000>; |
| 128 | qcom,supply-enable-load = <100000>; |
| 129 | qcom,supply-disable-load = <100>; |
| 130 | qcom,supply-pre-on-sleep = <0>; |
| 131 | qcom,supply-post-on-sleep = <0>; |
| 132 | qcom,supply-pre-off-sleep = <0>; |
| 133 | qcom,supply-post-off-sleep = <0>; |
| 134 | }; |
Adrian Salido-Moreno | a80c69e | 2012-07-31 18:11:09 -0700 | [diff] [blame] | 135 | }; |
| 136 | |
Chandan Uddaraju | 6d2c892 | 2013-01-24 23:11:12 -0800 | [diff] [blame] | 137 | mdss_dsi1: qcom,mdss_dsi@fd922e00 { |
| 138 | compatible = "qcom,mdss-dsi-ctrl"; |
| 139 | label = "MDSS DSI CTRL->1"; |
| 140 | cell-index = <1>; |
| 141 | reg = <0xfd922e00 0x600>; |
| 142 | vdd-supply = <&pm8941_l22>; |
Aravind Venkateswaran | ad37433 | 2013-03-12 15:19:17 -0700 | [diff] [blame] | 143 | vddio-supply = <&pm8941_l12>; |
| 144 | vdda-supply = <&pm8941_l2>; |
Chandan Uddaraju | 6d2c892 | 2013-01-24 23:11:12 -0800 | [diff] [blame] | 145 | qcom,mdss-fb-map = <&mdss_fb0>; |
Manoj Rao | 702a043 | 2013-08-12 22:58:27 -0700 | [diff] [blame] | 146 | qcom,mdss-mdp = <&mdss_mdp>; |
Chandan Uddaraju | 6d2c892 | 2013-01-24 23:11:12 -0800 | [diff] [blame] | 147 | }; |
| 148 | |
Manoj Rao | babed62 | 2013-02-01 20:35:48 -0800 | [diff] [blame] | 149 | mdss_hdmi_tx: qcom,hdmi_tx@fd922100 { |
Ujwal Patel | f5380e1 | 2012-08-13 22:50:13 -0700 | [diff] [blame] | 150 | cell-index = <0>; |
| 151 | compatible = "qcom,hdmi-tx"; |
| 152 | reg = <0xfd922100 0x35C>, |
| 153 | <0xfd922500 0x7C>, |
| 154 | <0xfc4b8000 0x60F0>; |
| 155 | reg-names = "core_physical", "phy_physical", "qfprom_physical"; |
| 156 | |
Ujwal Patel | 0f685f2 | 2012-12-12 12:52:18 -0800 | [diff] [blame] | 157 | hpd-gdsc-supply = <&gdsc_mdss>; |
Ujwal Patel | f5380e1 | 2012-08-13 22:50:13 -0700 | [diff] [blame] | 158 | hpd-5v-supply = <&pm8941_mvs2>; |
| 159 | core-vdda-supply = <&pm8941_l12>; |
| 160 | core-vcc-supply = <&pm8941_s3>; |
Ujwal Patel | 0f685f2 | 2012-12-12 12:52:18 -0800 | [diff] [blame] | 161 | qcom,hdmi-tx-supply-names = "hpd-gdsc", "hpd-5v", "core-vdda", "core-vcc"; |
Ujwal Patel | 0f685f2 | 2012-12-12 12:52:18 -0800 | [diff] [blame] | 162 | qcom,hdmi-tx-min-voltage-level = <0 0 1800000 1800000>; |
| 163 | qcom,hdmi-tx-max-voltage-level = <0 0 1800000 1800000>; |
Ajay Singh Parmar | a449f14 | 2013-08-30 14:51:18 -0700 | [diff] [blame] | 164 | qcom,hdmi-tx-peak-current = <0 0 300000 0>; |
Ujwal Patel | f5380e1 | 2012-08-13 22:50:13 -0700 | [diff] [blame] | 165 | |
Ujwal Patel | eac7d2b | 2012-11-14 21:53:34 -0800 | [diff] [blame] | 166 | qcom,hdmi-tx-cec = <&msmgpio 31 0>; |
| 167 | qcom,hdmi-tx-ddc-clk = <&msmgpio 32 0>; |
| 168 | qcom,hdmi-tx-ddc-data = <&msmgpio 33 0>; |
| 169 | qcom,hdmi-tx-hpd = <&msmgpio 34 0>; |
Adrian Salido-Moreno | 4fe8106 | 2012-12-04 21:05:03 -0800 | [diff] [blame] | 170 | qcom,mdss-fb-map = <&mdss_fb1>; |
Kiran Kandi | 5265032 | 2012-12-11 15:49:39 -0800 | [diff] [blame] | 171 | qcom,msm-hdmi-audio-rx { |
| 172 | compatible = "qcom,msm-hdmi-audio-codec-rx"; |
| 173 | }; |
Ujwal Patel | f5380e1 | 2012-08-13 22:50:13 -0700 | [diff] [blame] | 174 | }; |
| 175 | |
Adrian Salido-Moreno | a80c69e | 2012-07-31 18:11:09 -0700 | [diff] [blame] | 176 | qcom,mdss_wb_panel { |
| 177 | compatible = "qcom,mdss_wb"; |
Adrian Salido-Moreno | 4af57eb | 2012-09-28 15:25:36 -0700 | [diff] [blame] | 178 | qcom,mdss_pan_res = <1920 1080>; |
Adrian Salido-Moreno | a80c69e | 2012-07-31 18:11:09 -0700 | [diff] [blame] | 179 | qcom,mdss_pan_bpp = <24>; |
Adrian Salido-Moreno | 4fe8106 | 2012-12-04 21:05:03 -0800 | [diff] [blame] | 180 | qcom,mdss-fb-map = <&mdss_fb2>; |
Adrian Salido-Moreno | a80c69e | 2012-07-31 18:11:09 -0700 | [diff] [blame] | 181 | }; |
Asaf Penso | 4f18642 | 2012-10-18 11:25:15 +0200 | [diff] [blame] | 182 | |
| 183 | mdss_edp: qcom,mdss_edp@fd923400 { |
| 184 | compatible = "qcom,mdss-edp"; |
| 185 | reg = <0xfd923400 0x700>, |
| 186 | <0xfd8c2000 0x1000>; |
| 187 | reg-names = "edp_base", "mmss_cc_base"; |
| 188 | vdda-supply = <&pm8941_l12>; |
| 189 | gpio-panel-en = <&msmgpio 58 0>; |
Asaf Penso | 407e03a | 2012-10-25 15:03:21 +0200 | [diff] [blame] | 190 | gpio-panel-pwm = <&pm8941_gpios 36 0>; |
| 191 | qcom,panel-lpg-channel = <7>; /* LPG Channel 8 */ |
| 192 | qcom,panel-pwm-period = <53>; |
Adrian Salido-Moreno | 4fe8106 | 2012-12-04 21:05:03 -0800 | [diff] [blame] | 193 | qcom,mdss-fb-map = <&mdss_fb0>; |
Kuogee Hsieh | 71412cd | 2013-06-28 09:46:15 -0700 | [diff] [blame] | 194 | gpio-panel-hpd = <&msmgpio 102 0>; |
Asaf Penso | 4f18642 | 2012-10-18 11:25:15 +0200 | [diff] [blame] | 195 | }; |
Adrian Salido-Moreno | a80c69e | 2012-07-31 18:11:09 -0700 | [diff] [blame] | 196 | }; |
Manoj Rao | 90fe3e8 | 2013-08-14 23:32:23 -0700 | [diff] [blame] | 197 | |
| 198 | /include/ "msm8974-mdss-panels.dtsi" |