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 | |
| 13 | / { |
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 | |
Sree Sesha Aravind Vadrevu | 8be4b98 | 2013-01-04 14:09:20 -0800 | [diff] [blame] | 22 | 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-Moreno | 2604550 | 2013-02-05 22:46:01 -0800 | [diff] [blame] | 39 | qcom,mdss-intf-off = <0x00021100 0x00021300 |
| 40 | 0x00021500 0x00021700>; |
Sree Sesha Aravind Vadrevu | 8be4b98 | 2013-01-04 14:09:20 -0800 | [diff] [blame] | 41 | |
Adrian Salido-Moreno | e2e742b | 2013-02-07 01:54:14 -0800 | [diff] [blame] | 42 | 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-Moreno | 4fe8106 | 2012-12-04 21:05:03 -0800 | [diff] [blame] | 53 | 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-Moreno | a80c69e | 2012-07-31 18:11:09 -0700 | [diff] [blame] | 69 | }; |
| 70 | |
Chandan Uddaraju | 704a16d | 2013-01-25 11:30:25 -0800 | [diff] [blame] | 71 | mdss_dsi0: qcom,mdss_dsi@fd922800 { |
Chandan Uddaraju | 0c33e77 | 2012-12-13 22:49:58 -0800 | [diff] [blame] | 72 | compatible = "qcom,mdss-dsi-ctrl"; |
Chandan Uddaraju | 704a16d | 2013-01-25 11:30:25 -0800 | [diff] [blame] | 73 | label = "MDSS DSI CTRL->0"; |
Chandan Uddaraju | 0c33e77 | 2012-12-13 22:49:58 -0800 | [diff] [blame] | 74 | cell-index = <0>; |
| 75 | reg = <0xfd922800 0x600>; |
Chandan Uddaraju | 7632f67 | 2012-08-27 21:59:34 -0700 | [diff] [blame] | 76 | vdd-supply = <&pm8941_l22>; |
| 77 | vdd_io-supply = <&pm8941_l12>; |
| 78 | vreg-supply = <&pm8941_l2>; |
Chandan Uddaraju | 0c33e77 | 2012-12-13 22:49:58 -0800 | [diff] [blame] | 79 | qcom,mdss-fb-map = <&mdss_fb0>; |
Adrian Salido-Moreno | a80c69e | 2012-07-31 18:11:09 -0700 | [diff] [blame] | 80 | }; |
| 81 | |
Chandan Uddaraju | 6d2c892 | 2013-01-24 23:11:12 -0800 | [diff] [blame] | 82 | 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 Rao | babed62 | 2013-02-01 20:35:48 -0800 | [diff] [blame] | 93 | mdss_hdmi_tx: qcom,hdmi_tx@fd922100 { |
Ujwal Patel | f5380e1 | 2012-08-13 22:50:13 -0700 | [diff] [blame] | 94 | 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 Patel | 0f685f2 | 2012-12-12 12:52:18 -0800 | [diff] [blame] | 101 | hpd-gdsc-supply = <&gdsc_mdss>; |
Ujwal Patel | f5380e1 | 2012-08-13 22:50:13 -0700 | [diff] [blame] | 102 | hpd-5v-supply = <&pm8941_mvs2>; |
| 103 | core-vdda-supply = <&pm8941_l12>; |
| 104 | core-vcc-supply = <&pm8941_s3>; |
Ujwal Patel | 0f685f2 | 2012-12-12 12:52:18 -0800 | [diff] [blame] | 105 | 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 Patel | f5380e1 | 2012-08-13 22:50:13 -0700 | [diff] [blame] | 110 | |
Ujwal Patel | eac7d2b | 2012-11-14 21:53:34 -0800 | [diff] [blame] | 111 | 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-Moreno | 4fe8106 | 2012-12-04 21:05:03 -0800 | [diff] [blame] | 115 | qcom,mdss-fb-map = <&mdss_fb1>; |
Kiran Kandi | 5265032 | 2012-12-11 15:49:39 -0800 | [diff] [blame] | 116 | qcom,msm-hdmi-audio-rx { |
| 117 | compatible = "qcom,msm-hdmi-audio-codec-rx"; |
| 118 | }; |
Ujwal Patel | f5380e1 | 2012-08-13 22:50:13 -0700 | [diff] [blame] | 119 | }; |
| 120 | |
Adrian Salido-Moreno | a80c69e | 2012-07-31 18:11:09 -0700 | [diff] [blame] | 121 | qcom,mdss_wb_panel { |
| 122 | compatible = "qcom,mdss_wb"; |
Adrian Salido-Moreno | 4af57eb | 2012-09-28 15:25:36 -0700 | [diff] [blame] | 123 | qcom,mdss_pan_res = <1920 1080>; |
Adrian Salido-Moreno | a80c69e | 2012-07-31 18:11:09 -0700 | [diff] [blame] | 124 | qcom,mdss_pan_bpp = <24>; |
Adrian Salido-Moreno | 4fe8106 | 2012-12-04 21:05:03 -0800 | [diff] [blame] | 125 | qcom,mdss-fb-map = <&mdss_fb2>; |
Adrian Salido-Moreno | a80c69e | 2012-07-31 18:11:09 -0700 | [diff] [blame] | 126 | }; |
Asaf Penso | 4f18642 | 2012-10-18 11:25:15 +0200 | [diff] [blame] | 127 | |
| 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 Penso | 407e03a | 2012-10-25 15:03:21 +0200 | [diff] [blame] | 135 | gpio-panel-pwm = <&pm8941_gpios 36 0>; |
| 136 | qcom,panel-lpg-channel = <7>; /* LPG Channel 8 */ |
| 137 | qcom,panel-pwm-period = <53>; |
Asaf Penso | 4f18642 | 2012-10-18 11:25:15 +0200 | [diff] [blame] | 138 | status = "disable"; |
Adrian Salido-Moreno | 4fe8106 | 2012-12-04 21:05:03 -0800 | [diff] [blame] | 139 | qcom,mdss-fb-map = <&mdss_fb0>; |
Asaf Penso | 4f18642 | 2012-10-18 11:25:15 +0200 | [diff] [blame] | 140 | }; |
Adrian Salido-Moreno | a80c69e | 2012-07-31 18:11:09 -0700 | [diff] [blame] | 141 | }; |