On imx93evk board, I checked the following dts configuration.
root@imx93evk:/tmp# hexdump -C /sys/firmware/devicetree/base/thermal-zones/cpu-thermal/trips/cpu-alert/temperature
00000000 00 01 73 18 |..s.|
00000004
root@imx93evk:/tmp# hexdump -C /sys/firmware/devicetree/base/thermal-zones/cpu-thermal/trips/cpu-crit/temperature
00000000 00 01 9a 28 |...(|
00000004
HEX 19a28 = 105000(DEC)
HEX 17318 = 95000(DEC)
It means the DTS has already been modified by u-boot before loading by Linux Kernel.
Please refer to function fixup_thermal_trips in arch/arm/mach-imx/fdt.c in u-boot source code.
get_cpu_temp_grade(&minc, &maxc);
fdt_for_each_subnode(trip, blob, node) {
const char *type;
int temp, ret;
type = fdt_getprop(blob, trip, "type", NULL);
if (!type)
continue;
temp = 0;
if (!strcmp(type, "critical"))
temp = 1000 * maxc;
else if (!strcmp(type, "passive"))
temp = 1000 * (maxc - 10);
if (temp) {
ret = fdt_setprop_u32(blob, trip, "temperature", temp);
if (ret)
return ret;
}