Dhaval Patel | 6a5bd8b | 2016-10-10 14:12:10 -0700 | [diff] [blame] | 1 | /* Copyright (c) 2016-2017, 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 | &soc { |
| 14 | mdss_mdp: qcom,mdss_mdp@ae00000 { |
| 15 | compatible = "qcom,sde-kms"; |
Lloyd Atkinson | 8f2bd8c | 2017-04-06 11:55:49 -0700 | [diff] [blame] | 16 | reg = <0x0ae00000 0x81d40>, |
Gopikrishnaiah Anandan | cd47603 | 2017-03-27 12:33:00 -0700 | [diff] [blame] | 17 | <0x0aeb0000 0x2008>, |
| 18 | <0x0aeac000 0xf0>; |
Dhaval Patel | 6a5bd8b | 2016-10-10 14:12:10 -0700 | [diff] [blame] | 19 | reg-names = "mdp_phys", |
Gopikrishnaiah Anandan | cd47603 | 2017-03-27 12:33:00 -0700 | [diff] [blame] | 20 | "vbif_phys", |
| 21 | "regdma_phys"; |
Dhaval Patel | 6a5bd8b | 2016-10-10 14:12:10 -0700 | [diff] [blame] | 22 | |
Dhaval Patel | 2169d61 | 2017-01-30 19:38:05 -0800 | [diff] [blame] | 23 | clocks = |
| 24 | <&clock_gcc GCC_DISP_AHB_CLK>, |
| 25 | <&clock_gcc GCC_DISP_AXI_CLK>, |
| 26 | <&clock_dispcc DISP_CC_MDSS_AHB_CLK>, |
Alan Kwong | d5e9534 | 2017-01-30 19:38:05 -0800 | [diff] [blame] | 27 | <&clock_dispcc DISP_CC_MDSS_AXI_CLK>, |
Dhaval Patel | 2169d61 | 2017-01-30 19:38:05 -0800 | [diff] [blame] | 28 | <&clock_dispcc DISP_CC_MDSS_MDP_CLK>, |
| 29 | <&clock_dispcc DISP_CC_MDSS_VSYNC_CLK>; |
Dhaval Patel | 2cd94b1 | 2017-04-21 19:39:53 -0700 | [diff] [blame] | 30 | clock-names = "gcc_iface", "gcc_bus", "iface_clk", |
| 31 | "bus_clk", "core_clk", "vsync_clk"; |
| 32 | clock-rate = <0 0 0 0 300000000 19200000 0>; |
| 33 | clock-max-rate = <0 0 0 0 430000000 19200000 0>; |
Alan Kwong | d5e9534 | 2017-01-30 19:38:05 -0800 | [diff] [blame] | 34 | |
Dhaval Patel | 2169d61 | 2017-01-30 19:38:05 -0800 | [diff] [blame] | 35 | sde-vdd-supply = <&mdss_core_gdsc>; |
Alan Kwong | d5e9534 | 2017-01-30 19:38:05 -0800 | [diff] [blame] | 36 | |
Dhaval Patel | 6a5bd8b | 2016-10-10 14:12:10 -0700 | [diff] [blame] | 37 | /* interrupt config */ |
Archana Sathyakumar | 00a36ab | 2017-03-03 14:38:26 -0700 | [diff] [blame] | 38 | interrupt-parent = <&pdc>; |
Dhaval Patel | 6a5bd8b | 2016-10-10 14:12:10 -0700 | [diff] [blame] | 39 | interrupts = <0 83 0>; |
| 40 | interrupt-controller; |
| 41 | #interrupt-cells = <1>; |
Patrick Daly | caf09c9 | 2017-04-18 16:30:52 -0700 | [diff] [blame] | 42 | iommus = <&apps_smmu 0x880 0x8>, |
| 43 | <&apps_smmu 0xc80 0x8>; |
Dhaval Patel | 6a5bd8b | 2016-10-10 14:12:10 -0700 | [diff] [blame] | 44 | |
Dhaval Patel | d0a8404 | 2016-12-01 14:50:47 -0800 | [diff] [blame] | 45 | #address-cells = <1>; |
| 46 | #size-cells = <0>; |
| 47 | |
Dhaval Patel | 6a5bd8b | 2016-10-10 14:12:10 -0700 | [diff] [blame] | 48 | /* hw blocks */ |
| 49 | qcom,sde-off = <0x1000>; |
Lloyd Atkinson | 216e306 | 2017-01-31 08:42:38 -0800 | [diff] [blame] | 50 | qcom,sde-len = <0x45C>; |
| 51 | |
Dhaval Patel | 6a5bd8b | 2016-10-10 14:12:10 -0700 | [diff] [blame] | 52 | qcom,sde-ctl-off = <0x2000 0x2200 0x2400 |
| 53 | 0x2600 0x2800>; |
Lloyd Atkinson | 216e306 | 2017-01-31 08:42:38 -0800 | [diff] [blame] | 54 | qcom,sde-ctl-size = <0xE4>; |
| 55 | |
Dhaval Patel | 6a5bd8b | 2016-10-10 14:12:10 -0700 | [diff] [blame] | 56 | qcom,sde-mixer-off = <0x45000 0x46000 0x47000 |
| 57 | 0x48000 0x49000 0x4a000>; |
Lloyd Atkinson | 216e306 | 2017-01-31 08:42:38 -0800 | [diff] [blame] | 58 | qcom,sde-mixer-size = <0x320>; |
| 59 | |
Rajesh Yadav | ec93afb | 2017-06-08 19:28:33 +0530 | [diff] [blame] | 60 | qcom,sde-dspp-top-off = <0x1300>; |
| 61 | qcom,sde-dspp-top-size = <0xc>; |
| 62 | |
Dhaval Patel | 6a5bd8b | 2016-10-10 14:12:10 -0700 | [diff] [blame] | 63 | qcom,sde-dspp-off = <0x55000 0x57000 0x59000 0x5b000>; |
Ping Li | 2d6c5f9 | 2017-05-04 14:17:03 -0700 | [diff] [blame] | 64 | qcom,sde-dspp-size = <0x17e0>; |
Lloyd Atkinson | 216e306 | 2017-01-31 08:42:38 -0800 | [diff] [blame] | 65 | |
Dhaval Patel | 6a5bd8b | 2016-10-10 14:12:10 -0700 | [diff] [blame] | 66 | qcom,sde-wb-off = <0x66000>; |
Lloyd Atkinson | 216e306 | 2017-01-31 08:42:38 -0800 | [diff] [blame] | 67 | qcom,sde-wb-size = <0x2c8>; |
| 68 | |
Dhaval Patel | 6a5bd8b | 2016-10-10 14:12:10 -0700 | [diff] [blame] | 69 | qcom,sde-wb-xin-id = <6>; |
| 70 | qcom,sde-wb-id = <2>; |
| 71 | qcom,sde-intf-off = <0x6b000 0x6b800 |
| 72 | 0x6c000 0x6c800>; |
Lloyd Atkinson | 216e306 | 2017-01-31 08:42:38 -0800 | [diff] [blame] | 73 | qcom,sde-intf-size = <0x280>; |
| 74 | |
Dhaval Patel | 6a5bd8b | 2016-10-10 14:12:10 -0700 | [diff] [blame] | 75 | qcom,sde-intf-type = "dp", "dsi", "dsi", "dp"; |
| 76 | qcom,sde-pp-off = <0x71000 0x71800 |
| 77 | 0x72000 0x72800 0x73000>; |
| 78 | qcom,sde-pp-slave = <0x0 0x0 0x0 0x0 0x1>; |
Lloyd Atkinson | 216e306 | 2017-01-31 08:42:38 -0800 | [diff] [blame] | 79 | qcom,sde-pp-size = <0xd4>; |
| 80 | |
Dhaval Patel | 6a5bd8b | 2016-10-10 14:12:10 -0700 | [diff] [blame] | 81 | qcom,sde-te2-off = <0x2000 0x2000 0x0 0x0 0x0>; |
| 82 | qcom,sde-cdm-off = <0x7a200>; |
Lloyd Atkinson | 216e306 | 2017-01-31 08:42:38 -0800 | [diff] [blame] | 83 | qcom,sde-cdm-size = <0x224>; |
| 84 | |
| 85 | qcom,sde-dsc-off = <0x81000 0x81400 0x81800 0x81c00>; |
| 86 | qcom,sde-dsc-size = <0x140>; |
| 87 | |
Narendra Muppalla | a0826c6 | 2017-06-12 11:55:33 -0700 | [diff] [blame] | 88 | qcom,sde-dither-off = <0x30e0 0x30e0 0x30e0 0x30e0 0x0>; |
Ping Li | c7dd65f | 2017-03-08 12:11:01 -0800 | [diff] [blame] | 89 | qcom,sde-dither-version = <0x00010000>; |
| 90 | qcom,sde-dither-size = <0x20>; |
| 91 | |
Dhaval Patel | 6a5bd8b | 2016-10-10 14:12:10 -0700 | [diff] [blame] | 92 | qcom,sde-sspp-type = "vig", "vig", "vig", "vig", |
| 93 | "dma", "dma", "dma", "dma"; |
| 94 | |
| 95 | qcom,sde-sspp-off = <0x5000 0x7000 0x9000 0xb000 |
| 96 | 0x25000 0x27000 0x29000 0x2b000>; |
Lloyd Atkinson | 216e306 | 2017-01-31 08:42:38 -0800 | [diff] [blame] | 97 | qcom,sde-sspp-src-size = <0x1c8>; |
Dhaval Patel | 6a5bd8b | 2016-10-10 14:12:10 -0700 | [diff] [blame] | 98 | |
| 99 | qcom,sde-sspp-xin-id = <0 4 8 12 |
| 100 | 1 5 9 13>; |
Veera Sundaram Sankaran | 0ea57f6 | 2017-01-16 18:08:04 -0800 | [diff] [blame] | 101 | qcom,sde-sspp-excl-rect = <1 1 1 1 |
| 102 | 1 1 1 1>; |
Jeykumar Sankaran | 0751516 | 2017-05-16 13:02:33 -0700 | [diff] [blame] | 103 | qcom,sde-sspp-smart-dma-priority = <5 6 7 8 1 2 3 4>; |
| 104 | qcom,sde-smart-dma-rev = "smart_dma_v2"; |
Dhaval Patel | 6a5bd8b | 2016-10-10 14:12:10 -0700 | [diff] [blame] | 105 | |
Veera Sundaram Sankaran | 370b991 | 2017-01-10 18:03:42 -0800 | [diff] [blame] | 106 | qcom,sde-mixer-pair-mask = <2 1 6 0 0 3>; |
| 107 | |
| 108 | qcom,sde-mixer-blend-op-off = <0x20 0x38 0x50 0x68 0x80 0x98 |
| 109 | 0xb0 0xc8 0xe0 0xf8 0x110>; |
| 110 | |
Dhaval Patel | 6a5bd8b | 2016-10-10 14:12:10 -0700 | [diff] [blame] | 111 | /* offsets are relative to "mdp_phys + qcom,sde-off */ |
| 112 | qcom,sde-sspp-clk-ctrl = |
| 113 | <0x2ac 0>, <0x2b4 0>, <0x2bc 0>, <0x2c4 0>, |
| 114 | <0x2ac 8>, <0x2b4 8>, <0x2bc 8>, <0x2c4 8>; |
| 115 | qcom,sde-sspp-csc-off = <0x1a00>; |
| 116 | qcom,sde-csc-type = "csc-10bit"; |
| 117 | qcom,sde-qseed-type = "qseedv3"; |
| 118 | qcom,sde-sspp-qseed-off = <0xa00>; |
| 119 | qcom,sde-mixer-linewidth = <2560>; |
| 120 | qcom,sde-sspp-linewidth = <2560>; |
Alan Kwong | d939be4 | 2017-03-08 19:37:38 -0800 | [diff] [blame] | 121 | qcom,sde-wb-linewidth = <4096>; |
Dhaval Patel | 6a5bd8b | 2016-10-10 14:12:10 -0700 | [diff] [blame] | 122 | qcom,sde-mixer-blendstages = <0xb>; |
| 123 | qcom,sde-highest-bank-bit = <0x2>; |
Clarence Ip | 03f2ffe | 2017-04-28 16:12:17 -0700 | [diff] [blame] | 124 | qcom,sde-ubwc-version = <0x200>; |
Dhaval Patel | 6a5bd8b | 2016-10-10 14:12:10 -0700 | [diff] [blame] | 125 | qcom,sde-panic-per-pipe; |
| 126 | qcom,sde-has-cdp; |
| 127 | qcom,sde-has-src-split; |
Veera Sundaram Sankaran | 0ea57f6 | 2017-01-16 18:08:04 -0800 | [diff] [blame] | 128 | qcom,sde-has-dim-layer; |
Veera Sundaram Sankaran | a92444a | 2017-04-07 15:48:07 -0700 | [diff] [blame] | 129 | qcom,sde-has-idle-pc; |
Alan Kwong | d5e9534 | 2017-01-30 19:38:05 -0800 | [diff] [blame] | 130 | qcom,sde-max-bw-low-kbps = <9600000>; |
| 131 | qcom,sde-max-bw-high-kbps = <9600000>; |
| 132 | qcom,sde-dram-channels = <2>; |
| 133 | qcom,sde-num-nrt-paths = <0>; |
Gopikrishnaiah Anandan | aaf6dcd | 2017-02-08 14:10:18 -0800 | [diff] [blame] | 134 | qcom,sde-dspp-ad-version = <0x00040000>; |
| 135 | qcom,sde-dspp-ad-off = <0x28000 0x27000>; |
Alan Kwong | d5e9534 | 2017-01-30 19:38:05 -0800 | [diff] [blame] | 136 | |
| 137 | qcom,sde-vbif-off = <0>; |
| 138 | qcom,sde-vbif-size = <0x1040>; |
| 139 | qcom,sde-vbif-id = <0>; |
Clarence Ip | 0b5f441 | 2017-05-17 11:29:24 -0400 | [diff] [blame] | 140 | qcom,sde-vbif-memtype-0 = <3 3 3 3 3 3 3 3>; |
| 141 | qcom,sde-vbif-memtype-1 = <3 3 3 3 3 3>; |
Veera Sundaram Sankaran | 0ea57f6 | 2017-01-16 18:08:04 -0800 | [diff] [blame] | 142 | |
Alan Kwong | 1641b0b | 2017-04-19 09:01:13 -0700 | [diff] [blame] | 143 | qcom,sde-vbif-qos-rt-remap = <3 3 4 4 5 5 6 6>; |
| 144 | qcom,sde-vbif-qos-nrt-remap = <3 3 3 3 3 3 3 3>; |
| 145 | |
Alan Kwong | e67b379 | 2017-04-27 15:57:50 -0700 | [diff] [blame] | 146 | qcom,sde-danger-lut = <0x0000000f 0x0000ffff 0x00000000 |
| 147 | 0x00000000>; |
| 148 | qcom,sde-safe-lut = <0xfffc 0xff00 0xffff 0xffff>; |
| 149 | qcom,sde-qos-lut-linear = |
| 150 | <4 0x00000000 0x00000357>, |
| 151 | <5 0x00000000 0x00003357>, |
| 152 | <6 0x00000000 0x00023357>, |
| 153 | <7 0x00000000 0x00223357>, |
| 154 | <8 0x00000000 0x02223357>, |
| 155 | <9 0x00000000 0x22223357>, |
| 156 | <10 0x00000002 0x22223357>, |
| 157 | <11 0x00000022 0x22223357>, |
| 158 | <12 0x00000222 0x22223357>, |
| 159 | <13 0x00002222 0x22223357>, |
| 160 | <14 0x00012222 0x22223357>, |
| 161 | <0 0x00112222 0x22223357>; |
| 162 | qcom,sde-qos-lut-macrotile = |
| 163 | <10 0x00000003 0x44556677>, |
| 164 | <11 0x00000033 0x44556677>, |
| 165 | <12 0x00000233 0x44556677>, |
| 166 | <13 0x00002233 0x44556677>, |
| 167 | <14 0x00012233 0x44556677>, |
| 168 | <0 0x00112233 0x44556677>; |
| 169 | qcom,sde-qos-lut-nrt = |
| 170 | <0 0x00000000 0x00000000>; |
| 171 | qcom,sde-qos-lut-cwb = |
| 172 | <0 0x75300000 0x00000000>; |
| 173 | |
Alan Kwong | 23ef3f39 | 2017-04-28 11:09:06 -0700 | [diff] [blame] | 174 | qcom,sde-cdp-setting = <1 1>, <1 0>; |
| 175 | |
Alan Kwong | 0018772 | 2017-02-04 19:09:17 -0800 | [diff] [blame] | 176 | qcom,sde-inline-rotator = <&mdss_rotator 0>; |
Veera Sundaram Sankaran | 5f9ef0d | 2017-05-24 18:49:53 -0700 | [diff] [blame] | 177 | qcom,sde-inline-rot-xin = <10 11>; |
| 178 | qcom,sde-inline-rot-xin-type = "sspp", "wb"; |
| 179 | |
| 180 | /* offsets are relative to "mdp_phys + qcom,sde-off */ |
| 181 | qcom,sde-inline-rot-clk-ctrl = <0x2bc 0x8>, <0x2bc 0xc>; |
Alan Kwong | 0018772 | 2017-02-04 19:09:17 -0800 | [diff] [blame] | 182 | |
Gopikrishnaiah Anandan | cd47603 | 2017-03-27 12:33:00 -0700 | [diff] [blame] | 183 | qcom,sde-reg-dma-off = <0>; |
| 184 | qcom,sde-reg-dma-version = <0x1>; |
| 185 | qcom,sde-reg-dma-trigger-off = <0x119c>; |
| 186 | |
Veera Sundaram Sankaran | 0ea57f6 | 2017-01-16 18:08:04 -0800 | [diff] [blame] | 187 | qcom,sde-sspp-vig-blocks { |
| 188 | qcom,sde-vig-csc-off = <0x1a00>; |
| 189 | qcom,sde-vig-qseed-off = <0xa00>; |
Lloyd Atkinson | 216e306 | 2017-01-31 08:42:38 -0800 | [diff] [blame] | 190 | qcom,sde-vig-qseed-size = <0xa0>; |
Veera Sundaram Sankaran | 0ea57f6 | 2017-01-16 18:08:04 -0800 | [diff] [blame] | 191 | }; |
Alan Kwong | d5e9534 | 2017-01-30 19:38:05 -0800 | [diff] [blame] | 192 | |
Gopikrishnaiah Anandan | cd47603 | 2017-03-27 12:33:00 -0700 | [diff] [blame] | 193 | qcom,sde-dspp-blocks { |
Rajesh Yadav | ec93afb | 2017-06-08 19:28:33 +0530 | [diff] [blame] | 194 | qcom,sde-dspp-igc = <0x0 0x00030001>; |
Gopikrishnaiah Anandan | cd47603 | 2017-03-27 12:33:00 -0700 | [diff] [blame] | 195 | qcom,sde-dspp-vlut = <0xa00 0x00010008>; |
| 196 | qcom,sde-dspp-gamut = <0x1000 0x00040000>; |
Rajesh Yadav | d490cb6 | 2017-07-04 13:20:42 +0530 | [diff] [blame] | 197 | qcom,sde-dspp-pcc = <0x1700 0x00040000>; |
Gopikrishnaiah Anandan | cd47603 | 2017-03-27 12:33:00 -0700 | [diff] [blame] | 198 | qcom,sde-dspp-gc = <0x17c0 0x00010008>; |
| 199 | }; |
| 200 | |
Alan Kwong | d5e9534 | 2017-01-30 19:38:05 -0800 | [diff] [blame] | 201 | qcom,platform-supply-entries { |
| 202 | #address-cells = <1>; |
| 203 | #size-cells = <0>; |
| 204 | |
| 205 | qcom,platform-supply-entry@0 { |
| 206 | reg = <0>; |
Dhaval Patel | 2169d61 | 2017-01-30 19:38:05 -0800 | [diff] [blame] | 207 | qcom,supply-name = "sde-vdd"; |
Alan Kwong | d5e9534 | 2017-01-30 19:38:05 -0800 | [diff] [blame] | 208 | qcom,supply-min-voltage = <0>; |
| 209 | qcom,supply-max-voltage = <0>; |
| 210 | qcom,supply-enable-load = <0>; |
| 211 | qcom,supply-disable-load = <0>; |
| 212 | }; |
| 213 | }; |
| 214 | |
Abhijit Kulkarni | 1774dac | 2017-05-01 10:51:02 -0700 | [diff] [blame] | 215 | smmu_sde_sec: qcom,smmu_sde_sec_cb { |
| 216 | compatible = "qcom,smmu_sde_sec"; |
| 217 | iommus = <&apps_smmu 0x881 0x8>, |
| 218 | <&apps_smmu 0xc81 0x8>; |
| 219 | }; |
| 220 | |
Alan Kwong | d5e9534 | 2017-01-30 19:38:05 -0800 | [diff] [blame] | 221 | /* data and reg bus scale settings */ |
| 222 | qcom,sde-data-bus { |
Alan Kwong | e9b257b | 2017-05-16 11:40:50 -0700 | [diff] [blame] | 223 | qcom,msm-bus,name = "mdss_sde_mnoc"; |
Alan Kwong | d5e9534 | 2017-01-30 19:38:05 -0800 | [diff] [blame] | 224 | qcom,msm-bus,num-cases = <3>; |
| 225 | qcom,msm-bus,num-paths = <2>; |
| 226 | qcom,msm-bus,vectors-KBps = |
Alan Kwong | e9b257b | 2017-05-16 11:40:50 -0700 | [diff] [blame] | 227 | <22 773 0 0>, <23 773 0 0>, |
| 228 | <22 773 0 6400000>, <23 773 0 6400000>, |
| 229 | <22 773 0 6400000>, <23 773 0 6400000>; |
| 230 | }; |
| 231 | |
| 232 | qcom,sde-llcc-bus { |
| 233 | qcom,msm-bus,name = "mdss_sde_llcc"; |
| 234 | qcom,msm-bus,num-cases = <3>; |
| 235 | qcom,msm-bus,num-paths = <1>; |
| 236 | qcom,msm-bus,vectors-KBps = |
| 237 | <132 770 0 0>, |
| 238 | <132 770 0 6400000>, |
| 239 | <132 770 0 6400000>; |
| 240 | }; |
| 241 | |
| 242 | qcom,sde-ebi-bus { |
| 243 | qcom,msm-bus,name = "mdss_sde_ebi"; |
| 244 | qcom,msm-bus,num-cases = <3>; |
| 245 | qcom,msm-bus,num-paths = <1>; |
| 246 | qcom,msm-bus,vectors-KBps = |
| 247 | <129 512 0 0>, |
| 248 | <129 512 0 6400000>, |
| 249 | <129 512 0 6400000>; |
Alan Kwong | d5e9534 | 2017-01-30 19:38:05 -0800 | [diff] [blame] | 250 | }; |
| 251 | |
| 252 | qcom,sde-reg-bus { |
| 253 | qcom,msm-bus,name = "mdss_reg"; |
| 254 | qcom,msm-bus,num-cases = <4>; |
| 255 | qcom,msm-bus,num-paths = <1>; |
| 256 | qcom,msm-bus,active-only; |
| 257 | qcom,msm-bus,vectors-KBps = |
| 258 | <1 590 0 0>, |
| 259 | <1 590 0 76800>, |
| 260 | <1 590 0 150000>, |
| 261 | <1 590 0 300000>; |
| 262 | }; |
Dhaval Patel | 6a5bd8b | 2016-10-10 14:12:10 -0700 | [diff] [blame] | 263 | }; |
Dhaval Patel | d0a8404 | 2016-12-01 14:50:47 -0800 | [diff] [blame] | 264 | |
| 265 | sde_rscc: qcom,sde_rscc@af20000 { |
Dhaval Patel | d0a8404 | 2016-12-01 14:50:47 -0800 | [diff] [blame] | 266 | cell-index = <0>; |
| 267 | compatible = "qcom,sde-rsc"; |
| 268 | reg = <0xaf20000 0x1c44>, |
| 269 | <0xaf30000 0x3fd4>; |
| 270 | reg-names = "drv", "wrapper"; |
| 271 | qcom,sde-rsc-version = <1>; |
| 272 | |
| 273 | vdd-supply = <&mdss_core_gdsc>; |
Dhaval Patel | 7556ced | 2017-02-10 19:53:10 -0800 | [diff] [blame] | 274 | clocks = <&clock_dispcc DISP_CC_MDSS_RSCC_VSYNC_CLK>, |
| 275 | <&clock_dispcc DISP_CC_MDSS_RSCC_AHB_CLK>; |
| 276 | clock-names = "vsync_clk", "iface_clk"; |
Dhaval Patel | 2169d61 | 2017-01-30 19:38:05 -0800 | [diff] [blame] | 277 | clock-rate = <0 0>; |
| 278 | |
Dhaval Patel | d0a8404 | 2016-12-01 14:50:47 -0800 | [diff] [blame] | 279 | qcom,sde-dram-channels = <2>; |
| 280 | |
Dhaval Patel | 7556ced | 2017-02-10 19:53:10 -0800 | [diff] [blame] | 281 | mboxes = <&disp_rsc 0>; |
| 282 | mbox-names = "disp_rsc"; |
| 283 | |
Dhaval Patel | d0a8404 | 2016-12-01 14:50:47 -0800 | [diff] [blame] | 284 | /* data and reg bus scale settings */ |
| 285 | qcom,sde-data-bus { |
Alan Kwong | e9b257b | 2017-05-16 11:40:50 -0700 | [diff] [blame] | 286 | qcom,msm-bus,name = "disp_rsc_mnoc"; |
Dhaval Patel | d0a8404 | 2016-12-01 14:50:47 -0800 | [diff] [blame] | 287 | qcom,msm-bus,active-only; |
| 288 | qcom,msm-bus,num-cases = <3>; |
| 289 | qcom,msm-bus,num-paths = <2>; |
| 290 | qcom,msm-bus,vectors-KBps = |
Alan Kwong | e9b257b | 2017-05-16 11:40:50 -0700 | [diff] [blame] | 291 | <20003 20515 0 0>, <20004 20515 0 0>, |
| 292 | <20003 20515 0 6400000>, <20004 20515 0 6400000>, |
| 293 | <20003 20515 0 6400000>, <20004 20515 0 6400000>; |
| 294 | }; |
| 295 | |
| 296 | qcom,sde-llcc-bus { |
| 297 | qcom,msm-bus,name = "disp_rsc_llcc"; |
| 298 | qcom,msm-bus,active-only; |
| 299 | qcom,msm-bus,num-cases = <3>; |
| 300 | qcom,msm-bus,num-paths = <1>; |
| 301 | qcom,msm-bus,vectors-KBps = |
| 302 | <20001 20513 0 0>, |
| 303 | <20001 20513 0 6400000>, |
| 304 | <20001 20513 0 6400000>; |
| 305 | }; |
| 306 | |
| 307 | qcom,sde-ebi-bus { |
| 308 | qcom,msm-bus,name = "disp_rsc_ebi"; |
| 309 | qcom,msm-bus,active-only; |
| 310 | qcom,msm-bus,num-cases = <3>; |
| 311 | qcom,msm-bus,num-paths = <1>; |
| 312 | qcom,msm-bus,vectors-KBps = |
| 313 | <20000 20512 0 0>, |
| 314 | <20000 20512 0 6400000>, |
| 315 | <20000 20512 0 6400000>; |
Dhaval Patel | d0a8404 | 2016-12-01 14:50:47 -0800 | [diff] [blame] | 316 | }; |
Clarence Ip | 3b5b5ed | 2017-01-24 09:59:03 -0800 | [diff] [blame] | 317 | }; |
Dhaval Patel | d0a8404 | 2016-12-01 14:50:47 -0800 | [diff] [blame] | 318 | |
Clarence Ip | 3b5b5ed | 2017-01-24 09:59:03 -0800 | [diff] [blame] | 319 | mdss_rotator: qcom,mdss_rotator@ae00000 { |
Clarence Ip | 3b5b5ed | 2017-01-24 09:59:03 -0800 | [diff] [blame] | 320 | compatible = "qcom,sde_rotator"; |
| 321 | reg = <0x0ae00000 0xac000>, |
| 322 | <0x0aeb8000 0x3000>; |
| 323 | reg-names = "mdp_phys", |
| 324 | "rot_vbif_phys"; |
| 325 | |
Alan Kwong | 0018772 | 2017-02-04 19:09:17 -0800 | [diff] [blame] | 326 | #list-cells = <1>; |
| 327 | |
Clarence Ip | 3b5b5ed | 2017-01-24 09:59:03 -0800 | [diff] [blame] | 328 | qcom,mdss-rot-mode = <1>; |
| 329 | qcom,mdss-highest-bank-bit = <0x2>; |
| 330 | |
| 331 | /* Bus Scale Settings */ |
| 332 | qcom,msm-bus,name = "mdss_rotator"; |
| 333 | qcom,msm-bus,num-cases = <3>; |
| 334 | qcom,msm-bus,num-paths = <1>; |
| 335 | qcom,msm-bus,vectors-KBps = |
| 336 | <25 512 0 0>, |
| 337 | <25 512 0 6400000>, |
| 338 | <25 512 0 6400000>; |
| 339 | |
| 340 | rot-vdd-supply = <&mdss_core_gdsc>; |
| 341 | qcom,supply-names = "rot-vdd"; |
| 342 | |
| 343 | clocks = |
| 344 | <&clock_gcc GCC_DISP_AHB_CLK>, |
| 345 | <&clock_gcc GCC_DISP_AXI_CLK>, |
| 346 | <&clock_dispcc DISP_CC_MDSS_AHB_CLK>, |
Clarence Ip | 3b5b5ed | 2017-01-24 09:59:03 -0800 | [diff] [blame] | 347 | <&clock_dispcc DISP_CC_MDSS_ROT_CLK>, |
| 348 | <&clock_dispcc DISP_CC_MDSS_AXI_CLK>; |
| 349 | clock-names = "gcc_iface", "gcc_bus", |
Clarence Ip | 015924e | 2017-05-01 13:28:03 -0700 | [diff] [blame] | 350 | "iface_clk", "rot_clk", "axi_clk"; |
Clarence Ip | 3b5b5ed | 2017-01-24 09:59:03 -0800 | [diff] [blame] | 351 | |
| 352 | interrupt-parent = <&mdss_mdp>; |
| 353 | interrupts = <2 0>; |
| 354 | |
Veera Sundaram Sankaran | 0488349 | 2017-05-12 12:35:36 -0700 | [diff] [blame] | 355 | /* Offline rotator QoS setting */ |
Veera Sundaram Sankaran | f28be03 | 2017-04-20 08:16:41 -0700 | [diff] [blame] | 356 | qcom,mdss-rot-vbif-qos-setting = <3 3 3 3 3 3 3 3>; |
Alan Kwong | 8efe4a8 | 2017-06-30 16:05:50 -0400 | [diff] [blame] | 357 | qcom,mdss-rot-vbif-memtype = <3 3>; |
Veera Sundaram Sankaran | fd4b37d | 2017-05-11 12:44:38 -0700 | [diff] [blame] | 358 | qcom,mdss-rot-cdp-setting = <1 1>; |
Veera Sundaram Sankaran | 0488349 | 2017-05-12 12:35:36 -0700 | [diff] [blame] | 359 | qcom,mdss-rot-qos-lut = <0x0 0x0 0x0 0x0>; |
| 360 | qcom,mdss-rot-danger-lut = <0x0 0x0>; |
| 361 | qcom,mdss-rot-safe-lut = <0x0000ffff 0x0000ffff>; |
| 362 | |
| 363 | /* Inline rotator QoS Setting */ |
| 364 | /* setting default register values for RD - qos/danger/safe */ |
| 365 | qcom,mdss-inline-rot-qos-lut = <0x44556677 0x00112233 |
| 366 | 0x44556677 0x00112233>; |
| 367 | qcom,mdss-inline-rot-danger-lut = <0x0055aaff 0x0000ffff>; |
| 368 | qcom,mdss-inline-rot-safe-lut = <0x0000f000 0x0000ff00>; |
Clarence Ip | 3b5b5ed | 2017-01-24 09:59:03 -0800 | [diff] [blame] | 369 | |
| 370 | qcom,mdss-default-ot-rd-limit = <32>; |
| 371 | qcom,mdss-default-ot-wr-limit = <32>; |
| 372 | |
Alan Kwong | 0018772 | 2017-02-04 19:09:17 -0800 | [diff] [blame] | 373 | qcom,mdss-sbuf-headroom = <20>; |
| 374 | |
| 375 | cache-slice-names = "rotator"; |
| 376 | cache-slices = <&llcc 4>; |
| 377 | |
Veera Sundaram Sankaran | 0641803 | 2017-06-30 14:12:58 -0700 | [diff] [blame] | 378 | /* reg bus scale settings */ |
| 379 | rot_reg: qcom,rot-reg-bus { |
| 380 | qcom,msm-bus,name = "mdss_rot_reg"; |
| 381 | qcom,msm-bus,num-cases = <2>; |
| 382 | qcom,msm-bus,num-paths = <1>; |
| 383 | qcom,msm-bus,active-only; |
| 384 | qcom,msm-bus,vectors-KBps = |
| 385 | <1 590 0 0>, |
| 386 | <1 590 0 76800>; |
| 387 | }; |
| 388 | |
Clarence Ip | 3b5b5ed | 2017-01-24 09:59:03 -0800 | [diff] [blame] | 389 | smmu_rot_unsec: qcom,smmu_rot_unsec_cb { |
| 390 | compatible = "qcom,smmu_sde_rot_unsec"; |
Patrick Daly | c4aaa90 | 2017-04-24 12:45:11 -0700 | [diff] [blame] | 391 | iommus = <&apps_smmu 0x1090 0x0>; |
Clarence Ip | 3b5b5ed | 2017-01-24 09:59:03 -0800 | [diff] [blame] | 392 | }; |
| 393 | |
| 394 | smmu_rot_sec: qcom,smmu_rot_sec_cb { |
Clarence Ip | 3b5b5ed | 2017-01-24 09:59:03 -0800 | [diff] [blame] | 395 | compatible = "qcom,smmu_sde_rot_sec"; |
Patrick Daly | c4aaa90 | 2017-04-24 12:45:11 -0700 | [diff] [blame] | 396 | iommus = <&apps_smmu 0x1091 0x0>; |
Clarence Ip | 3b5b5ed | 2017-01-24 09:59:03 -0800 | [diff] [blame] | 397 | }; |
Dhaval Patel | d0a8404 | 2016-12-01 14:50:47 -0800 | [diff] [blame] | 398 | }; |
Shashank Babu Chinta Venkata | 24bdd05 | 2017-02-24 14:29:09 -0800 | [diff] [blame] | 399 | |
| 400 | mdss_dsi0: qcom,mdss_dsi_ctrl0@ae94000 { |
Shashank Babu Chinta Venkata | afef820 | 2017-04-21 13:49:56 -0700 | [diff] [blame] | 401 | compatible = "qcom,dsi-ctrl-hw-v2.2"; |
Shashank Babu Chinta Venkata | 24bdd05 | 2017-02-24 14:29:09 -0800 | [diff] [blame] | 402 | label = "dsi-ctrl-0"; |
Shashank Babu Chinta Venkata | 24bdd05 | 2017-02-24 14:29:09 -0800 | [diff] [blame] | 403 | cell-index = <0>; |
Shashank Babu Chinta Venkata | afef820 | 2017-04-21 13:49:56 -0700 | [diff] [blame] | 404 | reg = <0xae94000 0x400>, |
| 405 | <0xaf08000 0x4>; |
| 406 | reg-names = "dsi_ctrl", "disp_cc_base"; |
Shashank Babu Chinta Venkata | 24bdd05 | 2017-02-24 14:29:09 -0800 | [diff] [blame] | 407 | interrupt-parent = <&mdss_mdp>; |
| 408 | interrupts = <4 0>; |
| 409 | vdda-1p2-supply = <&pm8998_l26>; |
Shashank Babu Chinta Venkata | 24bdd05 | 2017-02-24 14:29:09 -0800 | [diff] [blame] | 410 | clocks = <&clock_dispcc DISP_CC_MDSS_BYTE0_CLK>, |
| 411 | <&clock_dispcc DISP_CC_MDSS_BYTE0_CLK_SRC>, |
| 412 | <&clock_dispcc DISP_CC_MDSS_BYTE0_INTF_CLK>, |
| 413 | <&clock_dispcc DISP_CC_MDSS_PCLK0_CLK>, |
Shashank Babu Chinta Venkata | f84694c | 2017-04-05 12:14:18 -0700 | [diff] [blame] | 414 | <&clock_dispcc DISP_CC_MDSS_PCLK0_CLK_SRC>, |
| 415 | <&clock_dispcc DISP_CC_MDSS_ESC0_CLK>; |
Shashank Babu Chinta Venkata | 24bdd05 | 2017-02-24 14:29:09 -0800 | [diff] [blame] | 416 | clock-names = "byte_clk", "byte_clk_rcg", "byte_intf_clk", |
Shashank Babu Chinta Venkata | f84694c | 2017-04-05 12:14:18 -0700 | [diff] [blame] | 417 | "pixel_clk", "pixel_clk_rcg", |
| 418 | "esc_clk"; |
Shashank Babu Chinta Venkata | 24bdd05 | 2017-02-24 14:29:09 -0800 | [diff] [blame] | 419 | |
| 420 | qcom,ctrl-supply-entries { |
| 421 | #address-cells = <1>; |
| 422 | #size-cells = <0>; |
Shashank Babu Chinta Venkata | f84694c | 2017-04-05 12:14:18 -0700 | [diff] [blame] | 423 | |
Shashank Babu Chinta Venkata | 24bdd05 | 2017-02-24 14:29:09 -0800 | [diff] [blame] | 424 | qcom,ctrl-supply-entry@0 { |
| 425 | reg = <0>; |
Shashank Babu Chinta Venkata | 24bdd05 | 2017-02-24 14:29:09 -0800 | [diff] [blame] | 426 | qcom,supply-name = "vdda-1p2"; |
Shashank Babu Chinta Venkata | f84694c | 2017-04-05 12:14:18 -0700 | [diff] [blame] | 427 | qcom,supply-min-voltage = <1200000>; |
| 428 | qcom,supply-max-voltage = <1200000>; |
| 429 | qcom,supply-enable-load = <21800>; |
| 430 | qcom,supply-disable-load = <4>; |
Shashank Babu Chinta Venkata | 24bdd05 | 2017-02-24 14:29:09 -0800 | [diff] [blame] | 431 | }; |
| 432 | }; |
| 433 | }; |
| 434 | |
| 435 | mdss_dsi1: qcom,mdss_dsi_ctrl1@ae96000 { |
Shashank Babu Chinta Venkata | afef820 | 2017-04-21 13:49:56 -0700 | [diff] [blame] | 436 | compatible = "qcom,dsi-ctrl-hw-v2.2"; |
Shashank Babu Chinta Venkata | 24bdd05 | 2017-02-24 14:29:09 -0800 | [diff] [blame] | 437 | label = "dsi-ctrl-1"; |
Shashank Babu Chinta Venkata | 24bdd05 | 2017-02-24 14:29:09 -0800 | [diff] [blame] | 438 | cell-index = <1>; |
Shashank Babu Chinta Venkata | afef820 | 2017-04-21 13:49:56 -0700 | [diff] [blame] | 439 | reg = <0xae96000 0x400>, |
| 440 | <0xaf08000 0x4>; |
| 441 | reg-names = "dsi_ctrl", "disp_cc_base"; |
Shashank Babu Chinta Venkata | 24bdd05 | 2017-02-24 14:29:09 -0800 | [diff] [blame] | 442 | interrupt-parent = <&mdss_mdp>; |
| 443 | interrupts = <5 0>; |
| 444 | vdda-1p2-supply = <&pm8998_l26>; |
Shashank Babu Chinta Venkata | f84694c | 2017-04-05 12:14:18 -0700 | [diff] [blame] | 445 | clocks = <&clock_dispcc DISP_CC_MDSS_BYTE1_CLK>, |
| 446 | <&clock_dispcc DISP_CC_MDSS_BYTE1_CLK_SRC>, |
| 447 | <&clock_dispcc DISP_CC_MDSS_BYTE1_INTF_CLK>, |
| 448 | <&clock_dispcc DISP_CC_MDSS_PCLK1_CLK>, |
| 449 | <&clock_dispcc DISP_CC_MDSS_PCLK1_CLK_SRC>, |
| 450 | <&clock_dispcc DISP_CC_MDSS_ESC1_CLK>; |
Shashank Babu Chinta Venkata | 24bdd05 | 2017-02-24 14:29:09 -0800 | [diff] [blame] | 451 | clock-names = "byte_clk", "byte_clk_rcg", "byte_intf_clk", |
Shashank Babu Chinta Venkata | f84694c | 2017-04-05 12:14:18 -0700 | [diff] [blame] | 452 | "pixel_clk", "pixel_clk_rcg", "esc_clk"; |
Shashank Babu Chinta Venkata | 24bdd05 | 2017-02-24 14:29:09 -0800 | [diff] [blame] | 453 | qcom,ctrl-supply-entries { |
| 454 | #address-cells = <1>; |
| 455 | #size-cells = <0>; |
| 456 | |
| 457 | qcom,ctrl-supply-entry@0 { |
| 458 | reg = <0>; |
Shashank Babu Chinta Venkata | 24bdd05 | 2017-02-24 14:29:09 -0800 | [diff] [blame] | 459 | qcom,supply-name = "vdda-1p2"; |
Shashank Babu Chinta Venkata | f84694c | 2017-04-05 12:14:18 -0700 | [diff] [blame] | 460 | qcom,supply-min-voltage = <1200000>; |
| 461 | qcom,supply-max-voltage = <1200000>; |
| 462 | qcom,supply-enable-load = <21800>; |
| 463 | qcom,supply-disable-load = <4>; |
Shashank Babu Chinta Venkata | 24bdd05 | 2017-02-24 14:29:09 -0800 | [diff] [blame] | 464 | }; |
| 465 | }; |
| 466 | }; |
| 467 | |
| 468 | mdss_dsi_phy0: qcom,mdss_dsi_phy0@ae94400 { |
| 469 | compatible = "qcom,dsi-phy-v3.0"; |
Shashank Babu Chinta Venkata | 24bdd05 | 2017-02-24 14:29:09 -0800 | [diff] [blame] | 470 | label = "dsi-phy-0"; |
| 471 | cell-index = <0>; |
| 472 | reg = <0xae94400 0x7c0>; |
| 473 | reg-names = "dsi_phy"; |
| 474 | gdsc-supply = <&mdss_core_gdsc>; |
Shashank Babu Chinta Venkata | f84694c | 2017-04-05 12:14:18 -0700 | [diff] [blame] | 475 | vdda-0p9-supply = <&pm8998_l1>; |
Shashank Babu Chinta Venkata | 5292d19 | 2017-04-05 15:19:17 -0700 | [diff] [blame] | 476 | qcom,platform-strength-ctrl = [55 03 |
| 477 | 55 03 |
| 478 | 55 03 |
| 479 | 55 03 |
| 480 | 55 00]; |
| 481 | qcom,platform-lane-config = [00 00 00 00 |
| 482 | 00 00 00 00 |
| 483 | 00 00 00 00 |
| 484 | 00 00 00 00 |
| 485 | 00 00 00 80]; |
| 486 | qcom,platform-regulator-settings = [1d 1d 1d 1d 1d]; |
Shashank Babu Chinta Venkata | 24bdd05 | 2017-02-24 14:29:09 -0800 | [diff] [blame] | 487 | qcom,phy-supply-entries { |
| 488 | #address-cells = <1>; |
| 489 | #size-cells = <0>; |
| 490 | qcom,phy-supply-entry@0 { |
| 491 | reg = <0>; |
Shashank Babu Chinta Venkata | f84694c | 2017-04-05 12:14:18 -0700 | [diff] [blame] | 492 | qcom,supply-name = "vdda-0p9"; |
| 493 | qcom,supply-min-voltage = <880000>; |
| 494 | qcom,supply-max-voltage = <880000>; |
| 495 | qcom,supply-enable-load = <36000>; |
| 496 | qcom,supply-disable-load = <32>; |
Shashank Babu Chinta Venkata | 24bdd05 | 2017-02-24 14:29:09 -0800 | [diff] [blame] | 497 | }; |
| 498 | }; |
| 499 | }; |
| 500 | |
| 501 | mdss_dsi_phy1: qcom,mdss_dsi_phy0@ae96400 { |
| 502 | compatible = "qcom,dsi-phy-v3.0"; |
Shashank Babu Chinta Venkata | 24bdd05 | 2017-02-24 14:29:09 -0800 | [diff] [blame] | 503 | label = "dsi-phy-1"; |
| 504 | cell-index = <1>; |
| 505 | reg = <0xae96400 0x7c0>; |
| 506 | reg-names = "dsi_phy"; |
| 507 | gdsc-supply = <&mdss_core_gdsc>; |
Shashank Babu Chinta Venkata | f84694c | 2017-04-05 12:14:18 -0700 | [diff] [blame] | 508 | vdda-0p9-supply = <&pm8998_l1>; |
Shashank Babu Chinta Venkata | 5292d19 | 2017-04-05 15:19:17 -0700 | [diff] [blame] | 509 | qcom,platform-strength-ctrl = [55 03 |
| 510 | 55 03 |
| 511 | 55 03 |
| 512 | 55 03 |
| 513 | 55 00]; |
| 514 | qcom,platform-regulator-settings = [1d 1d 1d 1d 1d]; |
| 515 | qcom,platform-lane-config = [00 00 00 00 |
| 516 | 00 00 00 00 |
| 517 | 00 00 00 00 |
| 518 | 00 00 00 00 |
| 519 | 00 00 00 80]; |
Shashank Babu Chinta Venkata | 24bdd05 | 2017-02-24 14:29:09 -0800 | [diff] [blame] | 520 | qcom,phy-supply-entries { |
| 521 | #address-cells = <1>; |
| 522 | #size-cells = <0>; |
| 523 | qcom,phy-supply-entry@0 { |
| 524 | reg = <0>; |
Shashank Babu Chinta Venkata | f84694c | 2017-04-05 12:14:18 -0700 | [diff] [blame] | 525 | qcom,supply-name = "vdda-0p9"; |
| 526 | qcom,supply-min-voltage = <880000>; |
| 527 | qcom,supply-max-voltage = <880000>; |
| 528 | qcom,supply-enable-load = <36000>; |
| 529 | qcom,supply-disable-load = <32>; |
Shashank Babu Chinta Venkata | 24bdd05 | 2017-02-24 14:29:09 -0800 | [diff] [blame] | 530 | }; |
| 531 | }; |
| 532 | }; |
| 533 | |
Dhaval Patel | 6a5bd8b | 2016-10-10 14:12:10 -0700 | [diff] [blame] | 534 | }; |