brcm,ns-thermal.yaml 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
  2. %YAML 1.2
  3. ---
  4. $id: http://devicetree.org/schemas/thermal/brcm,ns-thermal.yaml#
  5. $schema: http://devicetree.org/meta-schemas/core.yaml#
  6. title: Broadcom Northstar Thermal
  7. maintainers:
  8. - Rafał Miłecki <rafal@milecki.pl>
  9. description:
  10. Thermal sensor that is part of Northstar's DMU (Device Management Unit).
  11. allOf:
  12. - $ref: thermal-sensor.yaml#
  13. properties:
  14. compatible:
  15. const: brcm,ns-thermal
  16. reg:
  17. description: PVTMON registers range
  18. maxItems: 1
  19. "#thermal-sensor-cells":
  20. const: 0
  21. unevaluatedProperties: false
  22. required:
  23. - reg
  24. examples:
  25. - |
  26. thermal: thermal@1800c2c0 {
  27. compatible = "brcm,ns-thermal";
  28. reg = <0x1800c2c0 0x10>;
  29. #thermal-sensor-cells = <0>;
  30. };
  31. thermal-zones {
  32. cpu-thermal {
  33. polling-delay-passive = <0>;
  34. polling-delay = <1000>;
  35. coefficients = <(-556) 418000>;
  36. thermal-sensors = <&thermal>;
  37. trips {
  38. cpu-crit {
  39. temperature = <125000>;
  40. hysteresis = <0>;
  41. type = "critical";
  42. };
  43. };
  44. cooling-maps {
  45. };
  46. };
  47. };