File Index
Files and directories
Sign in
FILE

k3-am62p-j722s-common-thermal.dtsi

File preview with syntax highlighting.

linux-6.19.14/arch/arm64/boot/dts/ti/k3-am62p-j722s-common-thermal.dtsi DEVICETREE
  1// SPDX-License-Identifier: GPL-2.0-only OR MIT
  2/*
  3 * Copyright (C) 2023-2024 Texas Instruments Incorporated - https://www.ti.com/
  4 */
  5
  6#include <dt-bindings/thermal/thermal.h>
  7
  8thermal_zones: thermal-zones {
  9	main0_thermal: main0-thermal {
 10		polling-delay-passive = <250>;	/* milliSeconds */
 11		polling-delay = <500>;		/* milliSeconds */
 12		thermal-sensors = <&wkup_vtm0 0>;
 13
 14		trips {
 15			main0_alert: main0-alert {
 16				temperature = <115000>;
 17				hysteresis = <2000>;
 18				type = "passive";
 19			};
 20
 21			main0_crit: main0-crit {
 22				temperature = <125000>;	/* milliCelsius */
 23				hysteresis = <2000>;	/* milliCelsius */
 24				type = "critical";
 25			};
 26		};
 27
 28		cooling-maps {
 29			map0 {
 30				trip = <&main0_alert>;
 31				cooling-device =
 32					<&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
 33					<&cpu1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
 34					<&cpu2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
 35					<&cpu3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
 36			};
 37		};
 38	};
 39
 40	main1_thermal: main1-thermal {
 41		polling-delay-passive = <250>;	/* milliSeconds */
 42		polling-delay = <500>;		/* milliSeconds */
 43		thermal-sensors = <&wkup_vtm0 1>;
 44
 45		trips {
 46			main1_alert: main1-alert {
 47				temperature = <115000>;
 48				hysteresis = <2000>;
 49				type = "passive";
 50			};
 51
 52			main1_crit: main1-crit {
 53				temperature = <125000>;	/* milliCelsius */
 54				hysteresis = <2000>;	/* milliCelsius */
 55				type = "critical";
 56			};
 57		};
 58
 59		cooling-maps {
 60			map0 {
 61				trip = <&main1_alert>;
 62				cooling-device =
 63					<&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
 64					<&cpu1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
 65					<&cpu2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
 66					<&cpu3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
 67			};
 68		};
 69	};
 70
 71	main2_thermal: main2-thermal {
 72	       polling-delay-passive = <250>;	/* milliSeconds */
 73	       polling-delay = <500>;		/* milliSeconds */
 74	       thermal-sensors = <&wkup_vtm0 2>;
 75
 76		trips {
 77			main2_alert: main2-alert {
 78				temperature = <115000>;
 79				hysteresis = <2000>;
 80				type = "passive";
 81			};
 82
 83			main2_crit: main2-crit {
 84				temperature = <125000>;	/* milliCelsius */
 85				hysteresis = <2000>;	/* milliCelsius */
 86				type = "critical";
 87			};
 88		};
 89
 90		cooling-maps {
 91			map0 {
 92				trip = <&main2_alert>;
 93				cooling-device =
 94					<&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
 95					<&cpu1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
 96					<&cpu2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
 97					<&cpu3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
 98			};
 99		};
100	};
101};
~/ Read-only file preview.