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