brcm,bcm2835-thermal.txt 847 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. Binding for Thermal Sensor driver for BCM2835 SoCs.
  2. Required parameters:
  3. -------------------
  4. compatible: should be one of: "brcm,bcm2835-thermal",
  5. "brcm,bcm2836-thermal" or "brcm,bcm2837-thermal"
  6. reg: Address range of the thermal registers.
  7. clocks: Phandle of the clock used by the thermal sensor.
  8. #thermal-sensor-cells: should be 0 (see thermal.txt)
  9. Example:
  10. thermal-zones {
  11. cpu_thermal: cpu-thermal {
  12. polling-delay-passive = <0>;
  13. polling-delay = <1000>;
  14. thermal-sensors = <&thermal>;
  15. trips {
  16. cpu-crit {
  17. temperature = <80000>;
  18. hysteresis = <0>;
  19. type = "critical";
  20. };
  21. };
  22. coefficients = <(-538) 407000>;
  23. cooling-maps {
  24. };
  25. };
  26. };
  27. thermal: thermal@7e212000 {
  28. compatible = "brcm,bcm2835-thermal";
  29. reg = <0x7e212000 0x8>;
  30. clocks = <&clocks BCM2835_CLOCK_TSENS>;
  31. #thermal-sensor-cells = <0>;
  32. };