omap3-cpu-thermal.dtsi 848 B

12345678910111213141516171819202122232425262728293031323334353637
  1. // SPDX-License-Identifier: GPL-2.0-only
  2. /*
  3. * Device Tree Source for OMAP3 SoC CPU thermal
  4. *
  5. * Copyright (C) 2017 Texas Instruments Incorporated - https://www.ti.com/
  6. */
  7. #include <dt-bindings/thermal/thermal.h>
  8. cpu_thermal: cpu-thermal {
  9. polling-delay-passive = <250>; /* milliseconds */
  10. polling-delay = <1000>; /* milliseconds */
  11. coefficients = <0 20000>;
  12. thermal-sensors = <&bandgap>;
  13. cpu_trips: trips {
  14. cpu_alert0: cpu_alert {
  15. temperature = <80000>; /* millicelsius */
  16. hysteresis = <2000>; /* millicelsius */
  17. type = "passive";
  18. };
  19. cpu_crit: cpu_crit {
  20. temperature = <90000>; /* millicelsius */
  21. hysteresis = <2000>; /* millicelsius */
  22. type = "critical";
  23. };
  24. };
  25. cpu_cooling_maps: cooling-maps {
  26. map0 {
  27. trip = <&cpu_alert0>;
  28. cooling-device =
  29. <&cpu THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
  30. };
  31. };
  32. };