microchip,sparx5-temp.yaml 954 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
  2. %YAML 1.2
  3. ---
  4. $id: http://devicetree.org/schemas/hwmon/microchip,sparx5-temp.yaml#
  5. $schema: http://devicetree.org/meta-schemas/core.yaml#
  6. title: Microchip Sparx5 Temperature Monitor
  7. maintainers:
  8. - Lars Povlsen <lars.povlsen@microchip.com>
  9. description: |
  10. Microchip Sparx5 embedded temperature monitor
  11. properties:
  12. compatible:
  13. oneOf:
  14. - const: microchip,sparx5-temp
  15. - items:
  16. - enum:
  17. - microchip,lan9691-temp
  18. - const: microchip,sparx5-temp
  19. reg:
  20. maxItems: 1
  21. clocks:
  22. items:
  23. - description: System reference clock
  24. '#thermal-sensor-cells':
  25. const: 0
  26. required:
  27. - compatible
  28. - reg
  29. - clocks
  30. additionalProperties: false
  31. examples:
  32. - |
  33. tmon0: tmon@610508110 {
  34. compatible = "microchip,sparx5-temp";
  35. reg = <0x10508110 0xc>;
  36. #thermal-sensor-cells = <0>;
  37. clocks = <&sys_clk>;
  38. };