Imran Khan | 04f0831 | 2017-03-30 15:07:43 +0530 | [diff] [blame] | 1 | /* Copyright (c) 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 | #include "skeleton64.dtsi" |
| 14 | #include <dt-bindings/interrupt-controller/arm-gic.h> |
Odelu Kukatla | 1fe3a22 | 2017-06-01 16:24:59 +0530 | [diff] [blame] | 15 | #include <dt-bindings/clock/qcom,gcc-sdm845.h> |
| 16 | #include <dt-bindings/clock/qcom,camcc-sdm845.h> |
| 17 | #include <dt-bindings/clock/qcom,dispcc-sdm845.h> |
| 18 | #include <dt-bindings/clock/qcom,gpucc-sdm845.h> |
| 19 | #include <dt-bindings/clock/qcom,videocc-sdm845.h> |
| 20 | #include <dt-bindings/clock/qcom,cpucc-sdm845.h> |
| 21 | #include <dt-bindings/clock/qcom,rpmh.h> |
Maulik Shah | c77d1d2 | 2017-06-15 14:04:50 +0530 | [diff] [blame] | 22 | #include <dt-bindings/soc/qcom,tcs-mbox.h> |
Tirupathi Reddy | 0cfe208 | 2017-06-08 14:24:13 +0530 | [diff] [blame] | 23 | #include <dt-bindings/regulator/qcom,rpmh-regulator.h> |
Odelu Kukatla | 6f3ffa1 | 2017-08-10 12:31:06 +0530 | [diff] [blame] | 24 | #include <dt-bindings/clock/qcom,aop-qmp.h> |
Imran Khan | 04f0831 | 2017-03-30 15:07:43 +0530 | [diff] [blame] | 25 | |
Santosh Mardi | 903c95d | 2017-09-25 10:36:29 +0530 | [diff] [blame] | 26 | #define MHZ_TO_MBPS(mhz, w) ((mhz * 1000000 * w) / (1024 * 1024)) |
| 27 | |
Imran Khan | 04f0831 | 2017-03-30 15:07:43 +0530 | [diff] [blame] | 28 | / { |
| 29 | model = "Qualcomm Technologies, Inc. SDM670"; |
| 30 | compatible = "qcom,sdm670"; |
| 31 | qcom,msm-id = <336 0x0>; |
Maulik Shah | 30ebbde | 2017-06-15 10:02:54 +0530 | [diff] [blame] | 32 | interrupt-parent = <&pdc>; |
Imran Khan | 04f0831 | 2017-03-30 15:07:43 +0530 | [diff] [blame] | 33 | |
Sayali Lokhande | 099af9c | 2017-06-08 10:18:29 +0530 | [diff] [blame] | 34 | aliases { |
| 35 | ufshc1 = &ufshc_mem; /* Embedded UFS slot */ |
Vijay Viswanath | eac7272 | 2017-06-05 11:01:38 +0530 | [diff] [blame] | 36 | sdhc1 = &sdhc_1; /* SDC1 eMMC slot */ |
Vijay Viswanath | ee4340d | 2017-08-28 09:50:18 +0530 | [diff] [blame] | 37 | sdhc2 = &sdhc_2; /* SDC2 SD Card slot */ |
Mukesh Kumar Savaliya | 7b27254 | 2017-07-10 19:35:29 +0530 | [diff] [blame] | 38 | serial0 = &qupv3_se12_2uart; |
| 39 | spi0 = &qupv3_se8_spi; |
| 40 | i2c0 = &qupv3_se10_i2c; |
| 41 | i2c1 = &qupv3_se3_i2c; |
| 42 | hsuart0 = &qupv3_se6_4uart; |
| 43 | }; |
| 44 | |
Imran Khan | 04f0831 | 2017-03-30 15:07:43 +0530 | [diff] [blame] | 45 | cpus { |
| 46 | #address-cells = <2>; |
| 47 | #size-cells = <0>; |
| 48 | |
| 49 | CPU0: cpu@0 { |
| 50 | device_type = "cpu"; |
| 51 | compatible = "arm,armv8"; |
| 52 | reg = <0x0 0x0>; |
| 53 | enable-method = "psci"; |
| 54 | efficiency = <1024>; |
| 55 | cache-size = <0x8000>; |
| 56 | cpu-release-addr = <0x0 0x90000000>; |
| 57 | next-level-cache = <&L2_0>; |
Pavankumar Kondeti | e423124 | 2017-09-12 12:19:57 +0530 | [diff] [blame] | 58 | sched-energy-costs = <&CPU_COST_0 &CLUSTER_COST_0>; |
Manaf Meethalavalappu Pallikunhi | ae5420e | 2017-09-07 01:01:08 +0530 | [diff] [blame] | 59 | qcom,lmh-dcvs = <&lmh_dcvs0>; |
Manaf Meethalavalappu Pallikunhi | 07ee081 | 2017-09-07 01:09:06 +0530 | [diff] [blame] | 60 | #cooling-cells = <2>; |
Imran Khan | 04f0831 | 2017-03-30 15:07:43 +0530 | [diff] [blame] | 61 | L2_0: l2-cache { |
| 62 | compatible = "arm,arch-cache"; |
| 63 | cache-size = <0x20000>; |
| 64 | cache-level = <2>; |
| 65 | next-level-cache = <&L3_0>; |
| 66 | L3_0: l3-cache { |
| 67 | compatible = "arm,arch-cache"; |
| 68 | cache-size = <0x100000>; |
| 69 | cache-level = <3>; |
| 70 | }; |
| 71 | }; |
| 72 | L1_I_0: l1-icache { |
| 73 | compatible = "arm,arch-cache"; |
| 74 | qcom,dump-size = <0x9000>; |
| 75 | }; |
| 76 | L1_D_0: l1-dcache { |
| 77 | compatible = "arm,arch-cache"; |
| 78 | qcom,dump-size = <0x9000>; |
| 79 | }; |
Lingutla Chandrasekhar | 2279228 | 2017-09-01 16:38:20 +0530 | [diff] [blame] | 80 | L1_TLB_0: l1-tlb { |
| 81 | qcom,dump-size = <0x3000>; |
| 82 | }; |
Imran Khan | 04f0831 | 2017-03-30 15:07:43 +0530 | [diff] [blame] | 83 | }; |
| 84 | |
| 85 | CPU1: cpu@100 { |
| 86 | device_type = "cpu"; |
| 87 | compatible = "arm,armv8"; |
| 88 | reg = <0x0 0x100>; |
| 89 | enable-method = "psci"; |
| 90 | efficiency = <1024>; |
| 91 | cache-size = <0x8000>; |
| 92 | cpu-release-addr = <0x0 0x90000000>; |
| 93 | next-level-cache = <&L2_100>; |
Pavankumar Kondeti | e423124 | 2017-09-12 12:19:57 +0530 | [diff] [blame] | 94 | sched-energy-costs = <&CPU_COST_0 &CLUSTER_COST_0>; |
Manaf Meethalavalappu Pallikunhi | ae5420e | 2017-09-07 01:01:08 +0530 | [diff] [blame] | 95 | qcom,lmh-dcvs = <&lmh_dcvs0>; |
Manaf Meethalavalappu Pallikunhi | 07ee081 | 2017-09-07 01:09:06 +0530 | [diff] [blame] | 96 | #cooling-cells = <2>; |
Imran Khan | 04f0831 | 2017-03-30 15:07:43 +0530 | [diff] [blame] | 97 | L2_100: l2-cache { |
| 98 | compatible = "arm,arch-cache"; |
| 99 | cache-size = <0x20000>; |
| 100 | cache-level = <2>; |
| 101 | next-level-cache = <&L3_0>; |
| 102 | }; |
| 103 | L1_I_100: l1-icache { |
| 104 | compatible = "arm,arch-cache"; |
| 105 | qcom,dump-size = <0x9000>; |
| 106 | }; |
| 107 | L1_D_100: l1-dcache { |
| 108 | compatible = "arm,arch-cache"; |
| 109 | qcom,dump-size = <0x9000>; |
| 110 | }; |
Lingutla Chandrasekhar | 2279228 | 2017-09-01 16:38:20 +0530 | [diff] [blame] | 111 | L1_TLB_100: l1-tlb { |
| 112 | qcom,dump-size = <0x3000>; |
| 113 | }; |
Imran Khan | 04f0831 | 2017-03-30 15:07:43 +0530 | [diff] [blame] | 114 | }; |
| 115 | |
| 116 | CPU2: cpu@200 { |
| 117 | device_type = "cpu"; |
| 118 | compatible = "arm,armv8"; |
| 119 | reg = <0x0 0x200>; |
| 120 | enable-method = "psci"; |
| 121 | efficiency = <1024>; |
| 122 | cache-size = <0x8000>; |
| 123 | cpu-release-addr = <0x0 0x90000000>; |
| 124 | next-level-cache = <&L2_200>; |
Pavankumar Kondeti | e423124 | 2017-09-12 12:19:57 +0530 | [diff] [blame] | 125 | sched-energy-costs = <&CPU_COST_0 &CLUSTER_COST_0>; |
Manaf Meethalavalappu Pallikunhi | ae5420e | 2017-09-07 01:01:08 +0530 | [diff] [blame] | 126 | qcom,lmh-dcvs = <&lmh_dcvs0>; |
Manaf Meethalavalappu Pallikunhi | 07ee081 | 2017-09-07 01:09:06 +0530 | [diff] [blame] | 127 | #cooling-cells = <2>; |
Imran Khan | 04f0831 | 2017-03-30 15:07:43 +0530 | [diff] [blame] | 128 | L2_200: l2-cache { |
| 129 | compatible = "arm,arch-cache"; |
| 130 | cache-size = <0x20000>; |
| 131 | cache-level = <2>; |
| 132 | next-level-cache = <&L3_0>; |
| 133 | }; |
| 134 | L1_I_200: l1-icache { |
| 135 | compatible = "arm,arch-cache"; |
| 136 | qcom,dump-size = <0x9000>; |
| 137 | }; |
| 138 | L1_D_200: l1-dcache { |
| 139 | compatible = "arm,arch-cache"; |
| 140 | qcom,dump-size = <0x9000>; |
| 141 | }; |
Lingutla Chandrasekhar | 2279228 | 2017-09-01 16:38:20 +0530 | [diff] [blame] | 142 | L1_TLB_200: l1-tlb { |
| 143 | qcom,dump-size = <0x3000>; |
| 144 | }; |
Imran Khan | 04f0831 | 2017-03-30 15:07:43 +0530 | [diff] [blame] | 145 | }; |
| 146 | |
| 147 | CPU3: cpu@300 { |
| 148 | device_type = "cpu"; |
| 149 | compatible = "arm,armv8"; |
| 150 | reg = <0x0 0x300>; |
| 151 | enable-method = "psci"; |
| 152 | efficiency = <1024>; |
| 153 | cache-size = <0x8000>; |
| 154 | cpu-release-addr = <0x0 0x90000000>; |
| 155 | next-level-cache = <&L2_300>; |
Pavankumar Kondeti | e423124 | 2017-09-12 12:19:57 +0530 | [diff] [blame] | 156 | sched-energy-costs = <&CPU_COST_0 &CLUSTER_COST_0>; |
Manaf Meethalavalappu Pallikunhi | ae5420e | 2017-09-07 01:01:08 +0530 | [diff] [blame] | 157 | qcom,lmh-dcvs = <&lmh_dcvs0>; |
Manaf Meethalavalappu Pallikunhi | 07ee081 | 2017-09-07 01:09:06 +0530 | [diff] [blame] | 158 | #cooling-cells = <2>; |
Imran Khan | 04f0831 | 2017-03-30 15:07:43 +0530 | [diff] [blame] | 159 | L2_300: l2-cache { |
| 160 | compatible = "arm,arch-cache"; |
| 161 | cache-size = <0x20000>; |
| 162 | cache-level = <2>; |
| 163 | next-level-cache = <&L3_0>; |
| 164 | }; |
| 165 | L1_I_300: l1-icache { |
| 166 | compatible = "arm,arch-cache"; |
| 167 | qcom,dump-size = <0x9000>; |
| 168 | }; |
| 169 | L1_D_300: l1-dcache { |
| 170 | compatible = "arm,arch-cache"; |
| 171 | qcom,dump-size = <0x9000>; |
| 172 | }; |
Lingutla Chandrasekhar | 2279228 | 2017-09-01 16:38:20 +0530 | [diff] [blame] | 173 | L1_TLB_300: l1-tlb { |
| 174 | qcom,dump-size = <0x3000>; |
| 175 | }; |
Imran Khan | 04f0831 | 2017-03-30 15:07:43 +0530 | [diff] [blame] | 176 | }; |
| 177 | |
| 178 | CPU4: cpu@400 { |
| 179 | device_type = "cpu"; |
| 180 | compatible = "arm,armv8"; |
| 181 | reg = <0x0 0x400>; |
| 182 | enable-method = "psci"; |
| 183 | efficiency = <1024>; |
| 184 | cache-size = <0x8000>; |
| 185 | cpu-release-addr = <0x0 0x90000000>; |
| 186 | next-level-cache = <&L2_400>; |
Pavankumar Kondeti | e423124 | 2017-09-12 12:19:57 +0530 | [diff] [blame] | 187 | sched-energy-costs = <&CPU_COST_0 &CLUSTER_COST_0>; |
Manaf Meethalavalappu Pallikunhi | ae5420e | 2017-09-07 01:01:08 +0530 | [diff] [blame] | 188 | qcom,lmh-dcvs = <&lmh_dcvs0>; |
Manaf Meethalavalappu Pallikunhi | 07ee081 | 2017-09-07 01:09:06 +0530 | [diff] [blame] | 189 | #cooling-cells = <2>; |
Imran Khan | 04f0831 | 2017-03-30 15:07:43 +0530 | [diff] [blame] | 190 | L2_400: l2-cache { |
| 191 | compatible = "arm,arch-cache"; |
| 192 | cache-size = <0x20000>; |
| 193 | cache-level = <2>; |
| 194 | next-level-cache = <&L3_0>; |
| 195 | }; |
| 196 | L1_I_400: l1-icache { |
| 197 | compatible = "arm,arch-cache"; |
| 198 | qcom,dump-size = <0x9000>; |
| 199 | }; |
| 200 | L1_D_400: l1-dcache { |
| 201 | compatible = "arm,arch-cache"; |
| 202 | qcom,dump-size = <0x9000>; |
| 203 | }; |
Lingutla Chandrasekhar | 2279228 | 2017-09-01 16:38:20 +0530 | [diff] [blame] | 204 | L1_TLB_400: l1-tlb { |
| 205 | qcom,dump-size = <0x3000>; |
| 206 | }; |
Imran Khan | 04f0831 | 2017-03-30 15:07:43 +0530 | [diff] [blame] | 207 | }; |
| 208 | |
| 209 | CPU5: cpu@500 { |
| 210 | device_type = "cpu"; |
| 211 | compatible = "arm,armv8"; |
| 212 | reg = <0x0 0x500>; |
| 213 | enable-method = "psci"; |
| 214 | efficiency = <1024>; |
| 215 | cache-size = <0x8000>; |
| 216 | cpu-release-addr = <0x0 0x90000000>; |
| 217 | next-level-cache = <&L2_500>; |
Pavankumar Kondeti | e423124 | 2017-09-12 12:19:57 +0530 | [diff] [blame] | 218 | sched-energy-costs = <&CPU_COST_0 &CLUSTER_COST_0>; |
Manaf Meethalavalappu Pallikunhi | ae5420e | 2017-09-07 01:01:08 +0530 | [diff] [blame] | 219 | qcom,lmh-dcvs = <&lmh_dcvs0>; |
Manaf Meethalavalappu Pallikunhi | 07ee081 | 2017-09-07 01:09:06 +0530 | [diff] [blame] | 220 | #cooling-cells = <2>; |
Imran Khan | 04f0831 | 2017-03-30 15:07:43 +0530 | [diff] [blame] | 221 | L2_500: l2-cache { |
| 222 | compatible = "arm,arch-cache"; |
| 223 | cache-size = <0x20000>; |
| 224 | cache-level = <2>; |
| 225 | next-level-cache = <&L3_0>; |
| 226 | }; |
| 227 | L1_I_500: l1-icache { |
| 228 | compatible = "arm,arch-cache"; |
| 229 | qcom,dump-size = <0x9000>; |
| 230 | }; |
| 231 | L1_D_500: l1-dcache { |
| 232 | compatible = "arm,arch-cache"; |
| 233 | qcom,dump-size = <0x9000>; |
| 234 | }; |
Lingutla Chandrasekhar | 2279228 | 2017-09-01 16:38:20 +0530 | [diff] [blame] | 235 | L1_TLB_500: l1-tlb { |
| 236 | qcom,dump-size = <0x3000>; |
| 237 | }; |
Imran Khan | 04f0831 | 2017-03-30 15:07:43 +0530 | [diff] [blame] | 238 | }; |
| 239 | |
| 240 | CPU6: cpu@600 { |
| 241 | device_type = "cpu"; |
| 242 | compatible = "arm,armv8"; |
| 243 | reg = <0x0 0x600>; |
| 244 | enable-method = "psci"; |
| 245 | efficiency = <1740>; |
| 246 | cache-size = <0x10000>; |
| 247 | cpu-release-addr = <0x0 0x90000000>; |
| 248 | next-level-cache = <&L2_600>; |
Pavankumar Kondeti | e423124 | 2017-09-12 12:19:57 +0530 | [diff] [blame] | 249 | sched-energy-costs = <&CPU_COST_1 &CLUSTER_COST_1>; |
Manaf Meethalavalappu Pallikunhi | ae5420e | 2017-09-07 01:01:08 +0530 | [diff] [blame] | 250 | qcom,lmh-dcvs = <&lmh_dcvs1>; |
Manaf Meethalavalappu Pallikunhi | 07ee081 | 2017-09-07 01:09:06 +0530 | [diff] [blame] | 251 | #cooling-cells = <2>; |
Imran Khan | 04f0831 | 2017-03-30 15:07:43 +0530 | [diff] [blame] | 252 | L2_600: l2-cache { |
| 253 | compatible = "arm,arch-cache"; |
| 254 | cache-size = <0x40000>; |
| 255 | cache-level = <2>; |
| 256 | next-level-cache = <&L3_0>; |
| 257 | }; |
| 258 | L1_I_600: l1-icache { |
| 259 | compatible = "arm,arch-cache"; |
| 260 | qcom,dump-size = <0x12000>; |
| 261 | }; |
| 262 | L1_D_600: l1-dcache { |
| 263 | compatible = "arm,arch-cache"; |
| 264 | qcom,dump-size = <0x12000>; |
| 265 | }; |
Lingutla Chandrasekhar | 2279228 | 2017-09-01 16:38:20 +0530 | [diff] [blame] | 266 | L1_TLB_600: l1-tlb { |
| 267 | qcom,dump-size = <0x3c000>; |
| 268 | }; |
Imran Khan | 04f0831 | 2017-03-30 15:07:43 +0530 | [diff] [blame] | 269 | }; |
| 270 | |
| 271 | CPU7: cpu@700 { |
| 272 | device_type = "cpu"; |
| 273 | compatible = "arm,armv8"; |
| 274 | reg = <0x0 0x700>; |
| 275 | enable-method = "psci"; |
| 276 | efficiency = <1740>; |
| 277 | cache-size = <0x10000>; |
| 278 | cpu-release-addr = <0x0 0x90000000>; |
| 279 | next-level-cache = <&L2_700>; |
Pavankumar Kondeti | e423124 | 2017-09-12 12:19:57 +0530 | [diff] [blame] | 280 | sched-energy-costs = <&CPU_COST_1 &CLUSTER_COST_1>; |
Manaf Meethalavalappu Pallikunhi | ae5420e | 2017-09-07 01:01:08 +0530 | [diff] [blame] | 281 | qcom,lmh-dcvs = <&lmh_dcvs1>; |
Manaf Meethalavalappu Pallikunhi | 07ee081 | 2017-09-07 01:09:06 +0530 | [diff] [blame] | 282 | #cooling-cells = <2>; |
Imran Khan | 04f0831 | 2017-03-30 15:07:43 +0530 | [diff] [blame] | 283 | L2_700: l2-cache { |
| 284 | compatible = "arm,arch-cache"; |
| 285 | cache-size = <0x40000>; |
| 286 | cache-level = <2>; |
| 287 | next-level-cache = <&L3_0>; |
| 288 | }; |
| 289 | L1_I_700: l1-icache { |
| 290 | compatible = "arm,arch-cache"; |
| 291 | qcom,dump-size = <0x12000>; |
| 292 | }; |
| 293 | L1_D_700: l1-dcache { |
| 294 | compatible = "arm,arch-cache"; |
| 295 | qcom,dump-size = <0x12000>; |
| 296 | }; |
Lingutla Chandrasekhar | 2279228 | 2017-09-01 16:38:20 +0530 | [diff] [blame] | 297 | L1_TLB_700: l1-tlb { |
| 298 | qcom,dump-size = <0x3c000>; |
| 299 | }; |
Imran Khan | 04f0831 | 2017-03-30 15:07:43 +0530 | [diff] [blame] | 300 | }; |
| 301 | |
| 302 | cpu-map { |
| 303 | cluster0 { |
| 304 | core0 { |
| 305 | cpu = <&CPU0>; |
| 306 | }; |
| 307 | |
| 308 | core1 { |
| 309 | cpu = <&CPU1>; |
| 310 | }; |
| 311 | |
| 312 | core2 { |
| 313 | cpu = <&CPU2>; |
| 314 | }; |
| 315 | |
| 316 | core3 { |
| 317 | cpu = <&CPU3>; |
| 318 | }; |
| 319 | |
| 320 | core4 { |
| 321 | cpu = <&CPU4>; |
| 322 | }; |
| 323 | |
| 324 | core5 { |
| 325 | cpu = <&CPU5>; |
| 326 | }; |
| 327 | }; |
| 328 | cluster1 { |
| 329 | core0 { |
| 330 | cpu = <&CPU6>; |
| 331 | }; |
| 332 | |
| 333 | core1 { |
| 334 | cpu = <&CPU7>; |
| 335 | }; |
| 336 | }; |
| 337 | }; |
| 338 | }; |
| 339 | |
Pavankumar Kondeti | e423124 | 2017-09-12 12:19:57 +0530 | [diff] [blame] | 340 | energy_costs: energy-costs { |
| 341 | compatible = "sched-energy"; |
| 342 | |
| 343 | CPU_COST_0: core-cost0 { |
| 344 | busy-cost-data = < |
| 345 | 300000 14 |
| 346 | 403200 18 |
| 347 | 480000 21 |
| 348 | 576000 25 |
| 349 | 652800 27 |
| 350 | 748800 31 |
| 351 | 825600 40 |
| 352 | 902400 43 |
| 353 | 979200 46 |
| 354 | 1056000 50 |
| 355 | 1132800 53 |
| 356 | 1228800 57 |
| 357 | 1324800 84 |
| 358 | 1420800 90 |
| 359 | 1516800 96 |
| 360 | 1612800 114 |
| 361 | 1689600 135 |
| 362 | 1766400 141 |
| 363 | >; |
| 364 | idle-cost-data = < |
| 365 | 12 10 8 6 |
| 366 | >; |
| 367 | }; |
| 368 | CPU_COST_1: core-cost1 { |
| 369 | busy-cost-data = < |
| 370 | 300000 256 |
| 371 | 403200 271 |
| 372 | 480000 282 |
| 373 | 576000 296 |
| 374 | 652800 307 |
| 375 | 748800 321 |
| 376 | 825600 332 |
| 377 | 902400 369 |
| 378 | 979200 382 |
| 379 | 1056000 395 |
| 380 | 1132800 408 |
| 381 | 1209600 421 |
| 382 | 1286400 434 |
| 383 | 1363200 448 |
| 384 | 1459200 567 |
| 385 | 1536000 586 |
| 386 | 1612800 604 |
| 387 | 1689600 622 |
| 388 | 1766400 641 |
| 389 | 1843200 659 |
| 390 | 1920000 678 |
| 391 | 1996800 696 |
| 392 | 2092800 876 |
| 393 | 2169600 900 |
| 394 | 2246400 924 |
| 395 | 2323200 948 |
| 396 | 2400000 1170 |
| 397 | >; |
| 398 | idle-cost-data = < |
| 399 | 100 80 60 40 |
| 400 | >; |
| 401 | }; |
| 402 | CLUSTER_COST_0: cluster-cost0 { |
| 403 | busy-cost-data = < |
| 404 | 300000 5 |
| 405 | 403200 7 |
| 406 | 480000 7 |
| 407 | 576000 7 |
| 408 | 652800 8 |
| 409 | 748800 8 |
| 410 | 825600 9 |
| 411 | 902400 9 |
| 412 | 979200 9 |
| 413 | 1056000 10 |
| 414 | 1132800 10 |
| 415 | 1228800 10 |
| 416 | 1324800 13 |
| 417 | 1420800 14 |
| 418 | 1516800 15 |
| 419 | 1612800 16 |
| 420 | 1689600 19 |
| 421 | 1766400 19 |
| 422 | >; |
| 423 | idle-cost-data = < |
| 424 | 4 3 2 1 |
| 425 | >; |
| 426 | }; |
| 427 | CLUSTER_COST_1: cluster-cost1 { |
| 428 | busy-cost-data = < |
| 429 | 300000 25 |
| 430 | 403200 27 |
| 431 | 480000 28 |
| 432 | 576000 29 |
| 433 | 652800 30 |
| 434 | 748800 32 |
| 435 | 825600 33 |
| 436 | 902400 36 |
| 437 | 979200 38 |
| 438 | 1056000 39 |
| 439 | 1132800 40 |
| 440 | 1209600 42 |
| 441 | 1286400 43 |
| 442 | 1363200 44 |
| 443 | 1459200 56 |
| 444 | 1536000 58 |
| 445 | 1612800 60 |
| 446 | 1689600 62 |
| 447 | 1766400 64 |
| 448 | 1843200 65 |
| 449 | 1920000 67 |
| 450 | 1996800 69 |
| 451 | 2092800 87 |
| 452 | 2169600 90 |
| 453 | 2246400 92 |
| 454 | 2323200 94 |
| 455 | 2400000 117 |
| 456 | >; |
| 457 | idle-cost-data = < |
| 458 | 4 3 2 1 |
| 459 | >; |
| 460 | }; |
| 461 | }; |
| 462 | |
Imran Khan | 04f0831 | 2017-03-30 15:07:43 +0530 | [diff] [blame] | 463 | psci { |
| 464 | compatible = "arm,psci-1.0"; |
| 465 | method = "smc"; |
| 466 | }; |
| 467 | |
| 468 | soc: soc { }; |
| 469 | |
Imran Khan | b1066fa | 2017-08-01 17:20:22 +0530 | [diff] [blame] | 470 | vendor: vendor { |
| 471 | #address-cells = <1>; |
| 472 | #size-cells = <1>; |
| 473 | ranges = <0 0 0 0xffffffff>; |
| 474 | compatible = "simple-bus"; |
| 475 | }; |
| 476 | |
Imran Khan | 5381c93 | 2017-08-02 11:27:07 +0530 | [diff] [blame] | 477 | firmware: firmware { |
| 478 | android { |
| 479 | compatible = "android,firmware"; |
| 480 | |
| 481 | fstab { |
| 482 | compatible = "android,fstab"; |
| 483 | vendor { |
| 484 | compatible = "android,vendor"; |
| 485 | dev = "/dev/block/platform/soc/1d84000.ufshc/by-name/vendor"; |
| 486 | type = "ext4"; |
| 487 | mnt_flags = "ro,barrier=1,discard"; |
| 488 | fsmgr_flags = "wait,slotselect"; |
| 489 | }; |
| 490 | }; |
| 491 | }; |
| 492 | }; |
| 493 | |
Imran Khan | 04f0831 | 2017-03-30 15:07:43 +0530 | [diff] [blame] | 494 | reserved-memory { |
| 495 | #address-cells = <2>; |
| 496 | #size-cells = <2>; |
| 497 | ranges; |
Vijayanand Jitta | a1ee786 | 2017-06-07 12:06:39 +0530 | [diff] [blame] | 498 | |
| 499 | removed_regions: removed_regions@85700000 { |
| 500 | compatible = "removed-dma-pool"; |
| 501 | no-map; |
| 502 | reg = <0 0x85700000 0 0x3800000>; |
| 503 | }; |
| 504 | |
| 505 | pil_camera_mem: camera_region@8ab00000 { |
| 506 | compatible = "removed-dma-pool"; |
| 507 | no-map; |
| 508 | reg = <0 0x8ab00000 0 0x500000>; |
| 509 | }; |
| 510 | |
| 511 | pil_modem_mem: modem_region@8b000000 { |
| 512 | compatible = "removed-dma-pool"; |
| 513 | no-map; |
| 514 | reg = <0 0x8b000000 0 0x7e00000>; |
| 515 | }; |
| 516 | |
| 517 | pil_video_mem: pil_video_region@92e00000 { |
| 518 | compatible = "removed-dma-pool"; |
| 519 | no-map; |
| 520 | reg = <0 0x92e00000 0 0x500000>; |
| 521 | }; |
| 522 | |
| 523 | pil_cdsp_mem: cdsp_regions@93300000 { |
| 524 | compatible = "removed-dma-pool"; |
| 525 | no-map; |
Vijayanand Jitta | 29d1a78 | 2017-07-03 15:17:09 +0530 | [diff] [blame] | 526 | reg = <0 0x93300000 0 0x800000>; |
Vijayanand Jitta | a1ee786 | 2017-06-07 12:06:39 +0530 | [diff] [blame] | 527 | }; |
| 528 | |
Vijayanand Jitta | 29d1a78 | 2017-07-03 15:17:09 +0530 | [diff] [blame] | 529 | pil_mba_mem: pil_mba_region@0x93b00000 { |
Vijayanand Jitta | a1ee786 | 2017-06-07 12:06:39 +0530 | [diff] [blame] | 530 | compatible = "removed-dma-pool"; |
| 531 | no-map; |
Vijayanand Jitta | 29d1a78 | 2017-07-03 15:17:09 +0530 | [diff] [blame] | 532 | reg = <0 0x93b00000 0 0x200000>; |
Vijayanand Jitta | a1ee786 | 2017-06-07 12:06:39 +0530 | [diff] [blame] | 533 | }; |
| 534 | |
Vijayanand Jitta | 29d1a78 | 2017-07-03 15:17:09 +0530 | [diff] [blame] | 535 | pil_adsp_mem: pil_adsp_region@93d00000 { |
Vijayanand Jitta | a1ee786 | 2017-06-07 12:06:39 +0530 | [diff] [blame] | 536 | compatible = "removed-dma-pool"; |
| 537 | no-map; |
Vijayanand Jitta | 29d1a78 | 2017-07-03 15:17:09 +0530 | [diff] [blame] | 538 | reg = <0 0x93d00000 0 0x1e00000>; |
Vijayanand Jitta | a1ee786 | 2017-06-07 12:06:39 +0530 | [diff] [blame] | 539 | }; |
| 540 | |
Vijayanand Jitta | a1ee786 | 2017-06-07 12:06:39 +0530 | [diff] [blame] | 541 | adsp_mem: adsp_region { |
| 542 | compatible = "shared-dma-pool"; |
| 543 | alloc-ranges = <0 0x00000000 0 0xffffffff>; |
| 544 | reusable; |
| 545 | alignment = <0 0x400000>; |
| 546 | size = <0 0xc00000>; |
| 547 | }; |
| 548 | |
| 549 | qseecom_mem: qseecom_region { |
| 550 | compatible = "shared-dma-pool"; |
| 551 | alloc-ranges = <0 0x00000000 0 0xffffffff>; |
| 552 | reusable; |
| 553 | alignment = <0 0x400000>; |
| 554 | size = <0 0x1400000>; |
| 555 | }; |
| 556 | |
| 557 | sp_mem: sp_region { /* SPSS-HLOS ION shared mem */ |
| 558 | compatible = "shared-dma-pool"; |
| 559 | alloc-ranges = <0 0x00000000 0 0xffffffff>; /* 32-bit */ |
| 560 | reusable; |
| 561 | alignment = <0 0x400000>; |
| 562 | size = <0 0x800000>; |
| 563 | }; |
| 564 | |
| 565 | secure_display_memory: secure_display_region { |
| 566 | compatible = "shared-dma-pool"; |
| 567 | alloc-ranges = <0 0x00000000 0 0xffffffff>; |
| 568 | reusable; |
| 569 | alignment = <0 0x400000>; |
| 570 | size = <0 0x5c00000>; |
| 571 | }; |
| 572 | |
Lingutla Chandrasekhar | 96fd39c | 2017-09-12 10:34:33 +0530 | [diff] [blame] | 573 | dump_mem: mem_dump_region { |
| 574 | compatible = "shared-dma-pool"; |
| 575 | reusable; |
| 576 | size = <0 0x2400000>; |
| 577 | }; |
| 578 | |
Vijayanand Jitta | a1ee786 | 2017-06-07 12:06:39 +0530 | [diff] [blame] | 579 | /* global autoconfigured region for contiguous allocations */ |
| 580 | linux,cma { |
| 581 | compatible = "shared-dma-pool"; |
| 582 | alloc-ranges = <0 0x00000000 0 0xffffffff>; |
| 583 | reusable; |
| 584 | alignment = <0 0x400000>; |
| 585 | size = <0 0x2000000>; |
| 586 | linux,cma-default; |
| 587 | }; |
Imran Khan | 04f0831 | 2017-03-30 15:07:43 +0530 | [diff] [blame] | 588 | }; |
| 589 | }; |
| 590 | |
Vijayanand Jitta | a1ee786 | 2017-06-07 12:06:39 +0530 | [diff] [blame] | 591 | #include "sdm670-ion.dtsi" |
| 592 | |
Dhoat Harpal | 92d63dea | 2017-06-06 21:20:26 +0530 | [diff] [blame] | 593 | #include "sdm670-smp2p.dtsi" |
| 594 | |
Mukesh Kumar Savaliya | 065ca48 | 2017-06-06 14:44:45 +0530 | [diff] [blame] | 595 | #include "sdm670-qupv3.dtsi" |
| 596 | |
Saranya Chidura | f49fee1 | 2017-06-19 10:52:37 +0530 | [diff] [blame] | 597 | #include "sdm670-coresight.dtsi" |
Manikanta Kanamarlapudi | d4abc60 | 2017-08-28 19:23:41 +0530 | [diff] [blame] | 598 | |
| 599 | #include "sdm670-vidc.dtsi" |
| 600 | |
Raviteja Tamatam | e97849a | 2017-09-12 20:25:50 +0530 | [diff] [blame] | 601 | #include "sdm670-sde-pll.dtsi" |
| 602 | |
| 603 | #include "sdm670-sde.dtsi" |
| 604 | |
Imran Khan | 04f0831 | 2017-03-30 15:07:43 +0530 | [diff] [blame] | 605 | &soc { |
| 606 | #address-cells = <1>; |
| 607 | #size-cells = <1>; |
| 608 | ranges = <0 0 0 0xffffffff>; |
| 609 | compatible = "simple-bus"; |
| 610 | |
| 611 | intc: interrupt-controller@17a00000 { |
| 612 | compatible = "arm,gic-v3"; |
| 613 | #interrupt-cells = <3>; |
| 614 | interrupt-controller; |
| 615 | #redistributor-regions = <1>; |
| 616 | redistributor-stride = <0x0 0x20000>; |
| 617 | reg = <0x17a00000 0x10000>, /* GICD */ |
| 618 | <0x17a60000 0x100000>; /* GICR * 8 */ |
| 619 | interrupts = <1 9 4>; |
Maulik Shah | 30ebbde | 2017-06-15 10:02:54 +0530 | [diff] [blame] | 620 | interrupt-parent = <&intc>; |
Imran Khan | 04f0831 | 2017-03-30 15:07:43 +0530 | [diff] [blame] | 621 | }; |
| 622 | |
| 623 | timer { |
| 624 | compatible = "arm,armv8-timer"; |
| 625 | interrupts = <1 1 0xf08>, |
| 626 | <1 2 0xf08>, |
| 627 | <1 3 0xf08>, |
| 628 | <1 0 0xf08>; |
| 629 | clock-frequency = <19200000>; |
| 630 | }; |
| 631 | |
Lakshmi Sunkara | bbd6989 | 2017-06-09 13:17:10 +0530 | [diff] [blame] | 632 | qcom,sps { |
| 633 | compatible = "qcom,msm_sps_4k"; |
| 634 | qcom,pipe-attr-ee; |
| 635 | }; |
| 636 | |
Abir Ghosh | b849ab2 | 2017-09-19 13:03:11 +0530 | [diff] [blame] | 637 | qcom,qbt1000 { |
| 638 | compatible = "qcom,qbt1000"; |
| 639 | clock-names = "core", "iface"; |
| 640 | clock-frequency = <25000000>; |
| 641 | qcom,ipc-gpio = <&tlmm 121 0>; |
| 642 | qcom,finger-detect-gpio = <&tlmm 122 0>; |
| 643 | }; |
| 644 | |
Manaf Meethalavalappu Pallikunhi | 52c7ba1 | 2017-09-07 01:41:43 +0530 | [diff] [blame] | 645 | thermal_zones: thermal-zones {}; |
Rama Krishna Phani A | a3c0e78 | 2017-07-17 20:09:15 +0530 | [diff] [blame] | 646 | |
| 647 | tsens0: tsens@c222000 { |
| 648 | compatible = "qcom,tsens24xx"; |
| 649 | reg = <0xc222000 0x4>, |
| 650 | <0xc263000 0x1ff>; |
| 651 | reg-names = "tsens_srot_physical", |
| 652 | "tsens_tm_physical"; |
| 653 | interrupts = <0 506 0>, <0 508 0>; |
| 654 | interrupt-names = "tsens-upper-lower", "tsens-critical"; |
| 655 | #thermal-sensor-cells = <1>; |
| 656 | }; |
| 657 | |
| 658 | tsens1: tsens@c223000 { |
| 659 | compatible = "qcom,tsens24xx"; |
| 660 | reg = <0xc223000 0x4>, |
| 661 | <0xc265000 0x1ff>; |
| 662 | reg-names = "tsens_srot_physical", |
| 663 | "tsens_tm_physical"; |
| 664 | interrupts = <0 507 0>, <0 509 0>; |
| 665 | interrupt-names = "tsens-upper-lower", "tsens-critical"; |
| 666 | #thermal-sensor-cells = <1>; |
| 667 | }; |
| 668 | |
Imran Khan | 04f0831 | 2017-03-30 15:07:43 +0530 | [diff] [blame] | 669 | timer@0x17c90000{ |
| 670 | #address-cells = <1>; |
| 671 | #size-cells = <1>; |
| 672 | ranges; |
| 673 | compatible = "arm,armv7-timer-mem"; |
| 674 | reg = <0x17c90000 0x1000>; |
| 675 | clock-frequency = <19200000>; |
| 676 | |
| 677 | frame@0x17ca0000 { |
| 678 | frame-number = <0>; |
| 679 | interrupts = <0 7 0x4>, |
| 680 | <0 6 0x4>; |
| 681 | reg = <0x17ca0000 0x1000>, |
| 682 | <0x17cb0000 0x1000>; |
| 683 | }; |
| 684 | |
| 685 | frame@17cc0000 { |
| 686 | frame-number = <1>; |
| 687 | interrupts = <0 8 0x4>; |
| 688 | reg = <0x17cc0000 0x1000>; |
| 689 | status = "disabled"; |
| 690 | }; |
| 691 | |
| 692 | frame@17cd0000 { |
| 693 | frame-number = <2>; |
| 694 | interrupts = <0 9 0x4>; |
| 695 | reg = <0x17cd0000 0x1000>; |
| 696 | status = "disabled"; |
| 697 | }; |
| 698 | |
| 699 | frame@17ce0000 { |
| 700 | frame-number = <3>; |
| 701 | interrupts = <0 10 0x4>; |
| 702 | reg = <0x17ce0000 0x1000>; |
| 703 | status = "disabled"; |
| 704 | }; |
| 705 | |
| 706 | frame@17cf0000 { |
| 707 | frame-number = <4>; |
| 708 | interrupts = <0 11 0x4>; |
| 709 | reg = <0x17cf0000 0x1000>; |
| 710 | status = "disabled"; |
| 711 | }; |
| 712 | |
| 713 | frame@17d00000 { |
| 714 | frame-number = <5>; |
| 715 | interrupts = <0 12 0x4>; |
| 716 | reg = <0x17d00000 0x1000>; |
| 717 | status = "disabled"; |
| 718 | }; |
| 719 | |
| 720 | frame@17d10000 { |
| 721 | frame-number = <6>; |
| 722 | interrupts = <0 13 0x4>; |
| 723 | reg = <0x17d10000 0x1000>; |
| 724 | status = "disabled"; |
| 725 | }; |
| 726 | }; |
| 727 | |
| 728 | restart@10ac000 { |
| 729 | compatible = "qcom,pshold"; |
| 730 | reg = <0xC264000 0x4>, |
| 731 | <0x1fd3000 0x4>; |
| 732 | reg-names = "pshold-base", "tcsr-boot-misc-detect"; |
| 733 | }; |
| 734 | |
Maulik Shah | 6bf7d5d | 2017-07-27 09:48:42 +0530 | [diff] [blame] | 735 | aop-msg-client { |
| 736 | compatible = "qcom,debugfs-qmp-client"; |
| 737 | mboxes = <&qmp_aop 0>; |
| 738 | mbox-names = "aop"; |
| 739 | }; |
| 740 | |
Odelu Kukatla | 1fe3a22 | 2017-06-01 16:24:59 +0530 | [diff] [blame] | 741 | clock_rpmh: qcom,rpmhclk { |
Odelu Kukatla | d7e457b | 2017-08-07 22:08:09 +0530 | [diff] [blame] | 742 | compatible = "qcom,rpmh-clk-sdm670"; |
Odelu Kukatla | 1fe3a22 | 2017-06-01 16:24:59 +0530 | [diff] [blame] | 743 | #clock-cells = <1>; |
Odelu Kukatla | d7e457b | 2017-08-07 22:08:09 +0530 | [diff] [blame] | 744 | mboxes = <&apps_rsc 0>; |
| 745 | mbox-names = "apps"; |
Odelu Kukatla | 1fe3a22 | 2017-06-01 16:24:59 +0530 | [diff] [blame] | 746 | }; |
| 747 | |
| 748 | clock_gcc: qcom,gcc@100000 { |
Odelu Kukatla | d7e457b | 2017-08-07 22:08:09 +0530 | [diff] [blame] | 749 | compatible = "qcom,gcc-sdm670", "syscon"; |
| 750 | reg = <0x100000 0x1f0000>; |
| 751 | reg-names = "cc_base"; |
| 752 | vdd_cx-supply = <&pm660l_s3_level>; |
| 753 | vdd_cx_ao-supply = <&pm660l_s3_level_ao>; |
Odelu Kukatla | 1fe3a22 | 2017-06-01 16:24:59 +0530 | [diff] [blame] | 754 | #clock-cells = <1>; |
| 755 | #reset-cells = <1>; |
| 756 | }; |
| 757 | |
| 758 | clock_videocc: qcom,videocc@ab00000 { |
Odelu Kukatla | d7e457b | 2017-08-07 22:08:09 +0530 | [diff] [blame] | 759 | compatible = "qcom,video_cc-sdm670", "syscon"; |
| 760 | reg = <0xab00000 0x10000>; |
| 761 | reg-names = "cc_base"; |
| 762 | vdd_cx-supply = <&pm660l_s3_level>; |
Odelu Kukatla | 1fe3a22 | 2017-06-01 16:24:59 +0530 | [diff] [blame] | 763 | #clock-cells = <1>; |
| 764 | #reset-cells = <1>; |
| 765 | }; |
| 766 | |
| 767 | clock_camcc: qcom,camcc@ad00000 { |
Odelu Kukatla | d7e457b | 2017-08-07 22:08:09 +0530 | [diff] [blame] | 768 | compatible = "qcom,cam_cc-sdm670", "syscon"; |
| 769 | reg = <0xad00000 0x10000>; |
| 770 | reg-names = "cc_base"; |
| 771 | vdd_cx-supply = <&pm660l_s3_level>; |
| 772 | vdd_mx-supply = <&pm660l_s1_level>; |
Odelu Kukatla | 1fe3a22 | 2017-06-01 16:24:59 +0530 | [diff] [blame] | 773 | #clock-cells = <1>; |
| 774 | #reset-cells = <1>; |
| 775 | }; |
| 776 | |
| 777 | clock_dispcc: qcom,dispcc@af00000 { |
Odelu Kukatla | d7e457b | 2017-08-07 22:08:09 +0530 | [diff] [blame] | 778 | compatible = "qcom,dispcc-sdm670", "syscon"; |
| 779 | reg = <0xaf00000 0x10000>; |
| 780 | reg-names = "cc_base"; |
| 781 | vdd_cx-supply = <&pm660l_s3_level>; |
Odelu Kukatla | 1fe3a22 | 2017-06-01 16:24:59 +0530 | [diff] [blame] | 782 | #clock-cells = <1>; |
| 783 | #reset-cells = <1>; |
| 784 | }; |
| 785 | |
| 786 | clock_gpucc: qcom,gpucc@5090000 { |
Odelu Kukatla | d7e457b | 2017-08-07 22:08:09 +0530 | [diff] [blame] | 787 | compatible = "qcom,gpucc-sdm670", "syscon"; |
| 788 | reg = <0x5090000 0x9000>; |
| 789 | reg-names = "cc_base"; |
| 790 | vdd_cx-supply = <&pm660l_s3_level>; |
| 791 | vdd_mx-supply = <&pm660l_s1_level>; |
Odelu Kukatla | dc7ac7d | 2017-09-27 11:05:53 +0530 | [diff] [blame] | 792 | qcom,gpu_cc_gmu_clk_src-opp-handle = <&gmu>; |
Odelu Kukatla | 1fe3a22 | 2017-06-01 16:24:59 +0530 | [diff] [blame] | 793 | #clock-cells = <1>; |
| 794 | #reset-cells = <1>; |
| 795 | }; |
| 796 | |
| 797 | clock_gfx: qcom,gfxcc@5090000 { |
Odelu Kukatla | d7e457b | 2017-08-07 22:08:09 +0530 | [diff] [blame] | 798 | compatible = "qcom,gfxcc-sdm670"; |
| 799 | reg = <0x5090000 0x9000>; |
| 800 | reg-names = "cc_base"; |
| 801 | vdd_gfx-supply = <&pm660l_s2_level>; |
Odelu Kukatla | dc7ac7d | 2017-09-27 11:05:53 +0530 | [diff] [blame] | 802 | qcom,gpu_cc_gx_gfx3d_clk_src-opp-handle = <&msm_gpu>; |
Odelu Kukatla | 1fe3a22 | 2017-06-01 16:24:59 +0530 | [diff] [blame] | 803 | #clock-cells = <1>; |
| 804 | #reset-cells = <1>; |
| 805 | }; |
| 806 | |
Odelu Kukatla | d7e457b | 2017-08-07 22:08:09 +0530 | [diff] [blame] | 807 | cpucc_debug: syscon@17970018 { |
| 808 | compatible = "syscon"; |
| 809 | reg = <0x17970018 0x4>; |
| 810 | }; |
| 811 | |
| 812 | clock_debug: qcom,cc-debug { |
| 813 | compatible = "qcom,debugcc-sdm845"; |
| 814 | qcom,cc-count = <5>; |
| 815 | qcom,gcc = <&clock_gcc>; |
| 816 | qcom,videocc = <&clock_videocc>; |
| 817 | qcom,camcc = <&clock_camcc>; |
| 818 | qcom,dispcc = <&clock_dispcc>; |
| 819 | qcom,gpucc = <&clock_gpucc>; |
| 820 | qcom,cpucc = <&cpucc_debug>; |
| 821 | clock-names = "xo_clk_src"; |
| 822 | clocks = <&clock_rpmh RPMH_CXO_CLK>; |
| 823 | #clock-cells = <1>; |
| 824 | }; |
| 825 | |
Imran Khan | 04f0831 | 2017-03-30 15:07:43 +0530 | [diff] [blame] | 826 | clock_cpucc: qcom,cpucc { |
| 827 | compatible = "qcom,dummycc"; |
| 828 | clock-output-names = "cpucc_clocks"; |
| 829 | #clock-cells = <1>; |
| 830 | #reset-cells = <1>; |
| 831 | }; |
| 832 | |
Odelu Kukatla | 6f3ffa1 | 2017-08-10 12:31:06 +0530 | [diff] [blame] | 833 | clock_aop: qcom,aopclk { |
Odelu Kukatla | 80f617f | 2017-09-15 19:30:25 +0530 | [diff] [blame] | 834 | compatible = "qcom,aop-qmp-clk-v1"; |
Odelu Kukatla | 6f3ffa1 | 2017-08-10 12:31:06 +0530 | [diff] [blame] | 835 | #clock-cells = <1>; |
| 836 | mboxes = <&qmp_aop 0>; |
| 837 | mbox-names = "qdss_clk"; |
| 838 | }; |
| 839 | |
Shrey Vijay | 6b6b3a5 | 2017-06-21 15:06:03 +0530 | [diff] [blame] | 840 | slim_aud: slim@62dc0000 { |
| 841 | cell-index = <1>; |
| 842 | compatible = "qcom,slim-ngd"; |
| 843 | reg = <0x62dc0000 0x2c000>, |
| 844 | <0x62d84000 0x2a000>; |
| 845 | reg-names = "slimbus_physical", "slimbus_bam_physical"; |
| 846 | interrupts = <0 163 0>, <0 164 0>; |
| 847 | interrupt-names = "slimbus_irq", "slimbus_bam_irq"; |
| 848 | qcom,apps-ch-pipes = <0x780000>; |
| 849 | qcom,ea-pc = <0x290>; |
| 850 | status = "disabled"; |
Dilip Kota | 0f5974d | 2017-08-17 15:13:08 +0530 | [diff] [blame] | 851 | qcom,iommu-s1-bypass; |
| 852 | |
| 853 | iommu_slim_aud_ctrl_cb: qcom,iommu_slim_ctrl_cb { |
| 854 | compatible = "qcom,iommu-slim-ctrl-cb"; |
| 855 | iommus = <&apps_smmu 0x1826 0x0>, |
| 856 | <&apps_smmu 0x182d 0x0>, |
| 857 | <&apps_smmu 0x182e 0x1>, |
| 858 | <&apps_smmu 0x1830 0x1>; |
| 859 | }; |
| 860 | |
Shrey Vijay | 6b6b3a5 | 2017-06-21 15:06:03 +0530 | [diff] [blame] | 861 | }; |
| 862 | |
| 863 | slim_qca: slim@62e40000 { |
| 864 | cell-index = <3>; |
| 865 | compatible = "qcom,slim-ngd"; |
| 866 | reg = <0x62e40000 0x2c000>, |
| 867 | <0x62e04000 0x20000>; |
| 868 | reg-names = "slimbus_physical", "slimbus_bam_physical"; |
| 869 | interrupts = <0 291 0>, <0 292 0>; |
| 870 | interrupt-names = "slimbus_irq", "slimbus_bam_irq"; |
| 871 | status = "disabled"; |
Dilip Kota | 0f5974d | 2017-08-17 15:13:08 +0530 | [diff] [blame] | 872 | qcom,iommu-s1-bypass; |
| 873 | |
| 874 | iommu_slim_qca_ctrl_cb: qcom,iommu_slim_ctrl_cb { |
| 875 | compatible = "qcom,iommu-slim-ctrl-cb"; |
| 876 | iommus = <&apps_smmu 0x1833 0x0>; |
| 877 | }; |
| 878 | |
Shrey Vijay | 6b6b3a5 | 2017-06-21 15:06:03 +0530 | [diff] [blame] | 879 | }; |
| 880 | |
Imran Khan | 04f0831 | 2017-03-30 15:07:43 +0530 | [diff] [blame] | 881 | wdog: qcom,wdt@17980000{ |
| 882 | compatible = "qcom,msm-watchdog"; |
| 883 | reg = <0x17980000 0x1000>; |
| 884 | reg-names = "wdt-base"; |
| 885 | interrupts = <0 3 0>, <0 4 0>; |
| 886 | qcom,bark-time = <11000>; |
| 887 | qcom,pet-time = <10000>; |
| 888 | qcom,ipi-ping; |
| 889 | qcom,wakeup-enable; |
| 890 | }; |
| 891 | |
| 892 | qcom,msm-rtb { |
| 893 | compatible = "qcom,msm-rtb"; |
| 894 | qcom,rtb-size = <0x100000>; |
| 895 | }; |
| 896 | |
| 897 | qcom,msm-imem@146bf000 { |
| 898 | compatible = "qcom,msm-imem"; |
| 899 | reg = <0x146bf000 0x1000>; |
| 900 | ranges = <0x0 0x146bf000 0x1000>; |
| 901 | #address-cells = <1>; |
| 902 | #size-cells = <1>; |
| 903 | |
| 904 | mem_dump_table@10 { |
| 905 | compatible = "qcom,msm-imem-mem_dump_table"; |
| 906 | reg = <0x10 8>; |
| 907 | }; |
| 908 | |
| 909 | restart_reason@65c { |
| 910 | compatible = "qcom,msm-imem-restart_reason"; |
| 911 | reg = <0x65c 4>; |
| 912 | }; |
| 913 | |
| 914 | pil@94c { |
| 915 | compatible = "qcom,msm-imem-pil"; |
| 916 | reg = <0x94c 200>; |
| 917 | }; |
| 918 | |
| 919 | kaslr_offset@6d0 { |
| 920 | compatible = "qcom,msm-imem-kaslr_offset"; |
| 921 | reg = <0x6d0 12>; |
| 922 | }; |
Lingutla Chandrasekhar | 3c51f0b | 2017-09-12 14:21:21 +0530 | [diff] [blame] | 923 | |
| 924 | boot_stats@6b0 { |
| 925 | compatible = "qcom,msm-imem-boot_stats"; |
| 926 | reg = <0x6b0 0x20>; |
| 927 | }; |
| 928 | |
| 929 | diag_dload@c8 { |
| 930 | compatible = "qcom,msm-imem-diag-dload"; |
| 931 | reg = <0xc8 0xc8>; |
| 932 | }; |
Imran Khan | 04f0831 | 2017-03-30 15:07:43 +0530 | [diff] [blame] | 933 | }; |
| 934 | |
Rama Krishna Phani A | 2acd96a | 2017-07-03 17:12:46 +0530 | [diff] [blame] | 935 | gpi_dma0: qcom,gpi-dma@0x800000 { |
| 936 | #dma-cells = <6>; |
| 937 | compatible = "qcom,gpi-dma"; |
| 938 | reg = <0x800000 0x60000>; |
| 939 | reg-names = "gpi-top"; |
| 940 | interrupts = <0 244 0>, <0 245 0>, <0 246 0>, <0 247 0>, |
| 941 | <0 248 0>, <0 249 0>, <0 250 0>, <0 251 0>, |
| 942 | <0 252 0>, <0 253 0>, <0 254 0>, <0 255 0>, |
| 943 | <0 256 0>; |
| 944 | qcom,max-num-gpii = <13>; |
| 945 | qcom,gpii-mask = <0xfa>; |
| 946 | qcom,ev-factor = <2>; |
| 947 | iommus = <&apps_smmu 0x0016 0x0>; |
| 948 | status = "ok"; |
| 949 | }; |
| 950 | |
| 951 | gpi_dma1: qcom,gpi-dma@0xa00000 { |
| 952 | #dma-cells = <6>; |
| 953 | compatible = "qcom,gpi-dma"; |
| 954 | reg = <0xa00000 0x60000>; |
| 955 | reg-names = "gpi-top"; |
| 956 | interrupts = <0 279 0>, <0 280 0>, <0 281 0>, <0 282 0>, |
| 957 | <0 283 0>, <0 284 0>, <0 293 0>, <0 294 0>, |
| 958 | <0 295 0>, <0 296 0>, <0 297 0>, <0 298 0>, |
| 959 | <0 299 0>; |
| 960 | qcom,max-num-gpii = <13>; |
| 961 | qcom,gpii-mask = <0xfa>; |
| 962 | qcom,ev-factor = <2>; |
| 963 | iommus = <&apps_smmu 0x06d6 0x0>; |
| 964 | status = "ok"; |
| 965 | }; |
| 966 | |
Imran Khan | 04f0831 | 2017-03-30 15:07:43 +0530 | [diff] [blame] | 967 | cpuss_dump { |
| 968 | compatible = "qcom,cpuss-dump"; |
| 969 | qcom,l1_i_cache0 { |
| 970 | qcom,dump-node = <&L1_I_0>; |
| 971 | qcom,dump-id = <0x60>; |
| 972 | }; |
Lingutla Chandrasekhar | 2279228 | 2017-09-01 16:38:20 +0530 | [diff] [blame] | 973 | qcom,l1_i_cache100 { |
Imran Khan | 04f0831 | 2017-03-30 15:07:43 +0530 | [diff] [blame] | 974 | qcom,dump-node = <&L1_I_100>; |
| 975 | qcom,dump-id = <0x61>; |
| 976 | }; |
Lingutla Chandrasekhar | 2279228 | 2017-09-01 16:38:20 +0530 | [diff] [blame] | 977 | qcom,l1_i_cache200 { |
Imran Khan | 04f0831 | 2017-03-30 15:07:43 +0530 | [diff] [blame] | 978 | qcom,dump-node = <&L1_I_200>; |
| 979 | qcom,dump-id = <0x62>; |
| 980 | }; |
Lingutla Chandrasekhar | 2279228 | 2017-09-01 16:38:20 +0530 | [diff] [blame] | 981 | qcom,l1_i_cache300 { |
Imran Khan | 04f0831 | 2017-03-30 15:07:43 +0530 | [diff] [blame] | 982 | qcom,dump-node = <&L1_I_300>; |
| 983 | qcom,dump-id = <0x63>; |
| 984 | }; |
Lingutla Chandrasekhar | 2279228 | 2017-09-01 16:38:20 +0530 | [diff] [blame] | 985 | qcom,l1_i_cache400 { |
Imran Khan | 04f0831 | 2017-03-30 15:07:43 +0530 | [diff] [blame] | 986 | qcom,dump-node = <&L1_I_400>; |
| 987 | qcom,dump-id = <0x64>; |
| 988 | }; |
Lingutla Chandrasekhar | 2279228 | 2017-09-01 16:38:20 +0530 | [diff] [blame] | 989 | qcom,l1_i_cache500 { |
Imran Khan | 04f0831 | 2017-03-30 15:07:43 +0530 | [diff] [blame] | 990 | qcom,dump-node = <&L1_I_500>; |
| 991 | qcom,dump-id = <0x65>; |
| 992 | }; |
Lingutla Chandrasekhar | 2279228 | 2017-09-01 16:38:20 +0530 | [diff] [blame] | 993 | qcom,l1_i_cache600 { |
Imran Khan | 04f0831 | 2017-03-30 15:07:43 +0530 | [diff] [blame] | 994 | qcom,dump-node = <&L1_I_600>; |
| 995 | qcom,dump-id = <0x66>; |
| 996 | }; |
Lingutla Chandrasekhar | 2279228 | 2017-09-01 16:38:20 +0530 | [diff] [blame] | 997 | qcom,l1_i_cache700 { |
Imran Khan | 04f0831 | 2017-03-30 15:07:43 +0530 | [diff] [blame] | 998 | qcom,dump-node = <&L1_I_700>; |
| 999 | qcom,dump-id = <0x67>; |
| 1000 | }; |
| 1001 | qcom,l1_d_cache0 { |
| 1002 | qcom,dump-node = <&L1_D_0>; |
| 1003 | qcom,dump-id = <0x80>; |
| 1004 | }; |
Lingutla Chandrasekhar | 2279228 | 2017-09-01 16:38:20 +0530 | [diff] [blame] | 1005 | qcom,l1_d_cache100 { |
Imran Khan | 04f0831 | 2017-03-30 15:07:43 +0530 | [diff] [blame] | 1006 | qcom,dump-node = <&L1_D_100>; |
| 1007 | qcom,dump-id = <0x81>; |
| 1008 | }; |
Lingutla Chandrasekhar | 2279228 | 2017-09-01 16:38:20 +0530 | [diff] [blame] | 1009 | qcom,l1_d_cache200 { |
Imran Khan | 04f0831 | 2017-03-30 15:07:43 +0530 | [diff] [blame] | 1010 | qcom,dump-node = <&L1_D_200>; |
| 1011 | qcom,dump-id = <0x82>; |
| 1012 | }; |
Lingutla Chandrasekhar | 2279228 | 2017-09-01 16:38:20 +0530 | [diff] [blame] | 1013 | qcom,l1_d_cache300 { |
Imran Khan | 04f0831 | 2017-03-30 15:07:43 +0530 | [diff] [blame] | 1014 | qcom,dump-node = <&L1_D_300>; |
| 1015 | qcom,dump-id = <0x83>; |
| 1016 | }; |
Lingutla Chandrasekhar | 2279228 | 2017-09-01 16:38:20 +0530 | [diff] [blame] | 1017 | qcom,l1_d_cache400 { |
Imran Khan | 04f0831 | 2017-03-30 15:07:43 +0530 | [diff] [blame] | 1018 | qcom,dump-node = <&L1_D_400>; |
| 1019 | qcom,dump-id = <0x84>; |
| 1020 | }; |
Lingutla Chandrasekhar | 2279228 | 2017-09-01 16:38:20 +0530 | [diff] [blame] | 1021 | qcom,l1_d_cache500 { |
Imran Khan | 04f0831 | 2017-03-30 15:07:43 +0530 | [diff] [blame] | 1022 | qcom,dump-node = <&L1_D_500>; |
| 1023 | qcom,dump-id = <0x85>; |
| 1024 | }; |
Lingutla Chandrasekhar | 2279228 | 2017-09-01 16:38:20 +0530 | [diff] [blame] | 1025 | qcom,l1_d_cache600 { |
Imran Khan | 04f0831 | 2017-03-30 15:07:43 +0530 | [diff] [blame] | 1026 | qcom,dump-node = <&L1_D_600>; |
| 1027 | qcom,dump-id = <0x86>; |
| 1028 | }; |
Lingutla Chandrasekhar | 2279228 | 2017-09-01 16:38:20 +0530 | [diff] [blame] | 1029 | qcom,l1_d_cache700 { |
Imran Khan | 04f0831 | 2017-03-30 15:07:43 +0530 | [diff] [blame] | 1030 | qcom,dump-node = <&L1_D_700>; |
| 1031 | qcom,dump-id = <0x87>; |
| 1032 | }; |
Lingutla Chandrasekhar | ee4f187 | 2017-06-07 13:50:53 +0530 | [diff] [blame] | 1033 | qcom,llcc1_d_cache { |
| 1034 | qcom,dump-node = <&LLCC_1>; |
| 1035 | qcom,dump-id = <0x140>; |
| 1036 | }; |
| 1037 | qcom,llcc2_d_cache { |
| 1038 | qcom,dump-node = <&LLCC_2>; |
| 1039 | qcom,dump-id = <0x141>; |
| 1040 | }; |
Lingutla Chandrasekhar | 2279228 | 2017-09-01 16:38:20 +0530 | [diff] [blame] | 1041 | qcom,l1_tlb_dump0 { |
| 1042 | qcom,dump-node = <&L1_TLB_0>; |
| 1043 | qcom,dump-id = <0x20>; |
| 1044 | }; |
| 1045 | qcom,l1_tlb_dump100 { |
| 1046 | qcom,dump-node = <&L1_TLB_100>; |
| 1047 | qcom,dump-id = <0x21>; |
| 1048 | }; |
| 1049 | qcom,l1_tlb_dump200 { |
| 1050 | qcom,dump-node = <&L1_TLB_200>; |
| 1051 | qcom,dump-id = <0x22>; |
| 1052 | }; |
| 1053 | qcom,l1_tlb_dump300 { |
| 1054 | qcom,dump-node = <&L1_TLB_300>; |
| 1055 | qcom,dump-id = <0x23>; |
| 1056 | }; |
| 1057 | qcom,l1_tlb_dump400 { |
| 1058 | qcom,dump-node = <&L1_TLB_400>; |
| 1059 | qcom,dump-id = <0x24>; |
| 1060 | }; |
| 1061 | qcom,l1_tlb_dump500 { |
| 1062 | qcom,dump-node = <&L1_TLB_500>; |
| 1063 | qcom,dump-id = <0x25>; |
| 1064 | }; |
| 1065 | qcom,l1_tlb_dump600 { |
| 1066 | qcom,dump-node = <&L1_TLB_600>; |
| 1067 | qcom,dump-id = <0x26>; |
| 1068 | }; |
| 1069 | qcom,l1_tlb_dump700 { |
| 1070 | qcom,dump-node = <&L1_TLB_700>; |
| 1071 | qcom,dump-id = <0x27>; |
| 1072 | }; |
Imran Khan | 04f0831 | 2017-03-30 15:07:43 +0530 | [diff] [blame] | 1073 | }; |
| 1074 | |
Lingutla Chandrasekhar | 96fd39c | 2017-09-12 10:34:33 +0530 | [diff] [blame] | 1075 | mem_dump { |
| 1076 | compatible = "qcom,mem-dump"; |
| 1077 | memory-region = <&dump_mem>; |
| 1078 | |
| 1079 | rpmh_dump { |
| 1080 | qcom,dump-size = <0x2000000>; |
| 1081 | qcom,dump-id = <0xec>; |
| 1082 | }; |
| 1083 | |
| 1084 | rpm_sw_dump { |
| 1085 | qcom,dump-size = <0x28000>; |
| 1086 | qcom,dump-id = <0xea>; |
| 1087 | }; |
| 1088 | |
| 1089 | pmic_dump { |
| 1090 | qcom,dump-size = <0x10000>; |
| 1091 | qcom,dump-id = <0xe4>; |
| 1092 | }; |
| 1093 | |
| 1094 | tmc_etf_dump { |
| 1095 | qcom,dump-size = <0x10000>; |
| 1096 | qcom,dump-id = <0xf0>; |
| 1097 | }; |
| 1098 | |
| 1099 | tmc_etf_swao_dump { |
| 1100 | qcom,dump-size = <0x8400>; |
| 1101 | qcom,dump-id = <0xf1>; |
| 1102 | }; |
| 1103 | |
| 1104 | tmc_etr_reg_dump { |
| 1105 | qcom,dump-size = <0x1000>; |
| 1106 | qcom,dump-id = <0x100>; |
| 1107 | }; |
| 1108 | |
| 1109 | tmc_etf_reg_dump { |
| 1110 | qcom,dump-size = <0x1000>; |
| 1111 | qcom,dump-id = <0x101>; |
| 1112 | }; |
| 1113 | |
| 1114 | tmc_etf_swao_reg_dump { |
| 1115 | qcom,dump-size = <0x1000>; |
| 1116 | qcom,dump-id = <0x102>; |
| 1117 | }; |
| 1118 | |
| 1119 | misc_data_dump { |
| 1120 | qcom,dump-size = <0x1000>; |
| 1121 | qcom,dump-id = <0xe8>; |
| 1122 | }; |
| 1123 | |
| 1124 | power_regs_data_dump { |
| 1125 | qcom,dump-size = <0x100000>; |
| 1126 | qcom,dump-id = <0xed>; |
| 1127 | }; |
| 1128 | }; |
| 1129 | |
Imran Khan | 04f0831 | 2017-03-30 15:07:43 +0530 | [diff] [blame] | 1130 | kryo3xx-erp { |
| 1131 | compatible = "arm,arm64-kryo3xx-cpu-erp"; |
| 1132 | interrupts = <1 6 4>, |
| 1133 | <1 7 4>, |
| 1134 | <0 34 4>, |
| 1135 | <0 35 4>; |
| 1136 | |
| 1137 | interrupt-names = "l1-l2-faultirq", |
| 1138 | "l1-l2-errirq", |
| 1139 | "l3-scu-errirq", |
| 1140 | "l3-scu-faultirq"; |
| 1141 | }; |
| 1142 | |
Dhoat Harpal | a24cb2c | 2017-06-06 20:39:54 +0530 | [diff] [blame] | 1143 | qcom,ipc-spinlock@1f40000 { |
| 1144 | compatible = "qcom,ipc-spinlock-sfpb"; |
| 1145 | reg = <0x1f40000 0x8000>; |
| 1146 | qcom,num-locks = <8>; |
| 1147 | }; |
| 1148 | |
Dhoat Harpal | dd9bfaf | 2017-06-06 20:43:16 +0530 | [diff] [blame] | 1149 | qcom,smem@86000000 { |
| 1150 | compatible = "qcom,smem"; |
| 1151 | reg = <0x86000000 0x200000>, |
| 1152 | <0x17911008 0x4>, |
| 1153 | <0x778000 0x7000>, |
| 1154 | <0x1fd4000 0x8>; |
| 1155 | reg-names = "smem", "irq-reg-base", "aux-mem1", |
| 1156 | "smem_targ_info_reg"; |
| 1157 | qcom,mpu-enabled; |
| 1158 | }; |
| 1159 | |
Dhoat Harpal | ebc9e56 | 2017-07-30 20:53:03 +0530 | [diff] [blame] | 1160 | qmp_aop: qcom,qmp-aop@c300000 { |
Dhoat Harpal | 5f909ef | 2017-06-09 21:18:00 +0530 | [diff] [blame] | 1161 | compatible = "qcom,qmp-mbox"; |
| 1162 | label = "aop"; |
| 1163 | reg = <0xc300000 0x100000>, |
| 1164 | <0x1799000c 0x4>; |
| 1165 | reg-names = "msgram", "irq-reg-base"; |
| 1166 | qcom,irq-mask = <0x1>; |
| 1167 | interrupts = <0 389 1>; |
Dhoat Harpal | ebc9e56 | 2017-07-30 20:53:03 +0530 | [diff] [blame] | 1168 | priority = <0>; |
Dhoat Harpal | 5f909ef | 2017-06-09 21:18:00 +0530 | [diff] [blame] | 1169 | mbox-desc-offset = <0x0>; |
| 1170 | #mbox-cells = <1>; |
| 1171 | }; |
| 1172 | |
Dhoat Harpal | 466ffcc | 2017-06-06 20:54:51 +0530 | [diff] [blame] | 1173 | qcom,glink-smem-native-xprt-modem@86000000 { |
| 1174 | compatible = "qcom,glink-smem-native-xprt"; |
| 1175 | reg = <0x86000000 0x200000>, |
| 1176 | <0x1799000c 0x4>; |
| 1177 | reg-names = "smem", "irq-reg-base"; |
| 1178 | qcom,irq-mask = <0x1000>; |
| 1179 | interrupts = <GIC_SPI 449 IRQ_TYPE_EDGE_RISING>; |
| 1180 | label = "mpss"; |
| 1181 | }; |
| 1182 | |
| 1183 | qcom,glink-smem-native-xprt-adsp@86000000 { |
| 1184 | compatible = "qcom,glink-smem-native-xprt"; |
| 1185 | reg = <0x86000000 0x200000>, |
| 1186 | <0x1799000c 0x4>; |
| 1187 | reg-names = "smem", "irq-reg-base"; |
Dhoat Harpal | 3adebbe | 2017-07-06 15:59:13 +0530 | [diff] [blame] | 1188 | qcom,irq-mask = <0x1000000>; |
| 1189 | interrupts = <GIC_SPI 170 IRQ_TYPE_EDGE_RISING>; |
Dhoat Harpal | 466ffcc | 2017-06-06 20:54:51 +0530 | [diff] [blame] | 1190 | label = "lpass"; |
| 1191 | qcom,qos-config = <&glink_qos_adsp>; |
| 1192 | qcom,ramp-time = <0xaf>; |
| 1193 | }; |
| 1194 | |
| 1195 | glink_qos_adsp: qcom,glink-qos-config-adsp { |
| 1196 | compatible = "qcom,glink-qos-config"; |
| 1197 | qcom,flow-info = <0x3c 0x0>, |
| 1198 | <0x3c 0x0>, |
| 1199 | <0x3c 0x0>, |
| 1200 | <0x3c 0x0>; |
| 1201 | qcom,mtu-size = <0x800>; |
| 1202 | qcom,tput-stats-cycle = <0xa>; |
| 1203 | }; |
| 1204 | |
| 1205 | glink_spi_xprt_wdsp: qcom,glink-spi-xprt-wdsp { |
| 1206 | compatible = "qcom,glink-spi-xprt"; |
| 1207 | label = "wdsp"; |
| 1208 | qcom,remote-fifo-config = <&glink_fifo_wdsp>; |
| 1209 | qcom,qos-config = <&glink_qos_wdsp>; |
| 1210 | qcom,ramp-time = <0x10>, |
| 1211 | <0x20>, |
| 1212 | <0x30>, |
| 1213 | <0x40>; |
| 1214 | }; |
| 1215 | |
| 1216 | glink_fifo_wdsp: qcom,glink-fifo-config-wdsp { |
| 1217 | compatible = "qcom,glink-fifo-config"; |
| 1218 | qcom,out-read-idx-reg = <0x12000>; |
| 1219 | qcom,out-write-idx-reg = <0x12004>; |
| 1220 | qcom,in-read-idx-reg = <0x1200C>; |
| 1221 | qcom,in-write-idx-reg = <0x12010>; |
| 1222 | }; |
| 1223 | |
| 1224 | glink_qos_wdsp: qcom,glink-qos-config-wdsp { |
| 1225 | compatible = "qcom,glink-qos-config"; |
| 1226 | qcom,flow-info = <0x80 0x0>, |
| 1227 | <0x70 0x1>, |
| 1228 | <0x60 0x2>, |
| 1229 | <0x50 0x3>; |
| 1230 | qcom,mtu-size = <0x800>; |
| 1231 | qcom,tput-stats-cycle = <0xa>; |
| 1232 | }; |
| 1233 | |
| 1234 | qcom,glink-smem-native-xprt-cdsp@86000000 { |
| 1235 | compatible = "qcom,glink-smem-native-xprt"; |
| 1236 | reg = <0x86000000 0x200000>, |
| 1237 | <0x1799000c 0x4>; |
| 1238 | reg-names = "smem", "irq-reg-base"; |
| 1239 | qcom,irq-mask = <0x10>; |
| 1240 | interrupts = <GIC_SPI 574 IRQ_TYPE_EDGE_RISING>; |
| 1241 | label = "cdsp"; |
| 1242 | }; |
| 1243 | |
Dhoat Harpal | 9cb73cc | 2017-06-06 20:58:14 +0530 | [diff] [blame] | 1244 | glink_mpss: qcom,glink-ssr-modem { |
| 1245 | compatible = "qcom,glink_ssr"; |
| 1246 | label = "modem"; |
| 1247 | qcom,edge = "mpss"; |
| 1248 | qcom,notify-edges = <&glink_lpass>, <&glink_cdsp>; |
| 1249 | qcom,xprt = "smem"; |
| 1250 | }; |
| 1251 | |
| 1252 | glink_lpass: qcom,glink-ssr-adsp { |
| 1253 | compatible = "qcom,glink_ssr"; |
| 1254 | label = "adsp"; |
| 1255 | qcom,edge = "lpass"; |
| 1256 | qcom,notify-edges = <&glink_mpss>, <&glink_cdsp>; |
| 1257 | qcom,xprt = "smem"; |
| 1258 | }; |
| 1259 | |
| 1260 | glink_cdsp: qcom,glink-ssr-cdsp { |
| 1261 | compatible = "qcom,glink_ssr"; |
| 1262 | label = "cdsp"; |
| 1263 | qcom,edge = "cdsp"; |
| 1264 | qcom,notify-edges = <&glink_mpss>, <&glink_lpass>; |
| 1265 | qcom,xprt = "smem"; |
| 1266 | }; |
| 1267 | |
Dhoat Harpal | 22dafa9 | 2017-06-06 21:03:34 +0530 | [diff] [blame] | 1268 | qcom,ipc_router { |
| 1269 | compatible = "qcom,ipc_router"; |
| 1270 | qcom,node-id = <1>; |
| 1271 | }; |
| 1272 | |
| 1273 | qcom,ipc_router_modem_xprt { |
| 1274 | compatible = "qcom,ipc_router_glink_xprt"; |
| 1275 | qcom,ch-name = "IPCRTR"; |
| 1276 | qcom,xprt-remote = "mpss"; |
| 1277 | qcom,glink-xprt = "smem"; |
| 1278 | qcom,xprt-linkid = <1>; |
| 1279 | qcom,xprt-version = <1>; |
| 1280 | qcom,fragmented-data; |
| 1281 | }; |
| 1282 | |
| 1283 | qcom,ipc_router_q6_xprt { |
| 1284 | compatible = "qcom,ipc_router_glink_xprt"; |
| 1285 | qcom,ch-name = "IPCRTR"; |
| 1286 | qcom,xprt-remote = "lpass"; |
| 1287 | qcom,glink-xprt = "smem"; |
| 1288 | qcom,xprt-linkid = <1>; |
| 1289 | qcom,xprt-version = <1>; |
| 1290 | qcom,fragmented-data; |
| 1291 | }; |
| 1292 | |
| 1293 | qcom,ipc_router_cdsp_xprt { |
| 1294 | compatible = "qcom,ipc_router_glink_xprt"; |
| 1295 | qcom,ch-name = "IPCRTR"; |
| 1296 | qcom,xprt-remote = "cdsp"; |
| 1297 | qcom,glink-xprt = "smem"; |
| 1298 | qcom,xprt-linkid = <1>; |
| 1299 | qcom,xprt-version = <1>; |
| 1300 | qcom,fragmented-data; |
| 1301 | }; |
| 1302 | |
Dhoat Harpal | 11d3448 | 2017-06-06 21:00:14 +0530 | [diff] [blame] | 1303 | qcom,glink_pkt { |
| 1304 | compatible = "qcom,glinkpkt"; |
| 1305 | |
| 1306 | qcom,glinkpkt-at-mdm0 { |
| 1307 | qcom,glinkpkt-transport = "smem"; |
| 1308 | qcom,glinkpkt-edge = "mpss"; |
| 1309 | qcom,glinkpkt-ch-name = "DS"; |
| 1310 | qcom,glinkpkt-dev-name = "at_mdm0"; |
| 1311 | }; |
| 1312 | |
| 1313 | qcom,glinkpkt-loopback_cntl { |
| 1314 | qcom,glinkpkt-transport = "lloop"; |
| 1315 | qcom,glinkpkt-edge = "local"; |
| 1316 | qcom,glinkpkt-ch-name = "LOCAL_LOOPBACK_CLNT"; |
| 1317 | qcom,glinkpkt-dev-name = "glink_pkt_loopback_ctrl"; |
| 1318 | }; |
| 1319 | |
| 1320 | qcom,glinkpkt-loopback_data { |
| 1321 | qcom,glinkpkt-transport = "lloop"; |
| 1322 | qcom,glinkpkt-edge = "local"; |
| 1323 | qcom,glinkpkt-ch-name = "glink_pkt_lloop_CLNT"; |
| 1324 | qcom,glinkpkt-dev-name = "glink_pkt_loopback"; |
| 1325 | }; |
| 1326 | |
| 1327 | qcom,glinkpkt-apr-apps2 { |
| 1328 | qcom,glinkpkt-transport = "smem"; |
| 1329 | qcom,glinkpkt-edge = "adsp"; |
| 1330 | qcom,glinkpkt-ch-name = "apr_apps2"; |
| 1331 | qcom,glinkpkt-dev-name = "apr_apps2"; |
| 1332 | }; |
| 1333 | |
| 1334 | qcom,glinkpkt-data40-cntl { |
| 1335 | qcom,glinkpkt-transport = "smem"; |
| 1336 | qcom,glinkpkt-edge = "mpss"; |
| 1337 | qcom,glinkpkt-ch-name = "DATA40_CNTL"; |
| 1338 | qcom,glinkpkt-dev-name = "smdcntl8"; |
| 1339 | }; |
| 1340 | |
| 1341 | qcom,glinkpkt-data1 { |
| 1342 | qcom,glinkpkt-transport = "smem"; |
| 1343 | qcom,glinkpkt-edge = "mpss"; |
| 1344 | qcom,glinkpkt-ch-name = "DATA1"; |
| 1345 | qcom,glinkpkt-dev-name = "smd7"; |
| 1346 | }; |
| 1347 | |
| 1348 | qcom,glinkpkt-data4 { |
| 1349 | qcom,glinkpkt-transport = "smem"; |
| 1350 | qcom,glinkpkt-edge = "mpss"; |
| 1351 | qcom,glinkpkt-ch-name = "DATA4"; |
| 1352 | qcom,glinkpkt-dev-name = "smd8"; |
| 1353 | }; |
| 1354 | |
| 1355 | qcom,glinkpkt-data11 { |
| 1356 | qcom,glinkpkt-transport = "smem"; |
| 1357 | qcom,glinkpkt-edge = "mpss"; |
| 1358 | qcom,glinkpkt-ch-name = "DATA11"; |
| 1359 | qcom,glinkpkt-dev-name = "smd11"; |
| 1360 | }; |
| 1361 | }; |
| 1362 | |
Imran Khan | 04f0831 | 2017-03-30 15:07:43 +0530 | [diff] [blame] | 1363 | qcom,chd_sliver { |
| 1364 | compatible = "qcom,core-hang-detect"; |
| 1365 | label = "silver"; |
| 1366 | qcom,threshold-arr = <0x17e00058 0x17e10058 0x17e20058 |
| 1367 | 0x17e30058 0x17e40058 0x17e50058>; |
| 1368 | qcom,config-arr = <0x17e00060 0x17e10060 0x17e20060 |
| 1369 | 0x17e30060 0x17e40060 0x17e50060>; |
| 1370 | }; |
| 1371 | |
| 1372 | qcom,chd_gold { |
| 1373 | compatible = "qcom,core-hang-detect"; |
| 1374 | label = "gold"; |
| 1375 | qcom,threshold-arr = <0x17e60058 0x17e70058>; |
| 1376 | qcom,config-arr = <0x17e60060 0x17e70060>; |
| 1377 | }; |
| 1378 | |
| 1379 | qcom,ghd { |
| 1380 | compatible = "qcom,gladiator-hang-detect-v2"; |
| 1381 | qcom,threshold-arr = <0x1799041c 0x17990420>; |
| 1382 | qcom,config-reg = <0x17990434>; |
| 1383 | }; |
| 1384 | |
| 1385 | qcom,msm-gladiator-v3@17900000 { |
| 1386 | compatible = "qcom,msm-gladiator-v3"; |
| 1387 | reg = <0x17900000 0xd080>; |
| 1388 | reg-names = "gladiator_base"; |
| 1389 | interrupts = <0 17 0>; |
| 1390 | }; |
| 1391 | |
Lingutla Chandrasekhar | 88f9e7b | 2017-09-15 18:29:25 +0530 | [diff] [blame] | 1392 | eud: qcom,msm-eud@88e0000 { |
| 1393 | compatible = "qcom,msm-eud"; |
| 1394 | interrupt-names = "eud_irq"; |
| 1395 | interrupts = <GIC_SPI 492 IRQ_TYPE_LEVEL_HIGH>; |
| 1396 | reg = <0x88e0000 0x2000>; |
| 1397 | reg-names = "eud_base"; |
| 1398 | status = "disabled"; |
| 1399 | }; |
| 1400 | |
Lingutla Chandrasekhar | ee4f187 | 2017-06-07 13:50:53 +0530 | [diff] [blame] | 1401 | qcom,llcc@1100000 { |
| 1402 | compatible = "qcom,llcc-core", "syscon", "simple-mfd"; |
| 1403 | reg = <0x1100000 0x250000>; |
| 1404 | reg-names = "llcc_base"; |
| 1405 | qcom,llcc-banks-off = <0x0 0x80000 >; |
| 1406 | qcom,llcc-broadcast-off = <0x200000>; |
| 1407 | |
| 1408 | llcc: qcom,sdm670-llcc { |
| 1409 | compatible = "qcom,sdm670-llcc"; |
| 1410 | #cache-cells = <1>; |
| 1411 | max-slices = <32>; |
| 1412 | qcom,dump-size = <0x80000>; |
| 1413 | }; |
| 1414 | |
| 1415 | qcom,llcc-erp { |
| 1416 | compatible = "qcom,llcc-erp"; |
| 1417 | interrupt-names = "ecc_irq"; |
| 1418 | interrupts = <GIC_SPI 582 IRQ_TYPE_LEVEL_HIGH>; |
| 1419 | }; |
| 1420 | |
| 1421 | qcom,llcc-amon { |
| 1422 | compatible = "qcom,llcc-amon"; |
| 1423 | }; |
| 1424 | |
| 1425 | LLCC_1: llcc_1_dcache { |
| 1426 | qcom,dump-size = <0xd8000>; |
| 1427 | }; |
| 1428 | |
| 1429 | LLCC_2: llcc_2_dcache { |
| 1430 | qcom,dump-size = <0xd8000>; |
| 1431 | }; |
| 1432 | }; |
| 1433 | |
Maulik Shah | 210773d | 2017-06-15 09:49:12 +0530 | [diff] [blame] | 1434 | cmd_db: qcom,cmd-db@c3f000c { |
| 1435 | compatible = "qcom,cmd-db"; |
| 1436 | reg = <0xc3f000c 0x8>; |
| 1437 | }; |
| 1438 | |
Maulik Shah | c77d1d2 | 2017-06-15 14:04:50 +0530 | [diff] [blame] | 1439 | apps_rsc: mailbox@179e0000 { |
| 1440 | compatible = "qcom,tcs-drv"; |
| 1441 | label = "apps_rsc"; |
| 1442 | reg = <0x179e0000 0x100>, <0x179e0d00 0x3000>; |
| 1443 | interrupts = <0 5 0>; |
| 1444 | #mbox-cells = <1>; |
| 1445 | qcom,drv-id = <2>; |
| 1446 | qcom,tcs-config = <ACTIVE_TCS 2>, |
| 1447 | <SLEEP_TCS 3>, |
| 1448 | <WAKE_TCS 3>, |
| 1449 | <CONTROL_TCS 1>; |
| 1450 | }; |
| 1451 | |
Maulik Shah | da3941f | 2017-06-15 09:41:38 +0530 | [diff] [blame] | 1452 | disp_rsc: mailbox@af20000 { |
| 1453 | compatible = "qcom,tcs-drv"; |
| 1454 | label = "display_rsc"; |
| 1455 | reg = <0xaf20000 0x100>, <0xaf21c00 0x3000>; |
| 1456 | interrupts = <0 129 0>; |
| 1457 | #mbox-cells = <1>; |
| 1458 | qcom,drv-id = <0>; |
| 1459 | qcom,tcs-config = <SLEEP_TCS 1>, |
| 1460 | <WAKE_TCS 1>, |
| 1461 | <ACTIVE_TCS 0>, |
| 1462 | <CONTROL_TCS 1>; |
| 1463 | }; |
| 1464 | |
Maulik Shah | 0dd203f | 2017-06-15 09:44:59 +0530 | [diff] [blame] | 1465 | system_pm { |
| 1466 | compatible = "qcom,system-pm"; |
| 1467 | mboxes = <&apps_rsc 0>; |
| 1468 | }; |
| 1469 | |
Imran Khan | 04f0831 | 2017-03-30 15:07:43 +0530 | [diff] [blame] | 1470 | dcc: dcc_v2@10a2000 { |
| 1471 | compatible = "qcom,dcc_v2"; |
| 1472 | reg = <0x10a2000 0x1000>, |
| 1473 | <0x10ae000 0x2000>; |
| 1474 | reg-names = "dcc-base", "dcc-ram-base"; |
Saranya Chidura | c0a161c | 2017-08-28 13:06:10 +0530 | [diff] [blame] | 1475 | |
| 1476 | dcc-ram-offset = <0x6000>; |
Imran Khan | 04f0831 | 2017-03-30 15:07:43 +0530 | [diff] [blame] | 1477 | }; |
| 1478 | |
Tirupathi Reddy | 9ae4c89 | 2017-06-09 12:30:31 +0530 | [diff] [blame] | 1479 | spmi_bus: qcom,spmi@c440000 { |
| 1480 | compatible = "qcom,spmi-pmic-arb"; |
| 1481 | reg = <0xc440000 0x1100>, |
| 1482 | <0xc600000 0x2000000>, |
| 1483 | <0xe600000 0x100000>, |
| 1484 | <0xe700000 0xa0000>, |
| 1485 | <0xc40a000 0x26000>; |
| 1486 | reg-names = "core", "chnls", "obsrvr", "intr", "cnfg"; |
| 1487 | interrupt-names = "periph_irq"; |
| 1488 | interrupts = <GIC_SPI 481 IRQ_TYPE_NONE>; |
| 1489 | qcom,ee = <0>; |
| 1490 | qcom,channel = <0>; |
| 1491 | #address-cells = <2>; |
| 1492 | #size-cells = <0>; |
| 1493 | interrupt-controller; |
| 1494 | #interrupt-cells = <4>; |
| 1495 | cell-index = <0>; |
| 1496 | }; |
Sayali Lokhande | 099af9c | 2017-06-08 10:18:29 +0530 | [diff] [blame] | 1497 | |
| 1498 | ufsphy_mem: ufsphy_mem@1d87000 { |
| 1499 | reg = <0x1d87000 0xe00>; /* PHY regs */ |
| 1500 | reg-names = "phy_mem"; |
| 1501 | #phy-cells = <0>; |
| 1502 | |
| 1503 | lanes-per-direction = <1>; |
| 1504 | |
| 1505 | clock-names = "ref_clk_src", |
| 1506 | "ref_clk", |
| 1507 | "ref_aux_clk"; |
| 1508 | clocks = <&clock_rpmh RPMH_CXO_CLK>, |
| 1509 | <&clock_gcc GCC_UFS_MEM_CLKREF_CLK>, |
| 1510 | <&clock_gcc GCC_UFS_PHY_PHY_AUX_HW_CTL_CLK>; |
| 1511 | |
| 1512 | status = "disabled"; |
| 1513 | }; |
| 1514 | |
| 1515 | ufshc_mem: ufshc@1d84000 { |
| 1516 | compatible = "qcom,ufshc"; |
| 1517 | reg = <0x1d84000 0x3000>; |
| 1518 | interrupts = <0 265 0>; |
| 1519 | phys = <&ufsphy_mem>; |
| 1520 | phy-names = "ufsphy"; |
| 1521 | |
| 1522 | lanes-per-direction = <1>; |
| 1523 | dev-ref-clk-freq = <0>; /* 19.2 MHz */ |
| 1524 | |
| 1525 | clock-names = |
| 1526 | "core_clk", |
| 1527 | "bus_aggr_clk", |
| 1528 | "iface_clk", |
| 1529 | "core_clk_unipro", |
| 1530 | "core_clk_ice", |
| 1531 | "ref_clk", |
| 1532 | "tx_lane0_sync_clk", |
| 1533 | "rx_lane0_sync_clk"; |
| 1534 | clocks = |
| 1535 | <&clock_gcc GCC_UFS_PHY_AXI_HW_CTL_CLK>, |
| 1536 | <&clock_gcc GCC_AGGRE_UFS_PHY_AXI_HW_CTL_CLK>, |
| 1537 | <&clock_gcc GCC_UFS_PHY_AHB_CLK>, |
| 1538 | <&clock_gcc GCC_UFS_PHY_UNIPRO_CORE_HW_CTL_CLK>, |
| 1539 | <&clock_gcc GCC_UFS_PHY_ICE_CORE_HW_CTL_CLK>, |
| 1540 | <&clock_rpmh RPMH_CXO_CLK>, |
| 1541 | <&clock_gcc GCC_UFS_PHY_TX_SYMBOL_0_CLK>, |
| 1542 | <&clock_gcc GCC_UFS_PHY_RX_SYMBOL_0_CLK>; |
| 1543 | freq-table-hz = |
| 1544 | <50000000 200000000>, |
| 1545 | <0 0>, |
| 1546 | <0 0>, |
| 1547 | <37500000 150000000>, |
| 1548 | <75000000 300000000>, |
| 1549 | <0 0>, |
| 1550 | <0 0>, |
| 1551 | <0 0>; |
| 1552 | |
Sayali Lokhande | 9ad47f0 | 2017-08-02 12:44:31 +0530 | [diff] [blame] | 1553 | qcom,msm-bus,name = "ufshc_mem"; |
| 1554 | qcom,msm-bus,num-cases = <12>; |
| 1555 | qcom,msm-bus,num-paths = <2>; |
| 1556 | qcom,msm-bus,vectors-KBps = |
| 1557 | /* |
| 1558 | * During HS G3 UFS runs at nominal voltage corner, vote |
| 1559 | * higher bandwidth to push other buses in the data path |
| 1560 | * to run at nominal to achieve max throughput. |
| 1561 | * 4GBps pushes BIMC to run at nominal. |
| 1562 | * 200MBps pushes CNOC to run at nominal. |
| 1563 | * Vote for half of this bandwidth for HS G3 1-lane. |
| 1564 | * For max bandwidth, vote high enough to push the buses |
| 1565 | * to run in turbo voltage corner. |
| 1566 | */ |
| 1567 | <123 512 0 0>, <1 757 0 0>, /* No vote */ |
| 1568 | <123 512 922 0>, <1 757 1000 0>, /* PWM G1 */ |
| 1569 | <123 512 1844 0>, <1 757 1000 0>, /* PWM G2 */ |
| 1570 | <123 512 3688 0>, <1 757 1000 0>, /* PWM G3 */ |
| 1571 | <123 512 7376 0>, <1 757 1000 0>, /* PWM G4 */ |
| 1572 | <123 512 127796 0>, <1 757 1000 0>, /* HS G1 RA */ |
| 1573 | <123 512 255591 0>, <1 757 1000 0>, /* HS G2 RA */ |
| 1574 | <123 512 2097152 0>, <1 757 102400 0>, /* HS G3 RA */ |
| 1575 | <123 512 149422 0>, <1 757 1000 0>, /* HS G1 RB */ |
| 1576 | <123 512 298189 0>, <1 757 1000 0>, /* HS G2 RB */ |
| 1577 | <123 512 2097152 0>, <1 757 102400 0>, /* HS G3 RB */ |
| 1578 | <123 512 7643136 0>, <1 757 307200 0>; /* Max. bandwidth */ |
| 1579 | |
| 1580 | qcom,bus-vector-names = "MIN", |
| 1581 | "PWM_G1_L1", "PWM_G2_L1", "PWM_G3_L1", "PWM_G4_L1", |
| 1582 | "HS_RA_G1_L1", "HS_RA_G2_L1", "HS_RA_G3_L1", |
| 1583 | "HS_RB_G1_L1", "HS_RB_G2_L1", "HS_RB_G3_L1", |
| 1584 | "MAX"; |
| 1585 | |
| 1586 | /* PM QoS */ |
| 1587 | qcom,pm-qos-cpu-groups = <0x3f 0xC0>; |
| 1588 | qcom,pm-qos-cpu-group-latency-us = <70 70>; |
| 1589 | qcom,pm-qos-default-cpu = <0>; |
| 1590 | |
Sayali Lokhande | 099af9c | 2017-06-08 10:18:29 +0530 | [diff] [blame] | 1591 | resets = <&clock_gcc GCC_UFS_PHY_BCR>; |
| 1592 | reset-names = "core_reset"; |
| 1593 | |
| 1594 | status = "disabled"; |
| 1595 | }; |
Gaurav Kohli | b28d556 | 2017-06-12 11:26:27 +0530 | [diff] [blame] | 1596 | |
| 1597 | qcom,lpass@62400000 { |
| 1598 | compatible = "qcom,pil-tz-generic"; |
| 1599 | reg = <0x62400000 0x00100>; |
| 1600 | interrupts = <0 162 1>; |
| 1601 | |
| 1602 | vdd_cx-supply = <&pm660l_l9_level>; |
| 1603 | qcom,proxy-reg-names = "vdd_cx"; |
| 1604 | qcom,vdd_cx-uV-uA = <RPMH_REGULATOR_LEVEL_TURBO 100000>; |
| 1605 | |
| 1606 | clocks = <&clock_rpmh RPMH_CXO_CLK>; |
| 1607 | clock-names = "xo"; |
| 1608 | qcom,proxy-clock-names = "xo"; |
| 1609 | |
| 1610 | qcom,pas-id = <1>; |
| 1611 | qcom,proxy-timeout-ms = <10000>; |
| 1612 | qcom,smem-id = <423>; |
| 1613 | qcom,sysmon-id = <1>; |
| 1614 | qcom,ssctl-instance-id = <0x14>; |
| 1615 | qcom,firmware-name = "adsp"; |
Gaurav Kohli | f11f7cc | 2017-10-03 14:37:48 +0530 | [diff] [blame^] | 1616 | qcom,signal-aop; |
Gaurav Kohli | b28d556 | 2017-06-12 11:26:27 +0530 | [diff] [blame] | 1617 | memory-region = <&pil_adsp_mem>; |
| 1618 | |
| 1619 | /* GPIO inputs from lpass */ |
| 1620 | qcom,gpio-err-fatal = <&smp2pgpio_ssr_smp2p_2_in 0 0>; |
| 1621 | qcom,gpio-proxy-unvote = <&smp2pgpio_ssr_smp2p_2_in 2 0>; |
| 1622 | qcom,gpio-err-ready = <&smp2pgpio_ssr_smp2p_2_in 1 0>; |
| 1623 | qcom,gpio-stop-ack = <&smp2pgpio_ssr_smp2p_2_in 3 0>; |
| 1624 | |
| 1625 | /* GPIO output to lpass */ |
| 1626 | qcom,gpio-force-stop = <&smp2pgpio_ssr_smp2p_2_out 0 0>; |
Gaurav Kohli | f11f7cc | 2017-10-03 14:37:48 +0530 | [diff] [blame^] | 1627 | |
| 1628 | mboxes = <&qmp_aop 0>; |
| 1629 | mbox-names = "adsp-pil"; |
Gaurav Kohli | b28d556 | 2017-06-12 11:26:27 +0530 | [diff] [blame] | 1630 | status = "ok"; |
| 1631 | }; |
Mohammed Javid | 736c25c | 2017-06-19 13:23:18 +0530 | [diff] [blame] | 1632 | |
Sahitya Tummala | 02e4918 | 2017-09-19 10:54:42 +0530 | [diff] [blame] | 1633 | qcom,rmtfs_sharedmem@0 { |
| 1634 | compatible = "qcom,sharedmem-uio"; |
| 1635 | reg = <0x0 0x200000>; |
| 1636 | reg-names = "rmtfs"; |
| 1637 | qcom,client-id = <0x00000001>; |
| 1638 | }; |
| 1639 | |
Mohammed Javid | 736c25c | 2017-06-19 13:23:18 +0530 | [diff] [blame] | 1640 | qcom,rmnet-ipa { |
| 1641 | compatible = "qcom,rmnet-ipa3"; |
| 1642 | qcom,rmnet-ipa-ssr; |
| 1643 | qcom,ipa-loaduC; |
| 1644 | qcom,ipa-advertise-sg-support; |
| 1645 | qcom,ipa-napi-enable; |
| 1646 | }; |
| 1647 | |
| 1648 | ipa_hw: qcom,ipa@01e00000 { |
| 1649 | compatible = "qcom,ipa"; |
| 1650 | reg = <0x1e00000 0x34000>, |
| 1651 | <0x1e04000 0x2c000>; |
| 1652 | reg-names = "ipa-base", "gsi-base"; |
| 1653 | interrupts = |
| 1654 | <0 311 0>, |
| 1655 | <0 432 0>; |
| 1656 | interrupt-names = "ipa-irq", "gsi-irq"; |
| 1657 | qcom,ipa-hw-ver = <13>; /* IPA core version = IPAv3.5.1 */ |
| 1658 | qcom,ipa-hw-mode = <1>; |
| 1659 | qcom,ee = <0>; |
| 1660 | qcom,use-ipa-tethering-bridge; |
| 1661 | qcom,modem-cfg-emb-pipe-flt; |
| 1662 | qcom,ipa-wdi2; |
| 1663 | qcom,use-64-bit-dma-mask; |
| 1664 | qcom,arm-smmu; |
| 1665 | qcom,smmu-s1-bypass; |
| 1666 | qcom,bandwidth-vote-for-ipa; |
| 1667 | qcom,msm-bus,name = "ipa"; |
| 1668 | qcom,msm-bus,num-cases = <4>; |
| 1669 | qcom,msm-bus,num-paths = <4>; |
| 1670 | qcom,msm-bus,vectors-KBps = |
| 1671 | /* No vote */ |
| 1672 | <90 512 0 0>, |
| 1673 | <90 585 0 0>, |
| 1674 | <1 676 0 0>, |
| 1675 | <143 777 0 0>, |
| 1676 | /* SVS */ |
| 1677 | <90 512 80000 640000>, |
| 1678 | <90 585 80000 640000>, |
| 1679 | <1 676 80000 80000>, |
Mohammed Javid | 6c06548 | 2017-09-19 19:19:27 +0530 | [diff] [blame] | 1680 | <143 777 0 150>, /* IB defined for IPA clk in MHz*/ |
Mohammed Javid | 736c25c | 2017-06-19 13:23:18 +0530 | [diff] [blame] | 1681 | /* NOMINAL */ |
| 1682 | <90 512 206000 960000>, |
| 1683 | <90 585 206000 960000>, |
| 1684 | <1 676 206000 160000>, |
Mohammed Javid | 6c06548 | 2017-09-19 19:19:27 +0530 | [diff] [blame] | 1685 | <143 777 0 300>, /* IB defined for IPA clk in MHz*/ |
Mohammed Javid | 736c25c | 2017-06-19 13:23:18 +0530 | [diff] [blame] | 1686 | /* TURBO */ |
| 1687 | <90 512 206000 3600000>, |
| 1688 | <90 585 206000 3600000>, |
| 1689 | <1 676 206000 300000>, |
Mohammed Javid | 6c06548 | 2017-09-19 19:19:27 +0530 | [diff] [blame] | 1690 | <143 777 0 355>; /* IB defined for IPA clk in MHz*/ |
Mohammed Javid | 736c25c | 2017-06-19 13:23:18 +0530 | [diff] [blame] | 1691 | qcom,bus-vector-names = "MIN", "SVS", "NOMINAL", "TURBO"; |
| 1692 | |
| 1693 | /* IPA RAM mmap */ |
| 1694 | qcom,ipa-ram-mmap = < |
| 1695 | 0x280 /* ofst_start; */ |
| 1696 | 0x0 /* nat_ofst; */ |
| 1697 | 0x0 /* nat_size; */ |
| 1698 | 0x288 /* v4_flt_hash_ofst; */ |
| 1699 | 0x78 /* v4_flt_hash_size; */ |
| 1700 | 0x4000 /* v4_flt_hash_size_ddr; */ |
| 1701 | 0x308 /* v4_flt_nhash_ofst; */ |
| 1702 | 0x78 /* v4_flt_nhash_size; */ |
| 1703 | 0x4000 /* v4_flt_nhash_size_ddr; */ |
| 1704 | 0x388 /* v6_flt_hash_ofst; */ |
| 1705 | 0x78 /* v6_flt_hash_size; */ |
| 1706 | 0x4000 /* v6_flt_hash_size_ddr; */ |
| 1707 | 0x408 /* v6_flt_nhash_ofst; */ |
| 1708 | 0x78 /* v6_flt_nhash_size; */ |
| 1709 | 0x4000 /* v6_flt_nhash_size_ddr; */ |
| 1710 | 0xf /* v4_rt_num_index; */ |
| 1711 | 0x0 /* v4_modem_rt_index_lo; */ |
| 1712 | 0x7 /* v4_modem_rt_index_hi; */ |
| 1713 | 0x8 /* v4_apps_rt_index_lo; */ |
| 1714 | 0xe /* v4_apps_rt_index_hi; */ |
| 1715 | 0x488 /* v4_rt_hash_ofst; */ |
| 1716 | 0x78 /* v4_rt_hash_size; */ |
| 1717 | 0x4000 /* v4_rt_hash_size_ddr; */ |
| 1718 | 0x508 /* v4_rt_nhash_ofst; */ |
| 1719 | 0x78 /* v4_rt_nhash_size; */ |
| 1720 | 0x4000 /* v4_rt_nhash_size_ddr; */ |
| 1721 | 0xf /* v6_rt_num_index; */ |
| 1722 | 0x0 /* v6_modem_rt_index_lo; */ |
| 1723 | 0x7 /* v6_modem_rt_index_hi; */ |
| 1724 | 0x8 /* v6_apps_rt_index_lo; */ |
| 1725 | 0xe /* v6_apps_rt_index_hi; */ |
| 1726 | 0x588 /* v6_rt_hash_ofst; */ |
| 1727 | 0x78 /* v6_rt_hash_size; */ |
| 1728 | 0x4000 /* v6_rt_hash_size_ddr; */ |
| 1729 | 0x608 /* v6_rt_nhash_ofst; */ |
| 1730 | 0x78 /* v6_rt_nhash_size; */ |
| 1731 | 0x4000 /* v6_rt_nhash_size_ddr; */ |
| 1732 | 0x688 /* modem_hdr_ofst; */ |
| 1733 | 0x140 /* modem_hdr_size; */ |
| 1734 | 0x7c8 /* apps_hdr_ofst; */ |
| 1735 | 0x0 /* apps_hdr_size; */ |
| 1736 | 0x800 /* apps_hdr_size_ddr; */ |
| 1737 | 0x7d0 /* modem_hdr_proc_ctx_ofst; */ |
| 1738 | 0x200 /* modem_hdr_proc_ctx_size; */ |
| 1739 | 0x9d0 /* apps_hdr_proc_ctx_ofst; */ |
| 1740 | 0x200 /* apps_hdr_proc_ctx_size; */ |
| 1741 | 0x0 /* apps_hdr_proc_ctx_size_ddr; */ |
| 1742 | 0x0 /* modem_comp_decomp_ofst; diff */ |
| 1743 | 0x0 /* modem_comp_decomp_size; diff */ |
| 1744 | 0xbd8 /* modem_ofst; */ |
| 1745 | 0x1024 /* modem_size; */ |
| 1746 | 0x2000 /* apps_v4_flt_hash_ofst; */ |
| 1747 | 0x0 /* apps_v4_flt_hash_size; */ |
| 1748 | 0x2000 /* apps_v4_flt_nhash_ofst; */ |
| 1749 | 0x0 /* apps_v4_flt_nhash_size; */ |
| 1750 | 0x2000 /* apps_v6_flt_hash_ofst; */ |
| 1751 | 0x0 /* apps_v6_flt_hash_size; */ |
| 1752 | 0x2000 /* apps_v6_flt_nhash_ofst; */ |
| 1753 | 0x0 /* apps_v6_flt_nhash_size; */ |
| 1754 | 0x80 /* uc_info_ofst; */ |
| 1755 | 0x200 /* uc_info_size; */ |
| 1756 | 0x2000 /* end_ofst; */ |
| 1757 | 0x2000 /* apps_v4_rt_hash_ofst; */ |
| 1758 | 0x0 /* apps_v4_rt_hash_size; */ |
| 1759 | 0x2000 /* apps_v4_rt_nhash_ofst; */ |
| 1760 | 0x0 /* apps_v4_rt_nhash_size; */ |
| 1761 | 0x2000 /* apps_v6_rt_hash_ofst; */ |
| 1762 | 0x0 /* apps_v6_rt_hash_size; */ |
| 1763 | 0x2000 /* apps_v6_rt_nhash_ofst; */ |
| 1764 | 0x0 /* apps_v6_rt_nhash_size; */ |
| 1765 | 0x1c00 /* uc_event_ring_ofst; */ |
| 1766 | 0x400 /* uc_event_ring_size; */ |
| 1767 | >; |
| 1768 | |
| 1769 | /* smp2p gpio information */ |
| 1770 | qcom,smp2pgpio_map_ipa_1_out { |
| 1771 | compatible = "qcom,smp2pgpio-map-ipa-1-out"; |
| 1772 | gpios = <&smp2pgpio_ipa_1_out 0 0>; |
| 1773 | }; |
| 1774 | |
| 1775 | qcom,smp2pgpio_map_ipa_1_in { |
| 1776 | compatible = "qcom,smp2pgpio-map-ipa-1-in"; |
| 1777 | gpios = <&smp2pgpio_ipa_1_in 0 0>; |
| 1778 | }; |
| 1779 | |
| 1780 | ipa_smmu_ap: ipa_smmu_ap { |
| 1781 | compatible = "qcom,ipa-smmu-ap-cb"; |
| 1782 | iommus = <&apps_smmu 0x720 0x0>; |
| 1783 | qcom,iova-mapping = <0x20000000 0x40000000>; |
| 1784 | }; |
| 1785 | |
| 1786 | ipa_smmu_wlan: ipa_smmu_wlan { |
| 1787 | compatible = "qcom,ipa-smmu-wlan-cb"; |
| 1788 | iommus = <&apps_smmu 0x721 0x0>; |
| 1789 | }; |
| 1790 | |
| 1791 | ipa_smmu_uc: ipa_smmu_uc { |
| 1792 | compatible = "qcom,ipa-smmu-uc-cb"; |
| 1793 | iommus = <&apps_smmu 0x722 0x0>; |
| 1794 | qcom,iova-mapping = <0x40000000 0x20000000>; |
| 1795 | }; |
| 1796 | }; |
| 1797 | |
| 1798 | qcom,ipa_fws { |
| 1799 | compatible = "qcom,pil-tz-generic"; |
| 1800 | qcom,pas-id = <0xf>; |
| 1801 | qcom,firmware-name = "ipa_fws"; |
| 1802 | }; |
Gaurav Kohli | 04a55af | 2017-07-19 17:25:30 +0530 | [diff] [blame] | 1803 | |
| 1804 | pil_modem: qcom,mss@4080000 { |
| 1805 | compatible = "qcom,pil-q6v55-mss"; |
| 1806 | reg = <0x4080000 0x100>, |
| 1807 | <0x1f63000 0x008>, |
| 1808 | <0x1f65000 0x008>, |
| 1809 | <0x1f64000 0x008>, |
| 1810 | <0x4180000 0x020>, |
| 1811 | <0xc2b0000 0x004>, |
| 1812 | <0xb2e0100 0x004>, |
| 1813 | <0x4180044 0x004>; |
| 1814 | reg-names = "qdsp6_base", "halt_q6", "halt_modem", |
| 1815 | "halt_nc", "rmb_base", "restart_reg", |
| 1816 | "pdc_sync", "alt_reset"; |
| 1817 | |
| 1818 | clocks = <&clock_rpmh RPMH_CXO_CLK>, |
| 1819 | <&clock_gcc GCC_MSS_CFG_AHB_CLK>, |
| 1820 | <&clock_gcc GCC_MSS_Q6_MEMNOC_AXI_CLK>, |
| 1821 | <&clock_gcc GCC_BOOT_ROM_AHB_CLK>, |
| 1822 | <&clock_gcc GCC_MSS_GPLL0_DIV_CLK_SRC>, |
| 1823 | <&clock_gcc GCC_MSS_SNOC_AXI_CLK>, |
| 1824 | <&clock_gcc GCC_MSS_MFAB_AXIS_CLK>, |
| 1825 | <&clock_gcc GCC_PRNG_AHB_CLK>; |
| 1826 | clock-names = "xo", "iface_clk", "bus_clk", |
| 1827 | "mem_clk", "gpll0_mss_clk", "snoc_axi_clk", |
| 1828 | "mnoc_axi_clk", "prng_clk"; |
| 1829 | qcom,proxy-clock-names = "xo", "prng_clk"; |
| 1830 | qcom,active-clock-names = "iface_clk", "bus_clk", "mem_clk", |
| 1831 | "gpll0_mss_clk", "snoc_axi_clk", |
| 1832 | "mnoc_axi_clk"; |
| 1833 | |
| 1834 | interrupts = <0 266 1>; |
| 1835 | vdd_cx-supply = <&pm660l_s3_level>; |
| 1836 | vdd_cx-voltage = <RPMH_REGULATOR_LEVEL_TURBO>; |
| 1837 | vdd_mx-supply = <&pm660l_s1_level>; |
| 1838 | vdd_mx-uV = <RPMH_REGULATOR_LEVEL_TURBO>; |
| 1839 | qcom,firmware-name = "modem"; |
| 1840 | qcom,pil-self-auth; |
| 1841 | qcom,sysmon-id = <0>; |
| 1842 | qcom,ssctl-instance-id = <0x12>; |
| 1843 | qcom,override-acc; |
Gaurav Kohli | f11f7cc | 2017-10-03 14:37:48 +0530 | [diff] [blame^] | 1844 | qcom,signal-aop; |
Gaurav Kohli | 04a55af | 2017-07-19 17:25:30 +0530 | [diff] [blame] | 1845 | qcom,qdsp6v65-1-0; |
Kyle Yan | f248e35 | 2017-09-14 11:15:58 -0700 | [diff] [blame] | 1846 | qcom,mss_pdc_offset = <8>; |
Gaurav Kohli | 04a55af | 2017-07-19 17:25:30 +0530 | [diff] [blame] | 1847 | status = "ok"; |
| 1848 | memory-region = <&pil_modem_mem>; |
| 1849 | qcom,mem-protect-id = <0xF>; |
| 1850 | |
| 1851 | /* GPIO inputs from mss */ |
| 1852 | qcom,gpio-err-fatal = <&smp2pgpio_ssr_smp2p_1_in 0 0>; |
| 1853 | qcom,gpio-err-ready = <&smp2pgpio_ssr_smp2p_1_in 1 0>; |
| 1854 | qcom,gpio-proxy-unvote = <&smp2pgpio_ssr_smp2p_1_in 2 0>; |
| 1855 | qcom,gpio-stop-ack = <&smp2pgpio_ssr_smp2p_1_in 3 0>; |
| 1856 | qcom,gpio-shutdown-ack = <&smp2pgpio_ssr_smp2p_1_in 7 0>; |
| 1857 | |
| 1858 | /* GPIO output to mss */ |
| 1859 | qcom,gpio-force-stop = <&smp2pgpio_ssr_smp2p_1_out 0 0>; |
Gaurav Kohli | f11f7cc | 2017-10-03 14:37:48 +0530 | [diff] [blame^] | 1860 | |
| 1861 | mboxes = <&qmp_aop 0>; |
| 1862 | mbox-names = "mss-pil"; |
Gaurav Kohli | 04a55af | 2017-07-19 17:25:30 +0530 | [diff] [blame] | 1863 | qcom,mba-mem@0 { |
| 1864 | compatible = "qcom,pil-mba-mem"; |
| 1865 | memory-region = <&pil_mba_mem>; |
| 1866 | }; |
| 1867 | }; |
Gaurav Kohli | 985a99d | 2017-07-25 18:46:45 +0530 | [diff] [blame] | 1868 | |
| 1869 | qcom,venus@aae0000 { |
| 1870 | compatible = "qcom,pil-tz-generic"; |
| 1871 | reg = <0xaae0000 0x4000>; |
| 1872 | |
| 1873 | vdd-supply = <&venus_gdsc>; |
| 1874 | qcom,proxy-reg-names = "vdd"; |
| 1875 | |
| 1876 | clocks = <&clock_videocc VIDEO_CC_VENUS_CTL_CORE_CLK>, |
| 1877 | <&clock_videocc VIDEO_CC_VENUS_AHB_CLK>, |
| 1878 | <&clock_videocc VIDEO_CC_VENUS_CTL_AXI_CLK>; |
| 1879 | clock-names = "core_clk", "iface_clk", "bus_clk"; |
| 1880 | qcom,proxy-clock-names = "core_clk", "iface_clk", "bus_clk"; |
| 1881 | |
| 1882 | qcom,pas-id = <9>; |
| 1883 | qcom,msm-bus,name = "pil-venus"; |
| 1884 | qcom,msm-bus,num-cases = <2>; |
| 1885 | qcom,msm-bus,num-paths = <1>; |
| 1886 | qcom,msm-bus,vectors-KBps = |
| 1887 | <63 512 0 0>, |
| 1888 | <63 512 0 304000>; |
| 1889 | qcom,proxy-timeout-ms = <100>; |
| 1890 | qcom,firmware-name = "venus"; |
| 1891 | memory-region = <&pil_video_mem>; |
| 1892 | status = "ok"; |
| 1893 | }; |
Gaurav Kohli | 106f488 | 2017-06-29 12:29:12 +0530 | [diff] [blame] | 1894 | |
| 1895 | qcom,turing@8300000 { |
| 1896 | compatible = "qcom,pil-tz-generic"; |
| 1897 | reg = <0x8300000 0x100000>; |
| 1898 | interrupts = <0 578 1>; |
| 1899 | |
| 1900 | vdd_cx-supply = <&pm660l_s3_level>; |
| 1901 | qcom,proxy-reg-names = "vdd_cx"; |
| 1902 | qcom,vdd_cx-uV-uA = <RPMH_REGULATOR_LEVEL_TURBO 100000>; |
| 1903 | |
| 1904 | clocks = <&clock_rpmh RPMH_CXO_CLK>; |
| 1905 | clock-names = "xo"; |
| 1906 | qcom,proxy-clock-names = "xo"; |
| 1907 | |
| 1908 | qcom,pas-id = <18>; |
| 1909 | qcom,proxy-timeout-ms = <10000>; |
| 1910 | qcom,smem-id = <601>; |
| 1911 | qcom,sysmon-id = <7>; |
| 1912 | qcom,ssctl-instance-id = <0x17>; |
| 1913 | qcom,firmware-name = "cdsp"; |
Gaurav Kohli | f11f7cc | 2017-10-03 14:37:48 +0530 | [diff] [blame^] | 1914 | qcom,signal-aop; |
Gaurav Kohli | 106f488 | 2017-06-29 12:29:12 +0530 | [diff] [blame] | 1915 | memory-region = <&pil_cdsp_mem>; |
| 1916 | |
| 1917 | /* GPIO inputs from turing */ |
| 1918 | qcom,gpio-err-fatal = <&smp2pgpio_ssr_smp2p_5_in 0 0>; |
| 1919 | qcom,gpio-proxy-unvote = <&smp2pgpio_ssr_smp2p_5_in 2 0>; |
| 1920 | qcom,gpio-err-ready = <&smp2pgpio_ssr_smp2p_5_in 1 0>; |
| 1921 | qcom,gpio-stop-ack = <&smp2pgpio_ssr_smp2p_5_in 3 0>; |
| 1922 | |
| 1923 | /* GPIO output to turing*/ |
| 1924 | qcom,gpio-force-stop = <&smp2pgpio_ssr_smp2p_5_out 0 0>; |
Gaurav Kohli | f11f7cc | 2017-10-03 14:37:48 +0530 | [diff] [blame^] | 1925 | |
| 1926 | mboxes = <&qmp_aop 0>; |
| 1927 | mbox-names = "cdsp-pil"; |
Gaurav Kohli | 106f488 | 2017-06-29 12:29:12 +0530 | [diff] [blame] | 1928 | status = "ok"; |
| 1929 | }; |
Vijay Viswanath | eac7272 | 2017-06-05 11:01:38 +0530 | [diff] [blame] | 1930 | |
| 1931 | sdhc_1: sdhci@7c4000 { |
| 1932 | compatible = "qcom,sdhci-msm-v5"; |
| 1933 | reg = <0x7C4000 0x1000>, <0x7C5000 0x1000>; |
| 1934 | reg-names = "hc_mem", "cmdq_mem"; |
| 1935 | |
| 1936 | interrupts = <0 641 0>, <0 644 0>; |
| 1937 | interrupt-names = "hc_irq", "pwr_irq"; |
| 1938 | |
| 1939 | qcom,bus-width = <8>; |
| 1940 | qcom,large-address-bus; |
| 1941 | |
Vijay Viswanath | 6f83cbf | 2017-08-30 16:41:48 +0530 | [diff] [blame] | 1942 | qcom,clk-rates = <400000 20000000 25000000 50000000 100000000 |
| 1943 | 192000000 384000000>; |
| 1944 | qcom,bus-speed-mode = "HS400_1p8v", "HS200_1p8v", "DDR_1p8v"; |
| 1945 | |
| 1946 | qcom,devfreq,freq-table = <50000000 200000000>; |
| 1947 | |
Vijay Viswanath | 6ef06c1 | 2017-09-20 16:06:18 +0530 | [diff] [blame] | 1948 | qcom,msm-bus,name = "sdhc1"; |
| 1949 | qcom,msm-bus,num-cases = <9>; |
| 1950 | qcom,msm-bus,num-paths = <2>; |
| 1951 | qcom,msm-bus,vectors-KBps = |
| 1952 | /* No vote */ |
| 1953 | <78 512 0 0>, <1 606 0 0>, |
| 1954 | /* 400 KB/s*/ |
| 1955 | <78 512 1046 1600>, |
| 1956 | <1 606 1600 1600>, |
| 1957 | /* 20 MB/s */ |
| 1958 | <78 512 52286 80000>, |
| 1959 | <1 606 80000 80000>, |
| 1960 | /* 25 MB/s */ |
| 1961 | <78 512 65360 100000>, |
| 1962 | <1 606 100000 100000>, |
| 1963 | /* 50 MB/s */ |
| 1964 | <78 512 130718 200000>, |
| 1965 | <1 606 133320 133320>, |
| 1966 | /* 100 MB/s */ |
| 1967 | <78 512 130718 200000>, |
| 1968 | <1 606 150000 150000>, |
| 1969 | /* 200 MB/s */ |
| 1970 | <78 512 261438 400000>, |
| 1971 | <1 606 300000 300000>, |
| 1972 | /* 400 MB/s */ |
| 1973 | <78 512 261438 400000>, |
| 1974 | <1 606 300000 300000>, |
| 1975 | /* Max. bandwidth */ |
| 1976 | <78 512 1338562 4096000>, |
| 1977 | <1 606 1338562 4096000>; |
| 1978 | qcom,bus-bw-vectors-bps = <0 400000 20000000 25000000 50000000 |
| 1979 | 100000000 200000000 400000000 4294967295>; |
| 1980 | |
| 1981 | /* PM QoS */ |
| 1982 | qcom,pm-qos-irq-type = "affine_irq"; |
| 1983 | qcom,pm-qos-irq-latency = <70 70>; |
| 1984 | qcom,pm-qos-cpu-groups = <0x3f 0xc0>; |
| 1985 | qcom,pm-qos-cmdq-latency-us = <70 70>, <70 70>; |
| 1986 | qcom,pm-qos-legacy-latency-us = <70 70>, <70 70>; |
| 1987 | |
Vijay Viswanath | eac7272 | 2017-06-05 11:01:38 +0530 | [diff] [blame] | 1988 | clocks = <&clock_gcc GCC_SDCC1_AHB_CLK>, |
| 1989 | <&clock_gcc GCC_SDCC1_APPS_CLK>; |
| 1990 | clock-names = "iface_clk", "core_clk"; |
| 1991 | |
| 1992 | qcom,nonremovable; |
| 1993 | |
| 1994 | qcom,scaling-lower-bus-speed-mode = "DDR52"; |
| 1995 | status = "disabled"; |
| 1996 | }; |
Tharun Kumar Merugu | 03380d8 | 2017-08-08 13:04:36 +0530 | [diff] [blame] | 1997 | |
Vijay Viswanath | ee4340d | 2017-08-28 09:50:18 +0530 | [diff] [blame] | 1998 | sdhc_2: sdhci@8804000 { |
| 1999 | compatible = "qcom,sdhci-msm-v5"; |
| 2000 | reg = <0x8804000 0x1000>; |
| 2001 | reg-names = "hc_mem"; |
| 2002 | |
| 2003 | interrupts = <0 204 0>, <0 222 0>; |
| 2004 | interrupt-names = "hc_irq", "pwr_irq"; |
| 2005 | |
| 2006 | qcom,bus-width = <4>; |
| 2007 | qcom,large-address-bus; |
| 2008 | |
Vijay Viswanath | 6f83cbf | 2017-08-30 16:41:48 +0530 | [diff] [blame] | 2009 | qcom,clk-rates = <400000 20000000 25000000 |
| 2010 | 50000000 100000000 201500000>; |
| 2011 | qcom,bus-speed-mode = "SDR12", "SDR25", "SDR50", "DDR50", |
| 2012 | "SDR104"; |
| 2013 | |
| 2014 | qcom,devfreq,freq-table = <50000000 201500000>; |
Vijay Viswanath | 6ef06c1 | 2017-09-20 16:06:18 +0530 | [diff] [blame] | 2015 | |
| 2016 | qcom,msm-bus,name = "sdhc2"; |
| 2017 | qcom,msm-bus,num-cases = <8>; |
| 2018 | qcom,msm-bus,num-paths = <2>; |
| 2019 | qcom,msm-bus,vectors-KBps = |
| 2020 | /* No vote */ |
| 2021 | <81 512 0 0>, <1 608 0 0>, |
| 2022 | /* 400 KB/s*/ |
| 2023 | <81 512 1046 1600>, |
| 2024 | <1 608 1600 1600>, |
| 2025 | /* 20 MB/s */ |
| 2026 | <81 512 52286 80000>, |
| 2027 | <1 608 80000 80000>, |
| 2028 | /* 25 MB/s */ |
| 2029 | <81 512 65360 100000>, |
| 2030 | <1 608 100000 100000>, |
| 2031 | /* 50 MB/s */ |
| 2032 | <81 512 130718 200000>, |
| 2033 | <1 608 133320 133320>, |
| 2034 | /* 100 MB/s */ |
| 2035 | <81 512 261438 200000>, |
| 2036 | <1 608 150000 150000>, |
| 2037 | /* 200 MB/s */ |
| 2038 | <81 512 261438 400000>, |
| 2039 | <1 608 300000 300000>, |
| 2040 | /* Max. bandwidth */ |
| 2041 | <81 512 1338562 4096000>, |
| 2042 | <1 608 1338562 4096000>; |
| 2043 | qcom,bus-bw-vectors-bps = <0 400000 20000000 25000000 50000000 |
| 2044 | 100000000 200000000 4294967295>; |
| 2045 | |
| 2046 | /* PM QoS */ |
| 2047 | qcom,pm-qos-irq-type = "affine_irq"; |
| 2048 | qcom,pm-qos-irq-latency = <70 70>; |
| 2049 | qcom,pm-qos-cpu-groups = <0x3f 0xc0>; |
| 2050 | qcom,pm-qos-legacy-latency-us = <70 70>, <70 70>; |
| 2051 | |
Vijay Viswanath | ee4340d | 2017-08-28 09:50:18 +0530 | [diff] [blame] | 2052 | clocks = <&clock_gcc GCC_SDCC2_AHB_CLK>, |
| 2053 | <&clock_gcc GCC_SDCC2_APPS_CLK>; |
| 2054 | clock-names = "iface_clk", "core_clk"; |
| 2055 | |
| 2056 | status = "disabled"; |
| 2057 | }; |
| 2058 | |
Tharun Kumar Merugu | 03380d8 | 2017-08-08 13:04:36 +0530 | [diff] [blame] | 2059 | qcom,msm-cdsp-loader { |
| 2060 | compatible = "qcom,cdsp-loader"; |
| 2061 | qcom,proc-img-to-load = "cdsp"; |
| 2062 | }; |
| 2063 | |
| 2064 | qcom,msm-adsprpc-mem { |
| 2065 | compatible = "qcom,msm-adsprpc-mem-region"; |
| 2066 | memory-region = <&adsp_mem>; |
| 2067 | }; |
| 2068 | |
| 2069 | qcom,msm_fastrpc { |
| 2070 | compatible = "qcom,msm-fastrpc-compute"; |
| 2071 | |
| 2072 | qcom,msm_fastrpc_compute_cb1 { |
| 2073 | compatible = "qcom,msm-fastrpc-compute-cb"; |
| 2074 | label = "cdsprpc-smd"; |
| 2075 | iommus = <&apps_smmu 0x1421 0x30>; |
| 2076 | dma-coherent; |
| 2077 | }; |
| 2078 | qcom,msm_fastrpc_compute_cb2 { |
| 2079 | compatible = "qcom,msm-fastrpc-compute-cb"; |
| 2080 | label = "cdsprpc-smd"; |
| 2081 | iommus = <&apps_smmu 0x1422 0x30>; |
| 2082 | dma-coherent; |
| 2083 | }; |
| 2084 | qcom,msm_fastrpc_compute_cb3 { |
| 2085 | compatible = "qcom,msm-fastrpc-compute-cb"; |
| 2086 | label = "cdsprpc-smd"; |
| 2087 | iommus = <&apps_smmu 0x1423 0x30>; |
| 2088 | dma-coherent; |
| 2089 | }; |
| 2090 | qcom,msm_fastrpc_compute_cb4 { |
| 2091 | compatible = "qcom,msm-fastrpc-compute-cb"; |
| 2092 | label = "cdsprpc-smd"; |
| 2093 | iommus = <&apps_smmu 0x1424 0x30>; |
| 2094 | dma-coherent; |
| 2095 | }; |
| 2096 | qcom,msm_fastrpc_compute_cb5 { |
| 2097 | compatible = "qcom,msm-fastrpc-compute-cb"; |
| 2098 | label = "cdsprpc-smd"; |
| 2099 | iommus = <&apps_smmu 0x1425 0x30>; |
| 2100 | dma-coherent; |
| 2101 | }; |
| 2102 | qcom,msm_fastrpc_compute_cb6 { |
| 2103 | compatible = "qcom,msm-fastrpc-compute-cb"; |
| 2104 | label = "cdsprpc-smd"; |
| 2105 | iommus = <&apps_smmu 0x1426 0x30>; |
| 2106 | dma-coherent; |
| 2107 | }; |
| 2108 | qcom,msm_fastrpc_compute_cb7 { |
| 2109 | compatible = "qcom,msm-fastrpc-compute-cb"; |
| 2110 | label = "cdsprpc-smd"; |
| 2111 | qcom,secure-context-bank; |
| 2112 | iommus = <&apps_smmu 0x1429 0x30>; |
| 2113 | dma-coherent; |
| 2114 | }; |
| 2115 | qcom,msm_fastrpc_compute_cb8 { |
| 2116 | compatible = "qcom,msm-fastrpc-compute-cb"; |
| 2117 | label = "cdsprpc-smd"; |
| 2118 | qcom,secure-context-bank; |
| 2119 | iommus = <&apps_smmu 0x142A 0x30>; |
| 2120 | dma-coherent; |
| 2121 | }; |
| 2122 | qcom,msm_fastrpc_compute_cb9 { |
| 2123 | compatible = "qcom,msm-fastrpc-compute-cb"; |
| 2124 | label = "adsprpc-smd"; |
| 2125 | iommus = <&apps_smmu 0x1803 0x0>; |
| 2126 | dma-coherent; |
| 2127 | }; |
| 2128 | qcom,msm_fastrpc_compute_cb10 { |
| 2129 | compatible = "qcom,msm-fastrpc-compute-cb"; |
| 2130 | label = "adsprpc-smd"; |
| 2131 | iommus = <&apps_smmu 0x1804 0x0>; |
| 2132 | dma-coherent; |
| 2133 | }; |
| 2134 | qcom,msm_fastrpc_compute_cb11 { |
| 2135 | compatible = "qcom,msm-fastrpc-compute-cb"; |
| 2136 | label = "adsprpc-smd"; |
| 2137 | iommus = <&apps_smmu 0x1805 0x0>; |
| 2138 | dma-coherent; |
| 2139 | }; |
| 2140 | }; |
Anurag Chouhan | 7563b53 | 2017-09-12 15:49:16 +0530 | [diff] [blame] | 2141 | |
| 2142 | qcom,icnss@18800000 { |
| 2143 | status = "disabled"; |
| 2144 | compatible = "qcom,icnss"; |
| 2145 | reg = <0x18800000 0x800000>; |
| 2146 | interrupts = <0 414 0 /* CE0 */ >, |
| 2147 | <0 415 0 /* CE1 */ >, |
| 2148 | <0 416 0 /* CE2 */ >, |
| 2149 | <0 417 0 /* CE3 */ >, |
| 2150 | <0 418 0 /* CE4 */ >, |
| 2151 | <0 419 0 /* CE5 */ >, |
| 2152 | <0 420 0 /* CE6 */ >, |
| 2153 | <0 421 0 /* CE7 */ >, |
| 2154 | <0 422 0 /* CE8 */ >, |
| 2155 | <0 423 0 /* CE9 */ >, |
| 2156 | <0 424 0 /* CE10 */ >, |
| 2157 | <0 425 0 /* CE11 */ >; |
| 2158 | qcom,wlan-msa-memory = <0x100000>; |
| 2159 | qcom,smmu-s1-bypass; |
| 2160 | }; |
Santosh Mardi | 077e7eb | 2017-09-11 18:53:47 +0530 | [diff] [blame] | 2161 | |
| 2162 | cpubw: qcom,cpubw { |
| 2163 | compatible = "qcom,devbw"; |
| 2164 | governor = "performance"; |
| 2165 | qcom,src-dst-ports = |
| 2166 | <MSM_BUS_MASTER_AMPSS_M0 MSM_BUS_SLAVE_LLCC>; |
| 2167 | qcom,active-only; |
| 2168 | qcom,bw-tbl = |
Santosh Mardi | 9d208ff | 2017-09-25 11:16:17 +0530 | [diff] [blame] | 2169 | < MHZ_TO_MBPS(150, 16) >, /* 2288 MB/s */ |
| 2170 | < MHZ_TO_MBPS(300, 16) >, /* 4577 MB/s */ |
| 2171 | < MHZ_TO_MBPS(466, 16) >, /* 7110 MB/s */ |
| 2172 | < MHZ_TO_MBPS(600, 16) >, /* 9155 MB/s */ |
| 2173 | < MHZ_TO_MBPS(806, 16) >, /* 12298 MB/s */ |
| 2174 | < MHZ_TO_MBPS(933, 16) >; /* 14236 MB/s */ |
Santosh Mardi | 077e7eb | 2017-09-11 18:53:47 +0530 | [diff] [blame] | 2175 | }; |
| 2176 | |
| 2177 | bwmon: qcom,cpu-bwmon { |
| 2178 | compatible = "qcom,bimc-bwmon4"; |
| 2179 | reg = <0x1436400 0x300>, <0x1436300 0x200>; |
| 2180 | reg-names = "base", "global_base"; |
| 2181 | interrupts = <0 581 4>; |
| 2182 | qcom,mport = <0>; |
| 2183 | qcom,hw-timer-hz = <19200000>; |
| 2184 | qcom,target-dev = <&cpubw>; |
| 2185 | }; |
| 2186 | |
| 2187 | llccbw: qcom,llccbw { |
| 2188 | compatible = "qcom,devbw"; |
| 2189 | governor = "powersave"; |
| 2190 | qcom,src-dst-ports = |
| 2191 | <MSM_BUS_MASTER_LLCC MSM_BUS_SLAVE_EBI_CH0>; |
| 2192 | qcom,active-only; |
| 2193 | qcom,bw-tbl = |
Santosh Mardi | 9d208ff | 2017-09-25 11:16:17 +0530 | [diff] [blame] | 2194 | < MHZ_TO_MBPS( 100, 4) >, /* 381 MB/s */ |
| 2195 | < MHZ_TO_MBPS( 200, 4) >, /* 762 MB/s */ |
| 2196 | < MHZ_TO_MBPS( 300, 4) >, /* 1144 MB/s */ |
| 2197 | < MHZ_TO_MBPS( 451, 4) >, /* 1720 MB/s */ |
| 2198 | < MHZ_TO_MBPS( 547, 4) >, /* 2086 MB/s */ |
| 2199 | < MHZ_TO_MBPS( 681, 4) >, /* 2597 MB/s */ |
| 2200 | < MHZ_TO_MBPS( 768, 4) >, /* 2929 MB/s */ |
| 2201 | < MHZ_TO_MBPS(1017, 4) >, /* 3879 MB/s */ |
| 2202 | < MHZ_TO_MBPS(1353, 4) >, /* 5161 MB/s */ |
| 2203 | < MHZ_TO_MBPS(1555, 4) >, /* 5931 MB/s */ |
| 2204 | < MHZ_TO_MBPS(1804, 4) >; /* 6881 MB/s */ |
Santosh Mardi | 077e7eb | 2017-09-11 18:53:47 +0530 | [diff] [blame] | 2205 | }; |
| 2206 | |
| 2207 | llcc_bwmon: qcom,llcc-bwmon { |
| 2208 | compatible = "qcom,bimc-bwmon5"; |
| 2209 | reg = <0x0114a000 0x1000>; |
| 2210 | reg-names = "base"; |
| 2211 | interrupts = <GIC_SPI 580 IRQ_TYPE_LEVEL_HIGH>; |
| 2212 | qcom,hw-timer-hz = <19200000>; |
| 2213 | qcom,target-dev = <&llccbw>; |
| 2214 | qcom,count-unit = <0x200000>; |
| 2215 | qcom,byte-mid-mask = <0xe000>; |
| 2216 | qcom,byte-mid-match = <0xe000>; |
| 2217 | }; |
| 2218 | |
| 2219 | memlat_cpu0: qcom,memlat-cpu0 { |
| 2220 | compatible = "qcom,devbw"; |
| 2221 | governor = "powersave"; |
| 2222 | qcom,src-dst-ports = <1 512>; |
| 2223 | qcom,active-only; |
| 2224 | qcom,bw-tbl = |
Santosh Mardi | 9d208ff | 2017-09-25 11:16:17 +0530 | [diff] [blame] | 2225 | < MHZ_TO_MBPS( 100, 4) >, /* 381 MB/s */ |
| 2226 | < MHZ_TO_MBPS( 200, 4) >, /* 762 MB/s */ |
| 2227 | < MHZ_TO_MBPS( 300, 4) >, /* 1144 MB/s */ |
| 2228 | < MHZ_TO_MBPS( 451, 4) >, /* 1720 MB/s */ |
| 2229 | < MHZ_TO_MBPS( 547, 4) >, /* 2086 MB/s */ |
| 2230 | < MHZ_TO_MBPS( 681, 4) >, /* 2597 MB/s */ |
| 2231 | < MHZ_TO_MBPS( 768, 4) >, /* 2929 MB/s */ |
| 2232 | < MHZ_TO_MBPS(1017, 4) >, /* 3879 MB/s */ |
| 2233 | < MHZ_TO_MBPS(1353, 4) >, /* 5161 MB/s */ |
| 2234 | < MHZ_TO_MBPS(1555, 4) >, /* 5931 MB/s */ |
| 2235 | < MHZ_TO_MBPS(1804, 4) >; /* 6881 MB/s */ |
Santosh Mardi | 077e7eb | 2017-09-11 18:53:47 +0530 | [diff] [blame] | 2236 | }; |
| 2237 | |
| 2238 | memlat_cpu4: qcom,memlat-cpu4 { |
| 2239 | compatible = "qcom,devbw"; |
| 2240 | governor = "powersave"; |
| 2241 | qcom,src-dst-ports = <1 512>; |
| 2242 | qcom,active-only; |
| 2243 | status = "ok"; |
| 2244 | qcom,bw-tbl = |
Santosh Mardi | 9d208ff | 2017-09-25 11:16:17 +0530 | [diff] [blame] | 2245 | < MHZ_TO_MBPS( 100, 4) >, /* 381 MB/s */ |
| 2246 | < MHZ_TO_MBPS( 200, 4) >, /* 762 MB/s */ |
| 2247 | < MHZ_TO_MBPS( 300, 4) >, /* 1144 MB/s */ |
| 2248 | < MHZ_TO_MBPS( 451, 4) >, /* 1720 MB/s */ |
| 2249 | < MHZ_TO_MBPS( 547, 4) >, /* 2086 MB/s */ |
| 2250 | < MHZ_TO_MBPS( 681, 4) >, /* 2597 MB/s */ |
| 2251 | < MHZ_TO_MBPS( 768, 4) >, /* 2929 MB/s */ |
| 2252 | < MHZ_TO_MBPS(1017, 4) >, /* 3879 MB/s */ |
| 2253 | < MHZ_TO_MBPS(1353, 4) >, /* 5161 MB/s */ |
| 2254 | < MHZ_TO_MBPS(1555, 4) >, /* 5931 MB/s */ |
| 2255 | < MHZ_TO_MBPS(1804, 4) >; /* 6881 MB/s */ |
Santosh Mardi | 077e7eb | 2017-09-11 18:53:47 +0530 | [diff] [blame] | 2256 | }; |
| 2257 | |
| 2258 | devfreq_memlat_0: qcom,cpu0-memlat-mon { |
| 2259 | compatible = "qcom,arm-memlat-mon"; |
| 2260 | qcom,cpulist = <&CPU0 &CPU1 &CPU2 &CPU3>; |
| 2261 | qcom,target-dev = <&memlat_cpu0>; |
| 2262 | qcom,cachemiss-ev = <0x24>; |
| 2263 | qcom,core-dev-table = |
Santosh Mardi | 9d208ff | 2017-09-25 11:16:17 +0530 | [diff] [blame] | 2264 | < 748800 MHZ_TO_MBPS( 300, 4) >, |
| 2265 | < 998400 MHZ_TO_MBPS( 451, 4) >, |
| 2266 | < 1209600 MHZ_TO_MBPS( 547, 4) >, |
| 2267 | < 1497600 MHZ_TO_MBPS( 768, 4) >, |
| 2268 | < 1728000 MHZ_TO_MBPS(1017, 4) >; |
Santosh Mardi | 077e7eb | 2017-09-11 18:53:47 +0530 | [diff] [blame] | 2269 | }; |
| 2270 | |
| 2271 | devfreq_memlat_4: qcom,cpu4-memlat-mon { |
| 2272 | compatible = "qcom,arm-memlat-mon"; |
| 2273 | qcom,cpulist = <&CPU4 &CPU5 &CPU6 &CPU7>; |
| 2274 | qcom,target-dev = <&memlat_cpu4>; |
| 2275 | qcom,cachemiss-ev = <0x24>; |
| 2276 | qcom,core-dev-table = |
Santosh Mardi | 9d208ff | 2017-09-25 11:16:17 +0530 | [diff] [blame] | 2277 | < 787200 MHZ_TO_MBPS( 300, 4) >, |
| 2278 | < 1113600 MHZ_TO_MBPS( 547, 4) >, |
| 2279 | < 1344000 MHZ_TO_MBPS(1017, 4) >, |
| 2280 | < 1900800 MHZ_TO_MBPS(1555, 4) >, |
| 2281 | < 2438400 MHZ_TO_MBPS(1804, 4) >; |
Santosh Mardi | 077e7eb | 2017-09-11 18:53:47 +0530 | [diff] [blame] | 2282 | }; |
| 2283 | |
| 2284 | l3_cpu0: qcom,l3-cpu0 { |
| 2285 | compatible = "devfreq-simple-dev"; |
| 2286 | clock-names = "devfreq_clk"; |
| 2287 | clocks = <&clock_cpucc L3_CLUSTER0_VOTE_CLK>; |
| 2288 | governor = "performance"; |
| 2289 | }; |
| 2290 | |
| 2291 | l3_cpu4: qcom,l3-cpu4 { |
| 2292 | compatible = "devfreq-simple-dev"; |
| 2293 | clock-names = "devfreq_clk"; |
| 2294 | clocks = <&clock_cpucc L3_CLUSTER1_VOTE_CLK>; |
| 2295 | governor = "performance"; |
| 2296 | }; |
| 2297 | |
| 2298 | devfreq_l3lat_0: qcom,cpu0-l3lat-mon { |
| 2299 | compatible = "qcom,arm-memlat-mon"; |
| 2300 | qcom,cpulist = <&CPU0 &CPU1 &CPU2 &CPU3>; |
| 2301 | qcom,target-dev = <&l3_cpu0>; |
| 2302 | qcom,cachemiss-ev = <0x17>; |
| 2303 | qcom,core-dev-table = |
| 2304 | < 748800 566400000 >, |
| 2305 | < 998400 787200000 >, |
| 2306 | < 1209660 940800000 >, |
| 2307 | < 1497600 1190400000 >, |
| 2308 | < 1612800 1382400000 >, |
| 2309 | < 1728000 1440000000 >; |
| 2310 | }; |
| 2311 | |
| 2312 | devfreq_l3lat_4: qcom,cpu4-l3lat-mon { |
| 2313 | compatible = "qcom,arm-memlat-mon"; |
| 2314 | qcom,cpulist = <&CPU4 &CPU5 &CPU6 &CPU7>; |
| 2315 | qcom,target-dev = <&l3_cpu4>; |
| 2316 | qcom,cachemiss-ev = <0x17>; |
| 2317 | qcom,core-dev-table = |
| 2318 | < 1113600 566400000 >, |
| 2319 | < 1344000 787200000 >, |
| 2320 | < 1728000 940800000 >, |
| 2321 | < 1900800 1190400000 >, |
| 2322 | < 2438400 1440000000 >; |
| 2323 | }; |
| 2324 | |
| 2325 | mincpubw: qcom,mincpubw { |
| 2326 | compatible = "qcom,devbw"; |
| 2327 | governor = "powersave"; |
| 2328 | qcom,src-dst-ports = <1 512>; |
| 2329 | qcom,active-only; |
| 2330 | qcom,bw-tbl = |
Santosh Mardi | 9d208ff | 2017-09-25 11:16:17 +0530 | [diff] [blame] | 2331 | < MHZ_TO_MBPS( 100, 4) >, /* 381 MB/s */ |
| 2332 | < MHZ_TO_MBPS( 200, 4) >, /* 762 MB/s */ |
| 2333 | < MHZ_TO_MBPS( 300, 4) >, /* 1144 MB/s */ |
| 2334 | < MHZ_TO_MBPS( 451, 4) >, /* 1720 MB/s */ |
| 2335 | < MHZ_TO_MBPS( 547, 4) >, /* 2086 MB/s */ |
| 2336 | < MHZ_TO_MBPS( 681, 4) >, /* 2597 MB/s */ |
| 2337 | < MHZ_TO_MBPS( 768, 4) >, /* 2929 MB/s */ |
| 2338 | < MHZ_TO_MBPS(1017, 4) >, /* 3879 MB/s */ |
| 2339 | < MHZ_TO_MBPS(1353, 4) >, /* 5161 MB/s */ |
| 2340 | < MHZ_TO_MBPS(1555, 4) >, /* 5931 MB/s */ |
| 2341 | < MHZ_TO_MBPS(1804, 4) >; /* 6881 MB/s */ |
Santosh Mardi | 077e7eb | 2017-09-11 18:53:47 +0530 | [diff] [blame] | 2342 | }; |
| 2343 | |
| 2344 | devfreq-cpufreq { |
| 2345 | mincpubw-cpufreq { |
| 2346 | target-dev = <&mincpubw>; |
| 2347 | cpu-to-dev-map-0 = |
Santosh Mardi | 9d208ff | 2017-09-25 11:16:17 +0530 | [diff] [blame] | 2348 | < 748800 MHZ_TO_MBPS( 300, 4) >, |
| 2349 | < 1209600 MHZ_TO_MBPS( 451, 4) >, |
| 2350 | < 1612000 MHZ_TO_MBPS( 547, 4) >, |
| 2351 | < 1728000 MHZ_TO_MBPS( 768, 4) >; |
Santosh Mardi | 077e7eb | 2017-09-11 18:53:47 +0530 | [diff] [blame] | 2352 | cpu-to-dev-map-4 = |
Santosh Mardi | 9d208ff | 2017-09-25 11:16:17 +0530 | [diff] [blame] | 2353 | < 1113600 MHZ_TO_MBPS( 300, 4) >, |
| 2354 | < 1344000 MHZ_TO_MBPS( 547, 4) >, |
| 2355 | < 1728000 MHZ_TO_MBPS( 768, 4) >, |
| 2356 | < 1900800 MHZ_TO_MBPS(1017, 4) >, |
| 2357 | < 2438400 MHZ_TO_MBPS(1804, 4) >; |
Santosh Mardi | 077e7eb | 2017-09-11 18:53:47 +0530 | [diff] [blame] | 2358 | }; |
| 2359 | }; |
Amit Nischal | 199f15d | 2017-09-12 10:58:51 +0530 | [diff] [blame] | 2360 | |
| 2361 | gpu_gx_domain_addr: syscon@0x5091508 { |
| 2362 | compatible = "syscon"; |
| 2363 | reg = <0x5091508 0x4>; |
| 2364 | }; |
| 2365 | |
| 2366 | gpu_gx_sw_reset: syscon@0x5091008 { |
| 2367 | compatible = "syscon"; |
| 2368 | reg = <0x5091008 0x4>; |
| 2369 | }; |
Imran Khan | 04f0831 | 2017-03-30 15:07:43 +0530 | [diff] [blame] | 2370 | }; |
| 2371 | |
Ashay Jaiswal | 8194030 | 2017-09-20 15:17:58 +0530 | [diff] [blame] | 2372 | #include "pm660.dtsi" |
| 2373 | #include "pm660l.dtsi" |
| 2374 | #include "sdm670-regulator.dtsi" |
Imran Khan | 04f0831 | 2017-03-30 15:07:43 +0530 | [diff] [blame] | 2375 | #include "sdm670-pinctrl.dtsi" |
Vijayanand Jitta | d48c408 | 2017-06-07 15:07:51 +0530 | [diff] [blame] | 2376 | #include "msm-arm-smmu-sdm670.dtsi" |
Odelu Kukatla | 1fe3a22 | 2017-06-01 16:24:59 +0530 | [diff] [blame] | 2377 | #include "msm-gdsc-sdm845.dtsi" |
Maulik Shah | d313ea8 | 2017-06-14 13:10:52 +0530 | [diff] [blame] | 2378 | #include "sdm670-pm.dtsi" |
Odelu Kukatla | 1fe3a22 | 2017-06-01 16:24:59 +0530 | [diff] [blame] | 2379 | |
| 2380 | &usb30_prim_gdsc { |
| 2381 | status = "ok"; |
| 2382 | }; |
| 2383 | |
| 2384 | &ufs_phy_gdsc { |
| 2385 | status = "ok"; |
| 2386 | }; |
| 2387 | |
| 2388 | &hlos1_vote_aggre_noc_mmu_audio_tbu_gdsc { |
| 2389 | status = "ok"; |
| 2390 | }; |
| 2391 | |
| 2392 | &hlos1_vote_aggre_noc_mmu_tbu1_gdsc { |
| 2393 | status = "ok"; |
| 2394 | }; |
| 2395 | |
| 2396 | &hlos1_vote_aggre_noc_mmu_tbu2_gdsc { |
| 2397 | status = "ok"; |
| 2398 | }; |
| 2399 | |
Odelu Kukatla | 1186d2e | 2017-08-04 17:28:46 +0530 | [diff] [blame] | 2400 | &hlos1_vote_mmnoc_mmu_tbu_hf0_gdsc { |
| 2401 | status = "ok"; |
| 2402 | }; |
| 2403 | |
| 2404 | &hlos1_vote_mmnoc_mmu_tbu_hf1_gdsc { |
| 2405 | status = "ok"; |
| 2406 | }; |
| 2407 | |
| 2408 | &hlos1_vote_mmnoc_mmu_tbu_sf_gdsc { |
| 2409 | status = "ok"; |
| 2410 | }; |
| 2411 | |
Odelu Kukatla | 1fe3a22 | 2017-06-01 16:24:59 +0530 | [diff] [blame] | 2412 | &bps_gdsc { |
| 2413 | status = "ok"; |
| 2414 | }; |
| 2415 | |
| 2416 | &ife_0_gdsc { |
| 2417 | status = "ok"; |
| 2418 | }; |
| 2419 | |
| 2420 | &ife_1_gdsc { |
| 2421 | status = "ok"; |
| 2422 | }; |
| 2423 | |
| 2424 | &ipe_0_gdsc { |
| 2425 | status = "ok"; |
| 2426 | }; |
| 2427 | |
| 2428 | &ipe_1_gdsc { |
| 2429 | status = "ok"; |
| 2430 | }; |
| 2431 | |
| 2432 | &titan_top_gdsc { |
| 2433 | status = "ok"; |
| 2434 | }; |
| 2435 | |
| 2436 | &mdss_core_gdsc { |
| 2437 | status = "ok"; |
| 2438 | }; |
| 2439 | |
| 2440 | &gpu_cx_gdsc { |
| 2441 | status = "ok"; |
| 2442 | }; |
| 2443 | |
| 2444 | &gpu_gx_gdsc { |
| 2445 | clock-names = "core_root_clk"; |
| 2446 | clocks = <&clock_gfx GPU_CC_GX_GFX3D_CLK_SRC>; |
| 2447 | qcom,force-enable-root-clk; |
Odelu Kukatla | 1186d2e | 2017-08-04 17:28:46 +0530 | [diff] [blame] | 2448 | parent-supply = <&pm660l_s2_level>; |
Amit Nischal | 199f15d | 2017-09-12 10:58:51 +0530 | [diff] [blame] | 2449 | domain-addr = <&gpu_gx_domain_addr>; |
| 2450 | sw-reset = <&gpu_gx_sw_reset>; |
| 2451 | qcom,reset-aon-logic; |
Odelu Kukatla | 1fe3a22 | 2017-06-01 16:24:59 +0530 | [diff] [blame] | 2452 | status = "ok"; |
| 2453 | }; |
| 2454 | |
| 2455 | &vcodec0_gdsc { |
| 2456 | qcom,support-hw-trigger; |
| 2457 | status = "ok"; |
| 2458 | }; |
| 2459 | |
| 2460 | &vcodec1_gdsc { |
| 2461 | qcom,support-hw-trigger; |
| 2462 | status = "ok"; |
| 2463 | }; |
| 2464 | |
| 2465 | &venus_gdsc { |
| 2466 | status = "ok"; |
| 2467 | }; |
Tirupathi Reddy | 0cfe208 | 2017-06-08 14:24:13 +0530 | [diff] [blame] | 2468 | |
Rohit Kumar | 1405128 | 2017-07-12 11:18:48 +0530 | [diff] [blame] | 2469 | #include "sdm670-audio.dtsi" |
Pratham Pratap | 9e420a3 | 2017-09-05 11:26:57 +0530 | [diff] [blame] | 2470 | #include "sdm670-usb.dtsi" |
Rajesh Kemisetti | ba56c48 | 2017-08-31 18:12:35 +0530 | [diff] [blame] | 2471 | #include "sdm670-gpu.dtsi" |
Manaf Meethalavalappu Pallikunhi | 52c7ba1 | 2017-09-07 01:41:43 +0530 | [diff] [blame] | 2472 | #include "sdm670-thermal.dtsi" |
Odelu Kukatla | f197e38 | 2017-07-04 19:47:35 +0530 | [diff] [blame] | 2473 | #include "sdm670-bus.dtsi" |