#include <dt-bindings/thermal/thermal_qti.h>

&thermal_zones {
	pm5100-tz {
		cooling-maps {
			trip0_cpu0 {
				trip = <&pm5100_trip0>;
				cooling-device =
					<&CPU0 (THERMAL_MAX_LIMIT-2)
						(THERMAL_MAX_LIMIT-2)>;
			};

			trip1_cpu2 {
				trip = <&pm5100_trip0>;
				cooling-device = <&cpu2_pause 1 1>;
			};

			trip1_cpu3 {
				trip = <&pm5100_trip0>;
				cooling-device = <&cpu3_pause 1 1>;
			};
		};
	};

	pm5100-bcl-lvl0 {
		cooling-maps {
			cpu0_cdev {
				trip = <&bcl_lvl0>;
				cooling-device =
					<&CPU0 (THERMAL_MAX_LIMIT-1)
						(THERMAL_MAX_LIMIT-1)>;
			};

			cpu2_cdev {
				trip = <&bcl_lvl0>;
				cooling-device = <&cpu2_pause 1 1>;
			};

			cpu3_cdev {
				trip = <&bcl_lvl0>;
				cooling-device = <&cpu3_pause 1 1>;
			};

			gpu_cdev {
				trip = <&bcl_lvl0>;
				cooling-device = <&msm_gpu (THERMAL_MAX_LIMIT-2)
							(THERMAL_MAX_LIMIT-2)>;
			};
		};
	};

	pm5100-bcl-lvl1 {
		cooling-maps {
			cpu0_cdev {
				trip = <&bcl_lvl1>;
				cooling-device =
					<&CPU0 (THERMAL_MAX_LIMIT-1)
						(THERMAL_MAX_LIMIT-1)>;
			};

			cpu1_cdev {
				trip = <&bcl_lvl1>;
				cooling-device = <&cpu1_pause 1 1>;
			};

			gpu_cdev {
				trip = <&bcl_lvl1>;
				cooling-device = <&msm_gpu THERMAL_MAX_LIMIT
							THERMAL_MAX_LIMIT>;
			};
		};
	};

	pm5100-bcl-lvl2 {
		cooling-maps {
			/* Need to update once we get fine tuned data */
		};
	};

	socd {
		cooling-maps {
			soc_cpu0 {
				trip = <&socd_trip>;
				cooling-device =
					<&CPU0 (THERMAL_MAX_LIMIT-2)
						(THERMAL_MAX_LIMIT-2)>;
			};

			soc_cpu2 {
				trip = <&socd_trip>;
				cooling-device = <&cpu2_pause 1 1>;
			};

			soc_cpu3 {
				trip = <&socd_trip>;
				cooling-device = <&cpu3_pause 1 1>;
			};

			gpu_cdev {
				trip = <&socd_trip>;
				cooling-device = <&msm_gpu (THERMAL_MAX_LIMIT-2)
							(THERMAL_MAX_LIMIT-2)>;
			};
		};
	};
};
