omap4-cpu-thermal.dtsi 1000 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. // SPDX-License-Identifier: GPL-2.0-only
  2. /*
  3. * Device Tree Source for OMAP4/5 SoC CPU thermal
  4. *
  5. * Copyright (C) 2013 Texas Instruments Incorporated - https://www.ti.com/
  6. * Contact: Eduardo Valentin <[email protected]>
  7. */
  8. #include <dt-bindings/thermal/thermal.h>
  9. cpu_thermal: cpu_thermal {
  10. polling-delay-passive = <250>; /* milliseconds */
  11. polling-delay = <1000>; /* milliseconds */
  12. /*
  13. * See 44xx files for single sensor addressing, omap5 and dra7 need
  14. * also sensor ID for addressing.
  15. */
  16. thermal-sensors = <&bandgap 0>;
  17. cpu_trips: trips {
  18. cpu_alert0: cpu_alert {
  19. temperature = <100000>; /* millicelsius */
  20. hysteresis = <2000>; /* millicelsius */
  21. type = "passive";
  22. };
  23. cpu_crit: cpu_crit {
  24. temperature = <125000>; /* millicelsius */
  25. hysteresis = <2000>; /* millicelsius */
  26. type = "critical";
  27. };
  28. };
  29. cpu_cooling_maps: cooling-maps {
  30. map0 {
  31. trip = <&cpu_alert0>;
  32. cooling-device =
  33. <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
  34. };
  35. };
  36. };