xref: /freebsd-src/sys/contrib/device-tree/src/arm/ti/omap/omap5-gpu-thermal.dtsi (revision f126890ac5386406dadf7c4cfa9566cbb56537c5)
1*f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0-only
2*f126890aSEmmanuel Vadot/*
3*f126890aSEmmanuel Vadot * Device Tree Source for OMAP543x SoC GPU thermal
4*f126890aSEmmanuel Vadot *
5*f126890aSEmmanuel Vadot * Copyright (C) 2013 Texas Instruments Incorporated - https://www.ti.com/
6*f126890aSEmmanuel Vadot * Contact: Eduardo Valentin <eduardo.valentin@ti.com>
7*f126890aSEmmanuel Vadot */
8*f126890aSEmmanuel Vadot
9*f126890aSEmmanuel Vadot#include <dt-bindings/thermal/thermal.h>
10*f126890aSEmmanuel Vadot
11*f126890aSEmmanuel Vadotgpu_thermal: gpu_thermal {
12*f126890aSEmmanuel Vadot	polling-delay-passive = <250>; /* milliseconds */
13*f126890aSEmmanuel Vadot	polling-delay = <500>; /* milliseconds */
14*f126890aSEmmanuel Vadot
15*f126890aSEmmanuel Vadot			/* sensor       ID */
16*f126890aSEmmanuel Vadot	thermal-sensors = <&bandgap     1>;
17*f126890aSEmmanuel Vadot
18*f126890aSEmmanuel Vadot	trips {
19*f126890aSEmmanuel Vadot		gpu_crit: gpu_crit {
20*f126890aSEmmanuel Vadot			temperature = <125000>; /* milliCelsius */
21*f126890aSEmmanuel Vadot			hysteresis = <2000>; /* milliCelsius */
22*f126890aSEmmanuel Vadot			type = "critical";
23*f126890aSEmmanuel Vadot		};
24*f126890aSEmmanuel Vadot	};
25*f126890aSEmmanuel Vadot};
26