brcm,avs-tmon.yaml 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  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,avs-tmon.yaml#
  5. $schema: http://devicetree.org/meta-schemas/core.yaml#
  6. title: Broadcom STB thermal management
  7. description: Thermal management core, provided by the AVS TMON hardware block.
  8. maintainers:
  9. - Florian Fainelli <f.fainelli@gmail.com>
  10. allOf:
  11. - $ref: thermal-sensor.yaml#
  12. properties:
  13. compatible:
  14. items:
  15. - enum:
  16. - brcm,avs-tmon-bcm7216
  17. - brcm,avs-tmon-bcm7445
  18. - const: brcm,avs-tmon
  19. reg:
  20. maxItems: 1
  21. description: >
  22. Address range for the AVS TMON registers
  23. interrupts:
  24. maxItems: 1
  25. interrupt-names:
  26. items:
  27. - const: tmon
  28. "#thermal-sensor-cells":
  29. const: 0
  30. additionalProperties: false
  31. required:
  32. - compatible
  33. - reg
  34. examples:
  35. - |
  36. thermal@f04d1500 {
  37. compatible = "brcm,avs-tmon-bcm7445", "brcm,avs-tmon";
  38. reg = <0xf04d1500 0x28>;
  39. interrupts = <0x6>;
  40. interrupt-names = "tmon";
  41. interrupt-parent = <&avs_host_l2_intc>;
  42. #thermal-sensor-cells = <0>;
  43. };