1// SPDX-License-Identifier: BSD-3-Clause 2/* 3 * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. 4 */ 5 6/* Mahua is heavily based on Glymur, with some meaningful differences */ 7#include "glymur.dtsi" 8 9/delete-node/ &bwmon_cluster2; 10/delete-node/ &cluster2_pd; 11/delete-node/ &cpu_map_cluster2; 12/delete-node/ &cpu12; 13/delete-node/ &cpu13; 14/delete-node/ &cpu14; 15/delete-node/ &cpu15; 16/delete-node/ &cpu16; 17/delete-node/ &cpu17; 18/delete-node/ &cpu_pd12; 19/delete-node/ &cpu_pd13; 20/delete-node/ &cpu_pd14; 21/delete-node/ &cpu_pd15; 22/delete-node/ &cpu_pd16; 23/delete-node/ &cpu_pd17; 24/delete-node/ &thermal_aoss_6; 25/delete-node/ &thermal_aoss_7; 26/delete-node/ &thermal_cpu_2_0_0; 27/delete-node/ &thermal_cpu_2_0_1; 28/delete-node/ &thermal_cpu_2_1_0; 29/delete-node/ &thermal_cpu_2_1_1; 30/delete-node/ &thermal_cpu_2_2_0; 31/delete-node/ &thermal_cpu_2_2_1; 32/delete-node/ &thermal_cpu_2_3_0; 33/delete-node/ &thermal_cpu_2_3_1; 34/delete-node/ &thermal_cpu_2_4_0; 35/delete-node/ &thermal_cpu_2_4_1; 36/delete-node/ &thermal_cpu_2_5_0; 37/delete-node/ &thermal_cpu_2_5_1; 38/delete-node/ &thermal_cpuillc_2_1; 39/delete-node/ &thermal_cpullc_2_0; 40/delete-node/ &thermal_ddr_2; 41/delete-node/ &thermal_gpu_3_0; 42/delete-node/ &thermal_gpu_3_1; 43/delete-node/ &thermal_gpu_3_2; 44/delete-node/ &thermal_qmx_2_0; 45/delete-node/ &thermal_qmx_2_1; 46/delete-node/ &thermal_qmx_2_2; 47/delete-node/ &thermal_qmx_2_3; 48/delete-node/ &thermal_qmx_2_4; 49/delete-node/ &thermal_video_1; 50/delete-node/ &tsens6; 51/delete-node/ &tsens7; 52 53&aggre1_noc { 54 compatible = "qcom,mahua-aggre1-noc", "qcom,glymur-aggre1-noc"; 55}; 56 57&aggre2_noc { 58 compatible = "qcom,mahua-aggre2-noc", "qcom,glymur-aggre2-noc"; 59}; 60 61&aggre3_noc { 62 compatible = "qcom,mahua-aggre3-noc", "qcom,glymur-aggre3-noc"; 63}; 64 65&aggre4_noc { 66 compatible = "qcom,mahua-aggre4-noc", "qcom,glymur-aggre4-noc"; 67}; 68 69&clk_virt { 70 compatible = "qcom,mahua-clk-virt", "qcom,glymur-clk-virt"; 71}; 72 73&cnoc_main { 74 compatible = "qcom,mahua-cnoc-main", "qcom,glymur-cnoc-main"; 75}; 76 77&config_noc { 78 compatible = "qcom,mahua-cnoc-cfg"; 79}; 80 81&hsc_noc { 82 compatible = "qcom,mahua-hscnoc"; 83}; 84 85&lpass_ag_noc { 86 compatible = "qcom,mahua-lpass-ag-noc", "qcom,glymur-lpass-ag-noc"; 87}; 88 89&lpass_lpiaon_noc { 90 compatible = "qcom,mahua-lpass-lpiaon-noc", "qcom,glymur-lpass-lpiaon-noc"; 91}; 92 93&lpass_lpicx_noc { 94 compatible = "qcom,mahua-lpass-lpicx-noc", "qcom,glymur-lpass-lpicx-noc"; 95}; 96 97&mc_virt { 98 compatible = "qcom,mahua-mc-virt"; 99}; 100 101&mmss_noc { 102 compatible = "qcom,mahua-mmss-noc", "qcom,glymur-mmss-noc"; 103}; 104 105&nsi_noc { 106 compatible = "qcom,mahua-nsinoc", "qcom,glymur-nsinoc"; 107}; 108 109&nsp_noc { 110 compatible = "qcom,mahua-nsp-noc", "qcom,glymur-nsp-noc"; 111}; 112 113&oobm_ss_noc { 114 compatible = "qcom,mahua-oobm-ss-noc", "qcom,glymur-oobm-ss-noc"; 115}; 116 117&pcie_east_anoc { 118 compatible = "qcom,mahua-pcie-east-anoc", "qcom,glymur-pcie-east-anoc"; 119}; 120 121&pcie_east_slv_noc { 122 compatible = "qcom,mahua-pcie-east-slv-noc", "qcom,glymur-pcie-east-slv-noc"; 123}; 124 125&pcie_west_anoc { 126 compatible = "qcom,mahua-pcie-west-anoc"; 127 clocks = <&gcc GCC_AGGRE_NOC_PCIE_3B_WEST_SF_AXI_CLK>, 128 <&gcc GCC_AGGRE_NOC_PCIE_4_WEST_SF_AXI_CLK>, 129 <&gcc GCC_AGGRE_NOC_PCIE_6_WEST_SF_AXI_CLK>; 130}; 131 132&pcie_west_slv_noc { 133 compatible = "qcom,mahua-pcie-west-slv-noc"; 134}; 135 136&system_noc { 137 compatible = "qcom,mahua-system-noc", "qcom,glymur-system-noc"; 138}; 139 140&thermal_camera_0 { 141 thermal-sensors = <&tsens4 9>; 142}; 143 144&thermal_camera_1 { 145 thermal-sensors = <&tsens4 10>; 146}; 147 148&thermal_ddr_1 { 149 thermal-sensors = <&tsens1 7>; 150}; 151 152&thermal_gpu_0_0 { 153 thermal-sensors = <&tsens5 1>; 154}; 155 156&thermal_gpu_0_1 { 157 thermal-sensors = <&tsens5 2>; 158}; 159 160&thermal_gpu_0_2 { 161 thermal-sensors = <&tsens5 3>; 162}; 163 164&thermal_gpu_1_0 { 165 thermal-sensors = <&tsens5 4>; 166}; 167 168&thermal_gpu_1_1 { 169 thermal-sensors = <&tsens5 5>; 170}; 171 172&thermal_gpu_1_2 { 173 thermal-sensors = <&tsens5 6>; 174}; 175 176&thermal_gpu_2_0 { 177 thermal-sensors = <&tsens5 7>; 178}; 179 180&thermal_gpu_2_1 { 181 thermal-sensors = <&tsens5 8>; 182}; 183 184&thermal_gpu_2_2 { 185 thermal-sensors = <&tsens5 9>; 186}; 187 188&thermal_gpuss_0 { 189 thermal-sensors = <&tsens5 10>; 190}; 191 192&thermal_gpuss_1 { 193 thermal-sensors = <&tsens5 11>; 194}; 195 196&thermal_nsphmx_0 { 197 thermal-sensors = <&tsens4 5>; 198}; 199 200&thermal_nsphmx_1 { 201 thermal-sensors = <&tsens4 6>; 202}; 203 204&thermal_nsphmx_2 { 205 thermal-sensors = <&tsens4 7>; 206}; 207 208&thermal_nsphmx_3 { 209 thermal-sensors = <&tsens4 8>; 210}; 211 212&thermal_nsphvx_0 { 213 thermal-sensors = <&tsens4 1>; 214}; 215 216&thermal_nsphvx_1 { 217 thermal-sensors = <&tsens4 2>; 218}; 219 220&thermal_nsphvx_2 { 221 thermal-sensors = <&tsens4 3>; 222}; 223 224&thermal_nsphvx_3 { 225 thermal-sensors = <&tsens4 4>; 226}; 227 228&thermal_video_0 { 229 thermal-sensors = <&tsens1 8>; 230}; 231 232&thermal_zones { 233 gpuss-2-thermal { 234 thermal-sensors = <&tsens5 12>; 235 236 trips { 237 trip-point0 { 238 temperature = <90000>; 239 hysteresis = <5000>; 240 type = "hot"; 241 }; 242 243 gpuss-2-critical { 244 temperature = <115000>; 245 hysteresis = <1000>; 246 type = "critical"; 247 }; 248 }; 249 }; 250 251 gpuss-3-thermal { 252 thermal-sensors = <&tsens5 13>; 253 254 trips { 255 trip-point0 { 256 temperature = <90000>; 257 hysteresis = <5000>; 258 type = "hot"; 259 }; 260 261 gpuss-3-critical { 262 temperature = <115000>; 263 hysteresis = <1000>; 264 type = "critical"; 265 }; 266 }; 267 }; 268 269 gpuss-4-thermal { 270 thermal-sensors = <&tsens5 14>; 271 272 trips { 273 trip-point0 { 274 temperature = <90000>; 275 hysteresis = <5000>; 276 type = "hot"; 277 }; 278 279 gpuss-4-critical { 280 temperature = <115000>; 281 hysteresis = <1000>; 282 type = "critical"; 283 }; 284 }; 285 }; 286}; 287 288&tlmm { 289 compatible = "qcom,mahua-tlmm"; 290}; 291 292&tsens4 { 293 #qcom,sensors = <11>; 294}; 295 296&tsens5 { 297 #qcom,sensors = <15>; 298}; 299 300