xref: /freebsd/sys/contrib/device-tree/Bindings/hwmon/microchip,sparx5-temp.yaml (revision 7ef62cebc2f965b0f640263e179276928885e33d)
1c66ec88fSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2c66ec88fSEmmanuel Vadot%YAML 1.2
3c66ec88fSEmmanuel Vadot---
4c66ec88fSEmmanuel Vadot$id: http://devicetree.org/schemas/hwmon/microchip,sparx5-temp.yaml#
5c66ec88fSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6c66ec88fSEmmanuel Vadot
7c66ec88fSEmmanuel Vadottitle: Microchip Sparx5 Temperature Monitor
8c66ec88fSEmmanuel Vadot
9c66ec88fSEmmanuel Vadotmaintainers:
10c66ec88fSEmmanuel Vadot  - Lars Povlsen <lars.povlsen@microchip.com>
11c66ec88fSEmmanuel Vadot
12c66ec88fSEmmanuel Vadotdescription: |
13c66ec88fSEmmanuel Vadot  Microchip Sparx5 embedded temperature monitor
14c66ec88fSEmmanuel Vadot
15c66ec88fSEmmanuel Vadotproperties:
16c66ec88fSEmmanuel Vadot  compatible:
17c66ec88fSEmmanuel Vadot    enum:
18c66ec88fSEmmanuel Vadot      - microchip,sparx5-temp
19c66ec88fSEmmanuel Vadot
20c66ec88fSEmmanuel Vadot  reg:
21c66ec88fSEmmanuel Vadot    maxItems: 1
22c66ec88fSEmmanuel Vadot
23c66ec88fSEmmanuel Vadot  clocks:
24c66ec88fSEmmanuel Vadot    items:
25*7ef62cebSEmmanuel Vadot      - description: System reference clock
26c66ec88fSEmmanuel Vadot
27c66ec88fSEmmanuel Vadot  '#thermal-sensor-cells':
28c66ec88fSEmmanuel Vadot    const: 0
29c66ec88fSEmmanuel Vadot
30c66ec88fSEmmanuel Vadotrequired:
31c66ec88fSEmmanuel Vadot  - compatible
32c66ec88fSEmmanuel Vadot  - reg
33c66ec88fSEmmanuel Vadot  - clocks
34c66ec88fSEmmanuel Vadot
35c66ec88fSEmmanuel VadotadditionalProperties: false
36c66ec88fSEmmanuel Vadot
37c66ec88fSEmmanuel Vadotexamples:
38c66ec88fSEmmanuel Vadot  - |
39c66ec88fSEmmanuel Vadot    tmon0: tmon@610508110 {
40c66ec88fSEmmanuel Vadot        compatible = "microchip,sparx5-temp";
41c66ec88fSEmmanuel Vadot        reg = <0x10508110 0xc>;
42c66ec88fSEmmanuel Vadot        #thermal-sensor-cells = <0>;
43*7ef62cebSEmmanuel Vadot        clocks = <&sys_clk>;
44c66ec88fSEmmanuel Vadot    };
45