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