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