--- /dev/null
+// SPDX-License-Identifier: BSD-3-Clause
+/*
+ * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
+ */
+
+/* Mahua is heavily based on Glymur, with some meaningful differences */
+#include "glymur.dtsi"
+
+/delete-node/ &cluster2_pd;
+/delete-node/ &cpu_map_cluster2;
+/delete-node/ &cpu12;
+/delete-node/ &cpu13;
+/delete-node/ &cpu14;
+/delete-node/ &cpu15;
+/delete-node/ &cpu16;
+/delete-node/ &cpu17;
+/delete-node/ &cpu_pd12;
+/delete-node/ &cpu_pd13;
+/delete-node/ &cpu_pd14;
+/delete-node/ &cpu_pd15;
+/delete-node/ &cpu_pd16;
+/delete-node/ &cpu_pd17;
+/delete-node/ &tsens6;
+/delete-node/ &tsens7;
+
+&aggre1_noc {
+ compatible = "qcom,mahua-aggre1-noc", "qcom,glymur-aggre1-noc";
+};
+
+&aggre2_noc {
+ compatible = "qcom,mahua-aggre2-noc", "qcom,glymur-aggre2-noc";
+};
+
+&aggre3_noc {
+ compatible = "qcom,mahua-aggre3-noc", "qcom,glymur-aggre3-noc";
+};
+
+&aggre4_noc {
+ compatible = "qcom,mahua-aggre4-noc", "qcom,glymur-aggre4-noc";
+};
+
+&clk_virt {
+ compatible = "qcom,mahua-clk-virt", "qcom,glymur-clk-virt";
+};
+
+&cnoc_main {
+ compatible = "qcom,mahua-cnoc-main", "qcom,glymur-cnoc-main";
+};
+
+&config_noc {
+ compatible = "qcom,mahua-cnoc-cfg";
+};
+
+&hsc_noc {
+ compatible = "qcom,mahua-hscnoc";
+};
+
+&lpass_ag_noc {
+ compatible = "qcom,mahua-lpass-ag-noc", "qcom,glymur-lpass-ag-noc";
+};
+
+&lpass_lpiaon_noc {
+ compatible = "qcom,mahua-lpass-lpiaon-noc", "qcom,glymur-lpass-lpiaon-noc";
+};
+
+&lpass_lpicx_noc {
+ compatible = "qcom,mahua-lpass-lpicx-noc", "qcom,glymur-lpass-lpicx-noc";
+};
+
+&mc_virt {
+ compatible = "qcom,mahua-mc-virt";
+};
+
+&mmss_noc {
+ compatible = "qcom,mahua-mmss-noc", "qcom,glymur-mmss-noc";
+};
+
+&nsi_noc {
+ compatible = "qcom,mahua-nsinoc", "qcom,glymur-nsinoc";
+};
+
+&nsp_noc {
+ compatible = "qcom,mahua-nsp-noc", "qcom,glymur-nsp-noc";
+};
+
+&oobm_ss_noc {
+ compatible = "qcom,mahua-oobm-ss-noc", "qcom,glymur-oobm-ss-noc";
+};
+
+&pcie_east_anoc {
+ compatible = "qcom,mahua-pcie-east-anoc", "qcom,glymur-pcie-east-anoc";
+};
+
+&pcie_east_slv_noc {
+ compatible = "qcom,mahua-pcie-east-slv-noc", "qcom,glymur-pcie-east-slv-noc";
+};
+
+&pcie_west_anoc {
+ compatible = "qcom,mahua-pcie-west-anoc";
+ clocks = <&gcc GCC_AGGRE_NOC_PCIE_3B_WEST_SF_AXI_CLK>,
+ <&gcc GCC_AGGRE_NOC_PCIE_4_WEST_SF_AXI_CLK>,
+ <&gcc GCC_AGGRE_NOC_PCIE_6_WEST_SF_AXI_CLK>;
+};
+
+&pcie_west_slv_noc {
+ compatible = "qcom,mahua-pcie-west-slv-noc";
+};
+
+&system_noc {
+ compatible = "qcom,mahua-system-noc", "qcom,glymur-system-noc";
+};
+
+&tlmm {
+ compatible = "qcom,mahua-tlmm";
+};
+
+&thermal_zones {
+ /delete-node/ aoss-6-thermal;
+ /delete-node/ aoss-7-thermal;
+ /delete-node/ cpu-2-0-0-thermal;
+ /delete-node/ cpu-2-0-1-thermal;
+ /delete-node/ cpu-2-1-0-thermal;
+ /delete-node/ cpu-2-1-1-thermal;
+ /delete-node/ cpu-2-2-0-thermal;
+ /delete-node/ cpu-2-2-1-thermal;
+ /delete-node/ cpu-2-3-0-thermal;
+ /delete-node/ cpu-2-3-1-thermal;
+ /delete-node/ cpu-2-4-0-thermal;
+ /delete-node/ cpu-2-4-1-thermal;
+ /delete-node/ cpu-2-5-0-thermal;
+ /delete-node/ cpu-2-5-1-thermal;
+ /delete-node/ cpullc-2-0-thermal;
+ /delete-node/ cpuillc-2-1-thermal;
+ /delete-node/ ddr-2-thermal;
+ /delete-node/ gpu-3-0-thermal;
+ /delete-node/ gpu-3-1-thermal;
+ /delete-node/ gpu-3-2-thermal;
+ /delete-node/ qmx-2-0-thermal;
+ /delete-node/ qmx-2-1-thermal;
+ /delete-node/ qmx-2-2-thermal;
+ /delete-node/ qmx-2-3-thermal;
+ /delete-node/ qmx-2-4-thermal;
+ /delete-node/ video-1-thermal;
+
+ ddr-1-thermal {
+ thermal-sensors = <&tsens1 7>;
+ };
+
+ video-0-thermal {
+ thermal-sensors = <&tsens1 8>;
+ };
+
+ nsphvx-0-thermal {
+ thermal-sensors = <&tsens4 1>;
+ };
+
+ nsphvx-1-thermal {
+ thermal-sensors = <&tsens4 2>;
+ };
+
+ nsphvx-2-thermal {
+ thermal-sensors = <&tsens4 3>;
+ };
+
+ nsphvx-3-thermal {
+ thermal-sensors = <&tsens4 4>;
+ };
+
+ nsphmx-0-thermal {
+ thermal-sensors = <&tsens4 5>;
+ };
+
+ nsphmx-1-thermal {
+ thermal-sensors = <&tsens4 6>;
+ };
+
+ nsphmx-2-thermal {
+ thermal-sensors = <&tsens4 7>;
+ };
+
+ nsphmx-3-thermal {
+ thermal-sensors = <&tsens4 8>;
+ };
+
+ camera-0-thermal {
+ thermal-sensors = <&tsens4 9>;
+ };
+
+ camera-1-thermal {
+ thermal-sensors = <&tsens4 10>;
+ };
+
+ gpu-0-0-thermal {
+ thermal-sensors = <&tsens5 1>;
+ };
+
+ gpu-0-1-thermal {
+ thermal-sensors = <&tsens5 2>;
+ };
+
+ gpu-0-2-thermal {
+ thermal-sensors = <&tsens5 3>;
+ };
+
+ gpu-1-0-thermal {
+ thermal-sensors = <&tsens5 4>;
+ };
+
+ gpu-1-1-thermal {
+ thermal-sensors = <&tsens5 5>;
+ };
+
+ gpu-1-2-thermal {
+ thermal-sensors = <&tsens5 6>;
+ };
+
+ gpu-2-0-thermal {
+ thermal-sensors = <&tsens5 7>;
+ };
+
+ gpu-2-1-thermal {
+ thermal-sensors = <&tsens5 8>;
+ };
+
+ gpu-2-2-thermal {
+ thermal-sensors = <&tsens5 9>;
+ };
+
+ gpuss-0-thermal {
+ thermal-sensors = <&tsens5 10>;
+ };
+
+ gpuss-1-thermal {
+ thermal-sensors = <&tsens5 11>;
+ };
+
+ gpuss-2-thermal {
+ thermal-sensors = <&tsens5 12>;
+
+ trips {
+ trip-point0 {
+ temperature = <90000>;
+ hysteresis = <5000>;
+ type = "hot";
+ };
+
+ gpuss-2-critical {
+ temperature = <115000>;
+ hysteresis = <1000>;
+ type = "critical";
+ };
+ };
+ };
+
+ gpuss-3-thermal {
+ thermal-sensors = <&tsens5 13>;
+
+ trips {
+ trip-point0 {
+ temperature = <90000>;
+ hysteresis = <5000>;
+ type = "hot";
+ };
+
+ gpuss-3-critical {
+ temperature = <115000>;
+ hysteresis = <1000>;
+ type = "critical";
+ };
+ };
+ };
+
+ gpuss-4-thermal {
+ thermal-sensors = <&tsens5 14>;
+
+ trips {
+ trip-point0 {
+ temperature = <90000>;
+ hysteresis = <5000>;
+ type = "hot";
+ };
+
+ gpuss-4-critical {
+ temperature = <115000>;
+ hysteresis = <1000>;
+ type = "critical";
+ };
+ };
+ };
+};
+
+&tsens4 {
+ #qcom,sensors = <11>;
+};
+
+&tsens5 {
+ #qcom,sensors = <15>;
+};
+