omap4-cpu-thermal.dtsi 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. /*
  2. * Device Tree Source for OMAP4/5 SoC CPU thermal
  3. *
  4. * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/
  5. * Contact: Eduardo Valentin <eduardo.valentin@ti.com>
  6. *
  7. * This file is licensed under the terms of the GNU General Public License
  8. * version 2. This program is licensed "as is" without any warranty of any
  9. * kind, whether express or implied.
  10. */
  11. #include <dt-bindings/thermal/thermal.h>
  12. cpu_thermal: cpu_thermal {
  13. polling-delay-passive = <250>; /* milliseconds */
  14. polling-delay = <1000>; /* milliseconds */
  15. /* sensor ID */
  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. };