Kyle Yan | d8326b6 | 2017-01-05 15:11:02 -0800 | [diff] [blame] | 1 | /* Copyright (c) 2016-2017, The Linux Foundation. All rights reserved. |
Channagoud Kadabi | 6d4bb83 | 2016-06-30 23:40:05 -0700 | [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" |
Kyle Yan | 6a20fae | 2017-02-14 13:34:41 -0800 | [diff] [blame] | 14 | #include <dt-bindings/clock/qcom,gcc-sdm845.h> |
| 15 | #include <dt-bindings/clock/qcom,camcc-sdm845.h> |
| 16 | #include <dt-bindings/clock/qcom,dispcc-sdm845.h> |
| 17 | #include <dt-bindings/clock/qcom,gpucc-sdm845.h> |
| 18 | #include <dt-bindings/clock/qcom,videocc-sdm845.h> |
| 19 | #include <dt-bindings/clock/qcom,cpucc-sdm845.h> |
Osvaldo Banuelos | abbbfcb | 2017-01-31 16:11:10 -0800 | [diff] [blame] | 20 | #include <dt-bindings/clock/qcom,rpmh.h> |
Taniya Das | a8d52b9 | 2017-04-18 17:02:49 +0530 | [diff] [blame] | 21 | #include <dt-bindings/clock/qcom,aop-qmp.h> |
David Collins | 5ab42b9 | 2016-07-07 17:38:51 -0700 | [diff] [blame] | 22 | #include <dt-bindings/regulator/qcom,rpmh-regulator.h> |
Satya Durga Srinivasu Prabhala | fbddbe7 | 2016-09-12 11:40:11 -0700 | [diff] [blame] | 23 | #include <dt-bindings/interrupt-controller/arm-gic.h> |
Lina Iyer | 9f782ba | 2016-10-11 15:13:50 -0600 | [diff] [blame] | 24 | #include <dt-bindings/soc/qcom,tcs-mbox.h> |
David Collins | 86dc5b5 | 2017-04-11 14:29:36 -0700 | [diff] [blame] | 25 | #include <dt-bindings/spmi/spmi.h> |
Ram Chandrasekar | 36ffe55 | 2017-04-17 16:33:05 -0600 | [diff] [blame] | 26 | #include <dt-bindings/thermal/thermal.h> |
Stephen Boyd | b1adf31 | 2017-04-03 16:02:12 -0700 | [diff] [blame] | 27 | #include <dt-bindings/msm/msm-bus-ids.h> |
Channagoud Kadabi | 6d4bb83 | 2016-06-30 23:40:05 -0700 | [diff] [blame] | 28 | |
| 29 | / { |
Kyle Yan | 6a20fae | 2017-02-14 13:34:41 -0800 | [diff] [blame] | 30 | model = "Qualcomm Technologies, Inc. SDM845"; |
| 31 | compatible = "qcom,sdm845"; |
Kyle Yan | fd7d142 | 2017-08-04 16:14:21 -0700 | [diff] [blame] | 32 | qcom,msm-id = <321 0x10000>; |
Archana Sathyakumar | 00a36ab | 2017-03-03 14:38:26 -0700 | [diff] [blame] | 33 | interrupt-parent = <&pdc>; |
Channagoud Kadabi | 6d4bb83 | 2016-06-30 23:40:05 -0700 | [diff] [blame] | 34 | |
Subhash Jadavani | 35c309a | 2016-12-19 13:58:57 -0800 | [diff] [blame] | 35 | aliases { |
| 36 | ufshc1 = &ufshc_mem; /* Embedded UFS slot */ |
| 37 | ufshc2 = &ufshc_card; /* Removable UFS slot */ |
Tony Truong | c0e0a5f0 | 2017-03-15 11:57:40 -0700 | [diff] [blame] | 38 | pci-domain0 = &pcie0; |
Tony Truong | 1693835 | 2017-05-04 13:39:24 -0700 | [diff] [blame] | 39 | pci-domain1 = &pcie1; |
Xiaonian Wang | 3c14ea3 | 2017-04-08 06:39:42 +0800 | [diff] [blame] | 40 | sdhc2 = &sdhc_2; /* SDC2 SD card slot */ |
Subhash Jadavani | 35c309a | 2016-12-19 13:58:57 -0800 | [diff] [blame] | 41 | }; |
| 42 | |
Puja Gupta | a91fb84 | 2017-06-12 18:58:06 -0700 | [diff] [blame] | 43 | aliases { |
| 44 | serial0 = &qupv3_se9_2uart; |
| 45 | spi0 = &qupv3_se8_spi; |
| 46 | i2c0 = &qupv3_se10_i2c; |
| 47 | i2c1 = &qupv3_se3_i2c; |
| 48 | hsuart0 = &qupv3_se6_4uart; |
| 49 | }; |
| 50 | |
Channagoud Kadabi | 6d4bb83 | 2016-06-30 23:40:05 -0700 | [diff] [blame] | 51 | cpus { |
| 52 | #address-cells = <2>; |
| 53 | #size-cells = <0>; |
| 54 | |
| 55 | CPU0: cpu@0 { |
| 56 | device_type = "cpu"; |
| 57 | compatible = "arm,armv8"; |
| 58 | reg = <0x0 0x0>; |
Trilok Soni | 39f76f2 | 2016-12-15 14:56:26 -0800 | [diff] [blame] | 59 | enable-method = "psci"; |
Syed Rameez Mustafa | a1aed68 | 2017-03-23 18:29:41 -0700 | [diff] [blame] | 60 | efficiency = <1024>; |
Channagoud Kadabi | 6d4bb83 | 2016-06-30 23:40:05 -0700 | [diff] [blame] | 61 | cache-size = <0x8000>; |
| 62 | cpu-release-addr = <0x0 0x90000000>; |
Ram Chandrasekar | 16ba4f4 | 2017-04-17 16:48:46 -0600 | [diff] [blame] | 63 | qcom,lmh-dcvs = <&lmh_dcvs0>; |
Ram Chandrasekar | 36ffe55 | 2017-04-17 16:33:05 -0600 | [diff] [blame] | 64 | #cooling-cells = <2>; |
Channagoud Kadabi | 6d4bb83 | 2016-06-30 23:40:05 -0700 | [diff] [blame] | 65 | next-level-cache = <&L2_0>; |
Vikram Mulukutla | eb5eab2 | 2017-05-08 13:51:08 -0700 | [diff] [blame] | 66 | sched-energy-costs = <&CPU_COST_0 &CLUSTER_COST_0>; |
Channagoud Kadabi | 6d4bb83 | 2016-06-30 23:40:05 -0700 | [diff] [blame] | 67 | L2_0: l2-cache { |
| 68 | compatible = "arm,arch-cache"; |
| 69 | cache-size = <0x20000>; |
| 70 | cache-level = <2>; |
| 71 | next-level-cache = <&L3_0>; |
| 72 | |
| 73 | L3_0: l3-cache { |
| 74 | compatible = "arm,arch-cache"; |
| 75 | cache-size = <0x200000>; |
| 76 | cache-level = <3>; |
| 77 | }; |
| 78 | }; |
Kyle Yan | f7f2ddf | 2016-11-22 17:07:38 -0800 | [diff] [blame] | 79 | L1_I_0: l1-icache { |
| 80 | compatible = "arm,arch-cache"; |
Channagoud Kadabi | ef56fcb | 2017-05-15 16:28:39 -0700 | [diff] [blame] | 81 | qcom,dump-size = <0xa000>; |
Kyle Yan | f7f2ddf | 2016-11-22 17:07:38 -0800 | [diff] [blame] | 82 | }; |
| 83 | L1_D_0: l1-dcache { |
| 84 | compatible = "arm,arch-cache"; |
Channagoud Kadabi | ef56fcb | 2017-05-15 16:28:39 -0700 | [diff] [blame] | 85 | qcom,dump-size = <0xa000>; |
| 86 | }; |
| 87 | L1_TLB_0: l1-tlb { |
| 88 | qcom,dump-size = <0x3000>; |
Kyle Yan | f7f2ddf | 2016-11-22 17:07:38 -0800 | [diff] [blame] | 89 | }; |
Channagoud Kadabi | 6d4bb83 | 2016-06-30 23:40:05 -0700 | [diff] [blame] | 90 | }; |
| 91 | |
Channagoud Kadabi | 0fd460c | 2017-04-04 21:09:57 -0700 | [diff] [blame] | 92 | CPU1: cpu@100 { |
Channagoud Kadabi | 6d4bb83 | 2016-06-30 23:40:05 -0700 | [diff] [blame] | 93 | device_type = "cpu"; |
| 94 | compatible = "arm,armv8"; |
Channagoud Kadabi | 75c3207 | 2016-08-05 22:19:26 -0700 | [diff] [blame] | 95 | reg = <0x0 0x100>; |
Trilok Soni | 39f76f2 | 2016-12-15 14:56:26 -0800 | [diff] [blame] | 96 | enable-method = "psci"; |
Syed Rameez Mustafa | a1aed68 | 2017-03-23 18:29:41 -0700 | [diff] [blame] | 97 | efficiency = <1024>; |
Channagoud Kadabi | 6d4bb83 | 2016-06-30 23:40:05 -0700 | [diff] [blame] | 98 | cache-size = <0x8000>; |
| 99 | cpu-release-addr = <0x0 0x90000000>; |
Ram Chandrasekar | 16ba4f4 | 2017-04-17 16:48:46 -0600 | [diff] [blame] | 100 | qcom,lmh-dcvs = <&lmh_dcvs0>; |
Ram Chandrasekar | 36ffe55 | 2017-04-17 16:33:05 -0600 | [diff] [blame] | 101 | #cooling-cells = <2>; |
Channagoud Kadabi | 0fd460c | 2017-04-04 21:09:57 -0700 | [diff] [blame] | 102 | next-level-cache = <&L2_100>; |
Vikram Mulukutla | eb5eab2 | 2017-05-08 13:51:08 -0700 | [diff] [blame] | 103 | sched-energy-costs = <&CPU_COST_0 &CLUSTER_COST_0>; |
Channagoud Kadabi | 0fd460c | 2017-04-04 21:09:57 -0700 | [diff] [blame] | 104 | L2_100: l2-cache { |
Channagoud Kadabi | 6d4bb83 | 2016-06-30 23:40:05 -0700 | [diff] [blame] | 105 | compatible = "arm,arch-cache"; |
| 106 | cache-size = <0x20000>; |
| 107 | cache-level = <2>; |
| 108 | next-level-cache = <&L3_0>; |
| 109 | }; |
Channagoud Kadabi | 0fd460c | 2017-04-04 21:09:57 -0700 | [diff] [blame] | 110 | L1_I_100: l1-icache { |
Kyle Yan | f7f2ddf | 2016-11-22 17:07:38 -0800 | [diff] [blame] | 111 | compatible = "arm,arch-cache"; |
Channagoud Kadabi | ef56fcb | 2017-05-15 16:28:39 -0700 | [diff] [blame] | 112 | qcom,dump-size = <0xa000>; |
Kyle Yan | f7f2ddf | 2016-11-22 17:07:38 -0800 | [diff] [blame] | 113 | }; |
Channagoud Kadabi | 0fd460c | 2017-04-04 21:09:57 -0700 | [diff] [blame] | 114 | L1_D_100: l1-dcache { |
Kyle Yan | f7f2ddf | 2016-11-22 17:07:38 -0800 | [diff] [blame] | 115 | compatible = "arm,arch-cache"; |
Channagoud Kadabi | ef56fcb | 2017-05-15 16:28:39 -0700 | [diff] [blame] | 116 | qcom,dump-size = <0xa000>; |
| 117 | }; |
| 118 | L1_TLB_100: l1-tlb { |
| 119 | qcom,dump-size = <0x3000>; |
Kyle Yan | f7f2ddf | 2016-11-22 17:07:38 -0800 | [diff] [blame] | 120 | }; |
Channagoud Kadabi | 6d4bb83 | 2016-06-30 23:40:05 -0700 | [diff] [blame] | 121 | }; |
| 122 | |
Channagoud Kadabi | 0fd460c | 2017-04-04 21:09:57 -0700 | [diff] [blame] | 123 | CPU2: cpu@200 { |
Channagoud Kadabi | 6d4bb83 | 2016-06-30 23:40:05 -0700 | [diff] [blame] | 124 | device_type = "cpu"; |
| 125 | compatible = "arm,armv8"; |
Channagoud Kadabi | 75c3207 | 2016-08-05 22:19:26 -0700 | [diff] [blame] | 126 | reg = <0x0 0x200>; |
Trilok Soni | 39f76f2 | 2016-12-15 14:56:26 -0800 | [diff] [blame] | 127 | enable-method = "psci"; |
Syed Rameez Mustafa | a1aed68 | 2017-03-23 18:29:41 -0700 | [diff] [blame] | 128 | efficiency = <1024>; |
Channagoud Kadabi | 6d4bb83 | 2016-06-30 23:40:05 -0700 | [diff] [blame] | 129 | cache-size = <0x8000>; |
| 130 | cpu-release-addr = <0x0 0x90000000>; |
Ram Chandrasekar | 16ba4f4 | 2017-04-17 16:48:46 -0600 | [diff] [blame] | 131 | qcom,lmh-dcvs = <&lmh_dcvs0>; |
Ram Chandrasekar | 36ffe55 | 2017-04-17 16:33:05 -0600 | [diff] [blame] | 132 | #cooling-cells = <2>; |
Channagoud Kadabi | 0fd460c | 2017-04-04 21:09:57 -0700 | [diff] [blame] | 133 | next-level-cache = <&L2_200>; |
Vikram Mulukutla | eb5eab2 | 2017-05-08 13:51:08 -0700 | [diff] [blame] | 134 | sched-energy-costs = <&CPU_COST_0 &CLUSTER_COST_0>; |
Channagoud Kadabi | 0fd460c | 2017-04-04 21:09:57 -0700 | [diff] [blame] | 135 | L2_200: l2-cache { |
Channagoud Kadabi | 6d4bb83 | 2016-06-30 23:40:05 -0700 | [diff] [blame] | 136 | compatible = "arm,arch-cache"; |
| 137 | cache-size = <0x20000>; |
| 138 | cache-level = <2>; |
| 139 | next-level-cache = <&L3_0>; |
| 140 | }; |
Channagoud Kadabi | 0fd460c | 2017-04-04 21:09:57 -0700 | [diff] [blame] | 141 | L1_I_200: l1-icache { |
Kyle Yan | f7f2ddf | 2016-11-22 17:07:38 -0800 | [diff] [blame] | 142 | compatible = "arm,arch-cache"; |
Channagoud Kadabi | ef56fcb | 2017-05-15 16:28:39 -0700 | [diff] [blame] | 143 | qcom,dump-size = <0xa000>; |
Kyle Yan | f7f2ddf | 2016-11-22 17:07:38 -0800 | [diff] [blame] | 144 | }; |
Channagoud Kadabi | 0fd460c | 2017-04-04 21:09:57 -0700 | [diff] [blame] | 145 | L1_D_200: l1-dcache { |
Kyle Yan | f7f2ddf | 2016-11-22 17:07:38 -0800 | [diff] [blame] | 146 | compatible = "arm,arch-cache"; |
Channagoud Kadabi | ef56fcb | 2017-05-15 16:28:39 -0700 | [diff] [blame] | 147 | qcom,dump-size = <0xa000>; |
| 148 | }; |
| 149 | L1_TLB_200: l1-tlb { |
| 150 | qcom,dump-size = <0x3000>; |
Kyle Yan | f7f2ddf | 2016-11-22 17:07:38 -0800 | [diff] [blame] | 151 | }; |
Channagoud Kadabi | 6d4bb83 | 2016-06-30 23:40:05 -0700 | [diff] [blame] | 152 | }; |
| 153 | |
Channagoud Kadabi | 0fd460c | 2017-04-04 21:09:57 -0700 | [diff] [blame] | 154 | CPU3: cpu@300 { |
Channagoud Kadabi | 6d4bb83 | 2016-06-30 23:40:05 -0700 | [diff] [blame] | 155 | device_type = "cpu"; |
| 156 | compatible = "arm,armv8"; |
Channagoud Kadabi | 75c3207 | 2016-08-05 22:19:26 -0700 | [diff] [blame] | 157 | reg = <0x0 0x300>; |
Trilok Soni | 39f76f2 | 2016-12-15 14:56:26 -0800 | [diff] [blame] | 158 | enable-method = "psci"; |
Syed Rameez Mustafa | a1aed68 | 2017-03-23 18:29:41 -0700 | [diff] [blame] | 159 | efficiency = <1024>; |
Channagoud Kadabi | 6d4bb83 | 2016-06-30 23:40:05 -0700 | [diff] [blame] | 160 | cache-size = <0x8000>; |
| 161 | cpu-release-addr = <0x0 0x90000000>; |
Ram Chandrasekar | 16ba4f4 | 2017-04-17 16:48:46 -0600 | [diff] [blame] | 162 | qcom,lmh-dcvs = <&lmh_dcvs0>; |
Ram Chandrasekar | 36ffe55 | 2017-04-17 16:33:05 -0600 | [diff] [blame] | 163 | #cooling-cells = <2>; |
Channagoud Kadabi | 0fd460c | 2017-04-04 21:09:57 -0700 | [diff] [blame] | 164 | next-level-cache = <&L2_300>; |
Vikram Mulukutla | eb5eab2 | 2017-05-08 13:51:08 -0700 | [diff] [blame] | 165 | sched-energy-costs = <&CPU_COST_0 &CLUSTER_COST_0>; |
Channagoud Kadabi | 0fd460c | 2017-04-04 21:09:57 -0700 | [diff] [blame] | 166 | L2_300: l2-cache { |
Channagoud Kadabi | 6d4bb83 | 2016-06-30 23:40:05 -0700 | [diff] [blame] | 167 | compatible = "arm,arch-cache"; |
| 168 | cache-size = <0x20000>; |
| 169 | cache-level = <2>; |
| 170 | next-level-cache = <&L3_0>; |
| 171 | }; |
Channagoud Kadabi | 0fd460c | 2017-04-04 21:09:57 -0700 | [diff] [blame] | 172 | L1_I_300: l1-icache { |
Kyle Yan | f7f2ddf | 2016-11-22 17:07:38 -0800 | [diff] [blame] | 173 | compatible = "arm,arch-cache"; |
Channagoud Kadabi | ef56fcb | 2017-05-15 16:28:39 -0700 | [diff] [blame] | 174 | qcom,dump-size = <0xa000>; |
Kyle Yan | f7f2ddf | 2016-11-22 17:07:38 -0800 | [diff] [blame] | 175 | }; |
Channagoud Kadabi | 0fd460c | 2017-04-04 21:09:57 -0700 | [diff] [blame] | 176 | L1_D_300: l1-dcache { |
Kyle Yan | f7f2ddf | 2016-11-22 17:07:38 -0800 | [diff] [blame] | 177 | compatible = "arm,arch-cache"; |
Channagoud Kadabi | ef56fcb | 2017-05-15 16:28:39 -0700 | [diff] [blame] | 178 | qcom,dump-size = <0xa000>; |
| 179 | }; |
| 180 | L1_TLB_300: l1-tlb { |
| 181 | qcom,dump-size = <0x3000>; |
Kyle Yan | f7f2ddf | 2016-11-22 17:07:38 -0800 | [diff] [blame] | 182 | }; |
Channagoud Kadabi | 6d4bb83 | 2016-06-30 23:40:05 -0700 | [diff] [blame] | 183 | }; |
| 184 | |
Channagoud Kadabi | 0fd460c | 2017-04-04 21:09:57 -0700 | [diff] [blame] | 185 | CPU4: cpu@400 { |
Channagoud Kadabi | 6d4bb83 | 2016-06-30 23:40:05 -0700 | [diff] [blame] | 186 | device_type = "cpu"; |
| 187 | compatible = "arm,armv8"; |
Channagoud Kadabi | 75c3207 | 2016-08-05 22:19:26 -0700 | [diff] [blame] | 188 | reg = <0x0 0x400>; |
Trilok Soni | 39f76f2 | 2016-12-15 14:56:26 -0800 | [diff] [blame] | 189 | enable-method = "psci"; |
Syed Rameez Mustafa | a1aed68 | 2017-03-23 18:29:41 -0700 | [diff] [blame] | 190 | efficiency = <1740>; |
Channagoud Kadabi | 6d4bb83 | 2016-06-30 23:40:05 -0700 | [diff] [blame] | 191 | cache-size = <0x20000>; |
| 192 | cpu-release-addr = <0x0 0x90000000>; |
Ram Chandrasekar | 16ba4f4 | 2017-04-17 16:48:46 -0600 | [diff] [blame] | 193 | qcom,lmh-dcvs = <&lmh_dcvs1>; |
Ram Chandrasekar | 36ffe55 | 2017-04-17 16:33:05 -0600 | [diff] [blame] | 194 | #cooling-cells = <2>; |
Channagoud Kadabi | 0fd460c | 2017-04-04 21:09:57 -0700 | [diff] [blame] | 195 | next-level-cache = <&L2_400>; |
Vikram Mulukutla | eb5eab2 | 2017-05-08 13:51:08 -0700 | [diff] [blame] | 196 | sched-energy-costs = <&CPU_COST_1 &CLUSTER_COST_1>; |
Channagoud Kadabi | 0fd460c | 2017-04-04 21:09:57 -0700 | [diff] [blame] | 197 | L2_400: l2-cache { |
Channagoud Kadabi | 6d4bb83 | 2016-06-30 23:40:05 -0700 | [diff] [blame] | 198 | compatible = "arm,arch-cache"; |
| 199 | cache-size = <0x40000>; |
| 200 | cache-level = <2>; |
| 201 | next-level-cache = <&L3_0>; |
| 202 | }; |
Channagoud Kadabi | 0fd460c | 2017-04-04 21:09:57 -0700 | [diff] [blame] | 203 | L1_I_400: l1-icache { |
Kyle Yan | f7f2ddf | 2016-11-22 17:07:38 -0800 | [diff] [blame] | 204 | compatible = "arm,arch-cache"; |
Channagoud Kadabi | ef56fcb | 2017-05-15 16:28:39 -0700 | [diff] [blame] | 205 | qcom,dump-size = <0x14000>; |
Kyle Yan | f7f2ddf | 2016-11-22 17:07:38 -0800 | [diff] [blame] | 206 | }; |
Channagoud Kadabi | 0fd460c | 2017-04-04 21:09:57 -0700 | [diff] [blame] | 207 | L1_D_400: l1-dcache { |
Kyle Yan | f7f2ddf | 2016-11-22 17:07:38 -0800 | [diff] [blame] | 208 | compatible = "arm,arch-cache"; |
Channagoud Kadabi | ef56fcb | 2017-05-15 16:28:39 -0700 | [diff] [blame] | 209 | qcom,dump-size = <0x14000>; |
| 210 | }; |
| 211 | L1_TLB_400: l1-tlb { |
| 212 | qcom,dump-size = <0x3c000>; |
Kyle Yan | f7f2ddf | 2016-11-22 17:07:38 -0800 | [diff] [blame] | 213 | }; |
Channagoud Kadabi | 6d4bb83 | 2016-06-30 23:40:05 -0700 | [diff] [blame] | 214 | }; |
| 215 | |
Channagoud Kadabi | 0fd460c | 2017-04-04 21:09:57 -0700 | [diff] [blame] | 216 | CPU5: cpu@500 { |
Channagoud Kadabi | 6d4bb83 | 2016-06-30 23:40:05 -0700 | [diff] [blame] | 217 | device_type = "cpu"; |
| 218 | compatible = "arm,armv8"; |
Channagoud Kadabi | 75c3207 | 2016-08-05 22:19:26 -0700 | [diff] [blame] | 219 | reg = <0x0 0x500>; |
Trilok Soni | 39f76f2 | 2016-12-15 14:56:26 -0800 | [diff] [blame] | 220 | enable-method = "psci"; |
Syed Rameez Mustafa | a1aed68 | 2017-03-23 18:29:41 -0700 | [diff] [blame] | 221 | efficiency = <1740>; |
Channagoud Kadabi | 6d4bb83 | 2016-06-30 23:40:05 -0700 | [diff] [blame] | 222 | cache-size = <0x20000>; |
| 223 | cpu-release-addr = <0x0 0x90000000>; |
Ram Chandrasekar | 16ba4f4 | 2017-04-17 16:48:46 -0600 | [diff] [blame] | 224 | qcom,lmh-dcvs = <&lmh_dcvs1>; |
Ram Chandrasekar | 36ffe55 | 2017-04-17 16:33:05 -0600 | [diff] [blame] | 225 | #cooling-cells = <2>; |
Channagoud Kadabi | 0fd460c | 2017-04-04 21:09:57 -0700 | [diff] [blame] | 226 | next-level-cache = <&L2_500>; |
Vikram Mulukutla | eb5eab2 | 2017-05-08 13:51:08 -0700 | [diff] [blame] | 227 | sched-energy-costs = <&CPU_COST_1 &CLUSTER_COST_1>; |
Channagoud Kadabi | 0fd460c | 2017-04-04 21:09:57 -0700 | [diff] [blame] | 228 | L2_500: l2-cache { |
Channagoud Kadabi | 6d4bb83 | 2016-06-30 23:40:05 -0700 | [diff] [blame] | 229 | compatible = "arm,arch-cache"; |
| 230 | cache-size = <0x40000>; |
| 231 | cache-level = <2>; |
| 232 | next-level-cache = <&L3_0>; |
| 233 | }; |
Channagoud Kadabi | 0fd460c | 2017-04-04 21:09:57 -0700 | [diff] [blame] | 234 | L1_I_500: l1-icache { |
Kyle Yan | f7f2ddf | 2016-11-22 17:07:38 -0800 | [diff] [blame] | 235 | compatible = "arm,arch-cache"; |
Channagoud Kadabi | ef56fcb | 2017-05-15 16:28:39 -0700 | [diff] [blame] | 236 | qcom,dump-size = <0x14000>; |
Kyle Yan | f7f2ddf | 2016-11-22 17:07:38 -0800 | [diff] [blame] | 237 | }; |
Channagoud Kadabi | 0fd460c | 2017-04-04 21:09:57 -0700 | [diff] [blame] | 238 | L1_D_500: l1-dcache { |
Kyle Yan | f7f2ddf | 2016-11-22 17:07:38 -0800 | [diff] [blame] | 239 | compatible = "arm,arch-cache"; |
Channagoud Kadabi | ef56fcb | 2017-05-15 16:28:39 -0700 | [diff] [blame] | 240 | qcom,dump-size = <0x14000>; |
| 241 | }; |
| 242 | L1_TLB_500: l1-tlb { |
| 243 | qcom,dump-size = <0x3c000>; |
Kyle Yan | f7f2ddf | 2016-11-22 17:07:38 -0800 | [diff] [blame] | 244 | }; |
Channagoud Kadabi | 6d4bb83 | 2016-06-30 23:40:05 -0700 | [diff] [blame] | 245 | }; |
| 246 | |
Channagoud Kadabi | 0fd460c | 2017-04-04 21:09:57 -0700 | [diff] [blame] | 247 | CPU6: cpu@600 { |
Channagoud Kadabi | 6d4bb83 | 2016-06-30 23:40:05 -0700 | [diff] [blame] | 248 | device_type = "cpu"; |
| 249 | compatible = "arm,armv8"; |
Channagoud Kadabi | 75c3207 | 2016-08-05 22:19:26 -0700 | [diff] [blame] | 250 | reg = <0x0 0x600>; |
Trilok Soni | 39f76f2 | 2016-12-15 14:56:26 -0800 | [diff] [blame] | 251 | enable-method = "psci"; |
Syed Rameez Mustafa | a1aed68 | 2017-03-23 18:29:41 -0700 | [diff] [blame] | 252 | efficiency = <1740>; |
Channagoud Kadabi | 6d4bb83 | 2016-06-30 23:40:05 -0700 | [diff] [blame] | 253 | cache-size = <0x20000>; |
| 254 | cpu-release-addr = <0x0 0x90000000>; |
Ram Chandrasekar | 16ba4f4 | 2017-04-17 16:48:46 -0600 | [diff] [blame] | 255 | qcom,lmh-dcvs = <&lmh_dcvs1>; |
Ram Chandrasekar | 36ffe55 | 2017-04-17 16:33:05 -0600 | [diff] [blame] | 256 | #cooling-cells = <2>; |
Channagoud Kadabi | 0fd460c | 2017-04-04 21:09:57 -0700 | [diff] [blame] | 257 | next-level-cache = <&L2_600>; |
Vikram Mulukutla | eb5eab2 | 2017-05-08 13:51:08 -0700 | [diff] [blame] | 258 | sched-energy-costs = <&CPU_COST_1 &CLUSTER_COST_1>; |
Channagoud Kadabi | 0fd460c | 2017-04-04 21:09:57 -0700 | [diff] [blame] | 259 | L2_600: l2-cache { |
Channagoud Kadabi | 6d4bb83 | 2016-06-30 23:40:05 -0700 | [diff] [blame] | 260 | compatible = "arm,arch-cache"; |
| 261 | cache-size = <0x40000>; |
| 262 | cache-level = <2>; |
| 263 | next-level-cache = <&L3_0>; |
| 264 | }; |
Channagoud Kadabi | 0fd460c | 2017-04-04 21:09:57 -0700 | [diff] [blame] | 265 | L1_I_600: l1-icache { |
Kyle Yan | f7f2ddf | 2016-11-22 17:07:38 -0800 | [diff] [blame] | 266 | compatible = "arm,arch-cache"; |
Channagoud Kadabi | ef56fcb | 2017-05-15 16:28:39 -0700 | [diff] [blame] | 267 | qcom,dump-size = <0x14000>; |
Kyle Yan | f7f2ddf | 2016-11-22 17:07:38 -0800 | [diff] [blame] | 268 | }; |
Channagoud Kadabi | 0fd460c | 2017-04-04 21:09:57 -0700 | [diff] [blame] | 269 | L1_D_600: l1-dcache { |
Kyle Yan | f7f2ddf | 2016-11-22 17:07:38 -0800 | [diff] [blame] | 270 | compatible = "arm,arch-cache"; |
Channagoud Kadabi | ef56fcb | 2017-05-15 16:28:39 -0700 | [diff] [blame] | 271 | qcom,dump-size = <0x14000>; |
| 272 | }; |
| 273 | L1_TLB_600: l1-tlb { |
| 274 | qcom,dump-size = <0x3c000>; |
Kyle Yan | f7f2ddf | 2016-11-22 17:07:38 -0800 | [diff] [blame] | 275 | }; |
Channagoud Kadabi | 6d4bb83 | 2016-06-30 23:40:05 -0700 | [diff] [blame] | 276 | }; |
| 277 | |
Channagoud Kadabi | 0fd460c | 2017-04-04 21:09:57 -0700 | [diff] [blame] | 278 | CPU7: cpu@700 { |
Channagoud Kadabi | 6d4bb83 | 2016-06-30 23:40:05 -0700 | [diff] [blame] | 279 | device_type = "cpu"; |
| 280 | compatible = "arm,armv8"; |
Channagoud Kadabi | 75c3207 | 2016-08-05 22:19:26 -0700 | [diff] [blame] | 281 | reg = <0x0 0x700>; |
Trilok Soni | 39f76f2 | 2016-12-15 14:56:26 -0800 | [diff] [blame] | 282 | enable-method = "psci"; |
Syed Rameez Mustafa | a1aed68 | 2017-03-23 18:29:41 -0700 | [diff] [blame] | 283 | efficiency = <1740>; |
Channagoud Kadabi | 6d4bb83 | 2016-06-30 23:40:05 -0700 | [diff] [blame] | 284 | cache-size = <0x20000>; |
| 285 | cpu-release-addr = <0x0 0x90000000>; |
Ram Chandrasekar | 16ba4f4 | 2017-04-17 16:48:46 -0600 | [diff] [blame] | 286 | qcom,lmh-dcvs = <&lmh_dcvs1>; |
Ram Chandrasekar | 36ffe55 | 2017-04-17 16:33:05 -0600 | [diff] [blame] | 287 | #cooling-cells = <2>; |
Channagoud Kadabi | 0fd460c | 2017-04-04 21:09:57 -0700 | [diff] [blame] | 288 | next-level-cache = <&L2_700>; |
Vikram Mulukutla | eb5eab2 | 2017-05-08 13:51:08 -0700 | [diff] [blame] | 289 | sched-energy-costs = <&CPU_COST_1 &CLUSTER_COST_1>; |
Channagoud Kadabi | 0fd460c | 2017-04-04 21:09:57 -0700 | [diff] [blame] | 290 | L2_700: l2-cache { |
Channagoud Kadabi | 6d4bb83 | 2016-06-30 23:40:05 -0700 | [diff] [blame] | 291 | compatible = "arm,arch-cache"; |
| 292 | cache-size = <0x40000>; |
| 293 | cache-level = <2>; |
| 294 | next-level-cache = <&L3_0>; |
| 295 | }; |
Channagoud Kadabi | 0fd460c | 2017-04-04 21:09:57 -0700 | [diff] [blame] | 296 | L1_I_700: l1-icache { |
Kyle Yan | f7f2ddf | 2016-11-22 17:07:38 -0800 | [diff] [blame] | 297 | compatible = "arm,arch-cache"; |
Channagoud Kadabi | ef56fcb | 2017-05-15 16:28:39 -0700 | [diff] [blame] | 298 | qcom,dump-size = <0x14000>; |
Kyle Yan | f7f2ddf | 2016-11-22 17:07:38 -0800 | [diff] [blame] | 299 | }; |
Channagoud Kadabi | 0fd460c | 2017-04-04 21:09:57 -0700 | [diff] [blame] | 300 | L1_D_700: l1-dcache { |
Kyle Yan | f7f2ddf | 2016-11-22 17:07:38 -0800 | [diff] [blame] | 301 | compatible = "arm,arch-cache"; |
Channagoud Kadabi | ef56fcb | 2017-05-15 16:28:39 -0700 | [diff] [blame] | 302 | qcom,dump-size = <0x14000>; |
| 303 | }; |
| 304 | L1_TLB_700: l1-tlb { |
| 305 | qcom,dump-size = <0x3c000>; |
Kyle Yan | f7f2ddf | 2016-11-22 17:07:38 -0800 | [diff] [blame] | 306 | }; |
Channagoud Kadabi | 6d4bb83 | 2016-06-30 23:40:05 -0700 | [diff] [blame] | 307 | }; |
| 308 | |
| 309 | cpu-map { |
| 310 | cluster0 { |
| 311 | core0 { |
| 312 | cpu = <&CPU0>; |
| 313 | }; |
| 314 | |
| 315 | core1 { |
| 316 | cpu = <&CPU1>; |
| 317 | }; |
| 318 | |
| 319 | core2 { |
| 320 | cpu = <&CPU2>; |
| 321 | }; |
| 322 | |
| 323 | core3 { |
| 324 | cpu = <&CPU3>; |
| 325 | }; |
| 326 | }; |
| 327 | |
| 328 | cluster1 { |
| 329 | core0 { |
| 330 | cpu = <&CPU4>; |
| 331 | }; |
| 332 | |
| 333 | core1 { |
| 334 | cpu = <&CPU5>; |
| 335 | }; |
| 336 | |
| 337 | core2 { |
| 338 | cpu = <&CPU6>; |
| 339 | }; |
| 340 | |
| 341 | core3 { |
| 342 | cpu = <&CPU7>; |
| 343 | }; |
| 344 | }; |
| 345 | }; |
| 346 | }; |
| 347 | |
Joonwoo Park | f3f7dac | 2017-08-17 16:02:29 -0700 | [diff] [blame] | 348 | energy_costs: energy-costs { |
Joonwoo Park | 32850e8 | 2017-06-12 16:01:57 -0700 | [diff] [blame] | 349 | compatible = "sched-energy"; |
| 350 | |
Vikram Mulukutla | eb5eab2 | 2017-05-08 13:51:08 -0700 | [diff] [blame] | 351 | CPU_COST_0: core-cost0 { |
| 352 | busy-cost-data = < |
Joonwoo Park | 32850e8 | 2017-06-12 16:01:57 -0700 | [diff] [blame] | 353 | 300000 31 |
| 354 | 422400 38 |
| 355 | 499200 42 |
| 356 | 576000 46 |
| 357 | 652800 51 |
| 358 | 748800 58 |
| 359 | 825600 64 |
| 360 | 902400 70 |
| 361 | 979200 76 |
| 362 | 1056000 83 |
| 363 | 1132800 90 |
| 364 | 1209600 97 |
| 365 | 1286400 105 |
| 366 | 1363200 114 |
| 367 | 1440000 124 |
| 368 | 1516800 136 |
| 369 | 1593600 152 |
| 370 | 1651200 167 /* speedbin 0,1 */ |
| 371 | 1670400 173 /* speedbin 2 */ |
| 372 | 1708800 186 /* speedbin 0,1 */ |
| 373 | 1747200 201 /* speedbin 2 */ |
Vikram Mulukutla | eb5eab2 | 2017-05-08 13:51:08 -0700 | [diff] [blame] | 374 | >; |
| 375 | idle-cost-data = < |
| 376 | 22 18 14 12 |
| 377 | >; |
| 378 | }; |
| 379 | CPU_COST_1: core-cost1 { |
| 380 | busy-cost-data = < |
Joonwoo Park | 32850e8 | 2017-06-12 16:01:57 -0700 | [diff] [blame] | 381 | 300000 258 |
| 382 | 422400 260 |
| 383 | 499200 261 |
| 384 | 576000 263 |
| 385 | 652800 267 |
| 386 | 729600 272 |
| 387 | 806400 280 |
| 388 | 883200 291 |
| 389 | 960000 305 |
| 390 | 1036800 324 |
| 391 | 1113600 348 |
| 392 | 1190400 378 |
| 393 | 1267200 415 |
| 394 | 1344000 460 |
| 395 | 1420800 513 |
| 396 | 1497600 576 |
| 397 | 1574400 649 |
| 398 | 1651200 732 |
| 399 | 1728000 824 |
| 400 | 1804800 923 |
| 401 | 1881600 1027 |
| 402 | 1958400 1131 |
| 403 | 2035000 1228 /* speedbin 1,2 */ |
| 404 | 2092000 1290 /* speedbin 1 */ |
| 405 | 2112000 1308 /* speedbin 2 */ |
| 406 | 2208000 1363 /* speedbin 2 */ |
Vikram Mulukutla | eb5eab2 | 2017-05-08 13:51:08 -0700 | [diff] [blame] | 407 | >; |
| 408 | idle-cost-data = < |
Joonwoo Park | a5bb67e | 2017-05-15 15:48:25 -0700 | [diff] [blame] | 409 | 100 80 60 40 |
Vikram Mulukutla | eb5eab2 | 2017-05-08 13:51:08 -0700 | [diff] [blame] | 410 | >; |
| 411 | }; |
| 412 | CLUSTER_COST_0: cluster-cost0 { |
| 413 | busy-cost-data = < |
Joonwoo Park | 32850e8 | 2017-06-12 16:01:57 -0700 | [diff] [blame] | 414 | 300000 3 |
| 415 | 422400 4 |
| 416 | 499200 4 |
| 417 | 576000 4 |
| 418 | 652800 5 |
| 419 | 748800 5 |
| 420 | 825600 6 |
| 421 | 902400 7 |
| 422 | 979200 7 |
| 423 | 1056000 8 |
| 424 | 1132800 9 |
| 425 | 1209600 9 |
| 426 | 1286400 10 |
| 427 | 1363200 11 |
| 428 | 1440000 12 |
| 429 | 1516800 13 |
| 430 | 1593600 15 |
| 431 | 1651200 17 /* speedbin 0,1 */ |
| 432 | 1670400 19 /* speedbin 2 */ |
| 433 | 1708800 21 /* speedbin 0,1 */ |
| 434 | 1747200 23 /* speedbin 2 */ |
Vikram Mulukutla | eb5eab2 | 2017-05-08 13:51:08 -0700 | [diff] [blame] | 435 | >; |
| 436 | idle-cost-data = < |
| 437 | 4 3 2 1 |
| 438 | >; |
| 439 | }; |
| 440 | CLUSTER_COST_1: cluster-cost1 { |
| 441 | busy-cost-data = < |
Joonwoo Park | 32850e8 | 2017-06-12 16:01:57 -0700 | [diff] [blame] | 442 | 300000 24 |
| 443 | 422400 24 |
| 444 | 499200 25 |
| 445 | 576000 25 |
| 446 | 652800 26 |
| 447 | 729600 27 |
| 448 | 806400 28 |
| 449 | 883200 29 |
| 450 | 960000 30 |
| 451 | 1036800 32 |
| 452 | 1113600 34 |
| 453 | 1190400 37 |
| 454 | 1267200 40 |
| 455 | 1344000 45 |
| 456 | 1420800 50 |
| 457 | 1497600 57 |
| 458 | 1574400 64 |
| 459 | 1651200 74 |
| 460 | 1728000 84 |
| 461 | 1804800 96 |
| 462 | 1881600 106 |
| 463 | 1958400 113 |
| 464 | 2035000 120 /* speedbin 1,2 */ |
| 465 | 2092000 125 /* speedbin 1 */ |
| 466 | 2112000 127 /* speedbin 2 */ |
| 467 | 2208000 130 /* speedbin 2 */ |
Vikram Mulukutla | eb5eab2 | 2017-05-08 13:51:08 -0700 | [diff] [blame] | 468 | >; |
| 469 | idle-cost-data = < |
| 470 | 4 3 2 1 |
| 471 | >; |
| 472 | }; |
| 473 | }; /* energy-costs */ |
| 474 | |
Trilok Soni | 39f76f2 | 2016-12-15 14:56:26 -0800 | [diff] [blame] | 475 | psci { |
| 476 | compatible = "arm,psci-1.0"; |
| 477 | method = "smc"; |
| 478 | }; |
| 479 | |
Channagoud Kadabi | ffbc5f1 | 2017-07-06 17:09:43 -0700 | [diff] [blame] | 480 | chosen { |
| 481 | bootargs = "rcupdate.rcu_expedited=1"; |
| 482 | }; |
| 483 | |
Channagoud Kadabi | 6d4bb83 | 2016-06-30 23:40:05 -0700 | [diff] [blame] | 484 | soc: soc { }; |
Patrick Daly | ff211c8 | 2016-07-19 20:26:40 -0700 | [diff] [blame] | 485 | |
Puja Gupta | 0f42ee3 | 2017-05-03 15:32:31 -0700 | [diff] [blame] | 486 | vendor: vendor { |
| 487 | #address-cells = <1>; |
| 488 | #size-cells = <1>; |
| 489 | ranges = <0 0 0 0xffffffff>; |
| 490 | compatible = "simple-bus"; |
| 491 | }; |
| 492 | |
Puja Gupta | cce5d0b | 2017-05-05 14:22:25 -0700 | [diff] [blame] | 493 | firmware: firmware { |
| 494 | android { |
| 495 | compatible = "android,firmware"; |
Puja Gupta | 3068486 | 2017-06-08 16:17:00 -0700 | [diff] [blame] | 496 | vbmeta { |
| 497 | compatible = "android,vbmeta"; |
| 498 | parts = "vbmeta,boot,system,vendor,dtbo"; |
| 499 | }; |
| 500 | |
Puja Gupta | cce5d0b | 2017-05-05 14:22:25 -0700 | [diff] [blame] | 501 | fstab { |
| 502 | compatible = "android,fstab"; |
| 503 | vendor { |
| 504 | compatible = "android,vendor"; |
| 505 | dev = "/dev/block/platform/soc/1d84000.ufshc/by-name/vendor"; |
| 506 | type = "ext4"; |
| 507 | mnt_flags = "ro,barrier=1,discard"; |
Puja Gupta | 3068486 | 2017-06-08 16:17:00 -0700 | [diff] [blame] | 508 | fsmgr_flags = "wait,slotselect,avb"; |
Puja Gupta | cce5d0b | 2017-05-05 14:22:25 -0700 | [diff] [blame] | 509 | }; |
| 510 | }; |
| 511 | }; |
| 512 | }; |
| 513 | |
Patrick Daly | ff211c8 | 2016-07-19 20:26:40 -0700 | [diff] [blame] | 514 | reserved-memory { |
| 515 | #address-cells = <2>; |
| 516 | #size-cells = <2>; |
| 517 | ranges; |
| 518 | |
Patrick Daly | 04471a6 | 2017-06-30 14:26:00 -0700 | [diff] [blame] | 519 | hyp_region: hyp_region@85700000 { |
Patrick Daly | ff211c8 | 2016-07-19 20:26:40 -0700 | [diff] [blame] | 520 | no-map; |
Patrick Daly | 04471a6 | 2017-06-30 14:26:00 -0700 | [diff] [blame] | 521 | reg = <0 0x85700000 0 0x600000>; |
Patrick Daly | 2ff257e | 2017-06-06 16:28:50 -0700 | [diff] [blame] | 522 | }; |
| 523 | |
Patrick Daly | 04471a6 | 2017-06-30 14:26:00 -0700 | [diff] [blame] | 524 | xbl_region: xbl_region@85e00000 { |
| 525 | no-map; |
| 526 | reg = <0 0x85e00000 0 0x100000>; |
| 527 | }; |
| 528 | |
| 529 | removed_region: removed_region@85fc0000 { |
Patrick Daly | 2ff257e | 2017-06-06 16:28:50 -0700 | [diff] [blame] | 530 | no-map; |
| 531 | reg = <0 0x85fc0000 0 0x2f40000>; |
Patrick Daly | ff211c8 | 2016-07-19 20:26:40 -0700 | [diff] [blame] | 532 | }; |
| 533 | |
Patrick Daly | 69c4d1d | 2016-10-19 16:03:09 -0700 | [diff] [blame] | 534 | pil_camera_mem: camera_region@8ab00000 { |
Patrick Daly | ff211c8 | 2016-07-19 20:26:40 -0700 | [diff] [blame] | 535 | compatible = "removed-dma-pool"; |
| 536 | no-map; |
Patrick Daly | 69c4d1d | 2016-10-19 16:03:09 -0700 | [diff] [blame] | 537 | reg = <0 0x8ab00000 0 0x500000>; |
Patrick Daly | ff211c8 | 2016-07-19 20:26:40 -0700 | [diff] [blame] | 538 | }; |
| 539 | |
Patrick Daly | 04471a6 | 2017-06-30 14:26:00 -0700 | [diff] [blame] | 540 | pil_adsp_mem: pil_adsp_region@8b100000 { |
Patrick Daly | ff211c8 | 2016-07-19 20:26:40 -0700 | [diff] [blame] | 541 | compatible = "removed-dma-pool"; |
| 542 | no-map; |
Patrick Daly | 04471a6 | 2017-06-30 14:26:00 -0700 | [diff] [blame] | 543 | reg = <0 0x8b100000 0 0x1a00000>; |
Patrick Daly | ff211c8 | 2016-07-19 20:26:40 -0700 | [diff] [blame] | 544 | }; |
| 545 | |
Patrick Daly | 04471a6 | 2017-06-30 14:26:00 -0700 | [diff] [blame] | 546 | wlan_fw_region: wlan_fw_region@8cb00000 { |
| 547 | compatible = "shared-dma-pool"; |
| 548 | reg = <0 0x8cb00000 0 0x100000>; |
Patrick Daly | ff211c8 | 2016-07-19 20:26:40 -0700 | [diff] [blame] | 549 | }; |
| 550 | |
Patrick Daly | 04471a6 | 2017-06-30 14:26:00 -0700 | [diff] [blame] | 551 | pil_modem_mem: modem_region@8cc00000 { |
Patrick Daly | ff211c8 | 2016-07-19 20:26:40 -0700 | [diff] [blame] | 552 | compatible = "removed-dma-pool"; |
| 553 | no-map; |
Patrick Daly | 04471a6 | 2017-06-30 14:26:00 -0700 | [diff] [blame] | 554 | reg = <0 0x8cc00000 0 0x7600000>; |
Patrick Daly | d2b2c26 | 2017-04-03 17:34:50 -0700 | [diff] [blame] | 555 | }; |
| 556 | |
Patrick Daly | 04471a6 | 2017-06-30 14:26:00 -0700 | [diff] [blame] | 557 | pil_video_mem: pil_video_region@94200000 { |
Patrick Daly | d2b2c26 | 2017-04-03 17:34:50 -0700 | [diff] [blame] | 558 | compatible = "removed-dma-pool"; |
| 559 | no-map; |
Patrick Daly | 04471a6 | 2017-06-30 14:26:00 -0700 | [diff] [blame] | 560 | reg = <0 0x94200000 0 0x500000>; |
Patrick Daly | d2b2c26 | 2017-04-03 17:34:50 -0700 | [diff] [blame] | 561 | }; |
| 562 | |
Patrick Daly | 04471a6 | 2017-06-30 14:26:00 -0700 | [diff] [blame] | 563 | pil_cdsp_mem: cdsp_regions@94700000 { |
Patrick Daly | d2b2c26 | 2017-04-03 17:34:50 -0700 | [diff] [blame] | 564 | compatible = "removed-dma-pool"; |
| 565 | no-map; |
Patrick Daly | 04471a6 | 2017-06-30 14:26:00 -0700 | [diff] [blame] | 566 | reg = <0 0x94700000 0 0x800000>; |
Patrick Daly | d2b2c26 | 2017-04-03 17:34:50 -0700 | [diff] [blame] | 567 | }; |
| 568 | |
Patrick Daly | 04471a6 | 2017-06-30 14:26:00 -0700 | [diff] [blame] | 569 | pil_mba_mem: pil_mba_region@0x94f00000 { |
Patrick Daly | d2b2c26 | 2017-04-03 17:34:50 -0700 | [diff] [blame] | 570 | compatible = "removed-dma-pool"; |
| 571 | no-map; |
Patrick Daly | 04471a6 | 2017-06-30 14:26:00 -0700 | [diff] [blame] | 572 | reg = <0 0x94f00000 0 0x200000>; |
Patrick Daly | d2b2c26 | 2017-04-03 17:34:50 -0700 | [diff] [blame] | 573 | }; |
| 574 | |
Patrick Daly | 04471a6 | 2017-06-30 14:26:00 -0700 | [diff] [blame] | 575 | pil_slpi_mem: pil_slpi_region@95100000 { |
Patrick Daly | d2b2c26 | 2017-04-03 17:34:50 -0700 | [diff] [blame] | 576 | compatible = "removed-dma-pool"; |
| 577 | no-map; |
Patrick Daly | 04471a6 | 2017-06-30 14:26:00 -0700 | [diff] [blame] | 578 | reg = <0 0x95100000 0 0x1400000>; |
| 579 | }; |
| 580 | |
| 581 | |
| 582 | pil_spss_mem: spss_region@96500000 { |
| 583 | compatible = "removed-dma-pool"; |
| 584 | no-map; |
| 585 | reg = <0 0x96500000 0 0x100000>; |
Patrick Daly | ff211c8 | 2016-07-19 20:26:40 -0700 | [diff] [blame] | 586 | }; |
| 587 | |
| 588 | adsp_mem: adsp_region { |
| 589 | compatible = "shared-dma-pool"; |
| 590 | alloc-ranges = <0 0x00000000 0 0xffffffff>; |
| 591 | reusable; |
| 592 | alignment = <0 0x400000>; |
Sathish Ambley | ed346ea | 2017-03-14 10:00:50 -0700 | [diff] [blame] | 593 | size = <0 0xc00000>; |
Patrick Daly | ff211c8 | 2016-07-19 20:26:40 -0700 | [diff] [blame] | 594 | }; |
| 595 | |
| 596 | qseecom_mem: qseecom_region { |
| 597 | compatible = "shared-dma-pool"; |
| 598 | alloc-ranges = <0 0x00000000 0 0xffffffff>; |
Patrick Daly | b7af083 | 2017-08-14 15:06:46 -0700 | [diff] [blame] | 599 | no-map; |
Patrick Daly | ff211c8 | 2016-07-19 20:26:40 -0700 | [diff] [blame] | 600 | alignment = <0 0x400000>; |
| 601 | size = <0 0x1400000>; |
| 602 | }; |
| 603 | |
Sudarshan Rajagopalan | c3e15fc | 2017-05-17 18:34:42 -0700 | [diff] [blame] | 604 | secure_sp_mem: secure_sp_region { /* SPSS-HLOS ION shared mem */ |
Patrick Daly | ff211c8 | 2016-07-19 20:26:40 -0700 | [diff] [blame] | 605 | compatible = "shared-dma-pool"; |
| 606 | alloc-ranges = <0 0x00000000 0 0xffffffff>; /* 32-bit */ |
| 607 | reusable; |
| 608 | alignment = <0 0x400000>; |
| 609 | size = <0 0x800000>; |
| 610 | }; |
| 611 | |
| 612 | secure_display_memory: secure_display_region { |
| 613 | compatible = "shared-dma-pool"; |
| 614 | alloc-ranges = <0 0x00000000 0 0xffffffff>; |
| 615 | reusable; |
| 616 | alignment = <0 0x400000>; |
| 617 | size = <0 0x5c00000>; |
| 618 | }; |
| 619 | |
Satyajit Desai | 89c4e2e | 2017-05-11 19:34:47 -0700 | [diff] [blame] | 620 | dump_mem: mem_dump_region { |
| 621 | compatible = "shared-dma-pool"; |
| 622 | reusable; |
| 623 | size = <0 0x2400000>; |
| 624 | }; |
| 625 | |
Patrick Daly | ff211c8 | 2016-07-19 20:26:40 -0700 | [diff] [blame] | 626 | /* global autoconfigured region for contiguous allocations */ |
| 627 | linux,cma { |
| 628 | compatible = "shared-dma-pool"; |
| 629 | alloc-ranges = <0 0x00000000 0 0xffffffff>; |
| 630 | reusable; |
| 631 | alignment = <0 0x400000>; |
| 632 | size = <0 0x2000000>; |
| 633 | linux,cma-default; |
| 634 | }; |
| 635 | }; |
Channagoud Kadabi | 6d4bb83 | 2016-06-30 23:40:05 -0700 | [diff] [blame] | 636 | }; |
| 637 | |
Kyle Yan | 6a20fae | 2017-02-14 13:34:41 -0800 | [diff] [blame] | 638 | #include "msm-gdsc-sdm845.dtsi" |
Shashank Babu Chinta Venkata | 46bb3b5 | 2017-04-05 12:14:18 -0700 | [diff] [blame] | 639 | #include "sdm845-sde-pll.dtsi" |
tharun kumar | 7eca0bb | 2017-06-28 16:49:18 +0530 | [diff] [blame] | 640 | #include "msm-rdbg.dtsi" |
Kyle Yan | 6a20fae | 2017-02-14 13:34:41 -0800 | [diff] [blame] | 641 | #include "sdm845-sde.dtsi" |
Girish Mahadevan | 2e2fbe7 | 2017-03-28 13:28:18 -0600 | [diff] [blame] | 642 | #include "sdm845-qupv3.dtsi" |
Deepak Katragadda | 7b16dba | 2016-08-05 18:06:30 -0700 | [diff] [blame] | 643 | |
Channagoud Kadabi | 6d4bb83 | 2016-06-30 23:40:05 -0700 | [diff] [blame] | 644 | &soc { |
| 645 | #address-cells = <1>; |
| 646 | #size-cells = <1>; |
| 647 | ranges = <0 0 0 0xffffffff>; |
| 648 | compatible = "simple-bus"; |
| 649 | |
| 650 | intc: interrupt-controller@17a00000 { |
| 651 | compatible = "arm,gic-v3"; |
| 652 | #interrupt-cells = <3>; |
| 653 | interrupt-controller; |
| 654 | #redistributor-regions = <1>; |
| 655 | redistributor-stride = <0x0 0x20000>; |
| 656 | reg = <0x17a00000 0x10000>, /* GICD */ |
Kyle Yan | c59b355 | 2016-09-29 16:25:03 -0700 | [diff] [blame] | 657 | <0x17a60000 0x100000>; /* GICR * 8 */ |
Channagoud Kadabi | 6d4bb83 | 2016-06-30 23:40:05 -0700 | [diff] [blame] | 658 | interrupts = <1 9 4>; |
Archana Sathyakumar | 00a36ab | 2017-03-03 14:38:26 -0700 | [diff] [blame] | 659 | interrupt-parent = <&intc>; |
Channagoud Kadabi | 6d4bb83 | 2016-06-30 23:40:05 -0700 | [diff] [blame] | 660 | }; |
| 661 | |
| 662 | timer { |
| 663 | compatible = "arm,armv8-timer"; |
| 664 | interrupts = <1 1 0xf08>, |
| 665 | <1 2 0xf08>, |
| 666 | <1 3 0xf08>, |
| 667 | <1 0 0xf08>; |
| 668 | clock-frequency = <19200000>; |
| 669 | }; |
| 670 | |
| 671 | timer@0x17C90000{ |
| 672 | #address-cells = <1>; |
| 673 | #size-cells = <1>; |
| 674 | ranges; |
| 675 | compatible = "arm,armv7-timer-mem"; |
| 676 | reg = <0x17C90000 0x1000>; |
| 677 | clock-frequency = <19200000>; |
| 678 | |
| 679 | frame@0x17CA0000 { |
| 680 | frame-number = <0>; |
Channagoud Kadabi | 925d542 | 2017-01-13 12:54:03 -0800 | [diff] [blame] | 681 | interrupts = <0 7 0x4>, |
| 682 | <0 6 0x4>; |
Channagoud Kadabi | 6d4bb83 | 2016-06-30 23:40:05 -0700 | [diff] [blame] | 683 | reg = <0x17CA0000 0x1000>, |
| 684 | <0x17CB0000 0x1000>; |
| 685 | }; |
| 686 | |
| 687 | frame@17cc0000 { |
| 688 | frame-number = <1>; |
Channagoud Kadabi | 925d542 | 2017-01-13 12:54:03 -0800 | [diff] [blame] | 689 | interrupts = <0 8 0x4>; |
Channagoud Kadabi | 6d4bb83 | 2016-06-30 23:40:05 -0700 | [diff] [blame] | 690 | reg = <0x17cc0000 0x1000>; |
| 691 | status = "disabled"; |
| 692 | }; |
| 693 | |
| 694 | frame@17cd0000 { |
| 695 | frame-number = <2>; |
Channagoud Kadabi | 925d542 | 2017-01-13 12:54:03 -0800 | [diff] [blame] | 696 | interrupts = <0 9 0x4>; |
Channagoud Kadabi | 6d4bb83 | 2016-06-30 23:40:05 -0700 | [diff] [blame] | 697 | reg = <0x17cd0000 0x1000>; |
| 698 | status = "disabled"; |
| 699 | }; |
| 700 | |
| 701 | frame@17ce0000 { |
| 702 | frame-number = <3>; |
Channagoud Kadabi | 925d542 | 2017-01-13 12:54:03 -0800 | [diff] [blame] | 703 | interrupts = <0 10 0x4>; |
Channagoud Kadabi | 6d4bb83 | 2016-06-30 23:40:05 -0700 | [diff] [blame] | 704 | reg = <0x17ce0000 0x1000>; |
| 705 | status = "disabled"; |
| 706 | }; |
| 707 | |
| 708 | frame@17cf0000 { |
| 709 | frame-number = <4>; |
Channagoud Kadabi | 925d542 | 2017-01-13 12:54:03 -0800 | [diff] [blame] | 710 | interrupts = <0 11 0x4>; |
Channagoud Kadabi | 6d4bb83 | 2016-06-30 23:40:05 -0700 | [diff] [blame] | 711 | reg = <0x17cf0000 0x1000>; |
| 712 | status = "disabled"; |
| 713 | }; |
| 714 | |
| 715 | frame@17d00000 { |
| 716 | frame-number = <5>; |
Channagoud Kadabi | 925d542 | 2017-01-13 12:54:03 -0800 | [diff] [blame] | 717 | interrupts = <0 12 0x4>; |
Channagoud Kadabi | 6d4bb83 | 2016-06-30 23:40:05 -0700 | [diff] [blame] | 718 | reg = <0x17d00000 0x1000>; |
| 719 | status = "disabled"; |
| 720 | }; |
| 721 | |
| 722 | frame@17d10000 { |
| 723 | frame-number = <6>; |
Channagoud Kadabi | 925d542 | 2017-01-13 12:54:03 -0800 | [diff] [blame] | 724 | interrupts = <0 13 0x4>; |
Channagoud Kadabi | 6d4bb83 | 2016-06-30 23:40:05 -0700 | [diff] [blame] | 725 | reg = <0x17d10000 0x1000>; |
| 726 | status = "disabled"; |
| 727 | }; |
| 728 | }; |
Deepak Katragadda | cfb593f | 2016-07-15 12:30:37 -0700 | [diff] [blame] | 729 | |
Kyle Yan | a795b9d | 2017-02-14 16:16:13 -0800 | [diff] [blame] | 730 | restart@10ac000 { |
| 731 | compatible = "qcom,pshold"; |
| 732 | reg = <0xC264000 0x4>, |
| 733 | <0x1fd3000 0x4>; |
| 734 | reg-names = "pshold-base", "tcsr-boot-misc-detect"; |
| 735 | }; |
| 736 | |
Mahesh Sivasubramanian | 4782ca6 | 2017-06-15 14:59:31 -0600 | [diff] [blame] | 737 | aop-msg-client { |
| 738 | compatible = "qcom,debugfs-qmp-client"; |
| 739 | mboxes = <&qmp_aop 0>; |
| 740 | mbox-names = "aop"; |
| 741 | }; |
| 742 | |
David Collins | ef3dd9c | 2017-01-12 14:14:23 -0800 | [diff] [blame] | 743 | spmi_bus: qcom,spmi@c440000 { |
| 744 | compatible = "qcom,spmi-pmic-arb"; |
| 745 | reg = <0xc440000 0x1100>, |
| 746 | <0xc600000 0x2000000>, |
| 747 | <0xe600000 0x100000>, |
| 748 | <0xe700000 0xa0000>, |
| 749 | <0xc40a000 0x26000>; |
| 750 | reg-names = "core", "chnls", "obsrvr", "intr", "cnfg"; |
| 751 | interrupt-names = "periph_irq"; |
| 752 | interrupts = <GIC_SPI 481 IRQ_TYPE_NONE>; |
| 753 | qcom,ee = <0>; |
| 754 | qcom,channel = <0>; |
| 755 | #address-cells = <2>; |
| 756 | #size-cells = <0>; |
| 757 | interrupt-controller; |
| 758 | #interrupt-cells = <4>; |
| 759 | cell-index = <0>; |
| 760 | }; |
| 761 | |
David Collins | 86dc5b5 | 2017-04-11 14:29:36 -0700 | [diff] [blame] | 762 | spmi_debug_bus: qcom,spmi-debug@6b22000 { |
| 763 | compatible = "qcom,spmi-pmic-arb-debug"; |
| 764 | reg = <0x6b22000 0x60>, <0x7820A8 4>; |
| 765 | reg-names = "core", "fuse"; |
David Collins | 42936de | 2017-06-08 14:52:43 -0700 | [diff] [blame] | 766 | clocks = <&clock_aop QDSS_CLK>; |
| 767 | clock-names = "core_clk"; |
David Collins | 86dc5b5 | 2017-04-11 14:29:36 -0700 | [diff] [blame] | 768 | qcom,fuse-disable-bit = <12>; |
| 769 | #address-cells = <2>; |
| 770 | #size-cells = <0>; |
| 771 | |
| 772 | qcom,pm8998-debug@0 { |
| 773 | compatible = "qcom,spmi-pmic"; |
| 774 | reg = <0x0 SPMI_USID>; |
| 775 | #address-cells = <2>; |
| 776 | #size-cells = <0>; |
David Collins | db91361 | 2017-06-08 17:13:28 -0700 | [diff] [blame] | 777 | qcom,can-sleep; |
David Collins | 86dc5b5 | 2017-04-11 14:29:36 -0700 | [diff] [blame] | 778 | }; |
| 779 | |
| 780 | qcom,pm8998-debug@1 { |
| 781 | compatible = "qcom,spmi-pmic"; |
| 782 | reg = <0x1 SPMI_USID>; |
| 783 | #address-cells = <2>; |
| 784 | #size-cells = <0>; |
David Collins | db91361 | 2017-06-08 17:13:28 -0700 | [diff] [blame] | 785 | qcom,can-sleep; |
David Collins | 86dc5b5 | 2017-04-11 14:29:36 -0700 | [diff] [blame] | 786 | }; |
| 787 | |
| 788 | qcom,pmi8998-debug@2 { |
| 789 | compatible = "qcom,spmi-pmic"; |
| 790 | reg = <0x2 SPMI_USID>; |
| 791 | #address-cells = <2>; |
| 792 | #size-cells = <0>; |
David Collins | db91361 | 2017-06-08 17:13:28 -0700 | [diff] [blame] | 793 | qcom,can-sleep; |
David Collins | 86dc5b5 | 2017-04-11 14:29:36 -0700 | [diff] [blame] | 794 | }; |
| 795 | |
| 796 | qcom,pmi8998-debug@3 { |
| 797 | compatible = "qcom,spmi-pmic"; |
| 798 | reg = <0x3 SPMI_USID>; |
| 799 | #address-cells = <2>; |
| 800 | #size-cells = <0>; |
David Collins | db91361 | 2017-06-08 17:13:28 -0700 | [diff] [blame] | 801 | qcom,can-sleep; |
David Collins | 86dc5b5 | 2017-04-11 14:29:36 -0700 | [diff] [blame] | 802 | }; |
| 803 | |
| 804 | qcom,pm8005-debug@4 { |
| 805 | compatible = "qcom,spmi-pmic"; |
| 806 | reg = <0x4 SPMI_USID>; |
| 807 | #address-cells = <2>; |
| 808 | #size-cells = <0>; |
David Collins | db91361 | 2017-06-08 17:13:28 -0700 | [diff] [blame] | 809 | qcom,can-sleep; |
David Collins | 86dc5b5 | 2017-04-11 14:29:36 -0700 | [diff] [blame] | 810 | }; |
| 811 | |
| 812 | qcom,pm8005-debug@5 { |
| 813 | compatible = "qcom,spmi-pmic"; |
| 814 | reg = <0x5 SPMI_USID>; |
| 815 | #address-cells = <2>; |
| 816 | #size-cells = <0>; |
David Collins | db91361 | 2017-06-08 17:13:28 -0700 | [diff] [blame] | 817 | qcom,can-sleep; |
David Collins | 86dc5b5 | 2017-04-11 14:29:36 -0700 | [diff] [blame] | 818 | }; |
| 819 | }; |
| 820 | |
Rohit Gupta | 64b7e65 | 2017-03-01 10:47:52 -0800 | [diff] [blame] | 821 | cpubw: qcom,cpubw { |
| 822 | compatible = "qcom,devbw"; |
| 823 | governor = "performance"; |
Stephen Boyd | 567b1fc | 2017-06-06 17:47:12 -0700 | [diff] [blame] | 824 | qcom,src-dst-ports = |
| 825 | <MSM_BUS_MASTER_AMPSS_M0 MSM_BUS_SLAVE_LLCC>; |
Rohit Gupta | 64b7e65 | 2017-03-01 10:47:52 -0800 | [diff] [blame] | 826 | qcom,active-only; |
| 827 | qcom,bw-tbl = |
Stephen Boyd | 567b1fc | 2017-06-06 17:47:12 -0700 | [diff] [blame] | 828 | < 2288 /* 150 MHz */ >, |
| 829 | < 4577 /* 300 MHz */ >, |
| 830 | < 6500 /* 426 MHz */ >, |
| 831 | < 8132 /* 533 MHz */ >, |
| 832 | < 9155 /* 600 MHz */ >, |
| 833 | < 10681 /* 700 MHz */ >; |
Rohit Gupta | 64b7e65 | 2017-03-01 10:47:52 -0800 | [diff] [blame] | 834 | }; |
| 835 | |
| 836 | bwmon: qcom,cpu-bwmon { |
| 837 | compatible = "qcom,bimc-bwmon4"; |
| 838 | reg = <0x1436400 0x300>, <0x1436300 0x200>; |
| 839 | reg-names = "base", "global_base"; |
| 840 | interrupts = <0 581 4>; |
| 841 | qcom,mport = <0>; |
| 842 | qcom,hw-timer-hz = <19200000>; |
| 843 | qcom,target-dev = <&cpubw>; |
| 844 | }; |
| 845 | |
Stephen Boyd | b1adf31 | 2017-04-03 16:02:12 -0700 | [diff] [blame] | 846 | llccbw: qcom,llccbw { |
| 847 | compatible = "qcom,devbw"; |
| 848 | governor = "powersave"; |
| 849 | qcom,src-dst-ports = |
Stephen Boyd | 567b1fc | 2017-06-06 17:47:12 -0700 | [diff] [blame] | 850 | <MSM_BUS_MASTER_LLCC MSM_BUS_SLAVE_EBI_CH0>; |
Stephen Boyd | b1adf31 | 2017-04-03 16:02:12 -0700 | [diff] [blame] | 851 | qcom,active-only; |
| 852 | qcom,bw-tbl = |
| 853 | < 762 /* 200 MHz */ >, |
| 854 | < 1144 /* 300 MHz */ >, |
| 855 | < 1720 /* 451 MHz */ >, |
| 856 | < 2086 /* 547 MHz */ >, |
| 857 | < 2597 /* 681 MHz */ >, |
| 858 | < 2929 /* 768 MHz */ >, |
| 859 | < 3879 /* 1017 MHz */ >, |
| 860 | < 4943 /* 1296 MHz */ >, |
| 861 | < 5931 /* 1555 MHz */ >, |
| 862 | < 6881 /* 1804 MHz */ >; |
| 863 | }; |
| 864 | |
| 865 | llcc_bwmon: qcom,llcc-bwmon { |
| 866 | compatible = "qcom,bimc-bwmon5"; |
| 867 | reg = <0x0114A000 0x1000>; |
| 868 | reg-names = "base"; |
| 869 | interrupts = <GIC_SPI 580 IRQ_TYPE_LEVEL_HIGH>; |
| 870 | qcom,hw-timer-hz = <19200000>; |
| 871 | qcom,target-dev = <&llccbw>; |
| 872 | qcom,count-unit = <0x400000>; |
| 873 | qcom,byte-mid-mask = <0xe000>; |
| 874 | qcom,byte-mid-match = <0xe000>; |
| 875 | }; |
| 876 | |
Rohit Gupta | 44171c7 | 2017-03-06 14:07:50 -0800 | [diff] [blame] | 877 | memlat_cpu0: qcom,memlat-cpu0 { |
| 878 | compatible = "qcom,devbw"; |
| 879 | governor = "powersave"; |
| 880 | qcom,src-dst-ports = <1 512>; |
| 881 | qcom,active-only; |
| 882 | qcom,bw-tbl = |
| 883 | < 762 /* 200 MHz */ >, |
| 884 | < 1144 /* 300 MHz */ >, |
| 885 | < 1720 /* 451 MHz */ >, |
| 886 | < 2086 /* 547 MHz */ >, |
| 887 | < 2597 /* 681 MHz */ >, |
| 888 | < 2929 /* 768 MHz */ >, |
| 889 | < 3879 /* 1017 MHz */ >, |
| 890 | < 4943 /* 1296 MHz */ >, |
| 891 | < 5931 /* 1555 MHz */ >, |
| 892 | < 6881 /* 1804 MHz */ >; |
| 893 | }; |
| 894 | |
| 895 | memlat_cpu4: qcom,memlat-cpu4 { |
| 896 | compatible = "qcom,devbw"; |
| 897 | governor = "powersave"; |
| 898 | qcom,src-dst-ports = <1 512>; |
| 899 | qcom,active-only; |
| 900 | status = "ok"; |
| 901 | qcom,bw-tbl = |
| 902 | < 762 /* 200 MHz */ >, |
| 903 | < 1144 /* 300 MHz */ >, |
| 904 | < 1720 /* 451 MHz */ >, |
| 905 | < 2086 /* 547 MHz */ >, |
| 906 | < 2597 /* 681 MHz */ >, |
| 907 | < 2929 /* 768 MHz */ >, |
| 908 | < 3879 /* 1017 MHz */ >, |
| 909 | < 4943 /* 1296 MHz */ >, |
| 910 | < 5931 /* 1555 MHz */ >, |
| 911 | < 6881 /* 1804 MHz */ >; |
| 912 | }; |
| 913 | |
David Dai | cbf740d | 2017-04-05 17:13:54 -0700 | [diff] [blame] | 914 | snoc_cnoc_keepalive: qcom,snoc_cnoc_keepalive { |
| 915 | compatible = "qcom,devbw"; |
| 916 | governor = "powersave"; |
| 917 | qcom,src-dst-ports = <139 627>; |
| 918 | qcom,active-only; |
| 919 | status = "ok"; |
| 920 | qcom,bw-tbl = |
| 921 | < 1 >; |
| 922 | }; |
| 923 | |
Rohit Gupta | 44171c7 | 2017-03-06 14:07:50 -0800 | [diff] [blame] | 924 | devfreq_memlat_0: qcom,cpu0-memlat-mon { |
| 925 | compatible = "qcom,arm-memlat-mon"; |
| 926 | qcom,cpulist = <&CPU0 &CPU1 &CPU2 &CPU3>; |
| 927 | qcom,target-dev = <&memlat_cpu0>; |
| 928 | qcom,cachemiss-ev = <0x2A>; |
| 929 | qcom,core-dev-table = |
| 930 | < 300000 762 >, |
| 931 | < 748800 1720 >, |
Rohit Gupta | e10588f | 2017-07-10 11:24:57 -0700 | [diff] [blame] | 932 | < 1132800 2086 >, |
| 933 | < 1440000 2929 >, |
| 934 | < 1593600 3879 >; |
Rohit Gupta | 44171c7 | 2017-03-06 14:07:50 -0800 | [diff] [blame] | 935 | }; |
| 936 | |
| 937 | devfreq_memlat_4: qcom,cpu4-memlat-mon { |
| 938 | compatible = "qcom,arm-memlat-mon"; |
| 939 | qcom,cpulist = <&CPU4 &CPU5 &CPU6 &CPU7>; |
| 940 | qcom,target-dev = <&memlat_cpu4>; |
| 941 | qcom,cachemiss-ev = <0x2A>; |
| 942 | qcom,core-dev-table = |
| 943 | < 300000 762 >, |
Rohit Gupta | e10588f | 2017-07-10 11:24:57 -0700 | [diff] [blame] | 944 | < 499200 1720 >, |
| 945 | < 806400 2086 >, |
Rohit Gupta | 44171c7 | 2017-03-06 14:07:50 -0800 | [diff] [blame] | 946 | < 1036800 2929 >, |
| 947 | < 1190400 3879 >, |
| 948 | < 1574400 4943 >, |
Rohit Gupta | e10588f | 2017-07-10 11:24:57 -0700 | [diff] [blame] | 949 | < 1728000 5931 >, |
Rohit Gupta | 44171c7 | 2017-03-06 14:07:50 -0800 | [diff] [blame] | 950 | < 1958400 6881 >; |
| 951 | }; |
| 952 | |
| 953 | l3_cpu0: qcom,l3-cpu0 { |
| 954 | compatible = "devfreq-simple-dev"; |
| 955 | clock-names = "devfreq_clk"; |
| 956 | clocks = <&clock_cpucc L3_CLUSTER0_VOTE_CLK>; |
| 957 | governor = "performance"; |
Rohit Gupta | 44171c7 | 2017-03-06 14:07:50 -0800 | [diff] [blame] | 958 | }; |
| 959 | |
| 960 | l3_cpu4: qcom,l3-cpu4 { |
| 961 | compatible = "devfreq-simple-dev"; |
| 962 | clock-names = "devfreq_clk"; |
| 963 | clocks = <&clock_cpucc L3_CLUSTER1_VOTE_CLK>; |
| 964 | governor = "performance"; |
Rohit Gupta | 44171c7 | 2017-03-06 14:07:50 -0800 | [diff] [blame] | 965 | }; |
| 966 | |
| 967 | devfreq_l3lat_0: qcom,cpu0-l3lat-mon { |
| 968 | compatible = "qcom,arm-memlat-mon"; |
| 969 | qcom,cpulist = <&CPU0 &CPU1 &CPU2 &CPU3>; |
| 970 | qcom,target-dev = <&l3_cpu0>; |
| 971 | qcom,cachemiss-ev = <0x17>; |
| 972 | qcom,core-dev-table = |
Rohit Gupta | 6cbadca | 2017-07-10 16:29:46 -0700 | [diff] [blame] | 973 | < 300000 300000000 >, |
| 974 | < 748800 576000000 >, |
| 975 | < 979200 652800000 >, |
| 976 | < 1209600 806400000 >, |
| 977 | < 1516800 883200000 >, |
| 978 | < 1593600 960000000 >, |
Rohit Gupta | 53fdca0 | 2017-07-12 16:01:52 -0700 | [diff] [blame] | 979 | < 1708800 1305600000 >; |
Rohit Gupta | 44171c7 | 2017-03-06 14:07:50 -0800 | [diff] [blame] | 980 | }; |
| 981 | |
| 982 | devfreq_l3lat_4: qcom,cpu4-l3lat-mon { |
| 983 | compatible = "qcom,arm-memlat-mon"; |
| 984 | qcom,cpulist = <&CPU4 &CPU5 &CPU6 &CPU7>; |
| 985 | qcom,target-dev = <&l3_cpu4>; |
| 986 | qcom,cachemiss-ev = <0x17>; |
| 987 | qcom,core-dev-table = |
Rohit Gupta | 6cbadca | 2017-07-10 16:29:46 -0700 | [diff] [blame] | 988 | < 300000 300000000 >, |
| 989 | < 1036800 576000000 >, |
| 990 | < 1190400 806400000 >, |
| 991 | < 1574400 883200000 >, |
| 992 | < 1804800 960000000 >, |
Rohit Gupta | 53fdca0 | 2017-07-12 16:01:52 -0700 | [diff] [blame] | 993 | < 1958400 1305600000 >; |
Rohit Gupta | 44171c7 | 2017-03-06 14:07:50 -0800 | [diff] [blame] | 994 | }; |
| 995 | |
Patrick Fay | 4b46f42 | 2017-04-05 10:09:49 -0700 | [diff] [blame] | 996 | cpu_pmu: cpu-pmu { |
| 997 | compatible = "arm,armv8-pmuv3"; |
| 998 | qcom,irq-is-percpu; |
| 999 | interrupts = <1 5 4>; |
| 1000 | }; |
| 1001 | |
Rohit Gupta | 3097ad7 | 2017-05-19 17:31:13 -0700 | [diff] [blame] | 1002 | mincpubw: qcom,mincpubw { |
| 1003 | compatible = "qcom,devbw"; |
| 1004 | governor = "powersave"; |
| 1005 | qcom,src-dst-ports = <1 512>; |
| 1006 | qcom,active-only; |
| 1007 | qcom,bw-tbl = |
| 1008 | < 762 /* 200 MHz */ >, |
| 1009 | < 1144 /* 300 MHz */ >, |
| 1010 | < 1720 /* 451 MHz */ >, |
| 1011 | < 2086 /* 547 MHz */ >, |
| 1012 | < 2597 /* 681 MHz */ >, |
| 1013 | < 2929 /* 768 MHz */ >, |
| 1014 | < 3879 /* 1017 MHz */ >, |
| 1015 | < 4943 /* 1296 MHz */ >, |
| 1016 | < 5931 /* 1555 MHz */ >, |
| 1017 | < 6881 /* 1804 MHz */ >; |
| 1018 | }; |
| 1019 | |
| 1020 | devfreq-cpufreq { |
| 1021 | mincpubw-cpufreq { |
| 1022 | target-dev = <&mincpubw>; |
| 1023 | cpu-to-dev-map-0 = |
| 1024 | < 1708800 762 >; |
| 1025 | cpu-to-dev-map-4 = |
Deepak Katragadda | f87cdd9 | 2017-05-22 16:28:21 -0700 | [diff] [blame] | 1026 | < 1881600 762 >, |
| 1027 | < 2208000 2597 >; |
Rohit Gupta | 3097ad7 | 2017-05-19 17:31:13 -0700 | [diff] [blame] | 1028 | }; |
| 1029 | }; |
| 1030 | |
Taniya Das | 9b42110 | 2017-05-05 13:59:58 +0530 | [diff] [blame] | 1031 | clock_rpmh: qcom,rpmhclk { |
| 1032 | compatible = "qcom,rpmh-clk-sdm845"; |
| 1033 | #clock-cells = <1>; |
| 1034 | mboxes = <&apps_rsc 0>; |
| 1035 | mbox-names = "apps"; |
| 1036 | }; |
| 1037 | |
Deepak Katragadda | f8b9cc6 | 2016-11-02 15:17:15 -0700 | [diff] [blame] | 1038 | clock_gcc: qcom,gcc@100000 { |
Deepak Katragadda | 98bdd50 | 2017-04-03 13:54:13 -0700 | [diff] [blame] | 1039 | compatible = "qcom,gcc-sdm845", "syscon"; |
Deepak Katragadda | f8b9cc6 | 2016-11-02 15:17:15 -0700 | [diff] [blame] | 1040 | reg = <0x100000 0x1f0000>; |
| 1041 | reg-names = "cc_base"; |
David Collins | 3a45794 | 2016-12-09 16:59:51 -0800 | [diff] [blame] | 1042 | vdd_cx-supply = <&pm8998_s9_level>; |
| 1043 | vdd_cx_ao-supply = <&pm8998_s9_level_ao>; |
Deepak Katragadda | cfb593f | 2016-07-15 12:30:37 -0700 | [diff] [blame] | 1044 | #clock-cells = <1>; |
Deepak Katragadda | fbdb325 | 2016-08-12 14:19:01 -0700 | [diff] [blame] | 1045 | #reset-cells = <1>; |
Deepak Katragadda | cfb593f | 2016-07-15 12:30:37 -0700 | [diff] [blame] | 1046 | }; |
| 1047 | |
Deepak Katragadda | b09ab88 | 2016-11-09 17:47:29 -0800 | [diff] [blame] | 1048 | clock_videocc: qcom,videocc@ab00000 { |
Deepak Katragadda | 98bdd50 | 2017-04-03 13:54:13 -0700 | [diff] [blame] | 1049 | compatible = "qcom,video_cc-sdm845", "syscon"; |
Deepak Katragadda | b09ab88 | 2016-11-09 17:47:29 -0800 | [diff] [blame] | 1050 | reg = <0xab00000 0x10000>; |
| 1051 | reg-names = "cc_base"; |
David Collins | 3a45794 | 2016-12-09 16:59:51 -0800 | [diff] [blame] | 1052 | vdd_cx-supply = <&pm8998_s9_level>; |
Deepak Katragadda | cfb593f | 2016-07-15 12:30:37 -0700 | [diff] [blame] | 1053 | #clock-cells = <1>; |
Deepak Katragadda | fbdb325 | 2016-08-12 14:19:01 -0700 | [diff] [blame] | 1054 | #reset-cells = <1>; |
Deepak Katragadda | cfb593f | 2016-07-15 12:30:37 -0700 | [diff] [blame] | 1055 | }; |
| 1056 | |
Deepak Katragadda | 7f073cb | 2016-12-15 14:22:38 -0800 | [diff] [blame] | 1057 | clock_camcc: qcom,camcc@ad00000 { |
Deepak Katragadda | 98bdd50 | 2017-04-03 13:54:13 -0700 | [diff] [blame] | 1058 | compatible = "qcom,cam_cc-sdm845", "syscon"; |
Deepak Katragadda | 7f073cb | 2016-12-15 14:22:38 -0800 | [diff] [blame] | 1059 | reg = <0xad00000 0x10000>; |
| 1060 | reg-names = "cc_base"; |
| 1061 | vdd_cx-supply = <&pm8998_s9_level>; |
| 1062 | vdd_mx-supply = <&pm8998_s6_level>; |
Pavan Kumar Chilamkurthi | 6bc57c1 | 2017-05-31 22:16:55 -0700 | [diff] [blame] | 1063 | qcom,cam_cc_csi0phytimer_clk_src-opp-handle = <&cam_csiphy0>; |
| 1064 | qcom,cam_cc_csi1phytimer_clk_src-opp-handle = <&cam_csiphy1>; |
| 1065 | qcom,cam_cc_csi2phytimer_clk_src-opp-handle = <&cam_csiphy2>; |
| 1066 | qcom,cam_cc_cci_clk_src-opp-handle = <&cam_cci>; |
| 1067 | qcom,cam_cc_ife_0_csid_clk_src-opp-handle = <&cam_csid0>; |
| 1068 | qcom,cam_cc_ife_0_clk_src-opp-handle = <&cam_vfe0>; |
| 1069 | qcom,cam_cc_ife_1_csid_clk_src-opp-handle = <&cam_csid1>; |
| 1070 | qcom,cam_cc_ife_1_clk_src-opp-handle = <&cam_vfe1>; |
| 1071 | qcom,cam_cc_ife_lite_csid_clk_src-opp-handle = <&cam_csid_lite>; |
| 1072 | qcom,cam_cc_ife_lite_clk_src-opp-handle = <&cam_vfe_lite>; |
| 1073 | qcom,cam_cc_icp_clk_src-opp-handle = <&cam_a5>; |
| 1074 | qcom,cam_cc_ipe_0_clk_src-opp-handle = <&cam_ipe0>; |
| 1075 | qcom,cam_cc_ipe_1_clk_src-opp-handle = <&cam_ipe1>; |
| 1076 | qcom,cam_cc_bps_clk_src-opp-handle = <&cam_bps>; |
Deepak Katragadda | cfb593f | 2016-07-15 12:30:37 -0700 | [diff] [blame] | 1077 | #clock-cells = <1>; |
Deepak Katragadda | fbdb325 | 2016-08-12 14:19:01 -0700 | [diff] [blame] | 1078 | #reset-cells = <1>; |
Deepak Katragadda | cfb593f | 2016-07-15 12:30:37 -0700 | [diff] [blame] | 1079 | }; |
| 1080 | |
Deepak Katragadda | d738ee3 | 2016-12-16 14:29:48 -0800 | [diff] [blame] | 1081 | clock_dispcc: qcom,dispcc@af00000 { |
Deepak Katragadda | 98bdd50 | 2017-04-03 13:54:13 -0700 | [diff] [blame] | 1082 | compatible = "qcom,dispcc-sdm845", "syscon"; |
Deepak Katragadda | 7c7730b | 2017-04-14 12:09:49 -0700 | [diff] [blame] | 1083 | reg = <0xaf00000 0x10000>; |
Deepak Katragadda | d738ee3 | 2016-12-16 14:29:48 -0800 | [diff] [blame] | 1084 | reg-names = "cc_base"; |
| 1085 | vdd_cx-supply = <&pm8998_s9_level>; |
Deepak Katragadda | cfb593f | 2016-07-15 12:30:37 -0700 | [diff] [blame] | 1086 | #clock-cells = <1>; |
Deepak Katragadda | fbdb325 | 2016-08-12 14:19:01 -0700 | [diff] [blame] | 1087 | #reset-cells = <1>; |
Deepak Katragadda | cfb593f | 2016-07-15 12:30:37 -0700 | [diff] [blame] | 1088 | }; |
| 1089 | |
Vicky Wallace | 4dc0068 | 2017-02-22 19:04:40 -0800 | [diff] [blame] | 1090 | clock_gpucc: qcom,gpucc@5090000 { |
Deepak Katragadda | 98bdd50 | 2017-04-03 13:54:13 -0700 | [diff] [blame] | 1091 | compatible = "qcom,gpucc-sdm845", "syscon"; |
Vicky Wallace | 4dc0068 | 2017-02-22 19:04:40 -0800 | [diff] [blame] | 1092 | reg = <0x5090000 0x9000>; |
| 1093 | reg-names = "cc_base"; |
| 1094 | vdd_cx-supply = <&pm8998_s9_level>; |
Vicky Wallace | 4af7a40 | 2017-04-04 19:29:42 -0700 | [diff] [blame] | 1095 | qcom,gpu_cc_gmu_clk_src-opp-handle = <&gmu>; |
Vicky Wallace | 4dc0068 | 2017-02-22 19:04:40 -0800 | [diff] [blame] | 1096 | #clock-cells = <1>; |
| 1097 | #reset-cells = <1>; |
| 1098 | }; |
| 1099 | |
| 1100 | clock_gfx: qcom,gfxcc@5090000 { |
| 1101 | compatible = "qcom,gfxcc-sdm845"; |
| 1102 | reg = <0x5090000 0x9000>; |
| 1103 | reg-names = "cc_base"; |
| 1104 | vdd_gfx-supply = <&pm8005_s1_level>; |
| 1105 | vdd_mx-supply = <&pm8998_s6_level>; |
Vicky Wallace | 4af7a40 | 2017-04-04 19:29:42 -0700 | [diff] [blame] | 1106 | qcom,gpu_cc_gx_gfx3d_clk_src-opp-handle = <&msm_gpu>; |
Deepak Katragadda | cfb593f | 2016-07-15 12:30:37 -0700 | [diff] [blame] | 1107 | #clock-cells = <1>; |
Deepak Katragadda | fbdb325 | 2016-08-12 14:19:01 -0700 | [diff] [blame] | 1108 | #reset-cells = <1>; |
Deepak Katragadda | cfb593f | 2016-07-15 12:30:37 -0700 | [diff] [blame] | 1109 | }; |
Subhash Jadavani | 877ec81 | 2016-08-04 13:23:24 -0700 | [diff] [blame] | 1110 | |
Deepak Katragadda | 6d1a504 | 2017-05-11 09:31:58 -0700 | [diff] [blame] | 1111 | cpucc_debug: syscon@17970018 { |
| 1112 | compatible = "syscon"; |
| 1113 | reg = <0x17970018 0x4>; |
| 1114 | }; |
| 1115 | |
Deepak Katragadda | a910b44 | 2017-03-07 13:11:32 -0800 | [diff] [blame] | 1116 | clock_cpucc: qcom,cpucc@0x17d41000 { |
| 1117 | compatible = "qcom,clk-cpu-osm"; |
| 1118 | reg = <0x17d41000 0x1400>, |
| 1119 | <0x17d43000 0x1400>, |
| 1120 | <0x17d45800 0x1400>, |
| 1121 | <0x178d0000 0x1000>, |
| 1122 | <0x178c0000 0x1000>, |
| 1123 | <0x178b0000 0x1000>, |
| 1124 | <0x17d42400 0x0c00>, |
| 1125 | <0x17d44400 0x0c00>, |
Deepak Katragadda | 274272b | 2017-05-09 15:02:38 -0700 | [diff] [blame] | 1126 | <0x17d46c00 0x0c00>, |
| 1127 | <0x00784130 0x4>, |
| 1128 | <0x00784130 0x4>, |
| 1129 | <0x00784130 0x4>; |
Deepak Katragadda | a910b44 | 2017-03-07 13:11:32 -0800 | [diff] [blame] | 1130 | reg-names = "osm_l3_base", "osm_pwrcl_base", "osm_perfcl_base", |
Deepak Katragadda | 274272b | 2017-05-09 15:02:38 -0700 | [diff] [blame] | 1131 | "l3_pll", "pwrcl_pll", "perfcl_pll", "l3_sequencer", |
| 1132 | "pwrcl_sequencer", "perfcl_sequencer", "l3_efuse", |
| 1133 | "pwrcl_efuse", "perfcl_efuse"; |
Deepak Katragadda | a910b44 | 2017-03-07 13:11:32 -0800 | [diff] [blame] | 1134 | |
| 1135 | vdd-l3-supply = <&apc0_l3_vreg>; |
| 1136 | vdd-pwrcl-supply = <&apc0_pwrcl_vreg>; |
| 1137 | vdd-perfcl-supply = <&apc1_perfcl_vreg>; |
| 1138 | |
Deepak Katragadda | 3427274 | 2017-05-24 11:42:40 -0700 | [diff] [blame] | 1139 | l3-dev0 = <&l3_cpu0>; |
| 1140 | l3-dev4 = <&l3_cpu4>; |
| 1141 | |
Deepak Katragadda | a910b44 | 2017-03-07 13:11:32 -0800 | [diff] [blame] | 1142 | qcom,l3-speedbin0-v0 = |
| 1143 | < 300000000 0x000c000f 0x00002020 0x1 1 >, |
| 1144 | < 422400000 0x50140116 0x00002020 0x1 2 >, |
| 1145 | < 499200000 0x5014021a 0x00002020 0x1 3 >, |
| 1146 | < 576000000 0x5014031e 0x00002020 0x1 4 >, |
Deepak Katragadda | 1559074 | 2017-04-11 09:41:01 -0700 | [diff] [blame] | 1147 | < 652800000 0x401c0422 0x00002020 0x1 5 >, |
| 1148 | < 729600000 0x401c0526 0x00002020 0x1 6 >, |
Deepak Katragadda | 0e7b833 | 2017-04-28 11:20:26 -0700 | [diff] [blame] | 1149 | < 806400000 0x401c062a 0x00002222 0x1 7 >, |
Deepak Katragadda | 30d72dd | 2017-08-01 13:56:00 -0700 | [diff] [blame] | 1150 | < 883200000 0x4024072e 0x00002525 0x1 8 >, |
| 1151 | < 960000000 0x40240832 0x00002828 0x1 9 >; |
Deepak Katragadda | a910b44 | 2017-03-07 13:11:32 -0800 | [diff] [blame] | 1152 | |
Deepak Katragadda | 274272b | 2017-05-09 15:02:38 -0700 | [diff] [blame] | 1153 | qcom,l3-speedbin1-v0 = |
| 1154 | < 300000000 0x000c000f 0x00002020 0x1 1 >, |
| 1155 | < 422400000 0x50140116 0x00002020 0x1 2 >, |
| 1156 | < 499200000 0x5014021a 0x00002020 0x1 3 >, |
| 1157 | < 576000000 0x5014031e 0x00002020 0x1 4 >, |
| 1158 | < 652800000 0x401c0422 0x00002020 0x1 5 >, |
| 1159 | < 729600000 0x401c0526 0x00002020 0x1 6 >, |
| 1160 | < 806400000 0x401c062a 0x00002222 0x1 7 >, |
Deepak Katragadda | 30d72dd | 2017-08-01 13:56:00 -0700 | [diff] [blame] | 1161 | < 883200000 0x4024072e 0x00002525 0x1 8 >, |
| 1162 | < 960000000 0x40240832 0x00002828 0x1 9 >, |
| 1163 | < 1036800000 0x40240936 0x00002b2b 0x1 10 >, |
| 1164 | < 1094400000 0x402c0a39 0x00002e2e 0x1 11 >; |
Deepak Katragadda | 274272b | 2017-05-09 15:02:38 -0700 | [diff] [blame] | 1165 | |
Deepak Katragadda | f87cdd9 | 2017-05-22 16:28:21 -0700 | [diff] [blame] | 1166 | qcom,l3-speedbin2-v0 = |
| 1167 | < 300000000 0x000c000f 0x00002020 0x1 1 >, |
| 1168 | < 422400000 0x50140116 0x00002020 0x1 2 >, |
| 1169 | < 499200000 0x5014021a 0x00002020 0x1 3 >, |
| 1170 | < 576000000 0x5014031e 0x00002020 0x1 4 >, |
| 1171 | < 652800000 0x401c0422 0x00002020 0x1 5 >, |
| 1172 | < 729600000 0x401c0526 0x00002020 0x1 6 >, |
| 1173 | < 806400000 0x401c062a 0x00002222 0x1 7 >, |
Deepak Katragadda | 30d72dd | 2017-08-01 13:56:00 -0700 | [diff] [blame] | 1174 | < 883200000 0x4024072e 0x00002525 0x1 8 >, |
| 1175 | < 960000000 0x40240832 0x00002828 0x1 9 >, |
| 1176 | < 1036800000 0x40240936 0x00002b2b 0x1 10 >, |
| 1177 | < 1113600000 0x402c0a3a 0x00002e2e 0x1 11 >, |
| 1178 | < 1209600000 0x402c0b3f 0x00003232 0x1 12 >, |
| 1179 | < 1305600000 0x40340c44 0x00003636 0x1 13 >; |
Deepak Katragadda | f87cdd9 | 2017-05-22 16:28:21 -0700 | [diff] [blame] | 1180 | |
Deepak Katragadda | a910b44 | 2017-03-07 13:11:32 -0800 | [diff] [blame] | 1181 | qcom,pwrcl-speedbin0-v0 = |
| 1182 | < 300000000 0x000c000f 0x00002020 0x1 1 >, |
| 1183 | < 422400000 0x50140116 0x00002020 0x1 2 >, |
| 1184 | < 499200000 0x5014021a 0x00002020 0x1 3 >, |
| 1185 | < 576000000 0x5014031e 0x00002020 0x1 4 >, |
Deepak Katragadda | 1559074 | 2017-04-11 09:41:01 -0700 | [diff] [blame] | 1186 | < 652800000 0x401c0422 0x00002020 0x1 5 >, |
| 1187 | < 748800000 0x401c0527 0x00002020 0x1 6 >, |
Deepak Katragadda | a910b44 | 2017-03-07 13:11:32 -0800 | [diff] [blame] | 1188 | < 825600000 0x401c062b 0x00002222 0x1 7 >, |
| 1189 | < 902400000 0x4024072f 0x00002626 0x1 8 >, |
| 1190 | < 979200000 0x40240833 0x00002929 0x1 9 >, |
| 1191 | < 1056000000 0x402c0937 0x00002c2c 0x1 10 >, |
| 1192 | < 1132800000 0x402c0a3b 0x00002f2f 0x1 11 >, |
Deepak Katragadda | 274272b | 2017-05-09 15:02:38 -0700 | [diff] [blame] | 1193 | < 1209600000 0x402c0b3f 0x00003232 0x1 12 >, |
Deepak Katragadda | 30d72dd | 2017-08-01 13:56:00 -0700 | [diff] [blame] | 1194 | < 1286400000 0x40340c43 0x00003636 0x1 13 >, |
| 1195 | < 1363200000 0x40340d47 0x00003939 0x1 14 >, |
| 1196 | < 1440000000 0x40340e4b 0x00003c3c 0x1 15 >, |
| 1197 | < 1516800000 0x403c0f4f 0x00003f3f 0x1 16 >, |
| 1198 | < 1593600000 0x403c1053 0x00004242 0x1 17 >; |
Deepak Katragadda | a910b44 | 2017-03-07 13:11:32 -0800 | [diff] [blame] | 1199 | |
Deepak Katragadda | 274272b | 2017-05-09 15:02:38 -0700 | [diff] [blame] | 1200 | qcom,pwrcl-speedbin1-v0 = |
| 1201 | < 300000000 0x000c000f 0x00002020 0x1 1 >, |
| 1202 | < 422400000 0x50140116 0x00002020 0x1 2 >, |
| 1203 | < 499200000 0x5014021a 0x00002020 0x1 3 >, |
| 1204 | < 576000000 0x5014031e 0x00002020 0x1 4 >, |
| 1205 | < 652800000 0x401c0422 0x00002020 0x1 5 >, |
| 1206 | < 748800000 0x401c0527 0x00002020 0x1 6 >, |
| 1207 | < 825600000 0x401c062b 0x00002222 0x1 7 >, |
| 1208 | < 902400000 0x4024072f 0x00002626 0x1 8 >, |
| 1209 | < 979200000 0x40240833 0x00002929 0x1 9 >, |
| 1210 | < 1056000000 0x402c0937 0x00002c2c 0x1 10 >, |
| 1211 | < 1132800000 0x402c0a3b 0x00002f2f 0x1 11 >, |
| 1212 | < 1209600000 0x402c0b3f 0x00003232 0x1 12 >, |
Deepak Katragadda | 30d72dd | 2017-08-01 13:56:00 -0700 | [diff] [blame] | 1213 | < 1286400000 0x40340c43 0x00003636 0x1 13 >, |
| 1214 | < 1363200000 0x40340d47 0x00003939 0x1 14 >, |
| 1215 | < 1440000000 0x40340e4b 0x00003c3c 0x1 15 >, |
| 1216 | < 1516800000 0x403c0f4f 0x00003f3f 0x1 16 >, |
| 1217 | < 1593600000 0x403c1053 0x00004242 0x1 17 >, |
| 1218 | < 1651200000 0x403c1156 0x00004545 0x1 18 >, |
| 1219 | < 1708800000 0x40441259 0x00004747 0x1 19 >; |
Deepak Katragadda | 274272b | 2017-05-09 15:02:38 -0700 | [diff] [blame] | 1220 | |
Deepak Katragadda | f87cdd9 | 2017-05-22 16:28:21 -0700 | [diff] [blame] | 1221 | qcom,pwrcl-speedbin2-v0 = |
| 1222 | < 300000000 0x000c000f 0x00002020 0x1 1 >, |
| 1223 | < 422400000 0x50140116 0x00002020 0x1 2 >, |
| 1224 | < 499200000 0x5014021a 0x00002020 0x1 3 >, |
| 1225 | < 576000000 0x5014031e 0x00002020 0x1 4 >, |
| 1226 | < 652800000 0x401c0422 0x00002020 0x1 5 >, |
| 1227 | < 748800000 0x401c0527 0x00002020 0x1 6 >, |
| 1228 | < 825600000 0x401c062b 0x00002222 0x1 7 >, |
| 1229 | < 902400000 0x4024072f 0x00002626 0x1 8 >, |
| 1230 | < 979200000 0x40240833 0x00002929 0x1 9 >, |
| 1231 | < 1056000000 0x402c0937 0x00002c2c 0x1 10 >, |
| 1232 | < 1132800000 0x402c0a3b 0x00002f2f 0x1 11 >, |
| 1233 | < 1209600000 0x402c0b3f 0x00003232 0x1 12 >, |
Deepak Katragadda | 30d72dd | 2017-08-01 13:56:00 -0700 | [diff] [blame] | 1234 | < 1286400000 0x40340c43 0x00003636 0x1 13 >, |
| 1235 | < 1363200000 0x40340d47 0x00003939 0x1 14 >, |
| 1236 | < 1440000000 0x40340e4b 0x00003c3c 0x1 15 >, |
| 1237 | < 1516800000 0x403c0f4f 0x00003f3f 0x1 16 >, |
| 1238 | < 1593600000 0x403c1053 0x00004242 0x1 17 >, |
| 1239 | < 1670400000 0x40441157 0x00004646 0x1 18 >, |
| 1240 | < 1747200000 0x4044125b 0x00004949 0x1 19 >; |
Deepak Katragadda | f87cdd9 | 2017-05-22 16:28:21 -0700 | [diff] [blame] | 1241 | |
Deepak Katragadda | a910b44 | 2017-03-07 13:11:32 -0800 | [diff] [blame] | 1242 | qcom,perfcl-speedbin0-v0 = |
| 1243 | < 300000000 0x000c000f 0x00002020 0x1 1 >, |
| 1244 | < 422400000 0x50140116 0x00002020 0x1 2 >, |
| 1245 | < 499200000 0x5014021a 0x00002020 0x1 3 >, |
| 1246 | < 576000000 0x5014031e 0x00002020 0x1 4 >, |
Deepak Katragadda | 1559074 | 2017-04-11 09:41:01 -0700 | [diff] [blame] | 1247 | < 652800000 0x401c0422 0x00002020 0x1 5 >, |
| 1248 | < 729600000 0x401c0526 0x00002020 0x1 6 >, |
| 1249 | < 806400000 0x401c062a 0x00002222 0x1 7 >, |
Deepak Katragadda | 5126b32 | 2017-04-17 17:20:51 -0700 | [diff] [blame] | 1250 | < 883200000 0x4024072e 0x00002525 0x1 8 >, |
Deepak Katragadda | a910b44 | 2017-03-07 13:11:32 -0800 | [diff] [blame] | 1251 | < 960000000 0x40240832 0x00002828 0x1 9 >, |
| 1252 | < 1036800000 0x40240936 0x00002b2b 0x1 10 >, |
| 1253 | < 1113600000 0x402c0a3a 0x00002e2e 0x1 11 >, |
Deepak Katragadda | 0e7b833 | 2017-04-28 11:20:26 -0700 | [diff] [blame] | 1254 | < 1190400000 0x402c0b3e 0x00003232 0x1 12 >, |
Deepak Katragadda | 30d72dd | 2017-08-01 13:56:00 -0700 | [diff] [blame] | 1255 | < 1267200000 0x40340c42 0x00003535 0x1 13 >, |
| 1256 | < 1344000000 0x40340d46 0x00003838 0x1 14 >, |
| 1257 | < 1420800000 0x40340e4a 0x00003b3b 0x1 15 >, |
| 1258 | < 1497600000 0x403c0f4e 0x00003e3e 0x1 16 >, |
| 1259 | < 1574400000 0x403c1052 0x00004242 0x1 17 >, |
| 1260 | < 1651200000 0x403c1156 0x00004545 0x1 18 >, |
| 1261 | < 1728000000 0x4044125a 0x00004848 0x1 19 >, |
| 1262 | < 1804800000 0x4044135e 0x00004b4b 0x1 20 >, |
| 1263 | < 1881600000 0x404c1462 0x00004e4e 0x1 21 >, |
| 1264 | < 1958400000 0x404c1566 0x00005252 0x1 22 >; |
Deepak Katragadda | a910b44 | 2017-03-07 13:11:32 -0800 | [diff] [blame] | 1265 | |
Deepak Katragadda | 274272b | 2017-05-09 15:02:38 -0700 | [diff] [blame] | 1266 | qcom,perfcl-speedbin1-v0 = |
| 1267 | < 300000000 0x000c000f 0x00002020 0x1 1 >, |
| 1268 | < 422400000 0x50140116 0x00002020 0x1 2 >, |
| 1269 | < 499200000 0x5014021a 0x00002020 0x1 3 >, |
| 1270 | < 576000000 0x5014031e 0x00002020 0x1 4 >, |
| 1271 | < 652800000 0x401c0422 0x00002020 0x1 5 >, |
| 1272 | < 729600000 0x401c0526 0x00002020 0x1 6 >, |
| 1273 | < 806400000 0x401c062a 0x00002222 0x1 7 >, |
| 1274 | < 883200000 0x4024072e 0x00002525 0x1 8 >, |
| 1275 | < 960000000 0x40240832 0x00002828 0x1 9 >, |
| 1276 | < 1036800000 0x40240936 0x00002b2b 0x1 10 >, |
| 1277 | < 1113600000 0x402c0a3a 0x00002e2e 0x1 11 >, |
| 1278 | < 1190400000 0x402c0b3e 0x00003232 0x1 12 >, |
Deepak Katragadda | 30d72dd | 2017-08-01 13:56:00 -0700 | [diff] [blame] | 1279 | < 1267200000 0x40340c42 0x00003535 0x1 13 >, |
| 1280 | < 1344000000 0x40340d46 0x00003838 0x1 14 >, |
| 1281 | < 1420800000 0x40340e4a 0x00003b3b 0x1 15 >, |
| 1282 | < 1497600000 0x403c0f4e 0x00003e3e 0x1 16 >, |
| 1283 | < 1574400000 0x403c1052 0x00004242 0x1 17 >, |
| 1284 | < 1651200000 0x403c1156 0x00004545 0x1 18 >, |
| 1285 | < 1728000000 0x4044125a 0x00004848 0x1 19 >, |
| 1286 | < 1804800000 0x4044135e 0x00004b4b 0x1 20 >, |
| 1287 | < 1881600000 0x404c1462 0x00004e4e 0x1 21 >, |
| 1288 | < 1958400000 0x404c1566 0x00005252 0x1 22 >, |
| 1289 | < 2035200000 0x404c166a 0x00005555 0x1 23 >, |
| 1290 | < 2092800000 0x4054176d 0x00005757 0x1 24 >; |
Deepak Katragadda | 274272b | 2017-05-09 15:02:38 -0700 | [diff] [blame] | 1291 | |
Deepak Katragadda | f87cdd9 | 2017-05-22 16:28:21 -0700 | [diff] [blame] | 1292 | qcom,perfcl-speedbin2-v0 = |
| 1293 | < 300000000 0x000c000f 0x00002020 0x1 1 >, |
| 1294 | < 422400000 0x50140116 0x00002020 0x1 2 >, |
| 1295 | < 499200000 0x5014021a 0x00002020 0x1 3 >, |
| 1296 | < 576000000 0x5014031e 0x00002020 0x1 4 >, |
| 1297 | < 652800000 0x401c0422 0x00002020 0x1 5 >, |
| 1298 | < 729600000 0x401c0526 0x00002020 0x1 6 >, |
| 1299 | < 806400000 0x401c062a 0x00002222 0x1 7 >, |
| 1300 | < 883200000 0x4024072e 0x00002525 0x1 8 >, |
| 1301 | < 960000000 0x40240832 0x00002828 0x1 9 >, |
| 1302 | < 1036800000 0x40240936 0x00002b2b 0x1 10 >, |
| 1303 | < 1113600000 0x402c0a3a 0x00002e2e 0x1 11 >, |
| 1304 | < 1190400000 0x402c0b3e 0x00003232 0x1 12 >, |
Deepak Katragadda | 30d72dd | 2017-08-01 13:56:00 -0700 | [diff] [blame] | 1305 | < 1267200000 0x40340c42 0x00003535 0x1 13 >, |
| 1306 | < 1344000000 0x40340d46 0x00003838 0x1 14 >, |
| 1307 | < 1420800000 0x40340e4a 0x00003b3b 0x1 15 >, |
| 1308 | < 1497600000 0x403c0f4e 0x00003e3e 0x1 16 >, |
| 1309 | < 1574400000 0x403c1052 0x00004242 0x1 17 >, |
| 1310 | < 1651200000 0x403c1156 0x00004545 0x1 18 >, |
| 1311 | < 1728000000 0x4044125a 0x00004848 0x1 19 >, |
| 1312 | < 1804800000 0x4044135e 0x00004b4b 0x1 20 >, |
| 1313 | < 1881600000 0x404c1462 0x00004e4e 0x1 21 >, |
| 1314 | < 1958400000 0x404c1566 0x00005252 0x1 22 >, |
| 1315 | < 2035200000 0x404c166a 0x00005555 0x1 23 >, |
| 1316 | < 2112000000 0x4054176e 0x00005858 0x1 24 >, |
| 1317 | < 2208000000 0x40541873 0x00005c5c 0x1 25 >; |
| 1318 | |
| 1319 | qcom,l3-memacc-level-vc-bin0 = <7 63>; |
| 1320 | qcom,l3-memacc-level-vc-bin1 = <7 9>; |
| 1321 | qcom,l3-memacc-level-vc-bin2 = <7 9>; |
| 1322 | |
| 1323 | qcom,pwrcl-memacc-level-vc-bin0 = <12 63>; |
| 1324 | qcom,pwrcl-memacc-level-vc-bin1 = <12 17>; |
| 1325 | qcom,pwrcl-memacc-level-vc-bin2 = <12 17>; |
| 1326 | |
| 1327 | qcom,perfcl-memacc-level-vc-bin0 = <12 18>; |
| 1328 | qcom,perfcl-memacc-level-vc-bin1 = <12 18>; |
| 1329 | qcom,perfcl-memacc-level-vc-bin2 = <12 18>; |
Deepak Katragadda | f87cdd9 | 2017-05-22 16:28:21 -0700 | [diff] [blame] | 1330 | |
Deepak Katragadda | a910b44 | 2017-03-07 13:11:32 -0800 | [diff] [blame] | 1331 | qcom,up-timer = |
| 1332 | <1000 1000 1000>; |
| 1333 | qcom,down-timer = |
| 1334 | <100000 100000 100000>; |
Deepak Katragadda | a910b44 | 2017-03-07 13:11:32 -0800 | [diff] [blame] | 1335 | qcom,set-ret-inactive; |
| 1336 | qcom,enable-llm-freq-vote; |
| 1337 | qcom,llm-freq-up-timer = |
| 1338 | <1000 1000 1000>; |
| 1339 | qcom,llm-freq-down-timer = |
| 1340 | <327675 327675 327675>; |
| 1341 | qcom,enable-llm-volt-vote; |
| 1342 | qcom,llm-volt-up-timer = |
| 1343 | <1000 1000 1000>; |
| 1344 | qcom,llm-volt-down-timer = |
| 1345 | <327675 327675 327675>; |
| 1346 | qcom,cc-reads = <10>; |
| 1347 | qcom,cc-delay = <5>; |
| 1348 | qcom,cc-factor = <100>; |
| 1349 | qcom,osm-clk-rate = <100000000>; |
| 1350 | qcom,xo-clk-rate = <19200000>; |
| 1351 | |
| 1352 | qcom,l-val-base = |
| 1353 | <0x178d0004 0x178c0004 0x178b0004>; |
| 1354 | qcom,apcs-pll-user-ctl = |
| 1355 | <0x178d000c 0x178c000c 0x178b000c>; |
| 1356 | qcom,apcs-pll-min-freq = |
| 1357 | <0x17d41094 0x17d43094 0x17d45894>; |
| 1358 | qcom,apm-mode-ctl = |
| 1359 | <0x0 0x0 0x17d20010>; |
| 1360 | qcom,apm-status-ctrl = |
| 1361 | <0x0 0x0 0x17d20000>; |
| 1362 | qcom,perfcl-isense-addr = <0x17871480>; |
| 1363 | qcom,l3-mem-acc-addr = <0x17990170 0x17990170 0x17990170>; |
| 1364 | qcom,pwrcl-mem-acc-addr = <0x17990160 0x17990164 0x17990164>; |
| 1365 | qcom,perfcl-mem-acc-addr = <0x17990168 0x1799016c 0x1799016c>; |
| 1366 | qcom,cfg-gfmux-addr =<0x178d0084 0x178c0084 0x178b0084>; |
| 1367 | qcom,apcs-cbc-addr = <0x178d008c 0x178c008c 0x178b008c>; |
| 1368 | qcom,apcs-ramp-ctl-addr = <0x17840904 0x17840904 0x17830904>; |
| 1369 | |
| 1370 | qcom,perfcl-apcs-apm-threshold-voltage = <800000>; |
| 1371 | qcom,perfcl-apcs-mem-acc-threshold-voltage = <852000>; |
| 1372 | qcom,boost-fsm-en; |
| 1373 | qcom,safe-fsm-en; |
| 1374 | qcom,ps-fsm-en; |
| 1375 | qcom,droop-fsm-en; |
Deepak Katragadda | a910b44 | 2017-03-07 13:11:32 -0800 | [diff] [blame] | 1376 | |
| 1377 | clock-names = "xo_ao"; |
| 1378 | clocks = <&clock_rpmh RPMH_CXO_CLK_A>; |
Deepak Katragadda | 95b7724 | 2016-12-19 14:10:03 -0800 | [diff] [blame] | 1379 | #clock-cells = <1>; |
| 1380 | #reset-cells = <1>; |
| 1381 | }; |
| 1382 | |
Deepak Katragadda | 98bdd50 | 2017-04-03 13:54:13 -0700 | [diff] [blame] | 1383 | clock_debug: qcom,cc-debug@100000 { |
| 1384 | compatible = "qcom,debugcc-sdm845"; |
| 1385 | qcom,cc-count = <5>; |
| 1386 | qcom,gcc = <&clock_gcc>; |
| 1387 | qcom,videocc = <&clock_videocc>; |
| 1388 | qcom,camcc = <&clock_camcc>; |
| 1389 | qcom,dispcc = <&clock_dispcc>; |
| 1390 | qcom,gpucc = <&clock_gpucc>; |
Deepak Katragadda | 6d1a504 | 2017-05-11 09:31:58 -0700 | [diff] [blame] | 1391 | qcom,cpucc = <&cpucc_debug>; |
Deepak Katragadda | 98bdd50 | 2017-04-03 13:54:13 -0700 | [diff] [blame] | 1392 | clock-names = "xo_clk_src"; |
| 1393 | clocks = <&clock_rpmh RPMH_CXO_CLK>; |
| 1394 | #clock-cells = <1>; |
| 1395 | }; |
| 1396 | |
Taniya Das | a8d52b9 | 2017-04-18 17:02:49 +0530 | [diff] [blame] | 1397 | clock_aop: qcom,aopclk { |
Deepak Katragadda | 90954d7 | 2017-07-27 14:22:24 -0700 | [diff] [blame] | 1398 | compatible = "qcom,aop-qmp-clk-v1"; |
Taniya Das | a8d52b9 | 2017-04-18 17:02:49 +0530 | [diff] [blame] | 1399 | #clock-cells = <1>; |
| 1400 | mboxes = <&qmp_aop 0>; |
| 1401 | mbox-names = "qdss_clk"; |
| 1402 | }; |
| 1403 | |
AnilKumar Chimata | 2e81590 | 2017-04-13 12:14:56 -0700 | [diff] [blame] | 1404 | ufs_ice: ufsice@1d90000 { |
| 1405 | compatible = "qcom,ice"; |
| 1406 | reg = <0x1d90000 0x8000>; |
| 1407 | qcom,enable-ice-clk; |
| 1408 | clock-names = "ufs_core_clk", "bus_clk", |
| 1409 | "iface_clk", "ice_core_clk"; |
| 1410 | clocks = <&clock_gcc GCC_UFS_PHY_AXI_CLK>, |
| 1411 | <&clock_gcc GCC_UFS_MEM_CLKREF_CLK>, |
| 1412 | <&clock_gcc GCC_UFS_PHY_AHB_CLK>, |
| 1413 | <&clock_gcc GCC_UFS_PHY_ICE_CORE_CLK>; |
| 1414 | qcom,op-freq-hz = <0>, <0>, <0>, <300000000>; |
| 1415 | vdd-hba-supply = <&ufs_phy_gdsc>; |
| 1416 | qcom,msm-bus,name = "ufs_ice_noc"; |
| 1417 | qcom,msm-bus,num-cases = <2>; |
| 1418 | qcom,msm-bus,num-paths = <1>; |
| 1419 | qcom,msm-bus,vectors-KBps = |
| 1420 | <1 650 0 0>, /* No vote */ |
| 1421 | <1 650 1000 0>; /* Max. bandwidth */ |
| 1422 | qcom,bus-vector-names = "MIN", |
| 1423 | "MAX"; |
| 1424 | qcom,instance-type = "ufs"; |
| 1425 | }; |
| 1426 | |
Subhash Jadavani | de2b9c0 | 2016-09-20 17:58:21 -0700 | [diff] [blame] | 1427 | ufsphy_mem: ufsphy_mem@1d87000 { |
Subhash Jadavani | 877ec81 | 2016-08-04 13:23:24 -0700 | [diff] [blame] | 1428 | reg = <0x1d87000 0xda8>; /* PHY regs */ |
| 1429 | reg-names = "phy_mem"; |
| 1430 | #phy-cells = <0>; |
| 1431 | |
Subhash Jadavani | b606c84 | 2017-04-03 18:03:57 -0700 | [diff] [blame] | 1432 | lanes-per-direction = <2>; |
| 1433 | |
Subhash Jadavani | 9981b03 | 2017-03-24 17:24:05 -0700 | [diff] [blame] | 1434 | clock-names = "ref_clk_src", |
| 1435 | "ref_clk", |
Subhash Jadavani | 877ec81 | 2016-08-04 13:23:24 -0700 | [diff] [blame] | 1436 | "ref_aux_clk"; |
Osvaldo Banuelos | 918ffad | 2017-04-12 14:07:45 -0700 | [diff] [blame] | 1437 | clocks = <&clock_rpmh RPMH_CXO_CLK>, |
Subhash Jadavani | 9981b03 | 2017-03-24 17:24:05 -0700 | [diff] [blame] | 1438 | <&clock_gcc GCC_UFS_MEM_CLKREF_CLK>, |
Subhash Jadavani | b2f5a63 | 2017-04-10 23:48:58 -0700 | [diff] [blame] | 1439 | <&clock_gcc GCC_UFS_PHY_PHY_AUX_HW_CTL_CLK>; |
Subhash Jadavani | 877ec81 | 2016-08-04 13:23:24 -0700 | [diff] [blame] | 1440 | |
| 1441 | status = "disabled"; |
| 1442 | }; |
| 1443 | |
Subhash Jadavani | bb52a44 | 2017-04-27 16:50:58 -0700 | [diff] [blame] | 1444 | ufshc_mem: ufshc@1d84000 { |
Subhash Jadavani | 877ec81 | 2016-08-04 13:23:24 -0700 | [diff] [blame] | 1445 | compatible = "qcom,ufshc"; |
| 1446 | reg = <0x1d84000 0x2500>; |
| 1447 | interrupts = <0 265 0>; |
| 1448 | phys = <&ufsphy_mem>; |
| 1449 | phy-names = "ufsphy"; |
AnilKumar Chimata | 2e81590 | 2017-04-13 12:14:56 -0700 | [diff] [blame] | 1450 | ufs-qcom-crypto = <&ufs_ice>; |
Subhash Jadavani | 877ec81 | 2016-08-04 13:23:24 -0700 | [diff] [blame] | 1451 | |
Subhash Jadavani | 588f209 | 2016-09-08 17:58:31 -0700 | [diff] [blame] | 1452 | lanes-per-direction = <2>; |
Subhash Jadavani | 5534d49 | 2016-12-13 16:13:19 -0800 | [diff] [blame] | 1453 | dev-ref-clk-freq = <0>; /* 19.2 MHz */ |
Subhash Jadavani | 588f209 | 2016-09-08 17:58:31 -0700 | [diff] [blame] | 1454 | |
Subhash Jadavani | 877ec81 | 2016-08-04 13:23:24 -0700 | [diff] [blame] | 1455 | clock-names = |
| 1456 | "core_clk", |
| 1457 | "bus_aggr_clk", |
| 1458 | "iface_clk", |
| 1459 | "core_clk_unipro", |
| 1460 | "core_clk_ice", |
Subhash Jadavani | 9981b03 | 2017-03-24 17:24:05 -0700 | [diff] [blame] | 1461 | "ref_clk", |
Subhash Jadavani | 877ec81 | 2016-08-04 13:23:24 -0700 | [diff] [blame] | 1462 | "tx_lane0_sync_clk", |
| 1463 | "rx_lane0_sync_clk", |
| 1464 | "rx_lane1_sync_clk"; |
| 1465 | clocks = |
Subhash Jadavani | b2f5a63 | 2017-04-10 23:48:58 -0700 | [diff] [blame] | 1466 | <&clock_gcc GCC_UFS_PHY_AXI_HW_CTL_CLK>, |
| 1467 | <&clock_gcc GCC_AGGRE_UFS_PHY_AXI_HW_CTL_CLK>, |
Subhash Jadavani | 877ec81 | 2016-08-04 13:23:24 -0700 | [diff] [blame] | 1468 | <&clock_gcc GCC_UFS_PHY_AHB_CLK>, |
Subhash Jadavani | b2f5a63 | 2017-04-10 23:48:58 -0700 | [diff] [blame] | 1469 | <&clock_gcc GCC_UFS_PHY_UNIPRO_CORE_HW_CTL_CLK>, |
| 1470 | <&clock_gcc GCC_UFS_PHY_ICE_CORE_HW_CTL_CLK>, |
Osvaldo Banuelos | 918ffad | 2017-04-12 14:07:45 -0700 | [diff] [blame] | 1471 | <&clock_rpmh RPMH_CXO_CLK>, |
Subhash Jadavani | 877ec81 | 2016-08-04 13:23:24 -0700 | [diff] [blame] | 1472 | <&clock_gcc GCC_UFS_PHY_TX_SYMBOL_0_CLK>, |
| 1473 | <&clock_gcc GCC_UFS_PHY_RX_SYMBOL_0_CLK>, |
| 1474 | <&clock_gcc GCC_UFS_PHY_RX_SYMBOL_1_CLK>; |
| 1475 | freq-table-hz = |
| 1476 | <50000000 200000000>, |
| 1477 | <0 0>, |
| 1478 | <0 0>, |
| 1479 | <37500000 150000000>, |
| 1480 | <75000000 300000000>, |
| 1481 | <0 0>, |
| 1482 | <0 0>, |
Subhash Jadavani | 9981b03 | 2017-03-24 17:24:05 -0700 | [diff] [blame] | 1483 | <0 0>, |
Subhash Jadavani | 877ec81 | 2016-08-04 13:23:24 -0700 | [diff] [blame] | 1484 | <0 0>; |
| 1485 | |
Subhash Jadavani | 35c309a | 2016-12-19 13:58:57 -0800 | [diff] [blame] | 1486 | qcom,msm-bus,name = "ufshc_mem"; |
Subhash Jadavani | 588f209 | 2016-09-08 17:58:31 -0700 | [diff] [blame] | 1487 | qcom,msm-bus,num-cases = <22>; |
Subhash Jadavani | 877ec81 | 2016-08-04 13:23:24 -0700 | [diff] [blame] | 1488 | qcom,msm-bus,num-paths = <2>; |
| 1489 | qcom,msm-bus,vectors-KBps = |
Subhash Jadavani | 63705c4 | 2017-03-27 16:37:28 -0700 | [diff] [blame] | 1490 | /* |
| 1491 | * During HS G3 UFS runs at nominal voltage corner, vote |
| 1492 | * higher bandwidth to push other buses in the data path |
| 1493 | * to run at nominal to achieve max throughput. |
| 1494 | * 4GBps pushes BIMC to run at nominal. |
| 1495 | * 200MBps pushes CNOC to run at nominal. |
| 1496 | * Vote for half of this bandwidth for HS G3 1-lane. |
| 1497 | * For max bandwidth, vote high enough to push the buses |
| 1498 | * to run in turbo voltage corner. |
| 1499 | */ |
Subhash Jadavani | 1cc8f32 | 2017-03-23 16:32:57 -0700 | [diff] [blame] | 1500 | <123 512 0 0>, <1 757 0 0>, /* No vote */ |
| 1501 | <123 512 922 0>, <1 757 1000 0>, /* PWM G1 */ |
| 1502 | <123 512 1844 0>, <1 757 1000 0>, /* PWM G2 */ |
| 1503 | <123 512 3688 0>, <1 757 1000 0>, /* PWM G3 */ |
| 1504 | <123 512 7376 0>, <1 757 1000 0>, /* PWM G4 */ |
| 1505 | <123 512 1844 0>, <1 757 1000 0>, /* PWM G1 L2 */ |
| 1506 | <123 512 3688 0>, <1 757 1000 0>, /* PWM G2 L2 */ |
| 1507 | <123 512 7376 0>, <1 757 1000 0>, /* PWM G3 L2 */ |
| 1508 | <123 512 14752 0>, <1 757 1000 0>, /* PWM G4 L2 */ |
| 1509 | <123 512 127796 0>, <1 757 1000 0>, /* HS G1 RA */ |
| 1510 | <123 512 255591 0>, <1 757 1000 0>, /* HS G2 RA */ |
Subhash Jadavani | 63705c4 | 2017-03-27 16:37:28 -0700 | [diff] [blame] | 1511 | <123 512 2097152 0>, <1 757 102400 0>, /* HS G3 RA */ |
Subhash Jadavani | 1cc8f32 | 2017-03-23 16:32:57 -0700 | [diff] [blame] | 1512 | <123 512 255591 0>, <1 757 1000 0>, /* HS G1 RA L2 */ |
| 1513 | <123 512 511181 0>, <1 757 1000 0>, /* HS G2 RA L2 */ |
Subhash Jadavani | 63705c4 | 2017-03-27 16:37:28 -0700 | [diff] [blame] | 1514 | <123 512 4194304 0>, <1 757 204800 0>, /* HS G3 RA L2 */ |
Subhash Jadavani | 1cc8f32 | 2017-03-23 16:32:57 -0700 | [diff] [blame] | 1515 | <123 512 149422 0>, <1 757 1000 0>, /* HS G1 RB */ |
| 1516 | <123 512 298189 0>, <1 757 1000 0>, /* HS G2 RB */ |
Subhash Jadavani | 63705c4 | 2017-03-27 16:37:28 -0700 | [diff] [blame] | 1517 | <123 512 2097152 0>, <1 757 102400 0>, /* HS G3 RB */ |
Subhash Jadavani | 1cc8f32 | 2017-03-23 16:32:57 -0700 | [diff] [blame] | 1518 | <123 512 298189 0>, <1 757 1000 0>, /* HS G1 RB L2 */ |
| 1519 | <123 512 596378 0>, <1 757 1000 0>, /* HS G2 RB L2 */ |
Subhash Jadavani | 63705c4 | 2017-03-27 16:37:28 -0700 | [diff] [blame] | 1520 | <123 512 4194304 0>, <1 757 204800 0>, /* HS G3 RB L2 */ |
| 1521 | <123 512 7643136 0>, <1 757 307200 0>; /* Max. bandwidth */ |
| 1522 | |
Subhash Jadavani | 877ec81 | 2016-08-04 13:23:24 -0700 | [diff] [blame] | 1523 | qcom,bus-vector-names = "MIN", |
| 1524 | "PWM_G1_L1", "PWM_G2_L1", "PWM_G3_L1", "PWM_G4_L1", |
Subhash Jadavani | 588f209 | 2016-09-08 17:58:31 -0700 | [diff] [blame] | 1525 | "PWM_G1_L2", "PWM_G2_L2", "PWM_G3_L2", "PWM_G4_L2", |
Subhash Jadavani | 877ec81 | 2016-08-04 13:23:24 -0700 | [diff] [blame] | 1526 | "HS_RA_G1_L1", "HS_RA_G2_L1", "HS_RA_G3_L1", |
Subhash Jadavani | 588f209 | 2016-09-08 17:58:31 -0700 | [diff] [blame] | 1527 | "HS_RA_G1_L2", "HS_RA_G2_L2", "HS_RA_G3_L2", |
Subhash Jadavani | 877ec81 | 2016-08-04 13:23:24 -0700 | [diff] [blame] | 1528 | "HS_RB_G1_L1", "HS_RB_G2_L1", "HS_RB_G3_L1", |
Subhash Jadavani | 588f209 | 2016-09-08 17:58:31 -0700 | [diff] [blame] | 1529 | "HS_RB_G1_L2", "HS_RB_G2_L2", "HS_RB_G3_L2", |
Subhash Jadavani | 877ec81 | 2016-08-04 13:23:24 -0700 | [diff] [blame] | 1530 | "MAX"; |
| 1531 | |
Subhash Jadavani | 63705c4 | 2017-03-27 16:37:28 -0700 | [diff] [blame] | 1532 | /* PM QoS */ |
| 1533 | qcom,pm-qos-cpu-groups = <0x0f 0xf0>; |
| 1534 | qcom,pm-qos-cpu-group-latency-us = <70 70>; |
| 1535 | qcom,pm-qos-default-cpu = <0>; |
| 1536 | |
Subhash Jadavani | afe2a79 | 2017-03-31 21:08:29 -0700 | [diff] [blame] | 1537 | pinctrl-names = "dev-reset-assert", "dev-reset-deassert"; |
| 1538 | pinctrl-0 = <&ufs_dev_reset_assert>; |
| 1539 | pinctrl-1 = <&ufs_dev_reset_deassert>; |
Subhash Jadavani | 63705c4 | 2017-03-27 16:37:28 -0700 | [diff] [blame] | 1540 | |
| 1541 | resets = <&clock_gcc GCC_UFS_PHY_BCR>; |
| 1542 | reset-names = "core_reset"; |
| 1543 | |
Subhash Jadavani | 877ec81 | 2016-08-04 13:23:24 -0700 | [diff] [blame] | 1544 | status = "disabled"; |
| 1545 | }; |
Satyajit Desai | 17da059 | 2016-08-08 18:38:32 -0700 | [diff] [blame] | 1546 | |
Subhash Jadavani | dd416c4 | 2017-05-15 11:54:10 -0700 | [diff] [blame] | 1547 | extcon_storage_cd: extcon_storage_cd { |
| 1548 | compatible = "extcon-gpio"; |
| 1549 | extcon-id = <62>; /* EXTCON_MECHANICAL */ |
| 1550 | status = "disabled"; |
| 1551 | }; |
| 1552 | |
Subhash Jadavani | de2b9c0 | 2016-09-20 17:58:21 -0700 | [diff] [blame] | 1553 | ufsphy_card: ufsphy_card@1da7000 { |
| 1554 | reg = <0x1da7000 0xda8>; /* PHY regs */ |
| 1555 | reg-names = "phy_mem"; |
| 1556 | #phy-cells = <0>; |
| 1557 | |
Subhash Jadavani | b606c84 | 2017-04-03 18:03:57 -0700 | [diff] [blame] | 1558 | lanes-per-direction = <1>; |
| 1559 | |
Subhash Jadavani | 9981b03 | 2017-03-24 17:24:05 -0700 | [diff] [blame] | 1560 | clock-names = "ref_clk_src", |
| 1561 | "ref_clk", |
Subhash Jadavani | de2b9c0 | 2016-09-20 17:58:21 -0700 | [diff] [blame] | 1562 | "ref_aux_clk"; |
Osvaldo Banuelos | 918ffad | 2017-04-12 14:07:45 -0700 | [diff] [blame] | 1563 | clocks = <&clock_rpmh RPMH_CXO_CLK>, |
Subhash Jadavani | 9981b03 | 2017-03-24 17:24:05 -0700 | [diff] [blame] | 1564 | <&clock_gcc GCC_UFS_CARD_CLKREF_CLK>, |
Subhash Jadavani | b2f5a63 | 2017-04-10 23:48:58 -0700 | [diff] [blame] | 1565 | <&clock_gcc GCC_UFS_CARD_PHY_AUX_HW_CTL_CLK>; |
Subhash Jadavani | de2b9c0 | 2016-09-20 17:58:21 -0700 | [diff] [blame] | 1566 | |
| 1567 | status = "disabled"; |
| 1568 | }; |
| 1569 | |
Subhash Jadavani | 35c309a | 2016-12-19 13:58:57 -0800 | [diff] [blame] | 1570 | ufshc_card: ufshc_card@1da4000 { |
Subhash Jadavani | de2b9c0 | 2016-09-20 17:58:21 -0700 | [diff] [blame] | 1571 | compatible = "qcom,ufshc"; |
| 1572 | reg = <0x1da4000 0x2500>; |
| 1573 | interrupts = <0 125 0>; |
| 1574 | phys = <&ufsphy_card>; |
| 1575 | phy-names = "ufsphy"; |
| 1576 | |
| 1577 | lanes-per-direction = <1>; |
| 1578 | dev-ref-clk-freq = <0>; /* 19.2 MHz */ |
| 1579 | |
Subhash Jadavani | de2b9c0 | 2016-09-20 17:58:21 -0700 | [diff] [blame] | 1580 | clock-names = |
| 1581 | "core_clk", |
| 1582 | "bus_aggr_clk", |
| 1583 | "iface_clk", |
| 1584 | "core_clk_unipro", |
| 1585 | "core_clk_ice", |
Subhash Jadavani | 9981b03 | 2017-03-24 17:24:05 -0700 | [diff] [blame] | 1586 | "ref_clk", |
Subhash Jadavani | de2b9c0 | 2016-09-20 17:58:21 -0700 | [diff] [blame] | 1587 | "tx_lane0_sync_clk", |
| 1588 | "rx_lane0_sync_clk"; |
Subhash Jadavani | de2b9c0 | 2016-09-20 17:58:21 -0700 | [diff] [blame] | 1589 | clocks = |
Subhash Jadavani | b2f5a63 | 2017-04-10 23:48:58 -0700 | [diff] [blame] | 1590 | <&clock_gcc GCC_UFS_CARD_AXI_HW_CTL_CLK>, |
| 1591 | <&clock_gcc GCC_AGGRE_UFS_CARD_AXI_HW_CTL_CLK>, |
Subhash Jadavani | de2b9c0 | 2016-09-20 17:58:21 -0700 | [diff] [blame] | 1592 | <&clock_gcc GCC_UFS_CARD_AHB_CLK>, |
Subhash Jadavani | b2f5a63 | 2017-04-10 23:48:58 -0700 | [diff] [blame] | 1593 | <&clock_gcc GCC_UFS_CARD_UNIPRO_CORE_HW_CTL_CLK>, |
| 1594 | <&clock_gcc GCC_UFS_CARD_ICE_CORE_HW_CTL_CLK>, |
Osvaldo Banuelos | 918ffad | 2017-04-12 14:07:45 -0700 | [diff] [blame] | 1595 | <&clock_rpmh RPMH_CXO_CLK>, |
Subhash Jadavani | de2b9c0 | 2016-09-20 17:58:21 -0700 | [diff] [blame] | 1596 | <&clock_gcc GCC_UFS_CARD_TX_SYMBOL_0_CLK>, |
| 1597 | <&clock_gcc GCC_UFS_CARD_RX_SYMBOL_0_CLK>; |
| 1598 | freq-table-hz = |
| 1599 | <50000000 200000000>, |
| 1600 | <0 0>, |
| 1601 | <0 0>, |
| 1602 | <37500000 150000000>, |
| 1603 | <75000000 300000000>, |
| 1604 | <0 0>, |
Subhash Jadavani | 9981b03 | 2017-03-24 17:24:05 -0700 | [diff] [blame] | 1605 | <0 0>, |
Subhash Jadavani | de2b9c0 | 2016-09-20 17:58:21 -0700 | [diff] [blame] | 1606 | <0 0>; |
| 1607 | |
Subhash Jadavani | 35c309a | 2016-12-19 13:58:57 -0800 | [diff] [blame] | 1608 | qcom,msm-bus,name = "ufshc_card"; |
Subhash Jadavani | de2b9c0 | 2016-09-20 17:58:21 -0700 | [diff] [blame] | 1609 | qcom,msm-bus,num-cases = <9>; |
| 1610 | qcom,msm-bus,num-paths = <2>; |
| 1611 | qcom,msm-bus,vectors-KBps = |
Subhash Jadavani | 1cc8f32 | 2017-03-23 16:32:57 -0700 | [diff] [blame] | 1612 | <122 512 0 0>, <1 756 0 0>, /* No vote */ |
| 1613 | <122 512 922 0>, <1 756 1000 0>, /* PWM G1 */ |
| 1614 | <122 512 127796 0>, <1 756 1000 0>, /* HS G1 RA */ |
| 1615 | <122 512 255591 0>, <1 756 1000 0>, /* HS G2 RA */ |
Subhash Jadavani | 63705c4 | 2017-03-27 16:37:28 -0700 | [diff] [blame] | 1616 | <122 512 2097152 0>, <1 756 102400 0>, /* HS G3 RA */ |
Subhash Jadavani | 1cc8f32 | 2017-03-23 16:32:57 -0700 | [diff] [blame] | 1617 | <122 512 149422 0>, <1 756 1000 0>, /* HS G1 RB */ |
| 1618 | <122 512 298189 0>, <1 756 1000 0>, /* HS G2 RB */ |
Subhash Jadavani | 63705c4 | 2017-03-27 16:37:28 -0700 | [diff] [blame] | 1619 | <122 512 2097152 0>, <1 756 102400 0>, /* HS G3 RB */ |
| 1620 | <122 512 7643136 0>, <1 756 307200 0>; /* Max. bandwidth */ |
Subhash Jadavani | de2b9c0 | 2016-09-20 17:58:21 -0700 | [diff] [blame] | 1621 | qcom,bus-vector-names = "MIN", |
| 1622 | "PWM_G1_L1", |
| 1623 | "HS_RA_G1_L1", "HS_RA_G2_L1", "HS_RA_G3_L1", |
| 1624 | "HS_RB_G1_L1", "HS_RB_G2_L1", "HS_RB_G3_L1", |
| 1625 | "MAX"; |
| 1626 | |
Subhash Jadavani | 63705c4 | 2017-03-27 16:37:28 -0700 | [diff] [blame] | 1627 | /* PM QoS */ |
| 1628 | qcom,pm-qos-cpu-groups = <0x0f 0xf0>; |
| 1629 | qcom,pm-qos-cpu-group-latency-us = <70 70>; |
| 1630 | qcom,pm-qos-default-cpu = <0>; |
| 1631 | |
| 1632 | /* |
| 1633 | * Note: this instance doesn't have control over UFS device |
| 1634 | * reset |
| 1635 | */ |
| 1636 | |
| 1637 | resets = <&clock_gcc GCC_UFS_CARD_BCR>; |
| 1638 | reset-names = "core_reset"; |
| 1639 | |
Subhash Jadavani | de2b9c0 | 2016-09-20 17:58:21 -0700 | [diff] [blame] | 1640 | status = "disabled"; |
| 1641 | }; |
| 1642 | |
Xiaonian Wang | 3c14ea3 | 2017-04-08 06:39:42 +0800 | [diff] [blame] | 1643 | sdhc_2: sdhci@8804000 { |
| 1644 | compatible = "qcom,sdhci-msm-v5"; |
| 1645 | reg = <0x8804000 0x1000>; |
| 1646 | reg-names = "hc_mem"; |
| 1647 | |
| 1648 | interrupts = <0 204 0>, <0 222 0>; |
| 1649 | interrupt-names = "hc_irq", "pwr_irq"; |
| 1650 | |
| 1651 | qcom,bus-width = <4>; |
| 1652 | qcom,large-address-bus; |
| 1653 | |
| 1654 | qcom,msm-bus,name = "sdhc2"; |
| 1655 | qcom,msm-bus,num-cases = <8>; |
| 1656 | qcom,msm-bus,num-paths = <2>; |
| 1657 | qcom,msm-bus,vectors-KBps = |
| 1658 | /* No vote */ |
| 1659 | <81 512 0 0>, <1 608 0 0>, |
| 1660 | /* 400 KB/s*/ |
| 1661 | <81 512 1046 1600>, |
| 1662 | <1 608 1600 1600>, |
| 1663 | /* 20 MB/s */ |
| 1664 | <81 512 52286 80000>, |
| 1665 | <1 608 80000 80000>, |
| 1666 | /* 25 MB/s */ |
| 1667 | <81 512 65360 100000>, |
| 1668 | <1 608 100000 100000>, |
| 1669 | /* 50 MB/s */ |
| 1670 | <81 512 130718 200000>, |
| 1671 | <1 608 133320 133320>, |
| 1672 | /* 100 MB/s */ |
| 1673 | <81 512 261438 200000>, |
| 1674 | <1 608 150000 150000>, |
| 1675 | /* 200 MB/s */ |
| 1676 | <81 512 261438 400000>, |
| 1677 | <1 608 300000 300000>, |
| 1678 | /* Max. bandwidth */ |
| 1679 | <81 512 1338562 4096000>, |
| 1680 | <1 608 1338562 4096000>; |
| 1681 | qcom,bus-bw-vectors-bps = <0 400000 20000000 25000000 50000000 |
Subhash Jadavani | 0842b27 | 2017-07-19 17:05:13 -0700 | [diff] [blame] | 1682 | 100750000 200000000 4294967295>; |
Xiaonian Wang | 3c14ea3 | 2017-04-08 06:39:42 +0800 | [diff] [blame] | 1683 | |
Xiaonian Wang | 5d7e5d1 | 2017-04-07 19:51:23 -0700 | [diff] [blame] | 1684 | qcom,sdr104-wa; |
| 1685 | |
Bao D. Nguyen | 40d42ae | 2017-06-29 21:20:25 -0700 | [diff] [blame] | 1686 | qcom,restore-after-cx-collapse; |
| 1687 | |
Subhash Jadavani | 0842b27 | 2017-07-19 17:05:13 -0700 | [diff] [blame] | 1688 | qcom,clk-rates = <400000 20000000 25000000 |
| 1689 | 50000000 100000000 201500000>; |
| 1690 | qcom,bus-speed-mode = "SDR12", "SDR25", "SDR50", "DDR50", |
| 1691 | "SDR104"; |
| 1692 | |
| 1693 | qcom,devfreq,freq-table = <50000000 201500000>; |
Xiaonian Wang | 3c14ea3 | 2017-04-08 06:39:42 +0800 | [diff] [blame] | 1694 | clocks = <&clock_gcc GCC_SDCC2_AHB_CLK>, |
| 1695 | <&clock_gcc GCC_SDCC2_APPS_CLK>; |
| 1696 | clock-names = "iface_clk", "core_clk"; |
| 1697 | |
| 1698 | status = "disabled"; |
| 1699 | }; |
| 1700 | |
Kyle Yan | 384b13c | 2016-10-18 11:11:37 -0700 | [diff] [blame] | 1701 | pil_modem: qcom,mss@4080000 { |
| 1702 | compatible = "qcom,pil-q6v55-mss"; |
| 1703 | reg = <0x4080000 0x100>, |
| 1704 | <0x1f63000 0x008>, |
| 1705 | <0x1f65000 0x008>, |
| 1706 | <0x1f64000 0x008>, |
| 1707 | <0x4180000 0x020>, |
Kyle Yan | 8e80530 | 2017-05-01 11:13:45 -0700 | [diff] [blame] | 1708 | <0xc2b0000 0x004>, |
Kyle Yan | 02f8039 | 2017-05-01 14:40:32 -0700 | [diff] [blame] | 1709 | <0xb2e0100 0x004>, |
| 1710 | <0x4180044 0x004>; |
Kyle Yan | 384b13c | 2016-10-18 11:11:37 -0700 | [diff] [blame] | 1711 | reg-names = "qdsp6_base", "halt_q6", "halt_modem", |
Kyle Yan | 8e80530 | 2017-05-01 11:13:45 -0700 | [diff] [blame] | 1712 | "halt_nc", "rmb_base", "restart_reg", |
Kyle Yan | 02f8039 | 2017-05-01 14:40:32 -0700 | [diff] [blame] | 1713 | "pdc_sync", "alt_reset"; |
Kyle Yan | 384b13c | 2016-10-18 11:11:37 -0700 | [diff] [blame] | 1714 | |
Osvaldo Banuelos | abbbfcb | 2017-01-31 16:11:10 -0800 | [diff] [blame] | 1715 | clocks = <&clock_rpmh RPMH_CXO_CLK>, |
Kyle Yan | 384b13c | 2016-10-18 11:11:37 -0700 | [diff] [blame] | 1716 | <&clock_gcc GCC_MSS_CFG_AHB_CLK>, |
| 1717 | <&clock_gcc GCC_MSS_Q6_MEMNOC_AXI_CLK>, |
| 1718 | <&clock_gcc GCC_BOOT_ROM_AHB_CLK>, |
| 1719 | <&clock_gcc GCC_MSS_GPLL0_DIV_CLK_SRC>, |
| 1720 | <&clock_gcc GCC_MSS_SNOC_AXI_CLK>, |
Kyle Yan | 5eb4ef9 | 2017-04-17 11:59:36 -0700 | [diff] [blame] | 1721 | <&clock_gcc GCC_MSS_MFAB_AXIS_CLK>, |
| 1722 | <&clock_gcc GCC_PRNG_AHB_CLK>; |
Kyle Yan | 384b13c | 2016-10-18 11:11:37 -0700 | [diff] [blame] | 1723 | clock-names = "xo", "iface_clk", "bus_clk", |
| 1724 | "mem_clk", "gpll0_mss_clk", "snoc_axi_clk", |
Kyle Yan | f7c86b7 | 2017-04-25 13:11:26 -0700 | [diff] [blame] | 1725 | "mnoc_axi_clk", "prng_clk"; |
| 1726 | qcom,proxy-clock-names = "xo", "prng_clk"; |
Kyle Yan | 384b13c | 2016-10-18 11:11:37 -0700 | [diff] [blame] | 1727 | qcom,active-clock-names = "iface_clk", "bus_clk", "mem_clk", |
| 1728 | "gpll0_mss_clk", "snoc_axi_clk", |
| 1729 | "mnoc_axi_clk"; |
| 1730 | |
| 1731 | interrupts = <0 266 1>; |
David Collins | 3a45794 | 2016-12-09 16:59:51 -0800 | [diff] [blame] | 1732 | vdd_cx-supply = <&pm8998_s9_level>; |
Kyle Yan | d8326b6 | 2017-01-05 15:11:02 -0800 | [diff] [blame] | 1733 | vdd_cx-voltage = <RPMH_REGULATOR_LEVEL_TURBO>; |
David Collins | 3a45794 | 2016-12-09 16:59:51 -0800 | [diff] [blame] | 1734 | vdd_mx-supply = <&pm8998_s6_level>; |
Kyle Yan | d8326b6 | 2017-01-05 15:11:02 -0800 | [diff] [blame] | 1735 | vdd_mx-uV = <RPMH_REGULATOR_LEVEL_TURBO>; |
Kyle Yan | 384b13c | 2016-10-18 11:11:37 -0700 | [diff] [blame] | 1736 | qcom,firmware-name = "modem"; |
| 1737 | qcom,pil-self-auth; |
| 1738 | qcom,sysmon-id = <0>; |
| 1739 | qcom,ssctl-instance-id = <0x12>; |
| 1740 | qcom,override-acc; |
| 1741 | qcom,qdsp6v65-1-0; |
| 1742 | status = "ok"; |
| 1743 | memory-region = <&pil_modem_mem>; |
| 1744 | qcom,mem-protect-id = <0xF>; |
| 1745 | |
| 1746 | /* GPIO inputs from mss */ |
| 1747 | qcom,gpio-err-fatal = <&smp2pgpio_ssr_smp2p_1_in 0 0>; |
| 1748 | qcom,gpio-err-ready = <&smp2pgpio_ssr_smp2p_1_in 1 0>; |
| 1749 | qcom,gpio-proxy-unvote = <&smp2pgpio_ssr_smp2p_1_in 2 0>; |
| 1750 | qcom,gpio-stop-ack = <&smp2pgpio_ssr_smp2p_1_in 3 0>; |
| 1751 | qcom,gpio-shutdown-ack = <&smp2pgpio_ssr_smp2p_1_in 7 0>; |
| 1752 | |
| 1753 | /* GPIO output to mss */ |
| 1754 | qcom,gpio-force-stop = <&smp2pgpio_ssr_smp2p_1_out 0 0>; |
Channagoud Kadabi | 814df40 | 2017-04-04 13:55:26 -0700 | [diff] [blame] | 1755 | qcom,mba-mem@0 { |
| 1756 | compatible = "qcom,pil-mba-mem"; |
| 1757 | memory-region = <&pil_mba_mem>; |
| 1758 | }; |
Kyle Yan | 384b13c | 2016-10-18 11:11:37 -0700 | [diff] [blame] | 1759 | }; |
| 1760 | |
Kyle Yan | d119cf8 | 2016-10-19 14:49:04 -0700 | [diff] [blame] | 1761 | qcom,lpass@17300000 { |
| 1762 | compatible = "qcom,pil-tz-generic"; |
| 1763 | reg = <0x17300000 0x00100>; |
| 1764 | interrupts = <0 162 1>; |
| 1765 | |
David Collins | 3a45794 | 2016-12-09 16:59:51 -0800 | [diff] [blame] | 1766 | vdd_cx-supply = <&pm8998_s9_level>; |
Kyle Yan | d119cf8 | 2016-10-19 14:49:04 -0700 | [diff] [blame] | 1767 | qcom,proxy-reg-names = "vdd_cx"; |
Kyle Yan | d8326b6 | 2017-01-05 15:11:02 -0800 | [diff] [blame] | 1768 | qcom,vdd_cx-uV-uA = <RPMH_REGULATOR_LEVEL_TURBO 100000>; |
Kyle Yan | d119cf8 | 2016-10-19 14:49:04 -0700 | [diff] [blame] | 1769 | |
Osvaldo Banuelos | abbbfcb | 2017-01-31 16:11:10 -0800 | [diff] [blame] | 1770 | clocks = <&clock_rpmh RPMH_CXO_CLK>; |
Kyle Yan | d119cf8 | 2016-10-19 14:49:04 -0700 | [diff] [blame] | 1771 | clock-names = "xo"; |
| 1772 | qcom,proxy-clock-names = "xo"; |
| 1773 | |
| 1774 | qcom,pas-id = <1>; |
| 1775 | qcom,proxy-timeout-ms = <10000>; |
| 1776 | qcom,smem-id = <423>; |
| 1777 | qcom,sysmon-id = <1>; |
| 1778 | status = "ok"; |
| 1779 | qcom,ssctl-instance-id = <0x14>; |
| 1780 | qcom,firmware-name = "adsp"; |
| 1781 | memory-region = <&pil_adsp_mem>; |
| 1782 | |
| 1783 | /* GPIO inputs from lpass */ |
| 1784 | qcom,gpio-err-fatal = <&smp2pgpio_ssr_smp2p_2_in 0 0>; |
| 1785 | qcom,gpio-proxy-unvote = <&smp2pgpio_ssr_smp2p_2_in 2 0>; |
| 1786 | qcom,gpio-err-ready = <&smp2pgpio_ssr_smp2p_2_in 1 0>; |
| 1787 | qcom,gpio-stop-ack = <&smp2pgpio_ssr_smp2p_2_in 3 0>; |
| 1788 | |
| 1789 | /* GPIO output to lpass */ |
| 1790 | qcom,gpio-force-stop = <&smp2pgpio_ssr_smp2p_2_out 0 0>; |
| 1791 | }; |
| 1792 | |
Kyle Yan | b693da3 | 2016-10-20 14:01:09 -0700 | [diff] [blame] | 1793 | qcom,ssc@5c00000 { |
| 1794 | compatible = "qcom,pil-tz-generic"; |
| 1795 | reg = <0x5c00000 0x4000>; |
Kyle Yan | b3a29ae | 2017-05-23 13:37:11 -0700 | [diff] [blame] | 1796 | interrupts = <0 494 1>; |
Kyle Yan | b693da3 | 2016-10-20 14:01:09 -0700 | [diff] [blame] | 1797 | |
David Collins | 3a45794 | 2016-12-09 16:59:51 -0800 | [diff] [blame] | 1798 | vdd_cx-supply = <&pm8998_l27_level>; |
Kyle Yan | d8326b6 | 2017-01-05 15:11:02 -0800 | [diff] [blame] | 1799 | qcom,vdd_cx-uV-uA = <RPMH_REGULATOR_LEVEL_TURBO 0>; |
Kyle Yan | e9e3b40 | 2017-06-22 16:37:17 -0700 | [diff] [blame] | 1800 | qcom,proxy-reg-names = "vdd_cx"; |
Kyle Yan | b693da3 | 2016-10-20 14:01:09 -0700 | [diff] [blame] | 1801 | qcom,keep-proxy-regs-on; |
| 1802 | |
Osvaldo Banuelos | abbbfcb | 2017-01-31 16:11:10 -0800 | [diff] [blame] | 1803 | clocks = <&clock_rpmh RPMH_CXO_CLK>; |
Kyle Yan | b693da3 | 2016-10-20 14:01:09 -0700 | [diff] [blame] | 1804 | clock-names = "xo"; |
| 1805 | qcom,proxy-clock-names = "xo"; |
| 1806 | |
| 1807 | qcom,pas-id = <12>; |
| 1808 | qcom,proxy-timeout-ms = <10000>; |
| 1809 | qcom,smem-id = <424>; |
| 1810 | qcom,sysmon-id = <3>; |
| 1811 | qcom,ssctl-instance-id = <0x16>; |
| 1812 | qcom,firmware-name = "slpi"; |
| 1813 | status = "ok"; |
| 1814 | memory-region = <&pil_slpi_mem>; |
| 1815 | |
| 1816 | /* GPIO inputs from ssc */ |
| 1817 | qcom,gpio-err-fatal = <&smp2pgpio_ssr_smp2p_3_in 0 0>; |
| 1818 | qcom,gpio-proxy-unvote = <&smp2pgpio_ssr_smp2p_3_in 2 0>; |
| 1819 | qcom,gpio-err-ready = <&smp2pgpio_ssr_smp2p_3_in 1 0>; |
| 1820 | qcom,gpio-stop-ack = <&smp2pgpio_ssr_smp2p_3_in 3 0>; |
| 1821 | |
| 1822 | /* GPIO output to ssc */ |
| 1823 | qcom,gpio-force-stop = <&smp2pgpio_ssr_smp2p_3_out 0 0>; |
| 1824 | }; |
| 1825 | |
Sagar Dharia | b7394b4 | 2016-11-29 01:01:01 -0700 | [diff] [blame] | 1826 | slim_aud: slim@171c0000 { |
| 1827 | cell-index = <1>; |
| 1828 | compatible = "qcom,slim-ngd"; |
| 1829 | reg = <0x171c0000 0x2c000>, |
| 1830 | <0x17184000 0x2a000>; |
| 1831 | reg-names = "slimbus_physical", "slimbus_bam_physical"; |
| 1832 | interrupts = <0 163 0>, <0 164 0>; |
| 1833 | interrupt-names = "slimbus_irq", "slimbus_bam_irq"; |
Karthikeyan Ramasubramanian | b5d07ee | 2017-02-13 12:26:39 -0700 | [diff] [blame] | 1834 | qcom,apps-ch-pipes = <0x780000>; |
Sagar Dharia | b7394b4 | 2016-11-29 01:01:01 -0700 | [diff] [blame] | 1835 | qcom,ea-pc = <0x270>; |
Karthikeyan Ramasubramanian | 9cd18ff | 2017-05-09 17:11:26 -0600 | [diff] [blame] | 1836 | qcom,iommu-s1-bypass; |
| 1837 | |
| 1838 | iommu_slim_aud_ctrl_cb: qcom,iommu_slim_ctrl_cb { |
| 1839 | compatible = "qcom,iommu-slim-ctrl-cb"; |
| 1840 | iommus = <&apps_smmu 0x1806 0x0>, |
| 1841 | <&apps_smmu 0x180d 0x0>, |
| 1842 | <&apps_smmu 0x180e 0x1>, |
| 1843 | <&apps_smmu 0x1810 0x1>; |
| 1844 | }; |
Sagar Dharia | b7394b4 | 2016-11-29 01:01:01 -0700 | [diff] [blame] | 1845 | }; |
| 1846 | |
Karthikeyan Ramasubramanian | 430c646 | 2017-01-18 15:20:05 -0700 | [diff] [blame] | 1847 | slim_qca: slim@17240000 { |
Sungjun Park | b4a9b3c | 2017-05-04 10:12:35 -0700 | [diff] [blame] | 1848 | status = "ok"; |
Karthikeyan Ramasubramanian | 430c646 | 2017-01-18 15:20:05 -0700 | [diff] [blame] | 1849 | cell-index = <3>; |
| 1850 | compatible = "qcom,slim-ngd"; |
| 1851 | reg = <0x17240000 0x2c000>, |
| 1852 | <0x17204000 0x20000>; |
| 1853 | reg-names = "slimbus_physical", "slimbus_bam_physical"; |
| 1854 | interrupts = <0 291 0>, <0 292 0>; |
| 1855 | interrupt-names = "slimbus_irq", "slimbus_bam_irq"; |
Karthikeyan Ramasubramanian | 9cd18ff | 2017-05-09 17:11:26 -0600 | [diff] [blame] | 1856 | qcom,iommu-s1-bypass; |
| 1857 | |
| 1858 | iommu_slim_qca_ctrl_cb: qcom,iommu_slim_ctrl_cb { |
| 1859 | compatible = "qcom,iommu-slim-ctrl-cb"; |
| 1860 | iommus = <&apps_smmu 0x1813 0x0>; |
| 1861 | }; |
Sungjun Park | b4a9b3c | 2017-05-04 10:12:35 -0700 | [diff] [blame] | 1862 | |
| 1863 | /* Slimbus Slave DT for WCN3990 */ |
| 1864 | btfmslim_codec: wcn3990 { |
| 1865 | compatible = "qcom,btfmslim_slave"; |
| 1866 | elemental-addr = [00 01 20 02 17 02]; |
| 1867 | qcom,btfm-slim-ifd = "btfmslim_slave_ifd"; |
| 1868 | qcom,btfm-slim-ifd-elemental-addr = [00 00 20 02 17 02]; |
| 1869 | }; |
Karthikeyan Ramasubramanian | 430c646 | 2017-01-18 15:20:05 -0700 | [diff] [blame] | 1870 | }; |
| 1871 | |
Satya Durga Srinivasu Prabhala | fbddbe7 | 2016-09-12 11:40:11 -0700 | [diff] [blame] | 1872 | eud: qcom,msm-eud@88e0000 { |
| 1873 | compatible = "qcom,msm-eud"; |
| 1874 | interrupt-names = "eud_irq"; |
| 1875 | interrupts = <GIC_SPI 492 IRQ_TYPE_LEVEL_HIGH>; |
Kyle Yan | 3801a1f | 2016-09-27 18:29:55 -0700 | [diff] [blame] | 1876 | reg = <0x88e0000 0x2000>; |
Satya Durga Srinivasu Prabhala | fbddbe7 | 2016-09-12 11:40:11 -0700 | [diff] [blame] | 1877 | reg-names = "eud_base"; |
| 1878 | status = "ok"; |
| 1879 | }; |
| 1880 | |
Kyle Yan | 7965335 | 2016-10-20 15:40:45 -0700 | [diff] [blame] | 1881 | qcom,spss@1880000 { |
| 1882 | compatible = "qcom,pil-tz-generic"; |
| 1883 | reg = <0x188101c 0x4>, |
| 1884 | <0x1881024 0x4>, |
| 1885 | <0x1881028 0x4>, |
| 1886 | <0x188103c 0x4>, |
| 1887 | <0x1882014 0x4>; |
| 1888 | reg-names = "sp2soc_irq_status", "sp2soc_irq_clr", |
| 1889 | "sp2soc_irq_mask", "rmb_err", "rmb_err_spare2"; |
| 1890 | interrupts = <0 352 1>; |
| 1891 | |
David Collins | 3a45794 | 2016-12-09 16:59:51 -0800 | [diff] [blame] | 1892 | vdd_cx-supply = <&pm8998_s9_level>; |
Kyle Yan | 7965335 | 2016-10-20 15:40:45 -0700 | [diff] [blame] | 1893 | qcom,proxy-reg-names = "vdd_cx"; |
Kyle Yan | d8326b6 | 2017-01-05 15:11:02 -0800 | [diff] [blame] | 1894 | qcom,vdd_cx-uV-uA = <RPMH_REGULATOR_LEVEL_TURBO 100000>; |
David Collins | 3a45794 | 2016-12-09 16:59:51 -0800 | [diff] [blame] | 1895 | vdd_mx-supply = <&pm8998_s6_level>; |
Kyle Yan | d8326b6 | 2017-01-05 15:11:02 -0800 | [diff] [blame] | 1896 | vdd_mx-uV = <RPMH_REGULATOR_LEVEL_TURBO 100000>; |
Kyle Yan | 7965335 | 2016-10-20 15:40:45 -0700 | [diff] [blame] | 1897 | |
Osvaldo Banuelos | abbbfcb | 2017-01-31 16:11:10 -0800 | [diff] [blame] | 1898 | clocks = <&clock_rpmh RPMH_CXO_CLK>; |
Kyle Yan | 7965335 | 2016-10-20 15:40:45 -0700 | [diff] [blame] | 1899 | clock-names = "xo"; |
| 1900 | qcom,proxy-clock-names = "xo"; |
| 1901 | qcom,pil-generic-irq-handler; |
| 1902 | status = "ok"; |
| 1903 | |
| 1904 | qcom,pas-id = <14>; |
| 1905 | qcom,proxy-timeout-ms = <10000>; |
| 1906 | qcom,firmware-name = "spss"; |
| 1907 | memory-region = <&pil_spss_mem>; |
| 1908 | qcom,spss-scsr-bits = <24 25>; |
| 1909 | }; |
| 1910 | |
Satyajit Desai | 17da059 | 2016-08-08 18:38:32 -0700 | [diff] [blame] | 1911 | wdog: qcom,wdt@17980000{ |
| 1912 | compatible = "qcom,msm-watchdog"; |
| 1913 | reg = <0x17980000 0x1000>; |
| 1914 | reg-names = "wdt-base"; |
Satyajit Desai | db4f2e6e | 2017-04-17 14:08:59 -0700 | [diff] [blame] | 1915 | interrupts = <0 0 0>, <0 1 0>; |
Satyajit Desai | 17da059 | 2016-08-08 18:38:32 -0700 | [diff] [blame] | 1916 | qcom,bark-time = <11000>; |
Channagoud Kadabi | 63d9d4d | 2017-08-25 15:36:31 -0700 | [diff] [blame] | 1917 | qcom,pet-time = <9360>; |
Satyajit Desai | 17da059 | 2016-08-08 18:38:32 -0700 | [diff] [blame] | 1918 | qcom,ipi-ping; |
| 1919 | qcom,wakeup-enable; |
| 1920 | }; |
Satyajit Desai | 5e2b88a | 2016-08-10 17:08:08 -0700 | [diff] [blame] | 1921 | |
Kyle Yan | 02e95f7 | 2016-10-18 14:38:41 -0700 | [diff] [blame] | 1922 | qcom,turing@8300000 { |
| 1923 | compatible = "qcom,pil-tz-generic"; |
| 1924 | reg = <0x8300000 0x100000>; |
| 1925 | interrupts = <0 578 1>; |
| 1926 | |
David Collins | 3a45794 | 2016-12-09 16:59:51 -0800 | [diff] [blame] | 1927 | vdd_cx-supply = <&pm8998_s9_level>; |
Kyle Yan | 02e95f7 | 2016-10-18 14:38:41 -0700 | [diff] [blame] | 1928 | qcom,proxy-reg-names = "vdd_cx"; |
Kyle Yan | d8326b6 | 2017-01-05 15:11:02 -0800 | [diff] [blame] | 1929 | qcom,vdd_cx-uV-uA = <RPMH_REGULATOR_LEVEL_TURBO 100000>; |
Kyle Yan | 02e95f7 | 2016-10-18 14:38:41 -0700 | [diff] [blame] | 1930 | |
Osvaldo Banuelos | abbbfcb | 2017-01-31 16:11:10 -0800 | [diff] [blame] | 1931 | clocks = <&clock_rpmh RPMH_CXO_CLK>; |
Kyle Yan | 02e95f7 | 2016-10-18 14:38:41 -0700 | [diff] [blame] | 1932 | clock-names = "xo"; |
| 1933 | qcom,proxy-clock-names = "xo"; |
| 1934 | |
| 1935 | qcom,pas-id = <18>; |
| 1936 | qcom,proxy-timeout-ms = <10000>; |
Kyle Yan | a7b7926 | 2017-04-09 11:37:24 -0700 | [diff] [blame] | 1937 | qcom,smem-id = <601>; |
Kyle Yan | 02e95f7 | 2016-10-18 14:38:41 -0700 | [diff] [blame] | 1938 | qcom,sysmon-id = <7>; |
| 1939 | qcom,ssctl-instance-id = <0x17>; |
| 1940 | qcom,firmware-name = "cdsp"; |
| 1941 | memory-region = <&pil_cdsp_mem>; |
| 1942 | |
| 1943 | /* GPIO inputs from turing */ |
| 1944 | qcom,gpio-err-fatal = <&smp2pgpio_ssr_smp2p_5_in 0 0>; |
| 1945 | qcom,gpio-proxy-unvote = <&smp2pgpio_ssr_smp2p_5_in 2 0>; |
| 1946 | qcom,gpio-err-ready = <&smp2pgpio_ssr_smp2p_5_in 1 0>; |
| 1947 | qcom,gpio-stop-ack = <&smp2pgpio_ssr_smp2p_5_in 3 0>; |
| 1948 | |
| 1949 | /* GPIO output to turing*/ |
| 1950 | qcom,gpio-force-stop = <&smp2pgpio_ssr_smp2p_5_out 0 0>; |
| 1951 | status = "ok"; |
| 1952 | }; |
| 1953 | |
Kyle Yan | 74c7425 | 2017-02-13 13:30:45 -0800 | [diff] [blame] | 1954 | qcom,msm-rtb { |
| 1955 | compatible = "qcom,msm-rtb"; |
| 1956 | qcom,rtb-size = <0x100000>; |
| 1957 | }; |
| 1958 | |
Channagoud Kadabi | 3128223 | 2017-04-26 14:39:09 -0700 | [diff] [blame] | 1959 | qcom,mpm2-sleep-counter@0x0c221000 { |
| 1960 | compatible = "qcom,mpm2-sleep-counter"; |
| 1961 | reg = <0x0c221000 0x1000>; |
| 1962 | clock-frequency = <32768>; |
| 1963 | }; |
| 1964 | |
Sathish Ambley | 917cbd2 | 2017-02-28 10:46:26 -0800 | [diff] [blame] | 1965 | qcom,msm-cdsp-loader { |
| 1966 | compatible = "qcom,cdsp-loader"; |
| 1967 | qcom,proc-img-to-load = "cdsp"; |
| 1968 | }; |
| 1969 | |
Sathish Ambley | 521f22a | 2017-04-21 14:19:45 -0700 | [diff] [blame] | 1970 | qcom,msm-adsprpc-mem { |
| 1971 | compatible = "qcom,msm-adsprpc-mem-region"; |
| 1972 | memory-region = <&adsp_mem>; |
| 1973 | }; |
| 1974 | |
Sathish Ambley | 37e8736 | 2016-11-12 15:18:48 -0800 | [diff] [blame] | 1975 | qcom,msm_fastrpc { |
| 1976 | compatible = "qcom,msm-fastrpc-compute"; |
Tharun Kumar Merugu | 26bf52e | 2017-08-11 12:03:29 +0530 | [diff] [blame] | 1977 | qcom,rpc-latency-us = <611>; |
Sathish Ambley | 37e8736 | 2016-11-12 15:18:48 -0800 | [diff] [blame] | 1978 | |
| 1979 | qcom,msm_fastrpc_compute_cb1 { |
| 1980 | compatible = "qcom,msm-fastrpc-compute-cb"; |
| 1981 | label = "cdsprpc-smd"; |
Patrick Daly | ac49501 | 2017-04-18 16:42:00 -0700 | [diff] [blame] | 1982 | iommus = <&apps_smmu 0x1401 0x30>; |
Tharun Kumar Merugu | eae8786 | 2017-07-12 17:35:48 +0530 | [diff] [blame] | 1983 | dma-coherent; |
Sathish Ambley | 37e8736 | 2016-11-12 15:18:48 -0800 | [diff] [blame] | 1984 | }; |
| 1985 | qcom,msm_fastrpc_compute_cb2 { |
| 1986 | compatible = "qcom,msm-fastrpc-compute-cb"; |
| 1987 | label = "cdsprpc-smd"; |
Patrick Daly | ac49501 | 2017-04-18 16:42:00 -0700 | [diff] [blame] | 1988 | iommus = <&apps_smmu 0x1402 0x30>; |
Tharun Kumar Merugu | eae8786 | 2017-07-12 17:35:48 +0530 | [diff] [blame] | 1989 | dma-coherent; |
Sathish Ambley | 37e8736 | 2016-11-12 15:18:48 -0800 | [diff] [blame] | 1990 | }; |
| 1991 | qcom,msm_fastrpc_compute_cb3 { |
| 1992 | compatible = "qcom,msm-fastrpc-compute-cb"; |
| 1993 | label = "cdsprpc-smd"; |
Patrick Daly | ac49501 | 2017-04-18 16:42:00 -0700 | [diff] [blame] | 1994 | iommus = <&apps_smmu 0x1403 0x30>; |
Tharun Kumar Merugu | eae8786 | 2017-07-12 17:35:48 +0530 | [diff] [blame] | 1995 | dma-coherent; |
Sathish Ambley | 37e8736 | 2016-11-12 15:18:48 -0800 | [diff] [blame] | 1996 | }; |
| 1997 | qcom,msm_fastrpc_compute_cb4 { |
| 1998 | compatible = "qcom,msm-fastrpc-compute-cb"; |
| 1999 | label = "cdsprpc-smd"; |
Patrick Daly | ac49501 | 2017-04-18 16:42:00 -0700 | [diff] [blame] | 2000 | iommus = <&apps_smmu 0x1404 0x30>; |
Tharun Kumar Merugu | eae8786 | 2017-07-12 17:35:48 +0530 | [diff] [blame] | 2001 | dma-coherent; |
Sathish Ambley | 37e8736 | 2016-11-12 15:18:48 -0800 | [diff] [blame] | 2002 | }; |
| 2003 | qcom,msm_fastrpc_compute_cb5 { |
| 2004 | compatible = "qcom,msm-fastrpc-compute-cb"; |
| 2005 | label = "cdsprpc-smd"; |
Patrick Daly | ac49501 | 2017-04-18 16:42:00 -0700 | [diff] [blame] | 2006 | iommus = <&apps_smmu 0x1405 0x30>; |
Tharun Kumar Merugu | eae8786 | 2017-07-12 17:35:48 +0530 | [diff] [blame] | 2007 | dma-coherent; |
Sathish Ambley | 37e8736 | 2016-11-12 15:18:48 -0800 | [diff] [blame] | 2008 | }; |
| 2009 | qcom,msm_fastrpc_compute_cb6 { |
| 2010 | compatible = "qcom,msm-fastrpc-compute-cb"; |
| 2011 | label = "cdsprpc-smd"; |
Patrick Daly | ac49501 | 2017-04-18 16:42:00 -0700 | [diff] [blame] | 2012 | iommus = <&apps_smmu 0x1406 0x30>; |
Tharun Kumar Merugu | eae8786 | 2017-07-12 17:35:48 +0530 | [diff] [blame] | 2013 | dma-coherent; |
Sathish Ambley | 37e8736 | 2016-11-12 15:18:48 -0800 | [diff] [blame] | 2014 | }; |
| 2015 | qcom,msm_fastrpc_compute_cb7 { |
| 2016 | compatible = "qcom,msm-fastrpc-compute-cb"; |
| 2017 | label = "cdsprpc-smd"; |
Patrick Daly | ac49501 | 2017-04-18 16:42:00 -0700 | [diff] [blame] | 2018 | iommus = <&apps_smmu 0x1407 0x30>; |
Tharun Kumar Merugu | eae8786 | 2017-07-12 17:35:48 +0530 | [diff] [blame] | 2019 | dma-coherent; |
Sathish Ambley | 37e8736 | 2016-11-12 15:18:48 -0800 | [diff] [blame] | 2020 | }; |
| 2021 | qcom,msm_fastrpc_compute_cb8 { |
| 2022 | compatible = "qcom,msm-fastrpc-compute-cb"; |
| 2023 | label = "cdsprpc-smd"; |
Patrick Daly | ac49501 | 2017-04-18 16:42:00 -0700 | [diff] [blame] | 2024 | iommus = <&apps_smmu 0x1408 0x30>; |
Tharun Kumar Merugu | eae8786 | 2017-07-12 17:35:48 +0530 | [diff] [blame] | 2025 | dma-coherent; |
Sathish Ambley | 37e8736 | 2016-11-12 15:18:48 -0800 | [diff] [blame] | 2026 | }; |
Sathish Ambley | 521f22a | 2017-04-21 14:19:45 -0700 | [diff] [blame] | 2027 | qcom,msm_fastrpc_compute_cb9 { |
| 2028 | compatible = "qcom,msm-fastrpc-compute-cb"; |
| 2029 | label = "cdsprpc-smd"; |
| 2030 | qcom,secure-context-bank; |
Patrick Daly | ac49501 | 2017-04-18 16:42:00 -0700 | [diff] [blame] | 2031 | iommus = <&apps_smmu 0x1409 0x30>; |
Tharun Kumar Merugu | eae8786 | 2017-07-12 17:35:48 +0530 | [diff] [blame] | 2032 | dma-coherent; |
Sathish Ambley | 521f22a | 2017-04-21 14:19:45 -0700 | [diff] [blame] | 2033 | }; |
| 2034 | qcom,msm_fastrpc_compute_cb10 { |
| 2035 | compatible = "qcom,msm-fastrpc-compute-cb"; |
| 2036 | label = "cdsprpc-smd"; |
| 2037 | qcom,secure-context-bank; |
Patrick Daly | ac49501 | 2017-04-18 16:42:00 -0700 | [diff] [blame] | 2038 | iommus = <&apps_smmu 0x140A 0x30>; |
Tharun Kumar Merugu | eae8786 | 2017-07-12 17:35:48 +0530 | [diff] [blame] | 2039 | dma-coherent; |
Sathish Ambley | 521f22a | 2017-04-21 14:19:45 -0700 | [diff] [blame] | 2040 | }; |
| 2041 | qcom,msm_fastrpc_compute_cb11 { |
| 2042 | compatible = "qcom,msm-fastrpc-compute-cb"; |
| 2043 | label = "adsprpc-smd"; |
Patrick Daly | c4aaa90 | 2017-04-24 12:45:11 -0700 | [diff] [blame] | 2044 | iommus = <&apps_smmu 0x1823 0x0>; |
Tharun Kumar Merugu | eae8786 | 2017-07-12 17:35:48 +0530 | [diff] [blame] | 2045 | dma-coherent; |
Sathish Ambley | 521f22a | 2017-04-21 14:19:45 -0700 | [diff] [blame] | 2046 | }; |
| 2047 | qcom,msm_fastrpc_compute_cb12 { |
| 2048 | compatible = "qcom,msm-fastrpc-compute-cb"; |
| 2049 | label = "adsprpc-smd"; |
Patrick Daly | c4aaa90 | 2017-04-24 12:45:11 -0700 | [diff] [blame] | 2050 | iommus = <&apps_smmu 0x1824 0x0>; |
Tharun Kumar Merugu | eae8786 | 2017-07-12 17:35:48 +0530 | [diff] [blame] | 2051 | dma-coherent; |
Sathish Ambley | 521f22a | 2017-04-21 14:19:45 -0700 | [diff] [blame] | 2052 | }; |
Sathish Ambley | 37e8736 | 2016-11-12 15:18:48 -0800 | [diff] [blame] | 2053 | }; |
| 2054 | |
Satyajit Desai | 5e2b88a | 2016-08-10 17:08:08 -0700 | [diff] [blame] | 2055 | qcom,msm-imem@146bf000 { |
| 2056 | compatible = "qcom,msm-imem"; |
| 2057 | reg = <0x146bf000 0x1000>; |
| 2058 | ranges = <0x0 0x146bf000 0x1000>; |
| 2059 | #address-cells = <1>; |
| 2060 | #size-cells = <1>; |
| 2061 | |
| 2062 | mem_dump_table@10 { |
| 2063 | compatible = "qcom,msm-imem-mem_dump_table"; |
| 2064 | reg = <0x10 8>; |
| 2065 | }; |
Kyle Yan | 3d71bbe | 2016-11-01 16:02:26 -0700 | [diff] [blame] | 2066 | |
Kyle Yan | a795b9d | 2017-02-14 16:16:13 -0800 | [diff] [blame] | 2067 | restart_reason@65c { |
| 2068 | compatible = "qcom,msm-imem-restart_reason"; |
| 2069 | reg = <0x65c 4>; |
| 2070 | }; |
| 2071 | |
Channagoud Kadabi | 3128223 | 2017-04-26 14:39:09 -0700 | [diff] [blame] | 2072 | boot_stats@6b0 { |
| 2073 | compatible = "qcom,msm-imem-boot_stats"; |
| 2074 | reg = <0x6b0 32>; |
| 2075 | }; |
| 2076 | |
Kyle Yan | 3d71bbe | 2016-11-01 16:02:26 -0700 | [diff] [blame] | 2077 | pil@94c { |
| 2078 | compatible = "qcom,msm-imem-pil"; |
| 2079 | reg = <0x94c 200>; |
| 2080 | }; |
Channagoud Kadabi | c251342 | 2017-04-25 18:53:42 -0700 | [diff] [blame] | 2081 | |
| 2082 | kaslr_offset@6d0 { |
| 2083 | compatible = "qcom,msm-imem-kaslr_offset"; |
| 2084 | reg = <0x6d0 12>; |
| 2085 | }; |
Mayank Rana | 0d88309 | 2017-05-05 17:30:55 -0700 | [diff] [blame] | 2086 | |
| 2087 | diag_dload@c8 { |
| 2088 | compatible = "qcom,msm-imem-diag-dload"; |
| 2089 | reg = <0xc8 200>; |
| 2090 | }; |
Satyajit Desai | 5e2b88a | 2016-08-10 17:08:08 -0700 | [diff] [blame] | 2091 | }; |
Kyle Yan | ddc4424 | 2016-06-20 14:42:14 -0700 | [diff] [blame] | 2092 | |
Kyle Yan | 74747da | 2016-09-14 16:24:30 -0700 | [diff] [blame] | 2093 | qcom,venus@aae0000 { |
| 2094 | compatible = "qcom,pil-tz-generic"; |
| 2095 | reg = <0xaae0000 0x4000>; |
| 2096 | |
| 2097 | vdd-supply = <&venus_gdsc>; |
| 2098 | qcom,proxy-reg-names = "vdd"; |
| 2099 | |
| 2100 | clocks = <&clock_videocc VIDEO_CC_VENUS_CTL_CORE_CLK>, |
| 2101 | <&clock_videocc VIDEO_CC_VENUS_AHB_CLK>, |
| 2102 | <&clock_videocc VIDEO_CC_VENUS_CTL_AXI_CLK>; |
| 2103 | clock-names = "core_clk", "iface_clk", "bus_clk"; |
| 2104 | qcom,proxy-clock-names = "core_clk", "iface_clk", "bus_clk"; |
| 2105 | |
| 2106 | qcom,pas-id = <9>; |
| 2107 | qcom,msm-bus,name = "pil-venus"; |
| 2108 | qcom,msm-bus,num-cases = <2>; |
| 2109 | qcom,msm-bus,num-paths = <1>; |
| 2110 | qcom,msm-bus,vectors-KBps = |
| 2111 | <63 512 0 0>, |
| 2112 | <63 512 0 304000>; |
| 2113 | qcom,proxy-timeout-ms = <100>; |
| 2114 | qcom,firmware-name = "venus"; |
| 2115 | memory-region = <&pil_video_mem>; |
| 2116 | status = "ok"; |
| 2117 | }; |
| 2118 | |
Ananda Kishore | 4772774 | 2017-05-04 01:04:30 +0530 | [diff] [blame] | 2119 | ssc_sensors: qcom,msm-ssc-sensors { |
| 2120 | compatible = "qcom,msm-ssc-sensors"; |
| 2121 | status = "ok"; |
| 2122 | qcom,firmware-name = "slpi"; |
| 2123 | }; |
| 2124 | |
Kyle Yan | 49dd9f2 | 2016-12-02 11:56:05 -0800 | [diff] [blame] | 2125 | cpuss_dump { |
| 2126 | compatible = "qcom,cpuss-dump"; |
| 2127 | qcom,l1_i_cache0 { |
| 2128 | qcom,dump-node = <&L1_I_0>; |
| 2129 | qcom,dump-id = <0x60>; |
| 2130 | }; |
| 2131 | qcom,l1_i_cache1 { |
Channagoud Kadabi | 0fd460c | 2017-04-04 21:09:57 -0700 | [diff] [blame] | 2132 | qcom,dump-node = <&L1_I_100>; |
Kyle Yan | 49dd9f2 | 2016-12-02 11:56:05 -0800 | [diff] [blame] | 2133 | qcom,dump-id = <0x61>; |
| 2134 | }; |
| 2135 | qcom,l1_i_cache2 { |
Channagoud Kadabi | 0fd460c | 2017-04-04 21:09:57 -0700 | [diff] [blame] | 2136 | qcom,dump-node = <&L1_I_200>; |
Kyle Yan | 49dd9f2 | 2016-12-02 11:56:05 -0800 | [diff] [blame] | 2137 | qcom,dump-id = <0x62>; |
| 2138 | }; |
| 2139 | qcom,l1_i_cache3 { |
Channagoud Kadabi | 0fd460c | 2017-04-04 21:09:57 -0700 | [diff] [blame] | 2140 | qcom,dump-node = <&L1_I_300>; |
Kyle Yan | 49dd9f2 | 2016-12-02 11:56:05 -0800 | [diff] [blame] | 2141 | qcom,dump-id = <0x63>; |
| 2142 | }; |
| 2143 | qcom,l1_i_cache100 { |
Channagoud Kadabi | 0fd460c | 2017-04-04 21:09:57 -0700 | [diff] [blame] | 2144 | qcom,dump-node = <&L1_I_400>; |
Kyle Yan | 49dd9f2 | 2016-12-02 11:56:05 -0800 | [diff] [blame] | 2145 | qcom,dump-id = <0x64>; |
| 2146 | }; |
| 2147 | qcom,l1_i_cache101 { |
Channagoud Kadabi | 0fd460c | 2017-04-04 21:09:57 -0700 | [diff] [blame] | 2148 | qcom,dump-node = <&L1_I_500>; |
Kyle Yan | 49dd9f2 | 2016-12-02 11:56:05 -0800 | [diff] [blame] | 2149 | qcom,dump-id = <0x65>; |
| 2150 | }; |
| 2151 | qcom,l1_i_cache102 { |
Channagoud Kadabi | 0fd460c | 2017-04-04 21:09:57 -0700 | [diff] [blame] | 2152 | qcom,dump-node = <&L1_I_600>; |
Kyle Yan | 49dd9f2 | 2016-12-02 11:56:05 -0800 | [diff] [blame] | 2153 | qcom,dump-id = <0x66>; |
| 2154 | }; |
| 2155 | qcom,l1_i_cache103 { |
Channagoud Kadabi | 0fd460c | 2017-04-04 21:09:57 -0700 | [diff] [blame] | 2156 | qcom,dump-node = <&L1_I_700>; |
Kyle Yan | 49dd9f2 | 2016-12-02 11:56:05 -0800 | [diff] [blame] | 2157 | qcom,dump-id = <0x67>; |
| 2158 | }; |
| 2159 | qcom,l1_d_cache0 { |
| 2160 | qcom,dump-node = <&L1_D_0>; |
| 2161 | qcom,dump-id = <0x80>; |
| 2162 | }; |
| 2163 | qcom,l1_d_cache1 { |
Channagoud Kadabi | 0fd460c | 2017-04-04 21:09:57 -0700 | [diff] [blame] | 2164 | qcom,dump-node = <&L1_D_100>; |
Kyle Yan | 49dd9f2 | 2016-12-02 11:56:05 -0800 | [diff] [blame] | 2165 | qcom,dump-id = <0x81>; |
| 2166 | }; |
| 2167 | qcom,l1_d_cache2 { |
Channagoud Kadabi | 0fd460c | 2017-04-04 21:09:57 -0700 | [diff] [blame] | 2168 | qcom,dump-node = <&L1_D_200>; |
Kyle Yan | 49dd9f2 | 2016-12-02 11:56:05 -0800 | [diff] [blame] | 2169 | qcom,dump-id = <0x82>; |
| 2170 | }; |
| 2171 | qcom,l1_d_cache3 { |
Channagoud Kadabi | 0fd460c | 2017-04-04 21:09:57 -0700 | [diff] [blame] | 2172 | qcom,dump-node = <&L1_D_300>; |
Kyle Yan | 49dd9f2 | 2016-12-02 11:56:05 -0800 | [diff] [blame] | 2173 | qcom,dump-id = <0x83>; |
| 2174 | }; |
| 2175 | qcom,l1_d_cache100 { |
Channagoud Kadabi | 0fd460c | 2017-04-04 21:09:57 -0700 | [diff] [blame] | 2176 | qcom,dump-node = <&L1_D_400>; |
Kyle Yan | 49dd9f2 | 2016-12-02 11:56:05 -0800 | [diff] [blame] | 2177 | qcom,dump-id = <0x84>; |
| 2178 | }; |
| 2179 | qcom,l1_d_cache101 { |
Channagoud Kadabi | 0fd460c | 2017-04-04 21:09:57 -0700 | [diff] [blame] | 2180 | qcom,dump-node = <&L1_D_500>; |
Kyle Yan | 49dd9f2 | 2016-12-02 11:56:05 -0800 | [diff] [blame] | 2181 | qcom,dump-id = <0x85>; |
| 2182 | }; |
| 2183 | qcom,l1_d_cache102 { |
Channagoud Kadabi | 0fd460c | 2017-04-04 21:09:57 -0700 | [diff] [blame] | 2184 | qcom,dump-node = <&L1_D_600>; |
Kyle Yan | 49dd9f2 | 2016-12-02 11:56:05 -0800 | [diff] [blame] | 2185 | qcom,dump-id = <0x86>; |
| 2186 | }; |
| 2187 | qcom,l1_d_cache103 { |
Channagoud Kadabi | 0fd460c | 2017-04-04 21:09:57 -0700 | [diff] [blame] | 2188 | qcom,dump-node = <&L1_D_700>; |
Kyle Yan | 49dd9f2 | 2016-12-02 11:56:05 -0800 | [diff] [blame] | 2189 | qcom,dump-id = <0x87>; |
| 2190 | }; |
Channagoud Kadabi | aed1489 | 2017-03-20 16:44:39 -0700 | [diff] [blame] | 2191 | qcom,llcc1_d_cache { |
| 2192 | qcom,dump-node = <&LLCC_1>; |
Channagoud Kadabi | 641331f | 2017-05-26 15:30:25 -0700 | [diff] [blame] | 2193 | qcom,dump-id = <0x140>; |
Channagoud Kadabi | f4fa169 | 2017-01-17 12:34:29 -0800 | [diff] [blame] | 2194 | }; |
Channagoud Kadabi | aed1489 | 2017-03-20 16:44:39 -0700 | [diff] [blame] | 2195 | qcom,llcc2_d_cache { |
| 2196 | qcom,dump-node = <&LLCC_2>; |
Channagoud Kadabi | 641331f | 2017-05-26 15:30:25 -0700 | [diff] [blame] | 2197 | qcom,dump-id = <0x141>; |
Channagoud Kadabi | aed1489 | 2017-03-20 16:44:39 -0700 | [diff] [blame] | 2198 | }; |
| 2199 | qcom,llcc3_d_cache { |
| 2200 | qcom,dump-node = <&LLCC_3>; |
Channagoud Kadabi | 641331f | 2017-05-26 15:30:25 -0700 | [diff] [blame] | 2201 | qcom,dump-id = <0x142>; |
Channagoud Kadabi | aed1489 | 2017-03-20 16:44:39 -0700 | [diff] [blame] | 2202 | }; |
| 2203 | qcom,llcc4_d_cache { |
| 2204 | qcom,dump-node = <&LLCC_4>; |
Channagoud Kadabi | 641331f | 2017-05-26 15:30:25 -0700 | [diff] [blame] | 2205 | qcom,dump-id = <0x143>; |
Channagoud Kadabi | aed1489 | 2017-03-20 16:44:39 -0700 | [diff] [blame] | 2206 | }; |
Channagoud Kadabi | ef56fcb | 2017-05-15 16:28:39 -0700 | [diff] [blame] | 2207 | qcom,l1_tlb_dump0 { |
| 2208 | qcom,dump-node = <&L1_TLB_0>; |
| 2209 | qcom,dump-id = <0x20>; |
| 2210 | }; |
| 2211 | qcom,l1_tlb_dump100 { |
| 2212 | qcom,dump-node = <&L1_TLB_100>; |
| 2213 | qcom,dump-id = <0x21>; |
| 2214 | }; |
| 2215 | qcom,l1_tlb_dump200 { |
| 2216 | qcom,dump-node = <&L1_TLB_200>; |
| 2217 | qcom,dump-id = <0x22>; |
| 2218 | }; |
| 2219 | qcom,l1_tlb_dump300 { |
| 2220 | qcom,dump-node = <&L1_TLB_300>; |
| 2221 | qcom,dump-id = <0x23>; |
| 2222 | }; |
| 2223 | qcom,l1_tlb_dump400 { |
| 2224 | qcom,dump-node = <&L1_TLB_400>; |
| 2225 | qcom,dump-id = <0x24>; |
| 2226 | }; |
| 2227 | qcom,l1_tlb_dump500 { |
| 2228 | qcom,dump-node = <&L1_TLB_500>; |
| 2229 | qcom,dump-id = <0x25>; |
| 2230 | }; |
| 2231 | qcom,l1_tlb_dump600 { |
| 2232 | qcom,dump-node = <&L1_TLB_600>; |
| 2233 | qcom,dump-id = <0x26>; |
| 2234 | }; |
| 2235 | qcom,l1_tlb_dump700 { |
| 2236 | qcom,dump-node = <&L1_TLB_700>; |
| 2237 | qcom,dump-id = <0x27>; |
| 2238 | }; |
Kyle Yan | 49dd9f2 | 2016-12-02 11:56:05 -0800 | [diff] [blame] | 2239 | }; |
| 2240 | |
Kyle Yan | ddc4424 | 2016-06-20 14:42:14 -0700 | [diff] [blame] | 2241 | kryo3xx-erp { |
| 2242 | compatible = "arm,arm64-kryo3xx-cpu-erp"; |
| 2243 | interrupts = <1 6 4>, |
| 2244 | <1 7 4>, |
| 2245 | <0 34 4>, |
| 2246 | <0 35 4>; |
| 2247 | |
| 2248 | interrupt-names = "l1-l2-faultirq", |
| 2249 | "l1-l2-errirq", |
| 2250 | "l3-scu-errirq", |
| 2251 | "l3-scu-faultirq"; |
| 2252 | }; |
Channagoud Kadabi | ddeeb78 | 2016-06-23 18:56:25 -0700 | [diff] [blame] | 2253 | |
Channagoud Kadabi | 59a7ff2 | 2017-03-27 21:59:51 -0700 | [diff] [blame] | 2254 | qcom,llcc@1100000 { |
Channagoud Kadabi | 8751c89 | 2016-10-14 13:40:19 -0700 | [diff] [blame] | 2255 | compatible = "qcom,llcc-core", "syscon", "simple-mfd"; |
Channagoud Kadabi | 59a7ff2 | 2017-03-27 21:59:51 -0700 | [diff] [blame] | 2256 | reg = <0x1100000 0x250000>; |
Channagoud Kadabi | ddeeb78 | 2016-06-23 18:56:25 -0700 | [diff] [blame] | 2257 | reg-names = "llcc_base"; |
Channagoud Kadabi | 59a7ff2 | 2017-03-27 21:59:51 -0700 | [diff] [blame] | 2258 | qcom,llcc-banks-off = <0x0 0x80000 0x100000 0x180000>; |
| 2259 | qcom,llcc-broadcast-off = <0x200000>; |
Channagoud Kadabi | ddeeb78 | 2016-06-23 18:56:25 -0700 | [diff] [blame] | 2260 | |
Kyle Yan | 6a20fae | 2017-02-14 13:34:41 -0800 | [diff] [blame] | 2261 | llcc: qcom,sdm845-llcc { |
| 2262 | compatible = "qcom,sdm845-llcc"; |
Channagoud Kadabi | ddeeb78 | 2016-06-23 18:56:25 -0700 | [diff] [blame] | 2263 | #cache-cells = <1>; |
| 2264 | max-slices = <32>; |
| 2265 | }; |
| 2266 | |
| 2267 | qcom,llcc-erp { |
| 2268 | compatible = "qcom,llcc-erp"; |
Channagoud Kadabi | c26a891 | 2016-11-21 13:57:20 -0800 | [diff] [blame] | 2269 | interrupt-names = "ecc_irq"; |
| 2270 | interrupts = <GIC_SPI 582 IRQ_TYPE_LEVEL_HIGH>; |
Channagoud Kadabi | ddeeb78 | 2016-06-23 18:56:25 -0700 | [diff] [blame] | 2271 | }; |
| 2272 | |
| 2273 | qcom,llcc-amon { |
| 2274 | compatible = "qcom,llcc-amon"; |
| 2275 | }; |
Channagoud Kadabi | aed1489 | 2017-03-20 16:44:39 -0700 | [diff] [blame] | 2276 | |
| 2277 | LLCC_1: llcc_1_dcache { |
Channagoud Kadabi | 463eb3b | 2017-06-16 15:31:53 -0700 | [diff] [blame] | 2278 | qcom,dump-size = <0x114100>; |
Channagoud Kadabi | aed1489 | 2017-03-20 16:44:39 -0700 | [diff] [blame] | 2279 | }; |
| 2280 | |
| 2281 | LLCC_2: llcc_2_dcache { |
Channagoud Kadabi | 463eb3b | 2017-06-16 15:31:53 -0700 | [diff] [blame] | 2282 | qcom,dump-size = <0x114100>; |
Channagoud Kadabi | aed1489 | 2017-03-20 16:44:39 -0700 | [diff] [blame] | 2283 | }; |
| 2284 | |
| 2285 | LLCC_3: llcc_3_dcache { |
Channagoud Kadabi | 463eb3b | 2017-06-16 15:31:53 -0700 | [diff] [blame] | 2286 | qcom,dump-size = <0x114100>; |
Channagoud Kadabi | aed1489 | 2017-03-20 16:44:39 -0700 | [diff] [blame] | 2287 | }; |
| 2288 | |
| 2289 | LLCC_4: llcc_4_dcache { |
Channagoud Kadabi | 463eb3b | 2017-06-16 15:31:53 -0700 | [diff] [blame] | 2290 | qcom,dump-size = <0x114100>; |
Channagoud Kadabi | aed1489 | 2017-03-20 16:44:39 -0700 | [diff] [blame] | 2291 | }; |
Channagoud Kadabi | ddeeb78 | 2016-06-23 18:56:25 -0700 | [diff] [blame] | 2292 | }; |
Chris Lew | ecef30b | 2016-08-22 13:52:49 -0700 | [diff] [blame] | 2293 | |
| 2294 | qcom,ipc-spinlock@1f40000 { |
| 2295 | compatible = "qcom,ipc-spinlock-sfpb"; |
| 2296 | reg = <0x1f40000 0x8000>; |
| 2297 | qcom,num-locks = <8>; |
| 2298 | }; |
Chris Lew | 05f9fb7 | 2016-08-22 13:55:10 -0700 | [diff] [blame] | 2299 | |
| 2300 | qcom,smem@86000000 { |
| 2301 | compatible = "qcom,smem"; |
| 2302 | reg = <0x86000000 0x200000>, |
| 2303 | <0x17911008 0x4>, |
| 2304 | <0x778000 0x7000>, |
| 2305 | <0x1fd4000 0x8>; |
| 2306 | reg-names = "smem", "irq-reg-base", "aux-mem1", |
| 2307 | "smem_targ_info_reg"; |
| 2308 | qcom,mpu-enabled; |
| 2309 | }; |
Chris Lew | 031aed0 | 2016-08-22 13:58:59 -0700 | [diff] [blame] | 2310 | |
| 2311 | qcom,glink-mailbox-xprt-spss@1885008 { |
| 2312 | compatible = "qcom,glink-mailbox-xprt"; |
| 2313 | reg = <0x1885008 0x8>, |
| 2314 | <0x1885010 0x4>, |
| 2315 | <0x188501c 0x4>, |
| 2316 | <0x1886008 0x4>; |
| 2317 | reg-names = "mbox-loc-addr", "mbox-loc-size", "irq-reg-base", |
| 2318 | "irq-rx-reset"; |
| 2319 | qcom,irq-mask = <0x1>; |
| 2320 | interrupts = <0 348 4>; |
| 2321 | label = "spss"; |
| 2322 | qcom,tx-ring-size = <0x400>; |
| 2323 | qcom,rx-ring-size = <0x400>; |
| 2324 | }; |
Lina Iyer | 9f782ba | 2016-10-11 15:13:50 -0600 | [diff] [blame] | 2325 | |
Chris Lew | 7282977 | 2017-06-13 17:08:03 -0700 | [diff] [blame] | 2326 | qmp_aop: qcom,qmp-aop@c300000 { |
Chris Lew | 3930559 | 2017-03-03 17:18:07 -0800 | [diff] [blame] | 2327 | compatible = "qcom,qmp-mbox"; |
| 2328 | label = "aop"; |
| 2329 | reg = <0xc300000 0x100000>, |
| 2330 | <0x1799000c 0x4>; |
| 2331 | reg-names = "msgram", "irq-reg-base"; |
| 2332 | qcom,irq-mask = <0x1>; |
| 2333 | interrupts = <0 389 1>; |
Chris Lew | 7282977 | 2017-06-13 17:08:03 -0700 | [diff] [blame] | 2334 | priority = <0>; |
Chris Lew | 2a45151 | 2017-04-13 15:53:21 -0700 | [diff] [blame] | 2335 | mbox-desc-offset = <0x0>; |
Chris Lew | 3930559 | 2017-03-03 17:18:07 -0800 | [diff] [blame] | 2336 | #mbox-cells = <1>; |
| 2337 | }; |
| 2338 | |
Lina Iyer | 9f782ba | 2016-10-11 15:13:50 -0600 | [diff] [blame] | 2339 | apps_rsc: mailbox@179e0000 { |
| 2340 | compatible = "qcom,tcs-drv"; |
Lina Iyer | 1a41084 | 2017-03-21 13:52:43 -0600 | [diff] [blame] | 2341 | label = "apps_rsc"; |
Lina Iyer | 9f782ba | 2016-10-11 15:13:50 -0600 | [diff] [blame] | 2342 | reg = <0x179e0000 0x100>, <0x179e0d00 0x3000>; |
| 2343 | interrupts = <0 5 0>; |
| 2344 | #mbox-cells = <1>; |
| 2345 | qcom,drv-id = <2>; |
Lina Iyer | 45df896 | 2017-02-13 14:37:09 -0700 | [diff] [blame] | 2346 | qcom,tcs-config = <ACTIVE_TCS 2>, |
| 2347 | <SLEEP_TCS 3>, |
| 2348 | <WAKE_TCS 3>, |
| 2349 | <CONTROL_TCS 1>; |
Lina Iyer | 9f782ba | 2016-10-11 15:13:50 -0600 | [diff] [blame] | 2350 | }; |
Lina Iyer | 4522ca4 | 2016-10-18 16:57:19 -0600 | [diff] [blame] | 2351 | |
| 2352 | disp_rsc: mailbox@af20000 { |
Lina Iyer | 4522ca4 | 2016-10-18 16:57:19 -0600 | [diff] [blame] | 2353 | compatible = "qcom,tcs-drv"; |
Lina Iyer | 1a41084 | 2017-03-21 13:52:43 -0600 | [diff] [blame] | 2354 | label = "display_rsc"; |
Lina Iyer | 4522ca4 | 2016-10-18 16:57:19 -0600 | [diff] [blame] | 2355 | reg = <0xaf20000 0x100>, <0xaf21c00 0x3000>; |
| 2356 | interrupts = <0 129 0>; |
| 2357 | #mbox-cells = <1>; |
| 2358 | qcom,drv-id = <0>; |
| 2359 | qcom,tcs-config = <SLEEP_TCS 1>, |
| 2360 | <WAKE_TCS 1>, |
| 2361 | <ACTIVE_TCS 0>, |
| 2362 | <CONTROL_TCS 1>; |
| 2363 | }; |
Lina Iyer | ac0d4ed | 2016-10-20 13:48:31 -0600 | [diff] [blame] | 2364 | |
| 2365 | system_pm { |
| 2366 | compatible = "qcom,system-pm"; |
| 2367 | mboxes = <&apps_rsc 0>; |
| 2368 | }; |
Karthikeyan Ramasubramanian | 4726046 | 2016-09-19 14:15:45 -0600 | [diff] [blame] | 2369 | |
| 2370 | qcom,glink-smem-native-xprt-modem@86000000 { |
| 2371 | compatible = "qcom,glink-smem-native-xprt"; |
| 2372 | reg = <0x86000000 0x200000>, |
| 2373 | <0x1799000c 0x4>; |
| 2374 | reg-names = "smem", "irq-reg-base"; |
| 2375 | qcom,irq-mask = <0x1000>; |
| 2376 | interrupts = <GIC_SPI 449 IRQ_TYPE_EDGE_RISING>; |
| 2377 | label = "mpss"; |
| 2378 | }; |
| 2379 | |
| 2380 | qcom,glink-smem-native-xprt-adsp@86000000 { |
| 2381 | compatible = "qcom,glink-smem-native-xprt"; |
| 2382 | reg = <0x86000000 0x200000>, |
| 2383 | <0x1799000c 0x4>; |
| 2384 | reg-names = "smem", "irq-reg-base"; |
| 2385 | qcom,irq-mask = <0x100>; |
| 2386 | interrupts = <GIC_SPI 156 IRQ_TYPE_EDGE_RISING>; |
| 2387 | label = "lpass"; |
Chris Lew | 13311dd | 2017-05-11 13:04:33 -0700 | [diff] [blame] | 2388 | qcom,qos-config = <&glink_qos_adsp>; |
| 2389 | qcom,ramp-time = <0xaf>; |
| 2390 | }; |
| 2391 | |
| 2392 | glink_qos_adsp: qcom,glink-qos-config-adsp { |
| 2393 | compatible = "qcom,glink-qos-config"; |
| 2394 | qcom,flow-info = <0x3c 0x0>, |
| 2395 | <0x3c 0x0>, |
| 2396 | <0x3c 0x0>, |
| 2397 | <0x3c 0x0>; |
| 2398 | qcom,mtu-size = <0x800>; |
| 2399 | qcom,tput-stats-cycle = <0xa>; |
Karthikeyan Ramasubramanian | 4726046 | 2016-09-19 14:15:45 -0600 | [diff] [blame] | 2400 | }; |
| 2401 | |
| 2402 | qcom,glink-smem-native-xprt-dsps@86000000 { |
| 2403 | compatible = "qcom,glink-smem-native-xprt"; |
| 2404 | reg = <0x86000000 0x200000>, |
| 2405 | <0x1799000c 0x4>; |
| 2406 | reg-names = "smem", "irq-reg-base"; |
| 2407 | qcom,irq-mask = <0x1000000>; |
| 2408 | interrupts = <GIC_SPI 170 IRQ_TYPE_EDGE_RISING>; |
| 2409 | label = "dsps"; |
| 2410 | }; |
| 2411 | |
Chris Lew | 5d4752f | 2017-05-11 13:14:30 -0700 | [diff] [blame] | 2412 | glink_spi_xprt_wdsp: qcom,glink-spi-xprt-wdsp { |
| 2413 | compatible = "qcom,glink-spi-xprt"; |
| 2414 | label = "wdsp"; |
| 2415 | qcom,remote-fifo-config = <&glink_fifo_wdsp>; |
| 2416 | qcom,qos-config = <&glink_qos_wdsp>; |
| 2417 | qcom,ramp-time = <0x10>, |
| 2418 | <0x20>, |
| 2419 | <0x30>, |
| 2420 | <0x40>; |
| 2421 | }; |
| 2422 | |
| 2423 | glink_fifo_wdsp: qcom,glink-fifo-config-wdsp { |
| 2424 | compatible = "qcom,glink-fifo-config"; |
| 2425 | qcom,out-read-idx-reg = <0x12000>; |
| 2426 | qcom,out-write-idx-reg = <0x12004>; |
| 2427 | qcom,in-read-idx-reg = <0x1200C>; |
| 2428 | qcom,in-write-idx-reg = <0x12010>; |
| 2429 | }; |
| 2430 | |
| 2431 | glink_qos_wdsp: qcom,glink-qos-config-wdsp { |
| 2432 | compatible = "qcom,glink-qos-config"; |
| 2433 | qcom,flow-info = <0x80 0x0>, |
| 2434 | <0x70 0x1>, |
| 2435 | <0x60 0x2>, |
| 2436 | <0x50 0x3>; |
| 2437 | qcom,mtu-size = <0x800>; |
| 2438 | qcom,tput-stats-cycle = <0xa>; |
| 2439 | }; |
| 2440 | |
Karthikeyan Ramasubramanian | 4726046 | 2016-09-19 14:15:45 -0600 | [diff] [blame] | 2441 | qcom,glink-smem-native-xprt-cdsp@86000000 { |
| 2442 | compatible = "qcom,glink-smem-native-xprt"; |
| 2443 | reg = <0x86000000 0x200000>, |
| 2444 | <0x1799000c 0x4>; |
| 2445 | reg-names = "smem", "irq-reg-base"; |
| 2446 | qcom,irq-mask = <0x10>; |
| 2447 | interrupts = <GIC_SPI 574 IRQ_TYPE_EDGE_RISING>; |
| 2448 | label = "cdsp"; |
| 2449 | }; |
Karthikeyan Ramasubramanian | a0e3ff5 | 2016-09-19 14:31:36 -0600 | [diff] [blame] | 2450 | |
| 2451 | glink_mpss: qcom,glink-ssr-modem { |
| 2452 | compatible = "qcom,glink_ssr"; |
| 2453 | label = "modem"; |
| 2454 | qcom,edge = "mpss"; |
| 2455 | qcom,notify-edges = <&glink_lpass>, <&glink_dsps>, |
| 2456 | <&glink_cdsp>, <&glink_spss>; |
| 2457 | qcom,xprt = "smem"; |
| 2458 | }; |
| 2459 | |
| 2460 | glink_lpass: qcom,glink-ssr-adsp { |
| 2461 | compatible = "qcom,glink_ssr"; |
| 2462 | label = "adsp"; |
| 2463 | qcom,edge = "lpass"; |
| 2464 | qcom,notify-edges = <&glink_mpss>, <&glink_dsps>, <&glink_cdsp>; |
| 2465 | qcom,xprt = "smem"; |
| 2466 | }; |
| 2467 | |
| 2468 | glink_dsps: qcom,glink-ssr-dsps { |
| 2469 | compatible = "qcom,glink_ssr"; |
| 2470 | label = "slpi"; |
| 2471 | qcom,edge = "dsps"; |
| 2472 | qcom,notify-edges = <&glink_mpss>, <&glink_lpass>, |
| 2473 | <&glink_cdsp>; |
| 2474 | qcom,xprt = "smem"; |
| 2475 | }; |
| 2476 | |
| 2477 | glink_cdsp: qcom,glink-ssr-cdsp { |
| 2478 | compatible = "qcom,glink_ssr"; |
| 2479 | label = "cdsp"; |
| 2480 | qcom,edge = "cdsp"; |
| 2481 | qcom,notify-edges = <&glink_mpss>, <&glink_lpass>, |
| 2482 | <&glink_dsps>; |
| 2483 | qcom,xprt = "smem"; |
| 2484 | }; |
| 2485 | |
| 2486 | glink_spss: qcom,glink-ssr-spss { |
| 2487 | compatible = "qcom,glink_ssr"; |
| 2488 | label = "spss"; |
| 2489 | qcom,edge = "spss"; |
| 2490 | qcom,notify-edges = <&glink_mpss>; |
| 2491 | qcom,xprt = "mailbox"; |
| 2492 | }; |
Karthikeyan Ramasubramanian | 8f0c100 | 2016-09-19 15:44:53 -0600 | [diff] [blame] | 2493 | |
| 2494 | qcom,ipc_router { |
| 2495 | compatible = "qcom,ipc_router"; |
| 2496 | qcom,node-id = <1>; |
| 2497 | }; |
| 2498 | |
| 2499 | qcom,ipc_router_modem_xprt { |
| 2500 | compatible = "qcom,ipc_router_glink_xprt"; |
| 2501 | qcom,ch-name = "IPCRTR"; |
| 2502 | qcom,xprt-remote = "mpss"; |
| 2503 | qcom,glink-xprt = "smem"; |
| 2504 | qcom,xprt-linkid = <1>; |
| 2505 | qcom,xprt-version = <1>; |
| 2506 | qcom,fragmented-data; |
| 2507 | }; |
| 2508 | |
| 2509 | qcom,ipc_router_q6_xprt { |
| 2510 | compatible = "qcom,ipc_router_glink_xprt"; |
| 2511 | qcom,ch-name = "IPCRTR"; |
| 2512 | qcom,xprt-remote = "lpass"; |
| 2513 | qcom,glink-xprt = "smem"; |
| 2514 | qcom,xprt-linkid = <1>; |
| 2515 | qcom,xprt-version = <1>; |
| 2516 | qcom,fragmented-data; |
| 2517 | }; |
| 2518 | |
| 2519 | qcom,ipc_router_dsps_xprt { |
| 2520 | compatible = "qcom,ipc_router_glink_xprt"; |
| 2521 | qcom,ch-name = "IPCRTR"; |
| 2522 | qcom,xprt-remote = "dsps"; |
| 2523 | qcom,glink-xprt = "smem"; |
| 2524 | qcom,xprt-linkid = <1>; |
| 2525 | qcom,xprt-version = <1>; |
| 2526 | qcom,fragmented-data; |
Arun Kumar Neelakantam | 6947b8b | 2017-06-29 21:39:22 +0530 | [diff] [blame] | 2527 | qcom,dynamic-wakeup-source; |
Karthikeyan Ramasubramanian | 8f0c100 | 2016-09-19 15:44:53 -0600 | [diff] [blame] | 2528 | }; |
| 2529 | |
| 2530 | qcom,ipc_router_cdsp_xprt { |
| 2531 | compatible = "qcom,ipc_router_glink_xprt"; |
| 2532 | qcom,ch-name = "IPCRTR"; |
| 2533 | qcom,xprt-remote = "cdsp"; |
| 2534 | qcom,glink-xprt = "smem"; |
| 2535 | qcom,xprt-linkid = <1>; |
| 2536 | qcom,xprt-version = <1>; |
| 2537 | qcom,fragmented-data; |
| 2538 | }; |
Karthikeyan Ramasubramanian | 608a252 | 2016-09-19 15:50:38 -0600 | [diff] [blame] | 2539 | |
Kineret Berger | 4e32885 | 2017-02-16 10:49:03 +0200 | [diff] [blame] | 2540 | qcom,spcom { |
| 2541 | compatible = "qcom,spcom"; |
| 2542 | |
| 2543 | /* predefined channels, remote side is server */ |
| 2544 | qcom,spcom-ch-names = "sp_kernel", "sp_ssr"; |
| 2545 | status = "ok"; |
| 2546 | }; |
| 2547 | |
Reut Zysman | 0be87ce | 2017-03-19 14:35:54 +0200 | [diff] [blame] | 2548 | spss_utils: qcom,spss_utils { |
| 2549 | compatible = "qcom,spss-utils"; |
| 2550 | /* spss fuses physical address */ |
| 2551 | qcom,spss-fuse1-addr = <0x007841c4>; |
| 2552 | qcom,spss-fuse1-bit = <27>; |
| 2553 | qcom,spss-fuse2-addr = <0x007841c4>; |
| 2554 | qcom,spss-fuse2-bit = <26>; |
| 2555 | qcom,spss-dev-firmware-name = "spss1d"; /* 8 chars max */ |
| 2556 | qcom,spss-test-firmware-name = "spss1t"; /* 8 chars max */ |
| 2557 | qcom,spss-prod-firmware-name = "spss1p"; /* 8 chars max */ |
| 2558 | qcom,spss-debug-reg-addr = <0x01886020>; |
| 2559 | status = "ok"; |
| 2560 | }; |
| 2561 | |
Karthikeyan Ramasubramanian | 608a252 | 2016-09-19 15:50:38 -0600 | [diff] [blame] | 2562 | qcom,glink_pkt { |
| 2563 | compatible = "qcom,glinkpkt"; |
| 2564 | |
| 2565 | qcom,glinkpkt-at-mdm0 { |
| 2566 | qcom,glinkpkt-transport = "smem"; |
| 2567 | qcom,glinkpkt-edge = "mpss"; |
| 2568 | qcom,glinkpkt-ch-name = "DS"; |
| 2569 | qcom,glinkpkt-dev-name = "at_mdm0"; |
| 2570 | }; |
| 2571 | |
| 2572 | qcom,glinkpkt-loopback_cntl { |
| 2573 | qcom,glinkpkt-transport = "lloop"; |
| 2574 | qcom,glinkpkt-edge = "local"; |
| 2575 | qcom,glinkpkt-ch-name = "LOCAL_LOOPBACK_CLNT"; |
| 2576 | qcom,glinkpkt-dev-name = "glink_pkt_loopback_ctrl"; |
| 2577 | }; |
| 2578 | |
| 2579 | qcom,glinkpkt-loopback_data { |
| 2580 | qcom,glinkpkt-transport = "lloop"; |
| 2581 | qcom,glinkpkt-edge = "local"; |
| 2582 | qcom,glinkpkt-ch-name = "glink_pkt_lloop_CLNT"; |
| 2583 | qcom,glinkpkt-dev-name = "glink_pkt_loopback"; |
| 2584 | }; |
| 2585 | |
| 2586 | qcom,glinkpkt-apr-apps2 { |
| 2587 | qcom,glinkpkt-transport = "smem"; |
| 2588 | qcom,glinkpkt-edge = "adsp"; |
| 2589 | qcom,glinkpkt-ch-name = "apr_apps2"; |
| 2590 | qcom,glinkpkt-dev-name = "apr_apps2"; |
| 2591 | }; |
| 2592 | |
| 2593 | qcom,glinkpkt-data40-cntl { |
| 2594 | qcom,glinkpkt-transport = "smem"; |
| 2595 | qcom,glinkpkt-edge = "mpss"; |
| 2596 | qcom,glinkpkt-ch-name = "DATA40_CNTL"; |
| 2597 | qcom,glinkpkt-dev-name = "smdcntl8"; |
| 2598 | }; |
| 2599 | |
| 2600 | qcom,glinkpkt-data1 { |
| 2601 | qcom,glinkpkt-transport = "smem"; |
| 2602 | qcom,glinkpkt-edge = "mpss"; |
| 2603 | qcom,glinkpkt-ch-name = "DATA1"; |
| 2604 | qcom,glinkpkt-dev-name = "smd7"; |
| 2605 | }; |
| 2606 | |
| 2607 | qcom,glinkpkt-data4 { |
| 2608 | qcom,glinkpkt-transport = "smem"; |
| 2609 | qcom,glinkpkt-edge = "mpss"; |
| 2610 | qcom,glinkpkt-ch-name = "DATA4"; |
| 2611 | qcom,glinkpkt-dev-name = "smd8"; |
| 2612 | }; |
| 2613 | |
| 2614 | qcom,glinkpkt-data11 { |
| 2615 | qcom,glinkpkt-transport = "smem"; |
| 2616 | qcom,glinkpkt-edge = "mpss"; |
| 2617 | qcom,glinkpkt-ch-name = "DATA11"; |
| 2618 | qcom,glinkpkt-dev-name = "smd11"; |
| 2619 | }; |
| 2620 | }; |
Amir Levy | ca8989f | 2016-11-30 15:31:36 +0200 | [diff] [blame] | 2621 | |
Yan He | 907385d | 2016-11-14 17:13:30 -0800 | [diff] [blame] | 2622 | qcom,sps { |
| 2623 | compatible = "qcom,msm_sps_4k"; |
| 2624 | qcom,pipe-attr-ee; |
| 2625 | }; |
| 2626 | |
Abir Ghosh | 089b50d0 | 2017-04-27 21:40:38 -0700 | [diff] [blame] | 2627 | qcom,qbt1000 { |
| 2628 | compatible = "qcom,qbt1000"; |
| 2629 | clock-names = "core", "iface"; |
| 2630 | clock-frequency = <25000000>; |
| 2631 | qcom,ipc-gpio = <&tlmm 121 0>; |
| 2632 | qcom,finger-detect-gpio = <&pm8998_gpios 5 0>; |
| 2633 | }; |
| 2634 | |
AnilKumar Chimata | e9577f4 | 2017-04-18 22:52:12 -0700 | [diff] [blame] | 2635 | qcom_seecom: qseecom@86d00000 { |
| 2636 | compatible = "qcom,qseecom"; |
| 2637 | reg = <0x86d00000 0x2200000>; |
| 2638 | reg-names = "secapp-region"; |
| 2639 | qcom,hlos-num-ce-hw-instances = <1>; |
| 2640 | qcom,hlos-ce-hw-instance = <0>; |
| 2641 | qcom,qsee-ce-hw-instance = <0>; |
| 2642 | qcom,disk-encrypt-pipe-pair = <2>; |
| 2643 | qcom,support-fde; |
| 2644 | qcom,no-clock-support; |
AnilKumar Chimata | a9de12a | 2017-07-03 18:00:34 +0530 | [diff] [blame] | 2645 | qcom,fde-key-size; |
AnilKumar Chimata | e9577f4 | 2017-04-18 22:52:12 -0700 | [diff] [blame] | 2646 | qcom,msm-bus,name = "qseecom-noc"; |
| 2647 | qcom,msm-bus,num-cases = <4>; |
| 2648 | qcom,msm-bus,num-paths = <1>; |
| 2649 | qcom,msm-bus,vectors-KBps = |
| 2650 | <125 512 0 0>, |
| 2651 | <125 512 200000 400000>, |
| 2652 | <125 512 300000 800000>, |
| 2653 | <125 512 400000 1000000>; |
| 2654 | clock-names = "core_clk_src", "core_clk", |
| 2655 | "iface_clk", "bus_clk"; |
| 2656 | clocks = <&clock_gcc GCC_CE1_CLK>, |
| 2657 | <&clock_gcc GCC_CE1_CLK>, |
| 2658 | <&clock_gcc GCC_CE1_AHB_CLK>, |
| 2659 | <&clock_gcc GCC_CE1_AXI_CLK>; |
| 2660 | qcom,ce-opp-freq = <171430000>; |
| 2661 | qcom,qsee-reentrancy-support = <2>; |
| 2662 | }; |
| 2663 | |
AnilKumar Chimata | 51e7043 | 2017-04-18 22:52:12 -0700 | [diff] [blame] | 2664 | qcom_rng: qrng@793000 { |
| 2665 | compatible = "qcom,msm-rng"; |
| 2666 | reg = <0x793000 0x1000>; |
| 2667 | qcom,msm-rng-iface-clk; |
| 2668 | qcom,no-qrng-config; |
| 2669 | qcom,msm-bus,name = "msm-rng-noc"; |
| 2670 | qcom,msm-bus,num-cases = <2>; |
| 2671 | qcom,msm-bus,num-paths = <1>; |
| 2672 | qcom,msm-bus,vectors-KBps = |
| 2673 | <1 618 0 0>, /* No vote */ |
| 2674 | <1 618 0 800>; /* 100 KHz */ |
| 2675 | clocks = <&clock_gcc GCC_PRNG_AHB_CLK>; |
| 2676 | clock-names = "iface_clk"; |
| 2677 | }; |
| 2678 | |
AnilKumar Chimata | c329784 | 2017-04-18 22:52:12 -0700 | [diff] [blame] | 2679 | qcom_tzlog: tz-log@146bf720 { |
| 2680 | compatible = "qcom,tz-log"; |
| 2681 | reg = <0x146bf720 0x3000>; |
| 2682 | qcom,hyplog-enabled; |
| 2683 | hyplog-address-offset = <0x410>; |
| 2684 | hyplog-size-offset = <0x414>; |
| 2685 | }; |
| 2686 | |
AnilKumar Chimata | 285924a | 2017-04-18 22:52:12 -0700 | [diff] [blame] | 2687 | qcom_cedev: qcedev@1de0000 { |
| 2688 | compatible = "qcom,qcedev"; |
| 2689 | reg = <0x1de0000 0x20000>, |
| 2690 | <0x1dc4000 0x24000>; |
| 2691 | reg-names = "crypto-base","crypto-bam-base"; |
| 2692 | interrupts = <0 272 0>; |
| 2693 | qcom,bam-pipe-pair = <1>; |
| 2694 | qcom,ce-hw-instance = <0>; |
| 2695 | qcom,ce-device = <0>; |
| 2696 | qcom,ce-hw-shared; |
| 2697 | qcom,bam-ee = <0>; |
| 2698 | qcom,msm-bus,name = "qcedev-noc"; |
| 2699 | qcom,msm-bus,num-cases = <2>; |
| 2700 | qcom,msm-bus,num-paths = <1>; |
| 2701 | qcom,msm-bus,vectors-KBps = |
| 2702 | <125 512 0 0>, |
| 2703 | <125 512 393600 393600>; |
| 2704 | clock-names = "core_clk_src", "core_clk", |
| 2705 | "iface_clk", "bus_clk"; |
| 2706 | clocks = <&clock_gcc GCC_CE1_CLK>, |
| 2707 | <&clock_gcc GCC_CE1_CLK>, |
| 2708 | <&clock_gcc GCC_CE1_AHB_CLK>, |
| 2709 | <&clock_gcc GCC_CE1_AXI_CLK>; |
| 2710 | qcom,ce-opp-freq = <171430000>; |
AnilKumar Chimata | fb8eae4 | 2017-05-03 13:04:47 -0700 | [diff] [blame] | 2711 | qcom,request-bw-before-clk; |
AnilKumar Chimata | 4e6f8a9 | 2017-07-26 19:13:12 +0530 | [diff] [blame] | 2712 | qcom,smmu-s1-bypass; |
| 2713 | iommus = <&apps_smmu 0x702 0x1>, |
| 2714 | <&apps_smmu 0x712 0x1>; |
AnilKumar Chimata | 285924a | 2017-04-18 22:52:12 -0700 | [diff] [blame] | 2715 | }; |
| 2716 | |
Tatenda Chipeperekwa | d1ae6b1 | 2017-07-10 12:54:29 -0700 | [diff] [blame] | 2717 | qcom_msmhdcp: qcom,msm_hdcp { |
| 2718 | compatible = "qcom,msm-hdcp"; |
| 2719 | }; |
| 2720 | |
AnilKumar Chimata | 285924a | 2017-04-18 22:52:12 -0700 | [diff] [blame] | 2721 | qcom_crypto: qcrypto@1de0000 { |
| 2722 | compatible = "qcom,qcrypto"; |
| 2723 | reg = <0x1de0000 0x20000>, |
| 2724 | <0x1dc4000 0x24000>; |
| 2725 | reg-names = "crypto-base","crypto-bam-base"; |
| 2726 | interrupts = <0 272 0>; |
| 2727 | qcom,bam-pipe-pair = <2>; |
| 2728 | qcom,ce-hw-instance = <0>; |
| 2729 | qcom,ce-device = <0>; |
| 2730 | qcom,bam-ee = <0>; |
| 2731 | qcom,ce-hw-shared; |
| 2732 | qcom,clk-mgmt-sus-res; |
| 2733 | qcom,msm-bus,name = "qcrypto-noc"; |
| 2734 | qcom,msm-bus,num-cases = <2>; |
| 2735 | qcom,msm-bus,num-paths = <1>; |
| 2736 | qcom,msm-bus,vectors-KBps = |
| 2737 | <125 512 0 0>, |
| 2738 | <125 512 393600 393600>; |
| 2739 | clock-names = "core_clk_src", "core_clk", |
| 2740 | "iface_clk", "bus_clk"; |
| 2741 | clocks = <&clock_gcc GCC_CE1_CLK>, |
| 2742 | <&clock_gcc GCC_CE1_CLK>, |
| 2743 | <&clock_gcc GCC_CE1_AHB_CLK>, |
| 2744 | <&clock_gcc GCC_CE1_AXI_CLK>; |
| 2745 | qcom,ce-opp-freq = <171430000>; |
AnilKumar Chimata | fb8eae4 | 2017-05-03 13:04:47 -0700 | [diff] [blame] | 2746 | qcom,request-bw-before-clk; |
AnilKumar Chimata | 285924a | 2017-04-18 22:52:12 -0700 | [diff] [blame] | 2747 | qcom,use-sw-aes-cbc-ecb-ctr-algo; |
| 2748 | qcom,use-sw-aes-xts-algo; |
| 2749 | qcom,use-sw-aes-ccm-algo; |
| 2750 | qcom,use-sw-ahash-algo; |
| 2751 | qcom,use-sw-aead-algo; |
| 2752 | qcom,use-sw-hmac-algo; |
AnilKumar Chimata | 4e6f8a9 | 2017-07-26 19:13:12 +0530 | [diff] [blame] | 2753 | qcom,smmu-s1-bypass; |
| 2754 | iommus = <&apps_smmu 0x704 0x3>, |
| 2755 | <&apps_smmu 0x714 0x3>; |
AnilKumar Chimata | 285924a | 2017-04-18 22:52:12 -0700 | [diff] [blame] | 2756 | }; |
| 2757 | |
Amir Levy | ca8989f | 2016-11-30 15:31:36 +0200 | [diff] [blame] | 2758 | qcom,msm_gsi { |
| 2759 | compatible = "qcom,msm_gsi"; |
| 2760 | }; |
| 2761 | |
Ritesh Harjani | 0cd528f | 2017-04-19 14:19:55 +0530 | [diff] [blame] | 2762 | qcom,rmtfs_sharedmem@0 { |
| 2763 | compatible = "qcom,sharedmem-uio"; |
| 2764 | reg = <0x0 0x200000>; |
| 2765 | reg-names = "rmtfs"; |
| 2766 | qcom,client-id = <0x00000001>; |
| 2767 | }; |
| 2768 | |
Amir Levy | 9654f17 | 2016-11-30 15:33:23 +0200 | [diff] [blame] | 2769 | qcom,rmnet-ipa { |
| 2770 | compatible = "qcom,rmnet-ipa3"; |
| 2771 | qcom,rmnet-ipa-ssr; |
| 2772 | qcom,ipa-loaduC; |
| 2773 | qcom,ipa-advertise-sg-support; |
Skylar Chang | fdadb6e6 | 2017-04-19 15:49:52 -0700 | [diff] [blame] | 2774 | qcom,ipa-napi-enable; |
Amir Levy | 9654f17 | 2016-11-30 15:33:23 +0200 | [diff] [blame] | 2775 | }; |
| 2776 | |
Amir Levy | ca8989f | 2016-11-30 15:31:36 +0200 | [diff] [blame] | 2777 | ipa_hw: qcom,ipa@01e00000 { |
| 2778 | compatible = "qcom,ipa"; |
| 2779 | reg = <0x1e00000 0x34000>, |
| 2780 | <0x1e04000 0x2c000>; |
| 2781 | reg-names = "ipa-base", "gsi-base"; |
| 2782 | interrupts = |
| 2783 | <0 311 0>, |
| 2784 | <0 432 0>; |
| 2785 | interrupt-names = "ipa-irq", "gsi-irq"; |
| 2786 | qcom,ipa-hw-ver = <13>; /* IPA core version = IPAv3.5.1 */ |
| 2787 | qcom,ipa-hw-mode = <1>; |
| 2788 | qcom,ee = <0>; |
Amir Levy | ca8989f | 2016-11-30 15:31:36 +0200 | [diff] [blame] | 2789 | qcom,use-ipa-tethering-bridge; |
| 2790 | qcom,modem-cfg-emb-pipe-flt; |
| 2791 | qcom,ipa-wdi2; |
| 2792 | qcom,use-64-bit-dma-mask; |
Ghanim Fodi | b8d3075 | 2017-04-08 13:41:24 +0300 | [diff] [blame] | 2793 | qcom,arm-smmu; |
| 2794 | qcom,smmu-s1-bypass; |
Ghanim Fodi | 448abca | 2017-03-05 18:41:27 +0200 | [diff] [blame] | 2795 | qcom,bandwidth-vote-for-ipa; |
Amir Levy | ca8989f | 2016-11-30 15:31:36 +0200 | [diff] [blame] | 2796 | qcom,msm-bus,name = "ipa"; |
Skylar Chang | 0e66d4f | 2017-08-29 14:27:53 -0700 | [diff] [blame] | 2797 | qcom,msm-bus,num-cases = <5>; |
Ghanim Fodi | 448abca | 2017-03-05 18:41:27 +0200 | [diff] [blame] | 2798 | qcom,msm-bus,num-paths = <4>; |
Amir Levy | ca8989f | 2016-11-30 15:31:36 +0200 | [diff] [blame] | 2799 | qcom,msm-bus,vectors-KBps = |
| 2800 | /* No vote */ |
| 2801 | <90 512 0 0>, |
| 2802 | <90 585 0 0>, |
| 2803 | <1 676 0 0>, |
Ghanim Fodi | 448abca | 2017-03-05 18:41:27 +0200 | [diff] [blame] | 2804 | <143 777 0 0>, |
Skylar Chang | 0e66d4f | 2017-08-29 14:27:53 -0700 | [diff] [blame] | 2805 | /* SVS2 */ |
| 2806 | <90 512 80000 600000>, |
| 2807 | <90 585 80000 350000>, |
| 2808 | <1 676 40000 40000>, /*gcc_config_noc_clk_src */ |
| 2809 | <143 777 0 75>, /* IB defined for IPA2X_clk in MHz*/ |
Amir Levy | ca8989f | 2016-11-30 15:31:36 +0200 | [diff] [blame] | 2810 | /* SVS */ |
| 2811 | <90 512 80000 640000>, |
| 2812 | <90 585 80000 640000>, |
| 2813 | <1 676 80000 80000>, |
Skylar Chang | 0e66d4f | 2017-08-29 14:27:53 -0700 | [diff] [blame] | 2814 | <143 777 0 150>, /* IB defined for IPA2X_clk in MHz*/ |
Amir Levy | ca8989f | 2016-11-30 15:31:36 +0200 | [diff] [blame] | 2815 | /* NOMINAL */ |
| 2816 | <90 512 206000 960000>, |
| 2817 | <90 585 206000 960000>, |
| 2818 | <1 676 206000 160000>, |
Skylar Chang | 0e66d4f | 2017-08-29 14:27:53 -0700 | [diff] [blame] | 2819 | <143 777 0 300>, /* IB defined for IPA2X_clk in MHz*/ |
Amir Levy | ca8989f | 2016-11-30 15:31:36 +0200 | [diff] [blame] | 2820 | /* TURBO */ |
| 2821 | <90 512 206000 3600000>, |
| 2822 | <90 585 206000 3600000>, |
Ghanim Fodi | 448abca | 2017-03-05 18:41:27 +0200 | [diff] [blame] | 2823 | <1 676 206000 300000>, |
David Dai | c063f0f | 2017-07-05 11:21:21 -0700 | [diff] [blame] | 2824 | <143 777 0 355>; /* IB defined for IPA clk in MHz*/ |
Skylar Chang | 0e66d4f | 2017-08-29 14:27:53 -0700 | [diff] [blame] | 2825 | qcom,bus-vector-names = |
| 2826 | "MIN", "SVS2", "SVS", "NOMINAL", "TURBO"; |
Amir Levy | ca8989f | 2016-11-30 15:31:36 +0200 | [diff] [blame] | 2827 | |
| 2828 | /* IPA RAM mmap */ |
| 2829 | qcom,ipa-ram-mmap = < |
| 2830 | 0x280 /* ofst_start; */ |
| 2831 | 0x0 /* nat_ofst; */ |
| 2832 | 0x0 /* nat_size; */ |
| 2833 | 0x288 /* v4_flt_hash_ofst; */ |
| 2834 | 0x78 /* v4_flt_hash_size; */ |
| 2835 | 0x4000 /* v4_flt_hash_size_ddr; */ |
| 2836 | 0x308 /* v4_flt_nhash_ofst; */ |
| 2837 | 0x78 /* v4_flt_nhash_size; */ |
| 2838 | 0x4000 /* v4_flt_nhash_size_ddr; */ |
| 2839 | 0x388 /* v6_flt_hash_ofst; */ |
| 2840 | 0x78 /* v6_flt_hash_size; */ |
| 2841 | 0x4000 /* v6_flt_hash_size_ddr; */ |
| 2842 | 0x408 /* v6_flt_nhash_ofst; */ |
| 2843 | 0x78 /* v6_flt_nhash_size; */ |
| 2844 | 0x4000 /* v6_flt_nhash_size_ddr; */ |
| 2845 | 0xf /* v4_rt_num_index; */ |
| 2846 | 0x0 /* v4_modem_rt_index_lo; */ |
| 2847 | 0x7 /* v4_modem_rt_index_hi; */ |
| 2848 | 0x8 /* v4_apps_rt_index_lo; */ |
| 2849 | 0xe /* v4_apps_rt_index_hi; */ |
| 2850 | 0x488 /* v4_rt_hash_ofst; */ |
| 2851 | 0x78 /* v4_rt_hash_size; */ |
| 2852 | 0x4000 /* v4_rt_hash_size_ddr; */ |
| 2853 | 0x508 /* v4_rt_nhash_ofst; */ |
| 2854 | 0x78 /* v4_rt_nhash_size; */ |
| 2855 | 0x4000 /* v4_rt_nhash_size_ddr; */ |
| 2856 | 0xf /* v6_rt_num_index; */ |
| 2857 | 0x0 /* v6_modem_rt_index_lo; */ |
| 2858 | 0x7 /* v6_modem_rt_index_hi; */ |
| 2859 | 0x8 /* v6_apps_rt_index_lo; */ |
| 2860 | 0xe /* v6_apps_rt_index_hi; */ |
| 2861 | 0x588 /* v6_rt_hash_ofst; */ |
| 2862 | 0x78 /* v6_rt_hash_size; */ |
| 2863 | 0x4000 /* v6_rt_hash_size_ddr; */ |
| 2864 | 0x608 /* v6_rt_nhash_ofst; */ |
| 2865 | 0x78 /* v6_rt_nhash_size; */ |
| 2866 | 0x4000 /* v6_rt_nhash_size_ddr; */ |
| 2867 | 0x688 /* modem_hdr_ofst; */ |
| 2868 | 0x140 /* modem_hdr_size; */ |
| 2869 | 0x7c8 /* apps_hdr_ofst; */ |
| 2870 | 0x0 /* apps_hdr_size; */ |
| 2871 | 0x800 /* apps_hdr_size_ddr; */ |
| 2872 | 0x7d0 /* modem_hdr_proc_ctx_ofst; */ |
| 2873 | 0x200 /* modem_hdr_proc_ctx_size; */ |
| 2874 | 0x9d0 /* apps_hdr_proc_ctx_ofst; */ |
| 2875 | 0x200 /* apps_hdr_proc_ctx_size; */ |
| 2876 | 0x0 /* apps_hdr_proc_ctx_size_ddr; */ |
| 2877 | 0x0 /* modem_comp_decomp_ofst; diff */ |
| 2878 | 0x0 /* modem_comp_decomp_size; diff */ |
| 2879 | 0xbd8 /* modem_ofst; */ |
Amir Levy | df8f28d | 2017-04-25 11:26:41 +0300 | [diff] [blame] | 2880 | 0x1024 /* modem_size; */ |
| 2881 | 0x2000 /* apps_v4_flt_hash_ofst; */ |
Amir Levy | ca8989f | 2016-11-30 15:31:36 +0200 | [diff] [blame] | 2882 | 0x0 /* apps_v4_flt_hash_size; */ |
Amir Levy | df8f28d | 2017-04-25 11:26:41 +0300 | [diff] [blame] | 2883 | 0x2000 /* apps_v4_flt_nhash_ofst; */ |
Amir Levy | ca8989f | 2016-11-30 15:31:36 +0200 | [diff] [blame] | 2884 | 0x0 /* apps_v4_flt_nhash_size; */ |
Amir Levy | df8f28d | 2017-04-25 11:26:41 +0300 | [diff] [blame] | 2885 | 0x2000 /* apps_v6_flt_hash_ofst; */ |
Amir Levy | ca8989f | 2016-11-30 15:31:36 +0200 | [diff] [blame] | 2886 | 0x0 /* apps_v6_flt_hash_size; */ |
Amir Levy | df8f28d | 2017-04-25 11:26:41 +0300 | [diff] [blame] | 2887 | 0x2000 /* apps_v6_flt_nhash_ofst; */ |
Amir Levy | ca8989f | 2016-11-30 15:31:36 +0200 | [diff] [blame] | 2888 | 0x0 /* apps_v6_flt_nhash_size; */ |
| 2889 | 0x80 /* uc_info_ofst; */ |
| 2890 | 0x200 /* uc_info_size; */ |
| 2891 | 0x2000 /* end_ofst; */ |
Amir Levy | df8f28d | 2017-04-25 11:26:41 +0300 | [diff] [blame] | 2892 | 0x2000 /* apps_v4_rt_hash_ofst; */ |
Amir Levy | ca8989f | 2016-11-30 15:31:36 +0200 | [diff] [blame] | 2893 | 0x0 /* apps_v4_rt_hash_size; */ |
Amir Levy | df8f28d | 2017-04-25 11:26:41 +0300 | [diff] [blame] | 2894 | 0x2000 /* apps_v4_rt_nhash_ofst; */ |
Amir Levy | ca8989f | 2016-11-30 15:31:36 +0200 | [diff] [blame] | 2895 | 0x0 /* apps_v4_rt_nhash_size; */ |
Amir Levy | df8f28d | 2017-04-25 11:26:41 +0300 | [diff] [blame] | 2896 | 0x2000 /* apps_v6_rt_hash_ofst; */ |
Amir Levy | ca8989f | 2016-11-30 15:31:36 +0200 | [diff] [blame] | 2897 | 0x0 /* apps_v6_rt_hash_size; */ |
Amir Levy | df8f28d | 2017-04-25 11:26:41 +0300 | [diff] [blame] | 2898 | 0x2000 /* apps_v6_rt_nhash_ofst; */ |
Amir Levy | ca8989f | 2016-11-30 15:31:36 +0200 | [diff] [blame] | 2899 | 0x0 /* apps_v6_rt_nhash_size; */ |
Amir Levy | df8f28d | 2017-04-25 11:26:41 +0300 | [diff] [blame] | 2900 | 0x1c00 /* uc_event_ring_ofst; */ |
| 2901 | 0x400 /* uc_event_ring_size; */ |
Amir Levy | ca8989f | 2016-11-30 15:31:36 +0200 | [diff] [blame] | 2902 | >; |
Ghanim Fodi | 154110e | 2017-04-07 19:27:15 +0300 | [diff] [blame] | 2903 | |
| 2904 | /* smp2p gpio information */ |
| 2905 | qcom,smp2pgpio_map_ipa_1_out { |
| 2906 | compatible = "qcom,smp2pgpio-map-ipa-1-out"; |
| 2907 | gpios = <&smp2pgpio_ipa_1_out 0 0>; |
| 2908 | }; |
| 2909 | |
| 2910 | qcom,smp2pgpio_map_ipa_1_in { |
| 2911 | compatible = "qcom,smp2pgpio-map-ipa-1-in"; |
| 2912 | gpios = <&smp2pgpio_ipa_1_in 0 0>; |
| 2913 | }; |
Ghanim Fodi | b8d3075 | 2017-04-08 13:41:24 +0300 | [diff] [blame] | 2914 | |
| 2915 | ipa_smmu_ap: ipa_smmu_ap { |
| 2916 | compatible = "qcom,ipa-smmu-ap-cb"; |
Patrick Daly | c4aaa90 | 2017-04-24 12:45:11 -0700 | [diff] [blame] | 2917 | iommus = <&apps_smmu 0x720 0x0>; |
Ghanim Fodi | b8d3075 | 2017-04-08 13:41:24 +0300 | [diff] [blame] | 2918 | qcom,iova-mapping = <0x20000000 0x40000000>; |
| 2919 | }; |
| 2920 | |
| 2921 | ipa_smmu_wlan: ipa_smmu_wlan { |
| 2922 | compatible = "qcom,ipa-smmu-wlan-cb"; |
Patrick Daly | c4aaa90 | 2017-04-24 12:45:11 -0700 | [diff] [blame] | 2923 | iommus = <&apps_smmu 0x721 0x0>; |
Ghanim Fodi | b8d3075 | 2017-04-08 13:41:24 +0300 | [diff] [blame] | 2924 | }; |
| 2925 | |
| 2926 | ipa_smmu_uc: ipa_smmu_uc { |
| 2927 | compatible = "qcom,ipa-smmu-uc-cb"; |
Patrick Daly | c4aaa90 | 2017-04-24 12:45:11 -0700 | [diff] [blame] | 2928 | iommus = <&apps_smmu 0x722 0x0>; |
Ghanim Fodi | b8d3075 | 2017-04-08 13:41:24 +0300 | [diff] [blame] | 2929 | qcom,iova-mapping = <0x40000000 0x20000000>; |
| 2930 | }; |
Amir Levy | ca8989f | 2016-11-30 15:31:36 +0200 | [diff] [blame] | 2931 | }; |
Channagoud Kadabi | 39d26f2 | 2016-10-27 18:41:04 -0700 | [diff] [blame] | 2932 | |
Amir Levy | f5eede2 | 2017-02-07 09:16:50 +0200 | [diff] [blame] | 2933 | qcom,ipa_fws { |
| 2934 | compatible = "qcom,pil-tz-generic"; |
| 2935 | qcom,pas-id = <0xf>; |
| 2936 | qcom,firmware-name = "ipa_fws"; |
| 2937 | }; |
| 2938 | |
Channagoud Kadabi | 39d26f2 | 2016-10-27 18:41:04 -0700 | [diff] [blame] | 2939 | qcom,chd_sliver { |
| 2940 | compatible = "qcom,core-hang-detect"; |
| 2941 | label = "silver"; |
| 2942 | qcom,threshold-arr = <0x17e00058 0x17e10058 |
| 2943 | 0x17e20058 0x17e30058>; |
| 2944 | qcom,config-arr = <0x17e00060 0x17e10060 |
| 2945 | 0x17e20060 0x17e30060>; |
| 2946 | }; |
| 2947 | |
| 2948 | qcom,chd_gold { |
| 2949 | compatible = "qcom,core-hang-detect"; |
| 2950 | label = "gold"; |
| 2951 | qcom,threshold-arr = <0x17e40058 0x17e50058 |
| 2952 | 0x17e60058 0x17e70058>; |
| 2953 | qcom,config-arr = <0x17e40060 0x17e50060 |
| 2954 | 0x17e60060 0x17e70060>; |
| 2955 | }; |
| 2956 | |
| 2957 | qcom,ghd { |
Kyle Yan | 5dda245 | 2016-11-16 16:44:17 -0800 | [diff] [blame] | 2958 | compatible = "qcom,gladiator-hang-detect-v2"; |
Channagoud Kadabi | 39d26f2 | 2016-10-27 18:41:04 -0700 | [diff] [blame] | 2959 | qcom,threshold-arr = <0x1799041c 0x17990420>; |
| 2960 | qcom,config-reg = <0x17990434>; |
| 2961 | }; |
Mahesh Sivasubramanian | f0dddb6 | 2016-10-19 14:17:44 -0600 | [diff] [blame] | 2962 | |
Kyle Yan | 3a641f4 | 2016-11-21 14:00:04 -0800 | [diff] [blame] | 2963 | qcom,msm-gladiator-v3@17900000 { |
| 2964 | compatible = "qcom,msm-gladiator-v3"; |
| 2965 | reg = <0x17900000 0xd080>; |
| 2966 | reg-names = "gladiator_base"; |
| 2967 | interrupts = <0 17 0>; |
| 2968 | }; |
| 2969 | |
Mahesh Sivasubramanian | f0dddb6 | 2016-10-19 14:17:44 -0600 | [diff] [blame] | 2970 | cmd_db: qcom,cmd-db@861e0000 { |
| 2971 | compatible = "qcom,cmd-db"; |
Mahesh Sivasubramanian | d65a35e | 2017-04-28 11:18:13 -0600 | [diff] [blame] | 2972 | reg = <0xc3f000c 8>; |
Mahesh Sivasubramanian | f0dddb6 | 2016-10-19 14:17:44 -0600 | [diff] [blame] | 2973 | }; |
Satyajit Desai | 260bd39 | 2017-02-22 10:28:02 -0800 | [diff] [blame] | 2974 | |
| 2975 | dcc: dcc_v2@10a2000 { |
| 2976 | compatible = "qcom,dcc_v2"; |
| 2977 | reg = <0x10a2000 0x1000>, |
| 2978 | <0x10ae000 0x2000>; |
| 2979 | reg-names = "dcc-base", "dcc-ram-base"; |
Satyajit Desai | abf5490 | 2017-04-19 17:24:56 -0700 | [diff] [blame] | 2980 | |
| 2981 | dcc-ram-offset = <0x6000>; |
Satyajit Desai | 260bd39 | 2017-02-22 10:28:02 -0800 | [diff] [blame] | 2982 | }; |
Syed Rameez Mustafa | 38ae773 | 2017-03-29 14:55:38 -0700 | [diff] [blame] | 2983 | |
| 2984 | qcom,msm-core@780000 { |
| 2985 | compatible = "qcom,apss-core-ea"; |
| 2986 | reg = <0x780000 0x1000>; |
| 2987 | }; |
Yuanyuan Liu | 2da2cc0 | 2017-04-05 18:02:58 -0700 | [diff] [blame] | 2988 | |
| 2989 | qcom,icnss@18800000 { |
| 2990 | compatible = "qcom,icnss"; |
| 2991 | reg = <0x18800000 0x800000>, |
| 2992 | <0xa0000000 0x10000000>, |
| 2993 | <0xb0000000 0x10000>; |
| 2994 | reg-names = "membase", "smmu_iova_base", "smmu_iova_ipa"; |
Patrick Daly | 0bfea05 | 2017-04-18 16:44:07 -0700 | [diff] [blame] | 2995 | iommus = <&apps_smmu 0x0040 0x1>; |
Yuanyuan Liu | 2da2cc0 | 2017-04-05 18:02:58 -0700 | [diff] [blame] | 2996 | interrupts = <0 414 0 /* CE0 */ >, |
| 2997 | <0 415 0 /* CE1 */ >, |
| 2998 | <0 416 0 /* CE2 */ >, |
| 2999 | <0 417 0 /* CE3 */ >, |
| 3000 | <0 418 0 /* CE4 */ >, |
| 3001 | <0 419 0 /* CE5 */ >, |
| 3002 | <0 420 0 /* CE6 */ >, |
| 3003 | <0 421 0 /* CE7 */ >, |
| 3004 | <0 422 0 /* CE8 */ >, |
| 3005 | <0 423 0 /* CE9 */ >, |
| 3006 | <0 424 0 /* CE10 */ >, |
| 3007 | <0 425 0 /* CE11 */ >; |
| 3008 | qcom,wlan-msa-memory = <0x100000>; |
Yuanyuan Liu | 5438b74 | 2017-05-09 17:44:47 -0700 | [diff] [blame] | 3009 | |
| 3010 | vdd-0.8-cx-mx-supply = <&pm8998_l5>; |
| 3011 | vdd-1.8-xo-supply = <&pm8998_l7>; |
| 3012 | vdd-1.3-rfa-supply = <&pm8998_l17>; |
| 3013 | vdd-3.3-ch0-supply = <&pm8998_l25>; |
| 3014 | qcom,vdd-0.8-cx-mx-config = <800000 800000>; |
| 3015 | qcom,vdd-3.3-ch0-config = <3104000 3312000>; |
Hardik Kantilal Patel | f908d6d | 2017-07-19 11:38:43 +0530 | [diff] [blame] | 3016 | qcom,smmu-s1-bypass; |
Yuanyuan Liu | 2da2cc0 | 2017-04-05 18:02:58 -0700 | [diff] [blame] | 3017 | }; |
Siddartha Mohanadoss | 5495704 | 2017-04-10 11:03:16 -0700 | [diff] [blame] | 3018 | |
Manaf Meethalavalappu Pallikunhi | 5849bae | 2017-06-29 15:47:17 +0530 | [diff] [blame] | 3019 | qmi-tmd-devices { |
| 3020 | compatible = "qcom,qmi_cooling_devices"; |
| 3021 | |
| 3022 | modem { |
| 3023 | qcom,instance-id = <0x0>; |
| 3024 | |
| 3025 | modem_pa: modem_pa { |
| 3026 | qcom,qmi-dev-name = "pa"; |
| 3027 | #cooling-cells = <2>; |
| 3028 | }; |
| 3029 | |
| 3030 | modem_proc: modem_proc { |
| 3031 | qcom,qmi-dev-name = "modem"; |
| 3032 | #cooling-cells = <2>; |
| 3033 | }; |
| 3034 | |
| 3035 | modem_current: modem_current { |
| 3036 | qcom,qmi-dev-name = "modem_current"; |
| 3037 | #cooling-cells = <2>; |
| 3038 | }; |
| 3039 | |
| 3040 | modem_vdd: modem_vdd { |
| 3041 | qcom,qmi-dev-name = "cpuv_restriction_cold"; |
| 3042 | #cooling-cells = <2>; |
| 3043 | }; |
| 3044 | }; |
| 3045 | |
| 3046 | adsp { |
| 3047 | qcom,instance-id = <0x1>; |
| 3048 | |
| 3049 | adsp_vdd: adsp_vdd { |
| 3050 | qcom,qmi-dev-name = "cpuv_restriction_cold"; |
| 3051 | #cooling-cells = <2>; |
| 3052 | }; |
| 3053 | }; |
| 3054 | |
| 3055 | cdsp { |
| 3056 | qcom,instance-id = <0x43>; |
| 3057 | |
| 3058 | cdsp_vdd: cdsp_vdd { |
| 3059 | qcom,qmi-dev-name = "cpuv_restriction_cold"; |
| 3060 | #cooling-cells = <2>; |
| 3061 | }; |
| 3062 | }; |
| 3063 | |
| 3064 | slpi { |
| 3065 | qcom,instance-id = <0x53>; |
| 3066 | |
| 3067 | slpi_vdd: slpi_vdd { |
| 3068 | qcom,qmi-dev-name = "cpuv_restriction_cold"; |
| 3069 | #cooling-cells = <2>; |
| 3070 | }; |
| 3071 | }; |
| 3072 | }; |
| 3073 | |
Siddartha Mohanadoss | 5495704 | 2017-04-10 11:03:16 -0700 | [diff] [blame] | 3074 | thermal_zones: thermal-zones { |
Siddartha Mohanadoss | d550ea4 | 2017-05-12 10:03:17 -0700 | [diff] [blame] | 3075 | aoss0-usr { |
Siddartha Mohanadoss | 5495704 | 2017-04-10 11:03:16 -0700 | [diff] [blame] | 3076 | polling-delay-passive = <0>; |
| 3077 | polling-delay = <0>; |
Ram Chandrasekar | 36ffe55 | 2017-04-17 16:33:05 -0600 | [diff] [blame] | 3078 | thermal-governor = "user_space"; |
Siddartha Mohanadoss | 5495704 | 2017-04-10 11:03:16 -0700 | [diff] [blame] | 3079 | thermal-sensors = <&tsens0 0>; |
| 3080 | trips { |
| 3081 | active-config0 { |
Ram Chandrasekar | a6e5177 | 2017-05-18 16:23:54 -0600 | [diff] [blame] | 3082 | temperature = <125000>; |
Siddartha Mohanadoss | 5495704 | 2017-04-10 11:03:16 -0700 | [diff] [blame] | 3083 | hysteresis = <1000>; |
| 3084 | type = "passive"; |
| 3085 | }; |
| 3086 | }; |
| 3087 | }; |
| 3088 | |
Siddartha Mohanadoss | d550ea4 | 2017-05-12 10:03:17 -0700 | [diff] [blame] | 3089 | cpu0-silver-usr { |
Siddartha Mohanadoss | 5495704 | 2017-04-10 11:03:16 -0700 | [diff] [blame] | 3090 | polling-delay-passive = <0>; |
| 3091 | polling-delay = <0>; |
Ram Chandrasekar | 36ffe55 | 2017-04-17 16:33:05 -0600 | [diff] [blame] | 3092 | thermal-governor = "user_space"; |
Siddartha Mohanadoss | 5495704 | 2017-04-10 11:03:16 -0700 | [diff] [blame] | 3093 | thermal-sensors = <&tsens0 1>; |
| 3094 | trips { |
| 3095 | active-config0 { |
Ram Chandrasekar | a6e5177 | 2017-05-18 16:23:54 -0600 | [diff] [blame] | 3096 | temperature = <125000>; |
Siddartha Mohanadoss | 5495704 | 2017-04-10 11:03:16 -0700 | [diff] [blame] | 3097 | hysteresis = <1000>; |
| 3098 | type = "passive"; |
| 3099 | }; |
| 3100 | }; |
| 3101 | }; |
| 3102 | |
Siddartha Mohanadoss | d550ea4 | 2017-05-12 10:03:17 -0700 | [diff] [blame] | 3103 | cpu1-silver-usr { |
Siddartha Mohanadoss | 5495704 | 2017-04-10 11:03:16 -0700 | [diff] [blame] | 3104 | polling-delay-passive = <0>; |
| 3105 | polling-delay = <0>; |
Ram Chandrasekar | 36ffe55 | 2017-04-17 16:33:05 -0600 | [diff] [blame] | 3106 | thermal-governor = "user_space"; |
Siddartha Mohanadoss | 5495704 | 2017-04-10 11:03:16 -0700 | [diff] [blame] | 3107 | thermal-sensors = <&tsens0 2>; |
| 3108 | trips { |
| 3109 | active-config0 { |
Ram Chandrasekar | a6e5177 | 2017-05-18 16:23:54 -0600 | [diff] [blame] | 3110 | temperature = <125000>; |
Siddartha Mohanadoss | 5495704 | 2017-04-10 11:03:16 -0700 | [diff] [blame] | 3111 | hysteresis = <1000>; |
| 3112 | type = "passive"; |
| 3113 | }; |
| 3114 | }; |
| 3115 | }; |
| 3116 | |
Siddartha Mohanadoss | d550ea4 | 2017-05-12 10:03:17 -0700 | [diff] [blame] | 3117 | cpu2-silver-usr { |
Siddartha Mohanadoss | 5495704 | 2017-04-10 11:03:16 -0700 | [diff] [blame] | 3118 | polling-delay-passive = <0>; |
| 3119 | polling-delay = <0>; |
Ram Chandrasekar | 36ffe55 | 2017-04-17 16:33:05 -0600 | [diff] [blame] | 3120 | thermal-governor = "user_space"; |
Siddartha Mohanadoss | 5495704 | 2017-04-10 11:03:16 -0700 | [diff] [blame] | 3121 | thermal-sensors = <&tsens0 3>; |
| 3122 | trips { |
| 3123 | active-config0 { |
Ram Chandrasekar | a6e5177 | 2017-05-18 16:23:54 -0600 | [diff] [blame] | 3124 | temperature = <125000>; |
Siddartha Mohanadoss | 5495704 | 2017-04-10 11:03:16 -0700 | [diff] [blame] | 3125 | hysteresis = <1000>; |
| 3126 | type = "passive"; |
| 3127 | }; |
| 3128 | }; |
| 3129 | }; |
| 3130 | |
Siddartha Mohanadoss | d550ea4 | 2017-05-12 10:03:17 -0700 | [diff] [blame] | 3131 | cpu3-silver-usr { |
Siddartha Mohanadoss | 5495704 | 2017-04-10 11:03:16 -0700 | [diff] [blame] | 3132 | polling-delay-passive = <0>; |
| 3133 | polling-delay = <0>; |
| 3134 | thermal-sensors = <&tsens0 4>; |
Ram Chandrasekar | 36ffe55 | 2017-04-17 16:33:05 -0600 | [diff] [blame] | 3135 | thermal-governor = "user_space"; |
Siddartha Mohanadoss | 5495704 | 2017-04-10 11:03:16 -0700 | [diff] [blame] | 3136 | trips { |
| 3137 | active-config0 { |
Ram Chandrasekar | a6e5177 | 2017-05-18 16:23:54 -0600 | [diff] [blame] | 3138 | temperature = <125000>; |
Siddartha Mohanadoss | 5495704 | 2017-04-10 11:03:16 -0700 | [diff] [blame] | 3139 | hysteresis = <1000>; |
| 3140 | type = "passive"; |
| 3141 | }; |
| 3142 | }; |
| 3143 | }; |
| 3144 | |
Siddartha Mohanadoss | d550ea4 | 2017-05-12 10:03:17 -0700 | [diff] [blame] | 3145 | kryo-l3-0-usr { |
Siddartha Mohanadoss | 5495704 | 2017-04-10 11:03:16 -0700 | [diff] [blame] | 3146 | polling-delay-passive = <0>; |
| 3147 | polling-delay = <0>; |
| 3148 | thermal-sensors = <&tsens0 5>; |
Ram Chandrasekar | 36ffe55 | 2017-04-17 16:33:05 -0600 | [diff] [blame] | 3149 | thermal-governor = "user_space"; |
Siddartha Mohanadoss | 5495704 | 2017-04-10 11:03:16 -0700 | [diff] [blame] | 3150 | trips { |
| 3151 | active-config0 { |
Ram Chandrasekar | a6e5177 | 2017-05-18 16:23:54 -0600 | [diff] [blame] | 3152 | temperature = <125000>; |
Siddartha Mohanadoss | 5495704 | 2017-04-10 11:03:16 -0700 | [diff] [blame] | 3153 | hysteresis = <1000>; |
| 3154 | type = "passive"; |
| 3155 | }; |
| 3156 | }; |
| 3157 | }; |
| 3158 | |
Siddartha Mohanadoss | d550ea4 | 2017-05-12 10:03:17 -0700 | [diff] [blame] | 3159 | kryo-l3-1-usr { |
Siddartha Mohanadoss | 5495704 | 2017-04-10 11:03:16 -0700 | [diff] [blame] | 3160 | polling-delay-passive = <0>; |
| 3161 | polling-delay = <0>; |
| 3162 | thermal-sensors = <&tsens0 6>; |
Ram Chandrasekar | 36ffe55 | 2017-04-17 16:33:05 -0600 | [diff] [blame] | 3163 | thermal-governor = "user_space"; |
Siddartha Mohanadoss | 5495704 | 2017-04-10 11:03:16 -0700 | [diff] [blame] | 3164 | trips { |
| 3165 | active-config0 { |
Ram Chandrasekar | a6e5177 | 2017-05-18 16:23:54 -0600 | [diff] [blame] | 3166 | temperature = <125000>; |
Siddartha Mohanadoss | 5495704 | 2017-04-10 11:03:16 -0700 | [diff] [blame] | 3167 | hysteresis = <1000>; |
| 3168 | type = "passive"; |
| 3169 | }; |
| 3170 | }; |
| 3171 | }; |
| 3172 | |
Siddartha Mohanadoss | d550ea4 | 2017-05-12 10:03:17 -0700 | [diff] [blame] | 3173 | cpu0-gold-usr { |
Siddartha Mohanadoss | 5495704 | 2017-04-10 11:03:16 -0700 | [diff] [blame] | 3174 | polling-delay-passive = <0>; |
| 3175 | polling-delay = <0>; |
| 3176 | thermal-sensors = <&tsens0 7>; |
Ram Chandrasekar | 36ffe55 | 2017-04-17 16:33:05 -0600 | [diff] [blame] | 3177 | thermal-governor = "user_space"; |
Siddartha Mohanadoss | 5495704 | 2017-04-10 11:03:16 -0700 | [diff] [blame] | 3178 | trips { |
| 3179 | active-config0 { |
Ram Chandrasekar | a6e5177 | 2017-05-18 16:23:54 -0600 | [diff] [blame] | 3180 | temperature = <125000>; |
Siddartha Mohanadoss | 5495704 | 2017-04-10 11:03:16 -0700 | [diff] [blame] | 3181 | hysteresis = <1000>; |
| 3182 | type = "passive"; |
| 3183 | }; |
| 3184 | }; |
| 3185 | }; |
| 3186 | |
Siddartha Mohanadoss | d550ea4 | 2017-05-12 10:03:17 -0700 | [diff] [blame] | 3187 | cpu1-gold-usr { |
Siddartha Mohanadoss | 5495704 | 2017-04-10 11:03:16 -0700 | [diff] [blame] | 3188 | polling-delay-passive = <0>; |
| 3189 | polling-delay = <0>; |
| 3190 | thermal-sensors = <&tsens0 8>; |
Ram Chandrasekar | 36ffe55 | 2017-04-17 16:33:05 -0600 | [diff] [blame] | 3191 | thermal-governor = "user_space"; |
Siddartha Mohanadoss | 5495704 | 2017-04-10 11:03:16 -0700 | [diff] [blame] | 3192 | trips { |
| 3193 | active-config0 { |
Ram Chandrasekar | a6e5177 | 2017-05-18 16:23:54 -0600 | [diff] [blame] | 3194 | temperature = <125000>; |
Siddartha Mohanadoss | 5495704 | 2017-04-10 11:03:16 -0700 | [diff] [blame] | 3195 | hysteresis = <1000>; |
| 3196 | type = "passive"; |
| 3197 | }; |
| 3198 | }; |
| 3199 | }; |
| 3200 | |
Siddartha Mohanadoss | d550ea4 | 2017-05-12 10:03:17 -0700 | [diff] [blame] | 3201 | cpu2-gold-usr { |
Siddartha Mohanadoss | 5495704 | 2017-04-10 11:03:16 -0700 | [diff] [blame] | 3202 | polling-delay-passive = <0>; |
| 3203 | polling-delay = <0>; |
| 3204 | thermal-sensors = <&tsens0 9>; |
Ram Chandrasekar | 36ffe55 | 2017-04-17 16:33:05 -0600 | [diff] [blame] | 3205 | thermal-governor = "user_space"; |
Siddartha Mohanadoss | 5495704 | 2017-04-10 11:03:16 -0700 | [diff] [blame] | 3206 | trips { |
| 3207 | active-config0 { |
Ram Chandrasekar | a6e5177 | 2017-05-18 16:23:54 -0600 | [diff] [blame] | 3208 | temperature = <125000>; |
Siddartha Mohanadoss | 5495704 | 2017-04-10 11:03:16 -0700 | [diff] [blame] | 3209 | hysteresis = <1000>; |
| 3210 | type = "passive"; |
| 3211 | }; |
| 3212 | }; |
| 3213 | }; |
| 3214 | |
Siddartha Mohanadoss | d550ea4 | 2017-05-12 10:03:17 -0700 | [diff] [blame] | 3215 | cpu3-gold-usr { |
Siddartha Mohanadoss | 5495704 | 2017-04-10 11:03:16 -0700 | [diff] [blame] | 3216 | polling-delay-passive = <0>; |
| 3217 | polling-delay = <0>; |
| 3218 | thermal-sensors = <&tsens0 10>; |
Ram Chandrasekar | 36ffe55 | 2017-04-17 16:33:05 -0600 | [diff] [blame] | 3219 | thermal-governor = "user_space"; |
Siddartha Mohanadoss | 5495704 | 2017-04-10 11:03:16 -0700 | [diff] [blame] | 3220 | trips { |
| 3221 | active-config0 { |
Ram Chandrasekar | a6e5177 | 2017-05-18 16:23:54 -0600 | [diff] [blame] | 3222 | temperature = <125000>; |
Siddartha Mohanadoss | 5495704 | 2017-04-10 11:03:16 -0700 | [diff] [blame] | 3223 | hysteresis = <1000>; |
| 3224 | type = "passive"; |
| 3225 | }; |
| 3226 | }; |
| 3227 | }; |
| 3228 | |
Siddartha Mohanadoss | d550ea4 | 2017-05-12 10:03:17 -0700 | [diff] [blame] | 3229 | gpu0-usr { |
Siddartha Mohanadoss | 5495704 | 2017-04-10 11:03:16 -0700 | [diff] [blame] | 3230 | polling-delay-passive = <0>; |
| 3231 | polling-delay = <0>; |
| 3232 | thermal-sensors = <&tsens0 11>; |
Ram Chandrasekar | 36ffe55 | 2017-04-17 16:33:05 -0600 | [diff] [blame] | 3233 | thermal-governor = "user_space"; |
Siddartha Mohanadoss | 5495704 | 2017-04-10 11:03:16 -0700 | [diff] [blame] | 3234 | trips { |
| 3235 | active-config0 { |
Ram Chandrasekar | a6e5177 | 2017-05-18 16:23:54 -0600 | [diff] [blame] | 3236 | temperature = <125000>; |
Siddartha Mohanadoss | 5495704 | 2017-04-10 11:03:16 -0700 | [diff] [blame] | 3237 | hysteresis = <1000>; |
| 3238 | type = "passive"; |
| 3239 | }; |
| 3240 | }; |
| 3241 | }; |
| 3242 | |
Siddartha Mohanadoss | d550ea4 | 2017-05-12 10:03:17 -0700 | [diff] [blame] | 3243 | gpu1-usr { |
Siddartha Mohanadoss | 5495704 | 2017-04-10 11:03:16 -0700 | [diff] [blame] | 3244 | polling-delay-passive = <0>; |
| 3245 | polling-delay = <0>; |
Ram Chandrasekar | 36ffe55 | 2017-04-17 16:33:05 -0600 | [diff] [blame] | 3246 | thermal-governor = "user_space"; |
Siddartha Mohanadoss | 5495704 | 2017-04-10 11:03:16 -0700 | [diff] [blame] | 3247 | thermal-sensors = <&tsens0 12>; |
| 3248 | trips { |
| 3249 | active-config0 { |
Ram Chandrasekar | a6e5177 | 2017-05-18 16:23:54 -0600 | [diff] [blame] | 3250 | temperature = <125000>; |
Siddartha Mohanadoss | 5495704 | 2017-04-10 11:03:16 -0700 | [diff] [blame] | 3251 | hysteresis = <1000>; |
| 3252 | type = "passive"; |
| 3253 | }; |
| 3254 | }; |
| 3255 | }; |
| 3256 | |
Siddartha Mohanadoss | d550ea4 | 2017-05-12 10:03:17 -0700 | [diff] [blame] | 3257 | aoss1-usr { |
Siddartha Mohanadoss | 5495704 | 2017-04-10 11:03:16 -0700 | [diff] [blame] | 3258 | polling-delay-passive = <0>; |
| 3259 | polling-delay = <0>; |
| 3260 | thermal-sensors = <&tsens1 0>; |
Ram Chandrasekar | 36ffe55 | 2017-04-17 16:33:05 -0600 | [diff] [blame] | 3261 | thermal-governor = "user_space"; |
Siddartha Mohanadoss | 5495704 | 2017-04-10 11:03:16 -0700 | [diff] [blame] | 3262 | trips { |
| 3263 | active-config0 { |
Ram Chandrasekar | a6e5177 | 2017-05-18 16:23:54 -0600 | [diff] [blame] | 3264 | temperature = <125000>; |
Siddartha Mohanadoss | 5495704 | 2017-04-10 11:03:16 -0700 | [diff] [blame] | 3265 | hysteresis = <1000>; |
| 3266 | type = "passive"; |
| 3267 | }; |
| 3268 | }; |
| 3269 | }; |
| 3270 | |
Siddartha Mohanadoss | d550ea4 | 2017-05-12 10:03:17 -0700 | [diff] [blame] | 3271 | mdm-dsp-usr { |
Siddartha Mohanadoss | 5495704 | 2017-04-10 11:03:16 -0700 | [diff] [blame] | 3272 | polling-delay-passive = <0>; |
| 3273 | polling-delay = <0>; |
| 3274 | thermal-sensors = <&tsens1 1>; |
Ram Chandrasekar | 36ffe55 | 2017-04-17 16:33:05 -0600 | [diff] [blame] | 3275 | thermal-governor = "user_space"; |
Siddartha Mohanadoss | 5495704 | 2017-04-10 11:03:16 -0700 | [diff] [blame] | 3276 | trips { |
| 3277 | active-config0 { |
Ram Chandrasekar | a6e5177 | 2017-05-18 16:23:54 -0600 | [diff] [blame] | 3278 | temperature = <125000>; |
Siddartha Mohanadoss | 5495704 | 2017-04-10 11:03:16 -0700 | [diff] [blame] | 3279 | hysteresis = <1000>; |
| 3280 | type = "passive"; |
| 3281 | }; |
| 3282 | }; |
| 3283 | }; |
| 3284 | |
| 3285 | |
| 3286 | |
Siddartha Mohanadoss | d550ea4 | 2017-05-12 10:03:17 -0700 | [diff] [blame] | 3287 | ddr-usr { |
Siddartha Mohanadoss | 5495704 | 2017-04-10 11:03:16 -0700 | [diff] [blame] | 3288 | polling-delay-passive = <0>; |
| 3289 | polling-delay = <0>; |
| 3290 | thermal-sensors = <&tsens1 2>; |
Ram Chandrasekar | 36ffe55 | 2017-04-17 16:33:05 -0600 | [diff] [blame] | 3291 | thermal-governor = "user_space"; |
Siddartha Mohanadoss | 5495704 | 2017-04-10 11:03:16 -0700 | [diff] [blame] | 3292 | trips { |
| 3293 | active-config0 { |
Ram Chandrasekar | a6e5177 | 2017-05-18 16:23:54 -0600 | [diff] [blame] | 3294 | temperature = <125000>; |
Siddartha Mohanadoss | 5495704 | 2017-04-10 11:03:16 -0700 | [diff] [blame] | 3295 | hysteresis = <1000>; |
| 3296 | type = "passive"; |
| 3297 | }; |
| 3298 | }; |
| 3299 | }; |
| 3300 | |
Siddartha Mohanadoss | d550ea4 | 2017-05-12 10:03:17 -0700 | [diff] [blame] | 3301 | wlan-usr { |
Siddartha Mohanadoss | 5495704 | 2017-04-10 11:03:16 -0700 | [diff] [blame] | 3302 | polling-delay-passive = <0>; |
| 3303 | polling-delay = <0>; |
| 3304 | thermal-sensors = <&tsens1 3>; |
Ram Chandrasekar | 36ffe55 | 2017-04-17 16:33:05 -0600 | [diff] [blame] | 3305 | thermal-governor = "user_space"; |
Siddartha Mohanadoss | 5495704 | 2017-04-10 11:03:16 -0700 | [diff] [blame] | 3306 | trips { |
| 3307 | active-config0 { |
Ram Chandrasekar | a6e5177 | 2017-05-18 16:23:54 -0600 | [diff] [blame] | 3308 | temperature = <125000>; |
Siddartha Mohanadoss | 5495704 | 2017-04-10 11:03:16 -0700 | [diff] [blame] | 3309 | hysteresis = <1000>; |
| 3310 | type = "passive"; |
| 3311 | }; |
| 3312 | }; |
| 3313 | }; |
| 3314 | |
Siddartha Mohanadoss | d550ea4 | 2017-05-12 10:03:17 -0700 | [diff] [blame] | 3315 | compute-hvx-usr { |
Siddartha Mohanadoss | 5495704 | 2017-04-10 11:03:16 -0700 | [diff] [blame] | 3316 | polling-delay-passive = <0>; |
| 3317 | polling-delay = <0>; |
| 3318 | thermal-sensors = <&tsens1 4>; |
Ram Chandrasekar | 36ffe55 | 2017-04-17 16:33:05 -0600 | [diff] [blame] | 3319 | thermal-governor = "user_space"; |
Siddartha Mohanadoss | 5495704 | 2017-04-10 11:03:16 -0700 | [diff] [blame] | 3320 | trips { |
| 3321 | active-config0 { |
Ram Chandrasekar | a6e5177 | 2017-05-18 16:23:54 -0600 | [diff] [blame] | 3322 | temperature = <125000>; |
Siddartha Mohanadoss | 5495704 | 2017-04-10 11:03:16 -0700 | [diff] [blame] | 3323 | hysteresis = <1000>; |
| 3324 | type = "passive"; |
| 3325 | }; |
| 3326 | }; |
| 3327 | }; |
| 3328 | |
Siddartha Mohanadoss | d550ea4 | 2017-05-12 10:03:17 -0700 | [diff] [blame] | 3329 | camera-usr { |
Siddartha Mohanadoss | 5495704 | 2017-04-10 11:03:16 -0700 | [diff] [blame] | 3330 | polling-delay-passive = <0>; |
| 3331 | polling-delay = <0>; |
| 3332 | thermal-sensors = <&tsens1 5>; |
Ram Chandrasekar | 36ffe55 | 2017-04-17 16:33:05 -0600 | [diff] [blame] | 3333 | thermal-governor = "user_space"; |
Siddartha Mohanadoss | 5495704 | 2017-04-10 11:03:16 -0700 | [diff] [blame] | 3334 | trips { |
| 3335 | active-config0 { |
Ram Chandrasekar | a6e5177 | 2017-05-18 16:23:54 -0600 | [diff] [blame] | 3336 | temperature = <125000>; |
Siddartha Mohanadoss | 5495704 | 2017-04-10 11:03:16 -0700 | [diff] [blame] | 3337 | hysteresis = <1000>; |
| 3338 | type = "passive"; |
| 3339 | }; |
| 3340 | }; |
| 3341 | }; |
| 3342 | |
Siddartha Mohanadoss | d550ea4 | 2017-05-12 10:03:17 -0700 | [diff] [blame] | 3343 | mmss-usr { |
Siddartha Mohanadoss | 5495704 | 2017-04-10 11:03:16 -0700 | [diff] [blame] | 3344 | polling-delay-passive = <0>; |
| 3345 | polling-delay = <0>; |
| 3346 | thermal-sensors = <&tsens1 6>; |
Ram Chandrasekar | 36ffe55 | 2017-04-17 16:33:05 -0600 | [diff] [blame] | 3347 | thermal-governor = "user_space"; |
Siddartha Mohanadoss | 5495704 | 2017-04-10 11:03:16 -0700 | [diff] [blame] | 3348 | trips { |
| 3349 | active-config0 { |
Ram Chandrasekar | a6e5177 | 2017-05-18 16:23:54 -0600 | [diff] [blame] | 3350 | temperature = <125000>; |
Siddartha Mohanadoss | 5495704 | 2017-04-10 11:03:16 -0700 | [diff] [blame] | 3351 | hysteresis = <1000>; |
| 3352 | type = "passive"; |
| 3353 | }; |
| 3354 | }; |
| 3355 | }; |
| 3356 | |
Siddartha Mohanadoss | d550ea4 | 2017-05-12 10:03:17 -0700 | [diff] [blame] | 3357 | mdm-core-usr { |
Siddartha Mohanadoss | 5495704 | 2017-04-10 11:03:16 -0700 | [diff] [blame] | 3358 | polling-delay-passive = <0>; |
| 3359 | polling-delay = <0>; |
| 3360 | thermal-sensors = <&tsens1 7>; |
Ram Chandrasekar | 36ffe55 | 2017-04-17 16:33:05 -0600 | [diff] [blame] | 3361 | thermal-governor = "user_space"; |
Siddartha Mohanadoss | 5495704 | 2017-04-10 11:03:16 -0700 | [diff] [blame] | 3362 | trips { |
| 3363 | active-config0 { |
Ram Chandrasekar | a6e5177 | 2017-05-18 16:23:54 -0600 | [diff] [blame] | 3364 | temperature = <125000>; |
Siddartha Mohanadoss | 5495704 | 2017-04-10 11:03:16 -0700 | [diff] [blame] | 3365 | hysteresis = <1000>; |
| 3366 | type = "passive"; |
| 3367 | }; |
| 3368 | }; |
| 3369 | }; |
Ram Chandrasekar | 36ffe55 | 2017-04-17 16:33:05 -0600 | [diff] [blame] | 3370 | |
Ram Chandrasekar | b4392bf | 2017-05-15 16:04:03 -0600 | [diff] [blame] | 3371 | gpu-virt-max-step { |
Ram Chandrasekar | 36ffe55 | 2017-04-17 16:33:05 -0600 | [diff] [blame] | 3372 | polling-delay-passive = <10>; |
Ram Chandrasekar | b4392bf | 2017-05-15 16:04:03 -0600 | [diff] [blame] | 3373 | polling-delay = <100>; |
Ram Chandrasekar | 36ffe55 | 2017-04-17 16:33:05 -0600 | [diff] [blame] | 3374 | thermal-governor = "step_wise"; |
| 3375 | trips { |
Ram Chandrasekar | b4392bf | 2017-05-15 16:04:03 -0600 | [diff] [blame] | 3376 | gpu_trip0: gpu-trip0 { |
Ram Chandrasekar | 36ffe55 | 2017-04-17 16:33:05 -0600 | [diff] [blame] | 3377 | temperature = <95000>; |
| 3378 | hysteresis = <0>; |
| 3379 | type = "passive"; |
| 3380 | }; |
| 3381 | }; |
| 3382 | cooling-maps { |
Ram Chandrasekar | b4392bf | 2017-05-15 16:04:03 -0600 | [diff] [blame] | 3383 | gpu_cdev0 { |
| 3384 | trip = <&gpu_trip0>; |
Ram Chandrasekar | 36ffe55 | 2017-04-17 16:33:05 -0600 | [diff] [blame] | 3385 | cooling-device = |
Ram Chandrasekar | b4392bf | 2017-05-15 16:04:03 -0600 | [diff] [blame] | 3386 | <&msm_gpu 0 THERMAL_NO_LIMIT>; |
Ram Chandrasekar | 36ffe55 | 2017-04-17 16:33:05 -0600 | [diff] [blame] | 3387 | }; |
| 3388 | }; |
| 3389 | }; |
| 3390 | |
Ram Chandrasekar | debcd41 | 2017-06-23 13:47:38 -0600 | [diff] [blame] | 3391 | silv-virt-max-step { |
| 3392 | polling-delay-passive = <0>; |
| 3393 | polling-delay = <0>; |
| 3394 | thermal-governor = "step_wise"; |
Ram Chandrasekar | 36ffe55 | 2017-04-17 16:33:05 -0600 | [diff] [blame] | 3395 | trips { |
Ram Chandrasekar | b4392bf | 2017-05-15 16:04:03 -0600 | [diff] [blame] | 3396 | silver-trip { |
| 3397 | temperature = <120000>; |
Ram Chandrasekar | 36ffe55 | 2017-04-17 16:33:05 -0600 | [diff] [blame] | 3398 | hysteresis = <0>; |
| 3399 | type = "passive"; |
| 3400 | }; |
| 3401 | }; |
Ram Chandrasekar | b4392bf | 2017-05-15 16:04:03 -0600 | [diff] [blame] | 3402 | }; |
| 3403 | |
Ram Chandrasekar | debcd41 | 2017-06-23 13:47:38 -0600 | [diff] [blame] | 3404 | gold-virt-max-step { |
| 3405 | polling-delay-passive = <0>; |
| 3406 | polling-delay = <0>; |
| 3407 | thermal-governor = "step_wise"; |
Ram Chandrasekar | b4392bf | 2017-05-15 16:04:03 -0600 | [diff] [blame] | 3408 | trips { |
| 3409 | gold-trip { |
| 3410 | temperature = <120000>; |
| 3411 | hysteresis = <0>; |
| 3412 | type = "passive"; |
Ram Chandrasekar | 36ffe55 | 2017-04-17 16:33:05 -0600 | [diff] [blame] | 3413 | }; |
| 3414 | }; |
| 3415 | }; |
| 3416 | |
Siddartha Mohanadoss | d550ea4 | 2017-05-12 10:03:17 -0700 | [diff] [blame] | 3417 | pop-mem-step { |
Ram Chandrasekar | 36ffe55 | 2017-04-17 16:33:05 -0600 | [diff] [blame] | 3418 | polling-delay-passive = <10>; |
| 3419 | polling-delay = <0>; |
| 3420 | thermal-sensors = <&tsens1 2>; |
| 3421 | thermal-governor = "step_wise"; |
| 3422 | trips { |
| 3423 | pop_trip: pop-trip { |
| 3424 | temperature = <95000>; |
| 3425 | hysteresis = <0>; |
| 3426 | type = "passive"; |
| 3427 | }; |
| 3428 | }; |
| 3429 | cooling-maps { |
Ram Chandrasekar | 543a0b1 | 2017-06-12 17:49:50 -0600 | [diff] [blame] | 3430 | pop_cdev4 { |
Ram Chandrasekar | 36ffe55 | 2017-04-17 16:33:05 -0600 | [diff] [blame] | 3431 | trip = <&pop_trip>; |
| 3432 | cooling-device = |
Ram Chandrasekar | 543a0b1 | 2017-06-12 17:49:50 -0600 | [diff] [blame] | 3433 | <&CPU4 THERMAL_NO_LIMIT |
| 3434 | (THERMAL_MAX_LIMIT-1)>; |
| 3435 | }; |
| 3436 | pop_cdev5 { |
| 3437 | trip = <&pop_trip>; |
| 3438 | cooling-device = |
| 3439 | <&CPU5 THERMAL_NO_LIMIT |
| 3440 | (THERMAL_MAX_LIMIT-1)>; |
| 3441 | }; |
| 3442 | pop_cdev6 { |
| 3443 | trip = <&pop_trip>; |
| 3444 | cooling-device = |
| 3445 | <&CPU6 THERMAL_NO_LIMIT |
| 3446 | (THERMAL_MAX_LIMIT-1)>; |
| 3447 | }; |
| 3448 | pop_cdev7 { |
| 3449 | trip = <&pop_trip>; |
| 3450 | cooling-device = |
| 3451 | <&CPU7 THERMAL_NO_LIMIT |
| 3452 | (THERMAL_MAX_LIMIT-1)>; |
Ram Chandrasekar | 36ffe55 | 2017-04-17 16:33:05 -0600 | [diff] [blame] | 3453 | }; |
| 3454 | }; |
| 3455 | }; |
| 3456 | |
Ram Chandrasekar | 16ba4f4 | 2017-04-17 16:48:46 -0600 | [diff] [blame] | 3457 | lmh-dcvs-01 { |
| 3458 | polling-delay-passive = <0>; |
| 3459 | polling-delay = <0>; |
| 3460 | thermal-governor = "user_space"; |
| 3461 | thermal-sensors = <&lmh_dcvs1>; |
| 3462 | |
| 3463 | trips { |
| 3464 | active-config { |
| 3465 | temperature = <95000>; |
| 3466 | hysteresis = <30000>; |
| 3467 | type = "passive"; |
| 3468 | }; |
| 3469 | }; |
| 3470 | }; |
| 3471 | |
| 3472 | lmh-dcvs-00 { |
| 3473 | polling-delay-passive = <0>; |
| 3474 | polling-delay = <0>; |
| 3475 | thermal-governor = "user_space"; |
| 3476 | thermal-sensors = <&lmh_dcvs0>; |
| 3477 | |
| 3478 | trips { |
| 3479 | active-config { |
| 3480 | temperature = <95000>; |
| 3481 | hysteresis = <30000>; |
| 3482 | type = "passive"; |
| 3483 | }; |
| 3484 | }; |
| 3485 | }; |
| 3486 | |
Siddartha Mohanadoss | 5495704 | 2017-04-10 11:03:16 -0700 | [diff] [blame] | 3487 | }; |
| 3488 | |
| 3489 | tsens0: tsens@c222000 { |
| 3490 | compatible = "qcom,sdm845-tsens"; |
| 3491 | reg = <0xc222000 0x4>, |
| 3492 | <0xc263000 0x1ff>; |
| 3493 | reg-names = "tsens_srot_physical", |
| 3494 | "tsens_tm_physical"; |
| 3495 | interrupts = <0 506 0>, <0 508 0>; |
| 3496 | interrupt-names = "tsens-upper-lower", "tsens-critical"; |
| 3497 | #thermal-sensor-cells = <1>; |
| 3498 | }; |
| 3499 | |
| 3500 | tsens1: tsens@c223000 { |
| 3501 | compatible = "qcom,sdm845-tsens"; |
| 3502 | reg = <0xc223000 0x4>, |
| 3503 | <0xc265000 0x1ff>; |
| 3504 | reg-names = "tsens_srot_physical", |
| 3505 | "tsens_tm_physical"; |
| 3506 | interrupts = <0 507 0>, <0 509 0>; |
| 3507 | interrupt-names = "tsens-upper-lower", "tsens-critical"; |
| 3508 | #thermal-sensor-cells = <1>; |
| 3509 | }; |
Sujeev Dias | 2bf23ec | 2017-05-05 19:40:31 -0700 | [diff] [blame] | 3510 | |
Satyajit Desai | 89c4e2e | 2017-05-11 19:34:47 -0700 | [diff] [blame] | 3511 | mem_dump { |
| 3512 | compatible = "qcom,mem-dump"; |
| 3513 | memory-region = <&dump_mem>; |
| 3514 | |
| 3515 | rpmh_dump { |
| 3516 | qcom,dump-size = <0x2000000>; |
| 3517 | qcom,dump-id = <0xec>; |
| 3518 | }; |
| 3519 | |
| 3520 | rpm_sw_dump { |
| 3521 | qcom,dump-size = <0x28000>; |
| 3522 | qcom,dump-id = <0xea>; |
| 3523 | }; |
| 3524 | |
| 3525 | pmic_dump { |
| 3526 | qcom,dump-size = <0x10000>; |
| 3527 | qcom,dump-id = <0xe4>; |
| 3528 | }; |
| 3529 | |
| 3530 | tmc_etf_dump { |
| 3531 | qcom,dump-size = <0x10000>; |
| 3532 | qcom,dump-id = <0xf0>; |
| 3533 | }; |
| 3534 | |
| 3535 | tmc_etf_swao_dump { |
| 3536 | qcom,dump-size = <0x8400>; |
| 3537 | qcom,dump-id = <0xf1>; |
| 3538 | }; |
| 3539 | |
Satyajit Desai | 99df43f | 2017-05-25 17:49:54 -0700 | [diff] [blame] | 3540 | tmc_etr_reg_dump { |
| 3541 | qcom,dump-size = <0x1000>; |
| 3542 | qcom,dump-id = <0x100>; |
| 3543 | }; |
| 3544 | |
| 3545 | tmc_etf_reg_dump { |
| 3546 | qcom,dump-size = <0x1000>; |
| 3547 | qcom,dump-id = <0x101>; |
| 3548 | }; |
| 3549 | |
| 3550 | tmc_etf_swao_reg_dump { |
| 3551 | qcom,dump-size = <0x1000>; |
| 3552 | qcom,dump-id = <0x102>; |
| 3553 | }; |
| 3554 | |
Satyajit Desai | 89c4e2e | 2017-05-11 19:34:47 -0700 | [diff] [blame] | 3555 | misc_data_dump { |
| 3556 | qcom,dump-size = <0x1000>; |
| 3557 | qcom,dump-id = <0xe8>; |
| 3558 | }; |
| 3559 | }; |
| 3560 | |
Sujeev Dias | 2bf23ec | 2017-05-05 19:40:31 -0700 | [diff] [blame] | 3561 | gpi_dma0: qcom,gpi-dma@0x800000 { |
Sujeev Dias | dfe09e1 | 2017-08-31 18:31:04 -0700 | [diff] [blame] | 3562 | #dma-cells = <5>; |
Sujeev Dias | 2bf23ec | 2017-05-05 19:40:31 -0700 | [diff] [blame] | 3563 | compatible = "qcom,gpi-dma"; |
| 3564 | reg = <0x800000 0x60000>; |
| 3565 | reg-names = "gpi-top"; |
| 3566 | interrupts = <0 244 0>, <0 245 0>, <0 246 0>, <0 247 0>, |
| 3567 | <0 248 0>, <0 249 0>, <0 250 0>, <0 251 0>, |
| 3568 | <0 252 0>, <0 253 0>, <0 254 0>, <0 255 0>, |
| 3569 | <0 256 0>; |
| 3570 | qcom,max-num-gpii = <13>; |
| 3571 | qcom,gpii-mask = <0xfa>; |
| 3572 | qcom,ev-factor = <2>; |
| 3573 | iommus = <&apps_smmu 0x0016 0x0>; |
Sujeev Dias | 6948421 | 2017-08-31 10:06:53 -0700 | [diff] [blame] | 3574 | qcom,smmu-cfg = <0x1>; |
| 3575 | qcom,iova-range = <0x0 0x100000 0x0 0x100000>; |
Sujeev Dias | 2bf23ec | 2017-05-05 19:40:31 -0700 | [diff] [blame] | 3576 | status = "ok"; |
| 3577 | }; |
| 3578 | |
| 3579 | gpi_dma1: qcom,gpi-dma@0xa00000 { |
Sujeev Dias | dfe09e1 | 2017-08-31 18:31:04 -0700 | [diff] [blame] | 3580 | #dma-cells = <5>; |
Sujeev Dias | 2bf23ec | 2017-05-05 19:40:31 -0700 | [diff] [blame] | 3581 | compatible = "qcom,gpi-dma"; |
| 3582 | reg = <0xa00000 0x60000>; |
| 3583 | reg-names = "gpi-top"; |
| 3584 | interrupts = <0 279 0>, <0 280 0>, <0 281 0>, <0 282 0>, |
| 3585 | <0 283 0>, <0 284 0>, <0 293 0>, <0 294 0>, |
| 3586 | <0 295 0>, <0 296 0>, <0 297 0>, <0 298 0>, |
| 3587 | <0 299 0>; |
| 3588 | qcom,max-num-gpii = <13>; |
| 3589 | qcom,gpii-mask = <0xfa>; |
| 3590 | qcom,ev-factor = <2>; |
| 3591 | iommus = <&apps_smmu 0x06d6 0x0>; |
Sujeev Dias | 6948421 | 2017-08-31 10:06:53 -0700 | [diff] [blame] | 3592 | qcom,smmu-cfg = <0x1>; |
| 3593 | qcom,iova-range = <0x0 0x100000 0x0 0x100000>; |
Sujeev Dias | 2bf23ec | 2017-05-05 19:40:31 -0700 | [diff] [blame] | 3594 | status = "ok"; |
| 3595 | }; |
Udaya Bhaskara Reddy Mallavarapu | 55ef0cb | 2017-06-12 14:45:28 +0530 | [diff] [blame] | 3596 | |
| 3597 | tspp: msm_tspp@0x8880000 { |
| 3598 | compatible = "qcom,msm_tspp"; |
| 3599 | reg = <0x088a7000 0x200>, /* MSM_TSIF0_PHYS */ |
| 3600 | <0x088a8000 0x200>, /* MSM_TSIF1_PHYS */ |
| 3601 | <0x088a9000 0x1000>, /* MSM_TSPP_PHYS */ |
| 3602 | <0x08884000 0x23000>; /* MSM_TSPP_BAM_PHYS */ |
| 3603 | reg-names = "MSM_TSIF0_PHYS", |
| 3604 | "MSM_TSIF1_PHYS", |
| 3605 | "MSM_TSPP_PHYS", |
| 3606 | "MSM_TSPP_BAM_PHYS"; |
| 3607 | interrupts = <0 121 0>, /* TSIF_TSPP_IRQ */ |
| 3608 | <0 119 0>, /* TSIF0_IRQ */ |
| 3609 | <0 120 0>, /* TSIF1_IRQ */ |
| 3610 | <0 122 0>; /* TSIF_BAM_IRQ */ |
| 3611 | interrupt-names = "TSIF_TSPP_IRQ", |
| 3612 | "TSIF0_IRQ", |
| 3613 | "TSIF1_IRQ", |
| 3614 | "TSIF_BAM_IRQ"; |
| 3615 | |
| 3616 | clock-names = "iface_clk", "ref_clk"; |
| 3617 | clocks = <&clock_gcc GCC_TSIF_AHB_CLK>, |
| 3618 | <&clock_gcc GCC_TSIF_REF_CLK>; |
| 3619 | |
| 3620 | qcom,msm-bus,name = "tsif"; |
| 3621 | qcom,msm-bus,num-cases = <2>; |
| 3622 | qcom,msm-bus,num-paths = <1>; |
| 3623 | qcom,msm-bus,vectors-KBps = |
| 3624 | <82 512 0 0>, /* No vote */ |
| 3625 | <82 512 12288 24576>; |
| 3626 | /* Max. bandwidth, 2xTSIF, each max of 96Mbps */ |
| 3627 | |
| 3628 | pinctrl-names = "disabled", |
| 3629 | "tsif0-mode1", "tsif0-mode2", |
| 3630 | "tsif1-mode1", "tsif1-mode2", |
| 3631 | "dual-tsif-mode1", "dual-tsif-mode2"; |
| 3632 | |
| 3633 | pinctrl-0 = <>; /* disabled */ |
| 3634 | pinctrl-1 = <&tsif0_signals_active>; /* tsif0-mode1 */ |
| 3635 | pinctrl-2 = <&tsif0_signals_active |
| 3636 | &tsif0_sync_active>; /* tsif0-mode2 */ |
| 3637 | pinctrl-3 = <&tsif1_signals_active>; /* tsif1-mode1 */ |
| 3638 | pinctrl-4 = <&tsif1_signals_active |
| 3639 | &tsif1_sync_active>; /* tsif1-mode2 */ |
| 3640 | pinctrl-5 = <&tsif0_signals_active |
| 3641 | &tsif1_signals_active>; /* dual-tsif-mode1 */ |
| 3642 | pinctrl-6 = <&tsif0_signals_active |
| 3643 | &tsif0_sync_active |
| 3644 | &tsif1_signals_active |
| 3645 | &tsif1_sync_active>; /* dual-tsif-mode2 */ |
Udaya Bhaskara Reddy Mallavarapu | 07bd073 | 2017-07-27 16:37:54 +0530 | [diff] [blame] | 3646 | |
| 3647 | qcom,smmu-s1-bypass; |
| 3648 | iommus = <&apps_smmu 0x20 0x0f>; |
Udaya Bhaskara Reddy Mallavarapu | 55ef0cb | 2017-06-12 14:45:28 +0530 | [diff] [blame] | 3649 | }; |
Channagoud Kadabi | 6d4bb83 | 2016-06-30 23:40:05 -0700 | [diff] [blame] | 3650 | }; |
Deepak Katragadda | 7b16dba | 2016-08-05 18:06:30 -0700 | [diff] [blame] | 3651 | |
Ram Chandrasekar | 16ba4f4 | 2017-04-17 16:48:46 -0600 | [diff] [blame] | 3652 | &clock_cpucc { |
| 3653 | lmh_dcvs0: qcom,limits-dcvs@0 { |
| 3654 | compatible = "qcom,msm-hw-limits"; |
Ram Chandrasekar | 2d99658 | 2017-05-05 12:02:07 -0600 | [diff] [blame] | 3655 | interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>; |
Ram Chandrasekar | 16ba4f4 | 2017-04-17 16:48:46 -0600 | [diff] [blame] | 3656 | qcom,affinity = <0>; |
| 3657 | #thermal-sensor-cells = <0>; |
| 3658 | }; |
| 3659 | |
| 3660 | lmh_dcvs1: qcom,limits-dcvs@1 { |
| 3661 | compatible = "qcom,msm-hw-limits"; |
Ram Chandrasekar | 2d99658 | 2017-05-05 12:02:07 -0600 | [diff] [blame] | 3662 | interrupts = <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>; |
Ram Chandrasekar | 16ba4f4 | 2017-04-17 16:48:46 -0600 | [diff] [blame] | 3663 | qcom,affinity = <1>; |
| 3664 | #thermal-sensor-cells = <0>; |
Ram Chandrasekar | 302184f | 2017-08-14 11:27:14 -0600 | [diff] [blame] | 3665 | isens_vref-supply = <&pm8998_l1_ao>; |
| 3666 | isens-vref-settings = <880000 880000 20000>; |
Ram Chandrasekar | 16ba4f4 | 2017-04-17 16:48:46 -0600 | [diff] [blame] | 3667 | }; |
Maya Erez | 6e14acb | 2017-05-16 09:59:02 +0300 | [diff] [blame] | 3668 | |
| 3669 | wil6210: qcom,wil6210 { |
| 3670 | compatible = "qcom,wil6210"; |
| 3671 | qcom,pcie-parent = <&pcie0>; |
| 3672 | qcom,wigig-en = <&tlmm 39 0>; |
| 3673 | qcom,msm-bus,name = "wil6210"; |
| 3674 | qcom,msm-bus,num-cases = <2>; |
| 3675 | qcom,msm-bus,num-paths = <1>; |
| 3676 | qcom,msm-bus,vectors-KBps = |
| 3677 | <45 512 0 0>, |
| 3678 | <45 512 600000 800000>; /* ~4.6Gbps (MCS12) */ |
| 3679 | qcom,use-ext-supply; |
| 3680 | vdd-supply= <&pm8998_s7>; |
| 3681 | vddio-supply= <&pm8998_s5>; |
| 3682 | qcom,use-ext-clocks; |
| 3683 | clocks = <&clock_rpmh RPMH_RF_CLK3>, |
| 3684 | <&clock_rpmh RPMH_RF_CLK3_A>; |
| 3685 | clock-names = "rf_clk3_clk", "rf_clk3_pin_clk"; |
| 3686 | qcom,smmu-support; |
Maya Erez | dea3d79 | 2017-06-08 09:20:07 +0300 | [diff] [blame] | 3687 | qcom,keep-radio-on-during-sleep; |
Maya Erez | 6e14acb | 2017-05-16 09:59:02 +0300 | [diff] [blame] | 3688 | status = "disabled"; |
| 3689 | }; |
Ram Chandrasekar | 16ba4f4 | 2017-04-17 16:48:46 -0600 | [diff] [blame] | 3690 | }; |
| 3691 | |
Deepak Katragadda | 7b16dba | 2016-08-05 18:06:30 -0700 | [diff] [blame] | 3692 | &pcie_0_gdsc { |
| 3693 | status = "ok"; |
| 3694 | }; |
| 3695 | |
| 3696 | &pcie_1_gdsc { |
| 3697 | status = "ok"; |
| 3698 | }; |
| 3699 | |
| 3700 | &ufs_card_gdsc { |
| 3701 | status = "ok"; |
| 3702 | }; |
| 3703 | |
| 3704 | &ufs_phy_gdsc { |
| 3705 | status = "ok"; |
| 3706 | }; |
| 3707 | |
| 3708 | &usb30_prim_gdsc { |
| 3709 | status = "ok"; |
| 3710 | }; |
| 3711 | |
| 3712 | &usb30_sec_gdsc { |
| 3713 | status = "ok"; |
| 3714 | }; |
| 3715 | |
| 3716 | &hlos1_vote_aggre_noc_mmu_audio_tbu_gdsc { |
| 3717 | status = "ok"; |
| 3718 | }; |
| 3719 | |
| 3720 | &hlos1_vote_aggre_noc_mmu_pcie_tbu_gdsc { |
| 3721 | status = "ok"; |
| 3722 | }; |
| 3723 | |
| 3724 | &hlos1_vote_aggre_noc_mmu_tbu1_gdsc { |
| 3725 | status = "ok"; |
| 3726 | }; |
| 3727 | |
| 3728 | &hlos1_vote_aggre_noc_mmu_tbu2_gdsc { |
| 3729 | status = "ok"; |
| 3730 | }; |
| 3731 | |
| 3732 | &hlos1_vote_mmnoc_mmu_tbu_hf0_gdsc { |
| 3733 | status = "ok"; |
| 3734 | }; |
| 3735 | |
| 3736 | &hlos1_vote_mmnoc_mmu_tbu_hf1_gdsc { |
| 3737 | status = "ok"; |
| 3738 | }; |
| 3739 | |
| 3740 | &hlos1_vote_mmnoc_mmu_tbu_sf_gdsc { |
| 3741 | status = "ok"; |
| 3742 | }; |
| 3743 | |
| 3744 | &bps_gdsc { |
Deepak Katragadda | 38f645b | 2017-06-29 12:16:06 -0700 | [diff] [blame] | 3745 | qcom,support-hw-trigger; |
Deepak Katragadda | 7b16dba | 2016-08-05 18:06:30 -0700 | [diff] [blame] | 3746 | status = "ok"; |
| 3747 | }; |
| 3748 | |
| 3749 | &ife_0_gdsc { |
| 3750 | status = "ok"; |
| 3751 | }; |
| 3752 | |
| 3753 | &ife_1_gdsc { |
| 3754 | status = "ok"; |
| 3755 | }; |
| 3756 | |
| 3757 | &ipe_0_gdsc { |
Deepak Katragadda | 38f645b | 2017-06-29 12:16:06 -0700 | [diff] [blame] | 3758 | qcom,support-hw-trigger; |
Deepak Katragadda | 7b16dba | 2016-08-05 18:06:30 -0700 | [diff] [blame] | 3759 | status = "ok"; |
| 3760 | }; |
| 3761 | |
| 3762 | &ipe_1_gdsc { |
Deepak Katragadda | 38f645b | 2017-06-29 12:16:06 -0700 | [diff] [blame] | 3763 | qcom,support-hw-trigger; |
Deepak Katragadda | 7b16dba | 2016-08-05 18:06:30 -0700 | [diff] [blame] | 3764 | status = "ok"; |
| 3765 | }; |
| 3766 | |
| 3767 | &titan_top_gdsc { |
| 3768 | status = "ok"; |
| 3769 | }; |
| 3770 | |
| 3771 | &mdss_core_gdsc { |
| 3772 | status = "ok"; |
| 3773 | }; |
| 3774 | |
| 3775 | &gpu_cx_gdsc { |
| 3776 | status = "ok"; |
| 3777 | }; |
| 3778 | |
Deepak Katragadda | 8d77fbb | 2016-10-17 13:04:17 -0700 | [diff] [blame] | 3779 | &gpu_gx_gdsc { |
Deepak Katragadda | 6c7e8e1 | 2017-04-05 13:21:16 -0700 | [diff] [blame] | 3780 | clock-names = "core_root_clk"; |
| 3781 | clocks = <&clock_gfx GPU_CC_GX_GFX3D_CLK_SRC>; |
| 3782 | qcom,force-enable-root-clk; |
Deepak Katragadda | 8d77fbb | 2016-10-17 13:04:17 -0700 | [diff] [blame] | 3783 | parent-supply = <&pm8005_s1_level>; |
| 3784 | status = "ok"; |
| 3785 | }; |
| 3786 | |
Deepak Katragadda | 7b16dba | 2016-08-05 18:06:30 -0700 | [diff] [blame] | 3787 | &vcodec0_gdsc { |
Deepak Katragadda | cd267d0 | 2017-05-17 11:38:39 -0700 | [diff] [blame] | 3788 | qcom,support-hw-trigger; |
Deepak Katragadda | 7b16dba | 2016-08-05 18:06:30 -0700 | [diff] [blame] | 3789 | status = "ok"; |
| 3790 | }; |
| 3791 | |
| 3792 | &vcodec1_gdsc { |
Deepak Katragadda | cd267d0 | 2017-05-17 11:38:39 -0700 | [diff] [blame] | 3793 | qcom,support-hw-trigger; |
Deepak Katragadda | 7b16dba | 2016-08-05 18:06:30 -0700 | [diff] [blame] | 3794 | status = "ok"; |
| 3795 | }; |
| 3796 | |
| 3797 | &venus_gdsc { |
| 3798 | status = "ok"; |
| 3799 | }; |
David Collins | 5ab42b9 | 2016-07-07 17:38:51 -0700 | [diff] [blame] | 3800 | |
David Collins | 516e41e | 2017-03-10 11:58:17 -0800 | [diff] [blame] | 3801 | #include "pm8998.dtsi" |
David Collins | 516e41e | 2017-03-10 11:58:17 -0800 | [diff] [blame] | 3802 | #include "pm8005.dtsi" |
Kyle Yan | 6a20fae | 2017-02-14 13:34:41 -0800 | [diff] [blame] | 3803 | #include "sdm845-regulator.dtsi" |
| 3804 | #include "sdm845-coresight.dtsi" |
| 3805 | #include "msm-arm-smmu-sdm845.dtsi" |
| 3806 | #include "sdm845-ion.dtsi" |
| 3807 | #include "sdm845-smp2p.dtsi" |
| 3808 | #include "sdm845-camera.dtsi" |
| 3809 | #include "sdm845-bus.dtsi" |
Saurabh Kothawade | 78041ee | 2017-01-16 16:38:09 -0800 | [diff] [blame] | 3810 | #include "sdm845-vidc.dtsi" |
Mahesh Sivasubramanian | 7a7b3c7 | 2016-11-04 14:31:59 -0600 | [diff] [blame] | 3811 | #include "sdm845-pm.dtsi" |
Banajit Goswami | 7885c69 | 2017-03-16 16:00:34 -0700 | [diff] [blame] | 3812 | #include "sdm845-pinctrl.dtsi" |
Tony Truong | c0e0a5f0 | 2017-03-15 11:57:40 -0700 | [diff] [blame] | 3813 | #include "sdm845-pcie.dtsi" |
Banajit Goswami | c0b7581 | 2017-03-16 16:14:17 -0700 | [diff] [blame] | 3814 | #include "sdm845-audio.dtsi" |
Lokesh Batra | f7f72ff | 2016-10-13 11:51:59 -0700 | [diff] [blame] | 3815 | #include "sdm845-gpu.dtsi" |
Jack Pham | f2b61c4 | 2017-04-07 10:28:34 -0700 | [diff] [blame] | 3816 | #include "sdm845-usb.dtsi" |
Ram Chandrasekar | a311528 | 2017-04-21 17:33:01 -0600 | [diff] [blame] | 3817 | |
| 3818 | &pm8998_temp_alarm { |
| 3819 | cooling-maps { |
| 3820 | trip0_cpu0 { |
| 3821 | trip = <&pm8998_trip0>; |
Ram Chandrasekar | 543a0b1 | 2017-06-12 17:49:50 -0600 | [diff] [blame] | 3822 | cooling-device = |
| 3823 | <&CPU0 (THERMAL_MAX_LIMIT-1) |
| 3824 | (THERMAL_MAX_LIMIT-1)>; |
| 3825 | }; |
| 3826 | trip0_cpu1 { |
| 3827 | trip = <&pm8998_trip0>; |
| 3828 | cooling-device = |
| 3829 | <&CPU1 (THERMAL_MAX_LIMIT-1) |
| 3830 | (THERMAL_MAX_LIMIT-1)>; |
| 3831 | }; |
| 3832 | trip0_cpu2 { |
| 3833 | trip = <&pm8998_trip0>; |
| 3834 | cooling-device = |
| 3835 | <&CPU2 (THERMAL_MAX_LIMIT-1) |
| 3836 | (THERMAL_MAX_LIMIT-1)>; |
| 3837 | }; |
| 3838 | trip0_cpu3 { |
| 3839 | trip = <&pm8998_trip0>; |
| 3840 | cooling-device = |
| 3841 | <&CPU3 (THERMAL_MAX_LIMIT-1) |
| 3842 | (THERMAL_MAX_LIMIT-1)>; |
Ram Chandrasekar | a311528 | 2017-04-21 17:33:01 -0600 | [diff] [blame] | 3843 | }; |
| 3844 | trip0_cpu4 { |
| 3845 | trip = <&pm8998_trip0>; |
Ram Chandrasekar | 543a0b1 | 2017-06-12 17:49:50 -0600 | [diff] [blame] | 3846 | cooling-device = |
| 3847 | <&CPU4 (THERMAL_MAX_LIMIT-1) |
| 3848 | (THERMAL_MAX_LIMIT-1)>; |
| 3849 | }; |
| 3850 | trip0_cpu5 { |
| 3851 | trip = <&pm8998_trip0>; |
| 3852 | cooling-device = |
| 3853 | <&CPU5 (THERMAL_MAX_LIMIT-1) |
| 3854 | (THERMAL_MAX_LIMIT-1)>; |
| 3855 | }; |
| 3856 | trip0_cpu6 { |
| 3857 | trip = <&pm8998_trip0>; |
| 3858 | cooling-device = |
| 3859 | <&CPU6 (THERMAL_MAX_LIMIT-1) |
| 3860 | (THERMAL_MAX_LIMIT-1)>; |
| 3861 | }; |
| 3862 | trip0_cpu7 { |
| 3863 | trip = <&pm8998_trip0>; |
| 3864 | cooling-device = |
| 3865 | <&CPU7 (THERMAL_MAX_LIMIT-1) |
| 3866 | (THERMAL_MAX_LIMIT-1)>; |
Ram Chandrasekar | a311528 | 2017-04-21 17:33:01 -0600 | [diff] [blame] | 3867 | }; |
| 3868 | trip1_cpu1 { |
| 3869 | trip = <&pm8998_trip1>; |
Ram Chandrasekar | 543a0b1 | 2017-06-12 17:49:50 -0600 | [diff] [blame] | 3870 | cooling-device = |
| 3871 | <&CPU1 THERMAL_MAX_LIMIT THERMAL_MAX_LIMIT>; |
Ram Chandrasekar | a311528 | 2017-04-21 17:33:01 -0600 | [diff] [blame] | 3872 | }; |
| 3873 | trip1_cpu2 { |
| 3874 | trip = <&pm8998_trip1>; |
Ram Chandrasekar | 543a0b1 | 2017-06-12 17:49:50 -0600 | [diff] [blame] | 3875 | cooling-device = |
| 3876 | <&CPU2 THERMAL_MAX_LIMIT THERMAL_MAX_LIMIT>; |
Ram Chandrasekar | a311528 | 2017-04-21 17:33:01 -0600 | [diff] [blame] | 3877 | }; |
| 3878 | trip1_cpu3 { |
| 3879 | trip = <&pm8998_trip1>; |
Ram Chandrasekar | 543a0b1 | 2017-06-12 17:49:50 -0600 | [diff] [blame] | 3880 | cooling-device = |
| 3881 | <&CPU3 THERMAL_MAX_LIMIT THERMAL_MAX_LIMIT>; |
Ram Chandrasekar | a311528 | 2017-04-21 17:33:01 -0600 | [diff] [blame] | 3882 | }; |
| 3883 | trip1_cpu4 { |
| 3884 | trip = <&pm8998_trip1>; |
Ram Chandrasekar | 543a0b1 | 2017-06-12 17:49:50 -0600 | [diff] [blame] | 3885 | cooling-device = |
| 3886 | <&CPU4 THERMAL_MAX_LIMIT THERMAL_MAX_LIMIT>; |
Ram Chandrasekar | a311528 | 2017-04-21 17:33:01 -0600 | [diff] [blame] | 3887 | }; |
| 3888 | trip1_cpu5 { |
| 3889 | trip = <&pm8998_trip1>; |
Ram Chandrasekar | 543a0b1 | 2017-06-12 17:49:50 -0600 | [diff] [blame] | 3890 | cooling-device = |
| 3891 | <&CPU5 THERMAL_MAX_LIMIT THERMAL_MAX_LIMIT>; |
Ram Chandrasekar | a311528 | 2017-04-21 17:33:01 -0600 | [diff] [blame] | 3892 | }; |
| 3893 | trip1_cpu6 { |
| 3894 | trip = <&pm8998_trip1>; |
Ram Chandrasekar | 543a0b1 | 2017-06-12 17:49:50 -0600 | [diff] [blame] | 3895 | cooling-device = |
| 3896 | <&CPU6 THERMAL_MAX_LIMIT THERMAL_MAX_LIMIT>; |
Ram Chandrasekar | a311528 | 2017-04-21 17:33:01 -0600 | [diff] [blame] | 3897 | }; |
| 3898 | trip1_cpu7 { |
| 3899 | trip = <&pm8998_trip1>; |
Ram Chandrasekar | 543a0b1 | 2017-06-12 17:49:50 -0600 | [diff] [blame] | 3900 | cooling-device = |
| 3901 | <&CPU7 THERMAL_MAX_LIMIT THERMAL_MAX_LIMIT>; |
Ram Chandrasekar | a311528 | 2017-04-21 17:33:01 -0600 | [diff] [blame] | 3902 | }; |
| 3903 | }; |
| 3904 | }; |
Ram Chandrasekar | 3ec09c0 | 2017-06-27 11:03:15 -0600 | [diff] [blame] | 3905 | |
| 3906 | &thermal_zones { |
| 3907 | aoss0-lowf { |
| 3908 | polling-delay-passive = <0>; |
| 3909 | polling-delay = <0>; |
| 3910 | thermal-governor = "low_limits_floor"; |
| 3911 | thermal-sensors = <&tsens0 0>; |
| 3912 | tracks-low; |
| 3913 | trips { |
| 3914 | aoss0_trip: aoss0-trip { |
| 3915 | temperature = <5000>; |
| 3916 | hysteresis = <5000>; |
| 3917 | type = "passive"; |
| 3918 | }; |
| 3919 | }; |
| 3920 | cooling-maps { |
| 3921 | cpu0_vdd_cdev { |
| 3922 | trip = <&aoss0_trip>; |
| 3923 | cooling-device = <&CPU0 4 4>; |
| 3924 | }; |
| 3925 | cpu4_vdd_cdev { |
| 3926 | trip = <&aoss0_trip>; |
| 3927 | cooling-device = <&CPU4 9 9>; |
| 3928 | }; |
| 3929 | gpu_vdd_cdev { |
| 3930 | trip = <&aoss0_trip>; |
| 3931 | cooling-device = <&msm_gpu 1 1>; |
| 3932 | }; |
| 3933 | cx_vdd_cdev { |
| 3934 | trip = <&aoss0_trip>; |
| 3935 | cooling-device = <&cx_cdev 0 0>; |
| 3936 | }; |
| 3937 | mx_vdd_cdev { |
| 3938 | trip = <&aoss0_trip>; |
| 3939 | cooling-device = <&mx_cdev 0 0>; |
| 3940 | }; |
| 3941 | ebi_vdd_cdev { |
| 3942 | trip = <&aoss0_trip>; |
| 3943 | cooling-device = <&ebi_cdev 0 0>; |
| 3944 | }; |
Ram Chandrasekar | 56f60de | 2017-07-03 16:26:18 -0600 | [diff] [blame] | 3945 | modem_vdd_cdev { |
| 3946 | trip = <&aoss0_trip>; |
| 3947 | cooling-device = <&modem_vdd 0 0>; |
| 3948 | }; |
| 3949 | adsp_vdd_cdev { |
| 3950 | trip = <&aoss0_trip>; |
| 3951 | cooling-device = <&adsp_vdd 0 0>; |
| 3952 | }; |
| 3953 | cdsp_vdd_cdev { |
| 3954 | trip = <&aoss0_trip>; |
| 3955 | cooling-device = <&cdsp_vdd 0 0>; |
| 3956 | }; |
| 3957 | slpi_vdd_cdev { |
| 3958 | trip = <&aoss0_trip>; |
| 3959 | cooling-device = <&slpi_vdd 0 0>; |
| 3960 | }; |
Ram Chandrasekar | 3ec09c0 | 2017-06-27 11:03:15 -0600 | [diff] [blame] | 3961 | }; |
| 3962 | }; |
| 3963 | |
| 3964 | cpu0-silver-lowf { |
| 3965 | polling-delay-passive = <0>; |
| 3966 | polling-delay = <0>; |
| 3967 | thermal-governor = "low_limits_floor"; |
| 3968 | thermal-sensors = <&tsens0 1>; |
| 3969 | tracks-low; |
| 3970 | trips { |
| 3971 | cpu0_trip: cpu0-trip { |
| 3972 | temperature = <5000>; |
| 3973 | hysteresis = <5000>; |
| 3974 | type = "passive"; |
| 3975 | }; |
| 3976 | }; |
| 3977 | cooling-maps { |
| 3978 | cpu0_vdd_cdev { |
| 3979 | trip = <&cpu0_trip>; |
| 3980 | cooling-device = <&CPU0 4 4>; |
| 3981 | }; |
| 3982 | cpu4_vdd_cdev { |
| 3983 | trip = <&cpu0_trip>; |
| 3984 | cooling-device = <&CPU4 9 9>; |
| 3985 | }; |
| 3986 | gpu_vdd_cdev { |
| 3987 | trip = <&cpu0_trip>; |
| 3988 | cooling-device = <&msm_gpu 1 1>; |
| 3989 | }; |
| 3990 | cx_vdd_cdev { |
| 3991 | trip = <&cpu0_trip>; |
| 3992 | cooling-device = <&cx_cdev 0 0>; |
| 3993 | }; |
| 3994 | mx_vdd_cdev { |
| 3995 | trip = <&cpu0_trip>; |
| 3996 | cooling-device = <&mx_cdev 0 0>; |
| 3997 | }; |
| 3998 | ebi_vdd_cdev { |
| 3999 | trip = <&cpu0_trip>; |
| 4000 | cooling-device = <&ebi_cdev 0 0>; |
| 4001 | }; |
Ram Chandrasekar | 56f60de | 2017-07-03 16:26:18 -0600 | [diff] [blame] | 4002 | modem_vdd_cdev { |
| 4003 | trip = <&cpu0_trip>; |
| 4004 | cooling-device = <&modem_vdd 0 0>; |
| 4005 | }; |
| 4006 | adsp_vdd_cdev { |
| 4007 | trip = <&cpu0_trip>; |
| 4008 | cooling-device = <&adsp_vdd 0 0>; |
| 4009 | }; |
| 4010 | cdsp_vdd_cdev { |
| 4011 | trip = <&cpu0_trip>; |
| 4012 | cooling-device = <&cdsp_vdd 0 0>; |
| 4013 | }; |
| 4014 | slpi_vdd_cdev { |
| 4015 | trip = <&cpu0_trip>; |
| 4016 | cooling-device = <&slpi_vdd 0 0>; |
| 4017 | }; |
Ram Chandrasekar | 3ec09c0 | 2017-06-27 11:03:15 -0600 | [diff] [blame] | 4018 | }; |
| 4019 | }; |
| 4020 | |
| 4021 | cpu1-silver-lowf { |
| 4022 | polling-delay-passive = <0>; |
| 4023 | polling-delay = <0>; |
| 4024 | thermal-governor = "low_limits_floor"; |
| 4025 | thermal-sensors = <&tsens0 2>; |
| 4026 | tracks-low; |
| 4027 | trips { |
| 4028 | cpu1_trip: cpu1-trip { |
| 4029 | temperature = <5000>; |
| 4030 | hysteresis = <5000>; |
| 4031 | type = "passive"; |
| 4032 | }; |
| 4033 | }; |
| 4034 | cooling-maps { |
| 4035 | cpu0_vdd_cdev { |
| 4036 | trip = <&cpu1_trip>; |
| 4037 | cooling-device = <&CPU0 4 4>; |
| 4038 | }; |
| 4039 | cpu4_vdd_cdev { |
| 4040 | trip = <&cpu1_trip>; |
| 4041 | cooling-device = <&CPU4 9 9>; |
| 4042 | }; |
| 4043 | gpu_vdd_cdev { |
| 4044 | trip = <&cpu1_trip>; |
| 4045 | cooling-device = <&msm_gpu 1 1>; |
| 4046 | }; |
| 4047 | cx_vdd_cdev { |
| 4048 | trip = <&cpu1_trip>; |
| 4049 | cooling-device = <&cx_cdev 0 0>; |
| 4050 | }; |
| 4051 | mx_vdd_cdev { |
| 4052 | trip = <&cpu1_trip>; |
| 4053 | cooling-device = <&mx_cdev 0 0>; |
| 4054 | }; |
| 4055 | ebi_vdd_cdev { |
| 4056 | trip = <&cpu1_trip>; |
| 4057 | cooling-device = <&ebi_cdev 0 0>; |
| 4058 | }; |
Ram Chandrasekar | 56f60de | 2017-07-03 16:26:18 -0600 | [diff] [blame] | 4059 | modem_vdd_cdev { |
| 4060 | trip = <&cpu1_trip>; |
| 4061 | cooling-device = <&modem_vdd 0 0>; |
| 4062 | }; |
| 4063 | adsp_vdd_cdev { |
| 4064 | trip = <&cpu1_trip>; |
| 4065 | cooling-device = <&adsp_vdd 0 0>; |
| 4066 | }; |
| 4067 | cdsp_vdd_cdev { |
| 4068 | trip = <&cpu1_trip>; |
| 4069 | cooling-device = <&cdsp_vdd 0 0>; |
| 4070 | }; |
| 4071 | slpi_vdd_cdev { |
| 4072 | trip = <&cpu1_trip>; |
| 4073 | cooling-device = <&slpi_vdd 0 0>; |
| 4074 | }; |
Ram Chandrasekar | 3ec09c0 | 2017-06-27 11:03:15 -0600 | [diff] [blame] | 4075 | }; |
| 4076 | }; |
| 4077 | |
| 4078 | cpu2-silver-lowf { |
| 4079 | polling-delay-passive = <0>; |
| 4080 | polling-delay = <0>; |
| 4081 | thermal-governor = "low_limits_floor"; |
| 4082 | thermal-sensors = <&tsens0 3>; |
| 4083 | tracks-low; |
| 4084 | trips { |
| 4085 | cpu2_trip: cpu2-trip { |
| 4086 | temperature = <5000>; |
| 4087 | hysteresis = <5000>; |
| 4088 | type = "passive"; |
| 4089 | }; |
| 4090 | }; |
| 4091 | cooling-maps { |
| 4092 | cpu0_vdd_cdev { |
| 4093 | trip = <&cpu2_trip>; |
| 4094 | cooling-device = <&CPU0 4 4>; |
| 4095 | }; |
| 4096 | cpu4_vdd_cdev { |
| 4097 | trip = <&cpu2_trip>; |
| 4098 | cooling-device = <&CPU4 9 9>; |
| 4099 | }; |
| 4100 | gpu_vdd_cdev { |
| 4101 | trip = <&cpu2_trip>; |
| 4102 | cooling-device = <&msm_gpu 1 1>; |
| 4103 | }; |
| 4104 | cx_vdd_cdev { |
| 4105 | trip = <&cpu2_trip>; |
| 4106 | cooling-device = <&cx_cdev 0 0>; |
| 4107 | }; |
| 4108 | mx_vdd_cdev { |
| 4109 | trip = <&cpu2_trip>; |
| 4110 | cooling-device = <&mx_cdev 0 0>; |
| 4111 | }; |
| 4112 | ebi_vdd_cdev { |
| 4113 | trip = <&cpu2_trip>; |
| 4114 | cooling-device = <&ebi_cdev 0 0>; |
| 4115 | }; |
Ram Chandrasekar | 56f60de | 2017-07-03 16:26:18 -0600 | [diff] [blame] | 4116 | modem_vdd_cdev { |
| 4117 | trip = <&cpu2_trip>; |
| 4118 | cooling-device = <&modem_vdd 0 0>; |
| 4119 | }; |
| 4120 | adsp_vdd_cdev { |
| 4121 | trip = <&cpu2_trip>; |
| 4122 | cooling-device = <&adsp_vdd 0 0>; |
| 4123 | }; |
| 4124 | cdsp_vdd_cdev { |
| 4125 | trip = <&cpu2_trip>; |
| 4126 | cooling-device = <&cdsp_vdd 0 0>; |
| 4127 | }; |
| 4128 | slpi_vdd_cdev { |
| 4129 | trip = <&cpu2_trip>; |
| 4130 | cooling-device = <&slpi_vdd 0 0>; |
| 4131 | }; |
Ram Chandrasekar | 3ec09c0 | 2017-06-27 11:03:15 -0600 | [diff] [blame] | 4132 | }; |
| 4133 | }; |
| 4134 | |
| 4135 | cpu3-silver-lowf { |
| 4136 | polling-delay-passive = <0>; |
| 4137 | polling-delay = <0>; |
| 4138 | thermal-governor = "low_limits_floor"; |
| 4139 | thermal-sensors = <&tsens0 4>; |
| 4140 | tracks-low; |
| 4141 | trips { |
| 4142 | cpu3_trip: cpu3-trip { |
| 4143 | temperature = <5000>; |
| 4144 | hysteresis = <5000>; |
| 4145 | type = "passive"; |
| 4146 | }; |
| 4147 | }; |
| 4148 | cooling-maps { |
| 4149 | cpu0_vdd_cdev { |
| 4150 | trip = <&cpu3_trip>; |
| 4151 | cooling-device = <&CPU0 4 4>; |
| 4152 | }; |
| 4153 | cpu4_vdd_cdev { |
| 4154 | trip = <&cpu3_trip>; |
| 4155 | cooling-device = <&CPU4 9 9>; |
| 4156 | }; |
| 4157 | gpu_vdd_cdev { |
| 4158 | trip = <&cpu3_trip>; |
| 4159 | cooling-device = <&msm_gpu 1 1>; |
| 4160 | }; |
| 4161 | cx_vdd_cdev { |
| 4162 | trip = <&cpu3_trip>; |
| 4163 | cooling-device = <&cx_cdev 0 0>; |
| 4164 | }; |
| 4165 | mx_vdd_cdev { |
| 4166 | trip = <&cpu3_trip>; |
| 4167 | cooling-device = <&mx_cdev 0 0>; |
| 4168 | }; |
| 4169 | ebi_vdd_cdev { |
| 4170 | trip = <&cpu3_trip>; |
| 4171 | cooling-device = <&ebi_cdev 0 0>; |
| 4172 | }; |
Ram Chandrasekar | 56f60de | 2017-07-03 16:26:18 -0600 | [diff] [blame] | 4173 | modem_vdd_cdev { |
| 4174 | trip = <&cpu3_trip>; |
| 4175 | cooling-device = <&modem_vdd 0 0>; |
| 4176 | }; |
| 4177 | adsp_vdd_cdev { |
| 4178 | trip = <&cpu3_trip>; |
| 4179 | cooling-device = <&adsp_vdd 0 0>; |
| 4180 | }; |
| 4181 | cdsp_vdd_cdev { |
| 4182 | trip = <&cpu3_trip>; |
| 4183 | cooling-device = <&cdsp_vdd 0 0>; |
| 4184 | }; |
| 4185 | slpi_vdd_cdev { |
| 4186 | trip = <&cpu3_trip>; |
| 4187 | cooling-device = <&slpi_vdd 0 0>; |
| 4188 | }; |
Ram Chandrasekar | 3ec09c0 | 2017-06-27 11:03:15 -0600 | [diff] [blame] | 4189 | }; |
| 4190 | }; |
| 4191 | |
| 4192 | kryo-l3-0-lowf { |
| 4193 | polling-delay-passive = <0>; |
| 4194 | polling-delay = <0>; |
| 4195 | thermal-governor = "low_limits_floor"; |
| 4196 | thermal-sensors = <&tsens0 5>; |
| 4197 | tracks-low; |
| 4198 | trips { |
| 4199 | l3_0_trip: l3-0-trip { |
| 4200 | temperature = <5000>; |
| 4201 | hysteresis = <5000>; |
| 4202 | type = "passive"; |
| 4203 | }; |
| 4204 | }; |
| 4205 | cooling-maps { |
| 4206 | cpu0_vdd_cdev { |
| 4207 | trip = <&l3_0_trip>; |
| 4208 | cooling-device = <&CPU0 4 4>; |
| 4209 | }; |
| 4210 | cpu4_vdd_cdev { |
| 4211 | trip = <&l3_0_trip>; |
| 4212 | cooling-device = <&CPU4 9 9>; |
| 4213 | }; |
| 4214 | gpu_vdd_cdev { |
| 4215 | trip = <&l3_0_trip>; |
| 4216 | cooling-device = <&msm_gpu 1 1>; |
| 4217 | }; |
| 4218 | cx_vdd_cdev { |
| 4219 | trip = <&l3_0_trip>; |
| 4220 | cooling-device = <&cx_cdev 0 0>; |
| 4221 | }; |
| 4222 | mx_vdd_cdev { |
| 4223 | trip = <&l3_0_trip>; |
| 4224 | cooling-device = <&mx_cdev 0 0>; |
| 4225 | }; |
| 4226 | ebi_vdd_cdev { |
| 4227 | trip = <&l3_0_trip>; |
| 4228 | cooling-device = <&ebi_cdev 0 0>; |
| 4229 | }; |
Ram Chandrasekar | 56f60de | 2017-07-03 16:26:18 -0600 | [diff] [blame] | 4230 | modem_vdd_cdev { |
| 4231 | trip = <&l3_0_trip>; |
| 4232 | cooling-device = <&modem_vdd 0 0>; |
| 4233 | }; |
| 4234 | adsp_vdd_cdev { |
| 4235 | trip = <&l3_0_trip>; |
| 4236 | cooling-device = <&adsp_vdd 0 0>; |
| 4237 | }; |
| 4238 | cdsp_vdd_cdev { |
| 4239 | trip = <&l3_0_trip>; |
| 4240 | cooling-device = <&cdsp_vdd 0 0>; |
| 4241 | }; |
| 4242 | slpi_vdd_cdev { |
| 4243 | trip = <&l3_0_trip>; |
| 4244 | cooling-device = <&slpi_vdd 0 0>; |
| 4245 | }; |
Ram Chandrasekar | 3ec09c0 | 2017-06-27 11:03:15 -0600 | [diff] [blame] | 4246 | }; |
| 4247 | }; |
| 4248 | |
| 4249 | kryo-l3-1-lowf { |
| 4250 | polling-delay-passive = <0>; |
| 4251 | polling-delay = <0>; |
| 4252 | thermal-governor = "low_limits_floor"; |
| 4253 | thermal-sensors = <&tsens0 6>; |
| 4254 | tracks-low; |
| 4255 | trips { |
| 4256 | l3_1_trip: l3-1-trip { |
| 4257 | temperature = <5000>; |
| 4258 | hysteresis = <5000>; |
| 4259 | type = "passive"; |
| 4260 | }; |
| 4261 | }; |
| 4262 | cooling-maps { |
| 4263 | cpu0_vdd_cdev { |
| 4264 | trip = <&l3_1_trip>; |
| 4265 | cooling-device = <&CPU0 4 4>; |
| 4266 | }; |
| 4267 | cpu4_vdd_cdev { |
| 4268 | trip = <&l3_1_trip>; |
| 4269 | cooling-device = <&CPU4 9 9>; |
| 4270 | }; |
| 4271 | gpu_vdd_cdev { |
| 4272 | trip = <&l3_1_trip>; |
| 4273 | cooling-device = <&msm_gpu 1 1>; |
| 4274 | }; |
| 4275 | cx_vdd_cdev { |
| 4276 | trip = <&l3_1_trip>; |
| 4277 | cooling-device = <&cx_cdev 0 0>; |
| 4278 | }; |
| 4279 | mx_vdd_cdev { |
| 4280 | trip = <&l3_1_trip>; |
| 4281 | cooling-device = <&mx_cdev 0 0>; |
| 4282 | }; |
| 4283 | ebi_vdd_cdev { |
| 4284 | trip = <&l3_1_trip>; |
| 4285 | cooling-device = <&ebi_cdev 0 0>; |
| 4286 | }; |
Ram Chandrasekar | 56f60de | 2017-07-03 16:26:18 -0600 | [diff] [blame] | 4287 | modem_vdd_cdev { |
| 4288 | trip = <&l3_1_trip>; |
| 4289 | cooling-device = <&modem_vdd 0 0>; |
| 4290 | }; |
| 4291 | adsp_vdd_cdev { |
| 4292 | trip = <&l3_1_trip>; |
| 4293 | cooling-device = <&adsp_vdd 0 0>; |
| 4294 | }; |
| 4295 | cdsp_vdd_cdev { |
| 4296 | trip = <&l3_1_trip>; |
| 4297 | cooling-device = <&cdsp_vdd 0 0>; |
| 4298 | }; |
| 4299 | slpi_vdd_cdev { |
| 4300 | trip = <&l3_1_trip>; |
| 4301 | cooling-device = <&slpi_vdd 0 0>; |
| 4302 | }; |
Ram Chandrasekar | 3ec09c0 | 2017-06-27 11:03:15 -0600 | [diff] [blame] | 4303 | }; |
| 4304 | }; |
| 4305 | |
| 4306 | cpu0-gold-lowf { |
| 4307 | polling-delay-passive = <0>; |
| 4308 | polling-delay = <0>; |
| 4309 | thermal-governor = "low_limits_floor"; |
| 4310 | thermal-sensors = <&tsens0 7>; |
| 4311 | tracks-low; |
| 4312 | trips { |
| 4313 | cpug0_trip: cpug0-trip { |
| 4314 | temperature = <5000>; |
| 4315 | hysteresis = <5000>; |
| 4316 | type = "passive"; |
| 4317 | }; |
| 4318 | }; |
| 4319 | cooling-maps { |
| 4320 | cpu0_vdd_cdev { |
| 4321 | trip = <&cpug0_trip>; |
| 4322 | cooling-device = <&CPU0 4 4>; |
| 4323 | }; |
| 4324 | cpu4_vdd_cdev { |
| 4325 | trip = <&cpug0_trip>; |
| 4326 | cooling-device = <&CPU4 9 9>; |
| 4327 | }; |
| 4328 | gpu_vdd_cdev { |
| 4329 | trip = <&cpug0_trip>; |
| 4330 | cooling-device = <&msm_gpu 1 1>; |
| 4331 | }; |
| 4332 | cx_vdd_cdev { |
| 4333 | trip = <&cpug0_trip>; |
| 4334 | cooling-device = <&cx_cdev 0 0>; |
| 4335 | }; |
| 4336 | mx_vdd_cdev { |
| 4337 | trip = <&cpug0_trip>; |
| 4338 | cooling-device = <&mx_cdev 0 0>; |
| 4339 | }; |
| 4340 | ebi_vdd_cdev { |
| 4341 | trip = <&cpug0_trip>; |
| 4342 | cooling-device = <&ebi_cdev 0 0>; |
| 4343 | }; |
Ram Chandrasekar | 56f60de | 2017-07-03 16:26:18 -0600 | [diff] [blame] | 4344 | modem_vdd_cdev { |
| 4345 | trip = <&cpug0_trip>; |
| 4346 | cooling-device = <&modem_vdd 0 0>; |
| 4347 | }; |
| 4348 | adsp_vdd_cdev { |
| 4349 | trip = <&cpug0_trip>; |
| 4350 | cooling-device = <&adsp_vdd 0 0>; |
| 4351 | }; |
| 4352 | cdsp_vdd_cdev { |
| 4353 | trip = <&cpug0_trip>; |
| 4354 | cooling-device = <&cdsp_vdd 0 0>; |
| 4355 | }; |
| 4356 | slpi_vdd_cdev { |
| 4357 | trip = <&cpug0_trip>; |
| 4358 | cooling-device = <&slpi_vdd 0 0>; |
| 4359 | }; |
Ram Chandrasekar | 3ec09c0 | 2017-06-27 11:03:15 -0600 | [diff] [blame] | 4360 | }; |
| 4361 | }; |
| 4362 | |
| 4363 | cpu1-gold-lowf { |
| 4364 | polling-delay-passive = <0>; |
| 4365 | polling-delay = <0>; |
| 4366 | thermal-governor = "low_limits_floor"; |
| 4367 | thermal-sensors = <&tsens0 8>; |
| 4368 | tracks-low; |
| 4369 | trips { |
| 4370 | cpug1_trip: cpug1-trip { |
| 4371 | temperature = <5000>; |
| 4372 | hysteresis = <5000>; |
| 4373 | type = "passive"; |
| 4374 | }; |
| 4375 | }; |
| 4376 | cooling-maps { |
| 4377 | cpu0_vdd_cdev { |
| 4378 | trip = <&cpug1_trip>; |
| 4379 | cooling-device = <&CPU0 4 4>; |
| 4380 | }; |
| 4381 | cpu4_vdd_cdev { |
| 4382 | trip = <&cpug1_trip>; |
| 4383 | cooling-device = <&CPU4 9 9>; |
| 4384 | }; |
| 4385 | gpu_vdd_cdev { |
| 4386 | trip = <&cpug1_trip>; |
| 4387 | cooling-device = <&msm_gpu 1 1>; |
| 4388 | }; |
| 4389 | cx_vdd_cdev { |
| 4390 | trip = <&cpug1_trip>; |
| 4391 | cooling-device = <&cx_cdev 0 0>; |
| 4392 | }; |
| 4393 | mx_vdd_cdev { |
| 4394 | trip = <&cpug1_trip>; |
| 4395 | cooling-device = <&mx_cdev 0 0>; |
| 4396 | }; |
| 4397 | ebi_vdd_cdev { |
| 4398 | trip = <&cpug1_trip>; |
| 4399 | cooling-device = <&ebi_cdev 0 0>; |
| 4400 | }; |
Ram Chandrasekar | 56f60de | 2017-07-03 16:26:18 -0600 | [diff] [blame] | 4401 | modem_vdd_cdev { |
| 4402 | trip = <&cpug1_trip>; |
| 4403 | cooling-device = <&modem_vdd 0 0>; |
| 4404 | }; |
| 4405 | adsp_vdd_cdev { |
| 4406 | trip = <&cpug1_trip>; |
| 4407 | cooling-device = <&adsp_vdd 0 0>; |
| 4408 | }; |
| 4409 | cdsp_vdd_cdev { |
| 4410 | trip = <&cpug1_trip>; |
| 4411 | cooling-device = <&cdsp_vdd 0 0>; |
| 4412 | }; |
| 4413 | slpi_vdd_cdev { |
| 4414 | trip = <&cpug1_trip>; |
| 4415 | cooling-device = <&slpi_vdd 0 0>; |
| 4416 | }; |
Ram Chandrasekar | 3ec09c0 | 2017-06-27 11:03:15 -0600 | [diff] [blame] | 4417 | }; |
| 4418 | }; |
| 4419 | |
| 4420 | cpu2-gold-lowf { |
| 4421 | polling-delay-passive = <0>; |
| 4422 | polling-delay = <0>; |
| 4423 | thermal-governor = "low_limits_floor"; |
| 4424 | thermal-sensors = <&tsens0 9>; |
| 4425 | tracks-low; |
| 4426 | trips { |
| 4427 | cpug2_trip: cpug2-trip { |
| 4428 | temperature = <5000>; |
| 4429 | hysteresis = <5000>; |
| 4430 | type = "passive"; |
| 4431 | }; |
| 4432 | }; |
| 4433 | cooling-maps { |
| 4434 | cpu0_vdd_cdev { |
| 4435 | trip = <&cpug2_trip>; |
| 4436 | cooling-device = <&CPU0 4 4>; |
| 4437 | }; |
| 4438 | cpu4_vdd_cdev { |
| 4439 | trip = <&cpug2_trip>; |
| 4440 | cooling-device = <&CPU4 9 9>; |
| 4441 | }; |
| 4442 | gpu_vdd_cdev { |
| 4443 | trip = <&cpug2_trip>; |
| 4444 | cooling-device = <&msm_gpu 1 1>; |
| 4445 | }; |
| 4446 | cx_vdd_cdev { |
| 4447 | trip = <&cpug2_trip>; |
| 4448 | cooling-device = <&cx_cdev 0 0>; |
| 4449 | }; |
| 4450 | mx_vdd_cdev { |
| 4451 | trip = <&cpug2_trip>; |
| 4452 | cooling-device = <&mx_cdev 0 0>; |
| 4453 | }; |
| 4454 | ebi_vdd_cdev { |
| 4455 | trip = <&cpug2_trip>; |
| 4456 | cooling-device = <&ebi_cdev 0 0>; |
| 4457 | }; |
Ram Chandrasekar | 56f60de | 2017-07-03 16:26:18 -0600 | [diff] [blame] | 4458 | modem_vdd_cdev { |
| 4459 | trip = <&cpug2_trip>; |
| 4460 | cooling-device = <&modem_vdd 0 0>; |
| 4461 | }; |
| 4462 | adsp_vdd_cdev { |
| 4463 | trip = <&cpug2_trip>; |
| 4464 | cooling-device = <&adsp_vdd 0 0>; |
| 4465 | }; |
| 4466 | cdsp_vdd_cdev { |
| 4467 | trip = <&cpug2_trip>; |
| 4468 | cooling-device = <&cdsp_vdd 0 0>; |
| 4469 | }; |
| 4470 | slpi_vdd_cdev { |
| 4471 | trip = <&cpug2_trip>; |
| 4472 | cooling-device = <&slpi_vdd 0 0>; |
| 4473 | }; |
Ram Chandrasekar | 3ec09c0 | 2017-06-27 11:03:15 -0600 | [diff] [blame] | 4474 | }; |
| 4475 | }; |
| 4476 | |
| 4477 | cpu3-gold-lowf { |
| 4478 | polling-delay-passive = <0>; |
| 4479 | polling-delay = <0>; |
| 4480 | thermal-governor = "low_limits_floor"; |
| 4481 | thermal-sensors = <&tsens0 10>; |
| 4482 | tracks-low; |
| 4483 | trips { |
| 4484 | cpug3_trip: cpug3-trip { |
| 4485 | temperature = <5000>; |
| 4486 | hysteresis = <5000>; |
| 4487 | type = "passive"; |
| 4488 | }; |
| 4489 | }; |
| 4490 | cooling-maps { |
| 4491 | cpu0_vdd_cdev { |
| 4492 | trip = <&cpug3_trip>; |
| 4493 | cooling-device = <&CPU0 4 4>; |
| 4494 | }; |
| 4495 | cpu4_vdd_cdev { |
| 4496 | trip = <&cpug3_trip>; |
| 4497 | cooling-device = <&CPU4 9 9>; |
| 4498 | }; |
| 4499 | gpu_vdd_cdev { |
| 4500 | trip = <&cpug3_trip>; |
| 4501 | cooling-device = <&msm_gpu 1 1>; |
| 4502 | }; |
| 4503 | cx_vdd_cdev { |
| 4504 | trip = <&cpug3_trip>; |
| 4505 | cooling-device = <&cx_cdev 0 0>; |
| 4506 | }; |
| 4507 | mx_vdd_cdev { |
| 4508 | trip = <&cpug3_trip>; |
| 4509 | cooling-device = <&mx_cdev 0 0>; |
| 4510 | }; |
| 4511 | ebi_vdd_cdev { |
| 4512 | trip = <&cpug3_trip>; |
| 4513 | cooling-device = <&ebi_cdev 0 0>; |
| 4514 | }; |
Ram Chandrasekar | 56f60de | 2017-07-03 16:26:18 -0600 | [diff] [blame] | 4515 | modem_vdd_cdev { |
| 4516 | trip = <&cpug3_trip>; |
| 4517 | cooling-device = <&modem_vdd 0 0>; |
| 4518 | }; |
| 4519 | adsp_vdd_cdev { |
| 4520 | trip = <&cpug3_trip>; |
| 4521 | cooling-device = <&adsp_vdd 0 0>; |
| 4522 | }; |
| 4523 | cdsp_vdd_cdev { |
| 4524 | trip = <&cpug3_trip>; |
| 4525 | cooling-device = <&cdsp_vdd 0 0>; |
| 4526 | }; |
| 4527 | slpi_vdd_cdev { |
| 4528 | trip = <&cpug3_trip>; |
| 4529 | cooling-device = <&slpi_vdd 0 0>; |
| 4530 | }; |
Ram Chandrasekar | 3ec09c0 | 2017-06-27 11:03:15 -0600 | [diff] [blame] | 4531 | }; |
| 4532 | }; |
| 4533 | |
| 4534 | gpu0-lowf { |
| 4535 | polling-delay-passive = <0>; |
| 4536 | polling-delay = <0>; |
| 4537 | thermal-governor = "low_limits_floor"; |
| 4538 | thermal-sensors = <&tsens0 11>; |
| 4539 | tracks-low; |
| 4540 | trips { |
| 4541 | gpu0_trip_l: gpu0-trip { |
| 4542 | temperature = <5000>; |
| 4543 | hysteresis = <5000>; |
| 4544 | type = "passive"; |
| 4545 | }; |
| 4546 | }; |
| 4547 | cooling-maps { |
| 4548 | cpu0_vdd_cdev { |
| 4549 | trip = <&gpu0_trip_l>; |
| 4550 | cooling-device = <&CPU0 4 4>; |
| 4551 | }; |
| 4552 | cpu4_vdd_cdev { |
| 4553 | trip = <&gpu0_trip_l>; |
| 4554 | cooling-device = <&CPU4 9 9>; |
| 4555 | }; |
| 4556 | gpu_vdd_cdev { |
| 4557 | trip = <&gpu0_trip_l>; |
| 4558 | cooling-device = <&msm_gpu 1 1>; |
| 4559 | }; |
| 4560 | cx_vdd_cdev { |
| 4561 | trip = <&gpu0_trip_l>; |
| 4562 | cooling-device = <&cx_cdev 0 0>; |
| 4563 | }; |
| 4564 | mx_vdd_cdev { |
| 4565 | trip = <&gpu0_trip_l>; |
| 4566 | cooling-device = <&mx_cdev 0 0>; |
| 4567 | }; |
| 4568 | ebi_vdd_cdev { |
| 4569 | trip = <&gpu0_trip_l>; |
| 4570 | cooling-device = <&ebi_cdev 0 0>; |
| 4571 | }; |
Ram Chandrasekar | 56f60de | 2017-07-03 16:26:18 -0600 | [diff] [blame] | 4572 | modem_vdd_cdev { |
| 4573 | trip = <&gpu0_trip_l>; |
| 4574 | cooling-device = <&modem_vdd 0 0>; |
| 4575 | }; |
| 4576 | adsp_vdd_cdev { |
| 4577 | trip = <&gpu0_trip_l>; |
| 4578 | cooling-device = <&adsp_vdd 0 0>; |
| 4579 | }; |
| 4580 | cdsp_vdd_cdev { |
| 4581 | trip = <&gpu0_trip_l>; |
| 4582 | cooling-device = <&cdsp_vdd 0 0>; |
| 4583 | }; |
| 4584 | slpi_vdd_cdev { |
| 4585 | trip = <&gpu0_trip_l>; |
| 4586 | cooling-device = <&slpi_vdd 0 0>; |
| 4587 | }; |
Ram Chandrasekar | 3ec09c0 | 2017-06-27 11:03:15 -0600 | [diff] [blame] | 4588 | }; |
| 4589 | }; |
| 4590 | |
| 4591 | gpu1-lowf { |
| 4592 | polling-delay-passive = <0>; |
| 4593 | polling-delay = <0>; |
| 4594 | thermal-governor = "low_limits_floor"; |
| 4595 | thermal-sensors = <&tsens0 12>; |
| 4596 | tracks-low; |
| 4597 | trips { |
| 4598 | gpu1_trip_l: gpu1-trip_l { |
| 4599 | temperature = <5000>; |
| 4600 | hysteresis = <5000>; |
| 4601 | type = "passive"; |
| 4602 | }; |
| 4603 | }; |
| 4604 | cooling-maps { |
| 4605 | cpu0_vdd_cdev { |
| 4606 | trip = <&gpu1_trip_l>; |
| 4607 | cooling-device = <&CPU0 4 4>; |
| 4608 | }; |
| 4609 | cpu4_vdd_cdev { |
| 4610 | trip = <&gpu1_trip_l>; |
| 4611 | cooling-device = <&CPU4 9 9>; |
| 4612 | }; |
| 4613 | gpu_vdd_cdev { |
| 4614 | trip = <&gpu1_trip_l>; |
| 4615 | cooling-device = <&msm_gpu 1 1>; |
| 4616 | }; |
| 4617 | cx_vdd_cdev { |
| 4618 | trip = <&gpu1_trip_l>; |
| 4619 | cooling-device = <&cx_cdev 0 0>; |
| 4620 | }; |
| 4621 | mx_vdd_cdev { |
| 4622 | trip = <&gpu1_trip_l>; |
| 4623 | cooling-device = <&mx_cdev 0 0>; |
| 4624 | }; |
| 4625 | ebi_vdd_cdev { |
| 4626 | trip = <&gpu1_trip_l>; |
| 4627 | cooling-device = <&ebi_cdev 0 0>; |
| 4628 | }; |
Ram Chandrasekar | 56f60de | 2017-07-03 16:26:18 -0600 | [diff] [blame] | 4629 | modem_vdd_cdev { |
| 4630 | trip = <&gpu1_trip_l>; |
| 4631 | cooling-device = <&modem_vdd 0 0>; |
| 4632 | }; |
| 4633 | adsp_vdd_cdev { |
| 4634 | trip = <&gpu1_trip_l>; |
| 4635 | cooling-device = <&adsp_vdd 0 0>; |
| 4636 | }; |
| 4637 | cdsp_vdd_cdev { |
| 4638 | trip = <&gpu1_trip_l>; |
| 4639 | cooling-device = <&cdsp_vdd 0 0>; |
| 4640 | }; |
| 4641 | slpi_vdd_cdev { |
| 4642 | trip = <&gpu1_trip_l>; |
| 4643 | cooling-device = <&slpi_vdd 0 0>; |
| 4644 | }; |
Ram Chandrasekar | 3ec09c0 | 2017-06-27 11:03:15 -0600 | [diff] [blame] | 4645 | }; |
| 4646 | }; |
| 4647 | |
| 4648 | aoss1-lowf { |
| 4649 | polling-delay-passive = <0>; |
| 4650 | polling-delay = <0>; |
| 4651 | thermal-governor = "low_limits_floor"; |
| 4652 | thermal-sensors = <&tsens1 0>; |
| 4653 | tracks-low; |
| 4654 | trips { |
| 4655 | aoss1_trip: aoss1-trip { |
| 4656 | temperature = <5000>; |
| 4657 | hysteresis = <5000>; |
| 4658 | type = "passive"; |
| 4659 | }; |
| 4660 | }; |
| 4661 | cooling-maps { |
| 4662 | cpu0_vdd_cdev { |
| 4663 | trip = <&aoss1_trip>; |
| 4664 | cooling-device = <&CPU0 4 4>; |
| 4665 | }; |
| 4666 | cpu4_vdd_cdev { |
| 4667 | trip = <&aoss1_trip>; |
| 4668 | cooling-device = <&CPU4 9 9>; |
| 4669 | }; |
| 4670 | gpu_vdd_cdev { |
| 4671 | trip = <&aoss1_trip>; |
| 4672 | cooling-device = <&msm_gpu 1 1>; |
| 4673 | }; |
| 4674 | cx_vdd_cdev { |
| 4675 | trip = <&aoss1_trip>; |
| 4676 | cooling-device = <&cx_cdev 0 0>; |
| 4677 | }; |
| 4678 | mx_vdd_cdev { |
| 4679 | trip = <&aoss1_trip>; |
| 4680 | cooling-device = <&mx_cdev 0 0>; |
| 4681 | }; |
| 4682 | ebi_vdd_cdev { |
| 4683 | trip = <&aoss1_trip>; |
| 4684 | cooling-device = <&ebi_cdev 0 0>; |
| 4685 | }; |
Ram Chandrasekar | 56f60de | 2017-07-03 16:26:18 -0600 | [diff] [blame] | 4686 | modem_vdd_cdev { |
| 4687 | trip = <&aoss1_trip>; |
| 4688 | cooling-device = <&modem_vdd 0 0>; |
| 4689 | }; |
| 4690 | adsp_vdd_cdev { |
| 4691 | trip = <&aoss1_trip>; |
| 4692 | cooling-device = <&adsp_vdd 0 0>; |
| 4693 | }; |
| 4694 | cdsp_vdd_cdev { |
| 4695 | trip = <&aoss1_trip>; |
| 4696 | cooling-device = <&cdsp_vdd 0 0>; |
| 4697 | }; |
| 4698 | slpi_vdd_cdev { |
| 4699 | trip = <&aoss1_trip>; |
| 4700 | cooling-device = <&slpi_vdd 0 0>; |
| 4701 | }; |
Ram Chandrasekar | 3ec09c0 | 2017-06-27 11:03:15 -0600 | [diff] [blame] | 4702 | }; |
| 4703 | }; |
| 4704 | |
| 4705 | mdm-dsp-lowf { |
| 4706 | polling-delay-passive = <0>; |
| 4707 | polling-delay = <0>; |
| 4708 | thermal-governor = "low_limits_floor"; |
| 4709 | thermal-sensors = <&tsens1 1>; |
| 4710 | tracks-low; |
| 4711 | trips { |
| 4712 | dsp_trip: dsp-trip { |
| 4713 | temperature = <5000>; |
| 4714 | hysteresis = <5000>; |
| 4715 | type = "passive"; |
| 4716 | }; |
| 4717 | }; |
| 4718 | cooling-maps { |
| 4719 | cpu0_vdd_cdev { |
| 4720 | trip = <&dsp_trip>; |
| 4721 | cooling-device = <&CPU0 4 4>; |
| 4722 | }; |
| 4723 | cpu4_vdd_cdev { |
| 4724 | trip = <&dsp_trip>; |
| 4725 | cooling-device = <&CPU4 9 9>; |
| 4726 | }; |
| 4727 | gpu_vdd_cdev { |
| 4728 | trip = <&dsp_trip>; |
| 4729 | cooling-device = <&msm_gpu 1 1>; |
| 4730 | }; |
| 4731 | cx_vdd_cdev { |
| 4732 | trip = <&dsp_trip>; |
| 4733 | cooling-device = <&cx_cdev 0 0>; |
| 4734 | }; |
| 4735 | mx_vdd_cdev { |
| 4736 | trip = <&dsp_trip>; |
| 4737 | cooling-device = <&mx_cdev 0 0>; |
| 4738 | }; |
| 4739 | ebi_vdd_cdev { |
| 4740 | trip = <&dsp_trip>; |
| 4741 | cooling-device = <&ebi_cdev 0 0>; |
| 4742 | }; |
Ram Chandrasekar | 56f60de | 2017-07-03 16:26:18 -0600 | [diff] [blame] | 4743 | modem_vdd_cdev { |
| 4744 | trip = <&dsp_trip>; |
| 4745 | cooling-device = <&modem_vdd 0 0>; |
| 4746 | }; |
| 4747 | adsp_vdd_cdev { |
| 4748 | trip = <&dsp_trip>; |
| 4749 | cooling-device = <&adsp_vdd 0 0>; |
| 4750 | }; |
| 4751 | cdsp_vdd_cdev { |
| 4752 | trip = <&dsp_trip>; |
| 4753 | cooling-device = <&cdsp_vdd 0 0>; |
| 4754 | }; |
| 4755 | slpi_vdd_cdev { |
| 4756 | trip = <&dsp_trip>; |
| 4757 | cooling-device = <&slpi_vdd 0 0>; |
| 4758 | }; |
Ram Chandrasekar | 3ec09c0 | 2017-06-27 11:03:15 -0600 | [diff] [blame] | 4759 | }; |
| 4760 | }; |
| 4761 | |
| 4762 | ddr-lowf { |
| 4763 | polling-delay-passive = <0>; |
| 4764 | polling-delay = <0>; |
| 4765 | thermal-governor = "low_limits_floor"; |
| 4766 | thermal-sensors = <&tsens1 2>; |
| 4767 | tracks-low; |
| 4768 | trips { |
| 4769 | ddr_trip: ddr-trip { |
| 4770 | temperature = <5000>; |
| 4771 | hysteresis = <5000>; |
| 4772 | type = "passive"; |
| 4773 | }; |
| 4774 | }; |
| 4775 | cooling-maps { |
| 4776 | cpu0_vdd_cdev { |
| 4777 | trip = <&ddr_trip>; |
| 4778 | cooling-device = <&CPU0 4 4>; |
| 4779 | }; |
| 4780 | cpu4_vdd_cdev { |
| 4781 | trip = <&ddr_trip>; |
| 4782 | cooling-device = <&CPU4 9 9>; |
| 4783 | }; |
| 4784 | gpu_vdd_cdev { |
| 4785 | trip = <&ddr_trip>; |
| 4786 | cooling-device = <&msm_gpu 1 1>; |
| 4787 | }; |
| 4788 | cx_vdd_cdev { |
| 4789 | trip = <&ddr_trip>; |
| 4790 | cooling-device = <&cx_cdev 0 0>; |
| 4791 | }; |
| 4792 | mx_vdd_cdev { |
| 4793 | trip = <&ddr_trip>; |
| 4794 | cooling-device = <&mx_cdev 0 0>; |
| 4795 | }; |
| 4796 | ebi_vdd_cdev { |
| 4797 | trip = <&ddr_trip>; |
| 4798 | cooling-device = <&ebi_cdev 0 0>; |
| 4799 | }; |
Ram Chandrasekar | 56f60de | 2017-07-03 16:26:18 -0600 | [diff] [blame] | 4800 | modem_vdd_cdev { |
| 4801 | trip = <&ddr_trip>; |
| 4802 | cooling-device = <&modem_vdd 0 0>; |
| 4803 | }; |
| 4804 | adsp_vdd_cdev { |
| 4805 | trip = <&ddr_trip>; |
| 4806 | cooling-device = <&adsp_vdd 0 0>; |
| 4807 | }; |
| 4808 | cdsp_vdd_cdev { |
| 4809 | trip = <&ddr_trip>; |
| 4810 | cooling-device = <&cdsp_vdd 0 0>; |
| 4811 | }; |
| 4812 | slpi_vdd_cdev { |
| 4813 | trip = <&ddr_trip>; |
| 4814 | cooling-device = <&slpi_vdd 0 0>; |
| 4815 | }; |
Ram Chandrasekar | 3ec09c0 | 2017-06-27 11:03:15 -0600 | [diff] [blame] | 4816 | }; |
| 4817 | }; |
| 4818 | |
| 4819 | wlan-lowf { |
| 4820 | polling-delay-passive = <0>; |
| 4821 | polling-delay = <0>; |
| 4822 | thermal-governor = "low_limits_floor"; |
| 4823 | thermal-sensors = <&tsens1 3>; |
| 4824 | tracks-low; |
| 4825 | trips { |
| 4826 | wlan_trip: wlan-trip { |
| 4827 | temperature = <5000>; |
| 4828 | hysteresis = <5000>; |
| 4829 | type = "passive"; |
| 4830 | }; |
| 4831 | }; |
| 4832 | cooling-maps { |
| 4833 | cpu0_vdd_cdev { |
| 4834 | trip = <&wlan_trip>; |
| 4835 | cooling-device = <&CPU0 4 4>; |
| 4836 | }; |
| 4837 | cpu4_vdd_cdev { |
| 4838 | trip = <&wlan_trip>; |
| 4839 | cooling-device = <&CPU4 9 9>; |
| 4840 | }; |
| 4841 | gpu_vdd_cdev { |
| 4842 | trip = <&wlan_trip>; |
| 4843 | cooling-device = <&msm_gpu 1 1>; |
| 4844 | }; |
| 4845 | cx_vdd_cdev { |
| 4846 | trip = <&wlan_trip>; |
| 4847 | cooling-device = <&cx_cdev 0 0>; |
| 4848 | }; |
| 4849 | mx_vdd_cdev { |
| 4850 | trip = <&wlan_trip>; |
| 4851 | cooling-device = <&mx_cdev 0 0>; |
| 4852 | }; |
| 4853 | ebi_vdd_cdev { |
| 4854 | trip = <&wlan_trip>; |
| 4855 | cooling-device = <&ebi_cdev 0 0>; |
| 4856 | }; |
Ram Chandrasekar | 56f60de | 2017-07-03 16:26:18 -0600 | [diff] [blame] | 4857 | modem_vdd_cdev { |
| 4858 | trip = <&wlan_trip>; |
| 4859 | cooling-device = <&modem_vdd 0 0>; |
| 4860 | }; |
| 4861 | adsp_vdd_cdev { |
| 4862 | trip = <&wlan_trip>; |
| 4863 | cooling-device = <&adsp_vdd 0 0>; |
| 4864 | }; |
| 4865 | cdsp_vdd_cdev { |
| 4866 | trip = <&wlan_trip>; |
| 4867 | cooling-device = <&cdsp_vdd 0 0>; |
| 4868 | }; |
| 4869 | slpi_vdd_cdev { |
| 4870 | trip = <&wlan_trip>; |
| 4871 | cooling-device = <&slpi_vdd 0 0>; |
| 4872 | }; |
Ram Chandrasekar | 3ec09c0 | 2017-06-27 11:03:15 -0600 | [diff] [blame] | 4873 | }; |
| 4874 | }; |
| 4875 | |
| 4876 | compute-hvx-lowf { |
| 4877 | polling-delay-passive = <0>; |
| 4878 | polling-delay = <0>; |
| 4879 | thermal-governor = "low_limits_floor"; |
| 4880 | thermal-sensors = <&tsens1 4>; |
| 4881 | tracks-low; |
| 4882 | trips { |
| 4883 | hvx_trip: hvx-trip { |
| 4884 | temperature = <5000>; |
| 4885 | hysteresis = <5000>; |
| 4886 | type = "passive"; |
| 4887 | }; |
| 4888 | }; |
| 4889 | cooling-maps { |
| 4890 | cpu0_vdd_cdev { |
| 4891 | trip = <&hvx_trip>; |
| 4892 | cooling-device = <&CPU0 4 4>; |
| 4893 | }; |
| 4894 | cpu4_vdd_cdev { |
| 4895 | trip = <&hvx_trip>; |
| 4896 | cooling-device = <&CPU4 9 9>; |
| 4897 | }; |
| 4898 | gpu_vdd_cdev { |
| 4899 | trip = <&hvx_trip>; |
| 4900 | cooling-device = <&msm_gpu 1 1>; |
| 4901 | }; |
| 4902 | cx_vdd_cdev { |
| 4903 | trip = <&hvx_trip>; |
| 4904 | cooling-device = <&cx_cdev 0 0>; |
| 4905 | }; |
| 4906 | mx_vdd_cdev { |
| 4907 | trip = <&hvx_trip>; |
| 4908 | cooling-device = <&mx_cdev 0 0>; |
| 4909 | }; |
| 4910 | ebi_vdd_cdev { |
| 4911 | trip = <&hvx_trip>; |
| 4912 | cooling-device = <&ebi_cdev 0 0>; |
| 4913 | }; |
Ram Chandrasekar | 56f60de | 2017-07-03 16:26:18 -0600 | [diff] [blame] | 4914 | modem_vdd_cdev { |
| 4915 | trip = <&hvx_trip>; |
| 4916 | cooling-device = <&modem_vdd 0 0>; |
| 4917 | }; |
| 4918 | adsp_vdd_cdev { |
| 4919 | trip = <&hvx_trip>; |
| 4920 | cooling-device = <&adsp_vdd 0 0>; |
| 4921 | }; |
| 4922 | cdsp_vdd_cdev { |
| 4923 | trip = <&hvx_trip>; |
| 4924 | cooling-device = <&cdsp_vdd 0 0>; |
| 4925 | }; |
| 4926 | slpi_vdd_cdev { |
| 4927 | trip = <&hvx_trip>; |
| 4928 | cooling-device = <&slpi_vdd 0 0>; |
| 4929 | }; |
Ram Chandrasekar | 3ec09c0 | 2017-06-27 11:03:15 -0600 | [diff] [blame] | 4930 | }; |
| 4931 | }; |
| 4932 | |
| 4933 | camera-lowf { |
| 4934 | polling-delay-passive = <0>; |
| 4935 | polling-delay = <0>; |
| 4936 | thermal-governor = "low_limits_floor"; |
| 4937 | thermal-sensors = <&tsens1 5>; |
| 4938 | tracks-low; |
| 4939 | trips { |
| 4940 | camera_trip: camera-trip { |
| 4941 | temperature = <5000>; |
| 4942 | hysteresis = <5000>; |
| 4943 | type = "passive"; |
| 4944 | }; |
| 4945 | }; |
| 4946 | cooling-maps { |
| 4947 | cpu0_vdd_cdev { |
| 4948 | trip = <&camera_trip>; |
| 4949 | cooling-device = <&CPU0 4 4>; |
| 4950 | }; |
| 4951 | cpu4_vdd_cdev { |
| 4952 | trip = <&camera_trip>; |
| 4953 | cooling-device = <&CPU4 9 9>; |
| 4954 | }; |
| 4955 | gpu_vdd_cdev { |
| 4956 | trip = <&camera_trip>; |
| 4957 | cooling-device = <&msm_gpu 1 1>; |
| 4958 | }; |
| 4959 | cx_vdd_cdev { |
| 4960 | trip = <&camera_trip>; |
| 4961 | cooling-device = <&cx_cdev 0 0>; |
| 4962 | }; |
| 4963 | mx_vdd_cdev { |
| 4964 | trip = <&camera_trip>; |
| 4965 | cooling-device = <&mx_cdev 0 0>; |
| 4966 | }; |
| 4967 | ebi_vdd_cdev { |
| 4968 | trip = <&camera_trip>; |
| 4969 | cooling-device = <&ebi_cdev 0 0>; |
| 4970 | }; |
Ram Chandrasekar | 56f60de | 2017-07-03 16:26:18 -0600 | [diff] [blame] | 4971 | modem_vdd_cdev { |
| 4972 | trip = <&camera_trip>; |
| 4973 | cooling-device = <&modem_vdd 0 0>; |
| 4974 | }; |
| 4975 | adsp_vdd_cdev { |
| 4976 | trip = <&camera_trip>; |
| 4977 | cooling-device = <&adsp_vdd 0 0>; |
| 4978 | }; |
| 4979 | cdsp_vdd_cdev { |
| 4980 | trip = <&camera_trip>; |
| 4981 | cooling-device = <&cdsp_vdd 0 0>; |
| 4982 | }; |
| 4983 | slpi_vdd_cdev { |
| 4984 | trip = <&camera_trip>; |
| 4985 | cooling-device = <&slpi_vdd 0 0>; |
| 4986 | }; |
Ram Chandrasekar | 3ec09c0 | 2017-06-27 11:03:15 -0600 | [diff] [blame] | 4987 | }; |
| 4988 | }; |
| 4989 | |
| 4990 | mmss-lowf { |
| 4991 | polling-delay-passive = <0>; |
| 4992 | polling-delay = <0>; |
| 4993 | thermal-governor = "low_limits_floor"; |
| 4994 | thermal-sensors = <&tsens1 6>; |
| 4995 | tracks-low; |
| 4996 | trips { |
| 4997 | mmss_trip: mmss-trip { |
| 4998 | temperature = <5000>; |
| 4999 | hysteresis = <5000>; |
| 5000 | type = "passive"; |
| 5001 | }; |
| 5002 | }; |
| 5003 | cooling-maps { |
| 5004 | cpu0_vdd_cdev { |
| 5005 | trip = <&mmss_trip>; |
| 5006 | cooling-device = <&CPU0 4 4>; |
| 5007 | }; |
| 5008 | cpu4_vdd_cdev { |
| 5009 | trip = <&mmss_trip>; |
| 5010 | cooling-device = <&CPU4 9 9>; |
| 5011 | }; |
| 5012 | gpu_vdd_cdev { |
| 5013 | trip = <&mmss_trip>; |
| 5014 | cooling-device = <&msm_gpu 1 1>; |
| 5015 | }; |
| 5016 | cx_vdd_cdev { |
| 5017 | trip = <&mmss_trip>; |
| 5018 | cooling-device = <&cx_cdev 0 0>; |
| 5019 | }; |
| 5020 | mx_vdd_cdev { |
| 5021 | trip = <&mmss_trip>; |
| 5022 | cooling-device = <&mx_cdev 0 0>; |
| 5023 | }; |
| 5024 | ebi_vdd_cdev { |
| 5025 | trip = <&mmss_trip>; |
| 5026 | cooling-device = <&ebi_cdev 0 0>; |
| 5027 | }; |
Ram Chandrasekar | 56f60de | 2017-07-03 16:26:18 -0600 | [diff] [blame] | 5028 | modem_vdd_cdev { |
| 5029 | trip = <&mmss_trip>; |
| 5030 | cooling-device = <&modem_vdd 0 0>; |
| 5031 | }; |
| 5032 | adsp_vdd_cdev { |
| 5033 | trip = <&mmss_trip>; |
| 5034 | cooling-device = <&adsp_vdd 0 0>; |
| 5035 | }; |
| 5036 | cdsp_vdd_cdev { |
| 5037 | trip = <&mmss_trip>; |
| 5038 | cooling-device = <&cdsp_vdd 0 0>; |
| 5039 | }; |
| 5040 | slpi_vdd_cdev { |
| 5041 | trip = <&mmss_trip>; |
| 5042 | cooling-device = <&slpi_vdd 0 0>; |
| 5043 | }; |
Ram Chandrasekar | 3ec09c0 | 2017-06-27 11:03:15 -0600 | [diff] [blame] | 5044 | }; |
| 5045 | }; |
| 5046 | |
| 5047 | mdm-core-lowf { |
| 5048 | polling-delay-passive = <0>; |
| 5049 | polling-delay = <0>; |
| 5050 | thermal-governor = "low_limits_floor"; |
| 5051 | thermal-sensors = <&tsens1 7>; |
| 5052 | tracks-low; |
| 5053 | trips { |
| 5054 | mdm_trip: mdm-trip { |
| 5055 | temperature = <5000>; |
| 5056 | hysteresis = <5000>; |
| 5057 | type = "passive"; |
| 5058 | }; |
| 5059 | }; |
| 5060 | cooling-maps { |
| 5061 | cpu0_vdd_cdev { |
| 5062 | trip = <&mdm_trip>; |
| 5063 | cooling-device = <&CPU0 4 4>; |
| 5064 | }; |
| 5065 | cpu4_vdd_cdev { |
| 5066 | trip = <&mdm_trip>; |
| 5067 | cooling-device = <&CPU4 9 9>; |
| 5068 | }; |
| 5069 | gpu_vdd_cdev { |
| 5070 | trip = <&mdm_trip>; |
| 5071 | cooling-device = <&msm_gpu 1 1>; |
| 5072 | }; |
| 5073 | cx_vdd_cdev { |
| 5074 | trip = <&mdm_trip>; |
| 5075 | cooling-device = <&cx_cdev 0 0>; |
| 5076 | }; |
| 5077 | mx_vdd_cdev { |
| 5078 | trip = <&mdm_trip>; |
| 5079 | cooling-device = <&mx_cdev 0 0>; |
| 5080 | }; |
| 5081 | ebi_vdd_cdev { |
| 5082 | trip = <&mdm_trip>; |
| 5083 | cooling-device = <&ebi_cdev 0 0>; |
| 5084 | }; |
Ram Chandrasekar | 56f60de | 2017-07-03 16:26:18 -0600 | [diff] [blame] | 5085 | modem_vdd_cdev { |
| 5086 | trip = <&mdm_trip>; |
| 5087 | cooling-device = <&modem_vdd 0 0>; |
| 5088 | }; |
| 5089 | adsp_vdd_cdev { |
| 5090 | trip = <&mdm_trip>; |
| 5091 | cooling-device = <&adsp_vdd 0 0>; |
| 5092 | }; |
| 5093 | cdsp_vdd_cdev { |
| 5094 | trip = <&mdm_trip>; |
| 5095 | cooling-device = <&cdsp_vdd 0 0>; |
| 5096 | }; |
| 5097 | slpi_vdd_cdev { |
| 5098 | trip = <&mdm_trip>; |
| 5099 | cooling-device = <&slpi_vdd 0 0>; |
| 5100 | }; |
Ram Chandrasekar | 3ec09c0 | 2017-06-27 11:03:15 -0600 | [diff] [blame] | 5101 | }; |
| 5102 | }; |
| 5103 | }; |