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