xref: /freebsd/sys/contrib/device-tree/Bindings/hwmon/microchip,sparx5-temp.yaml (revision fe6060f10f634930ff71b7c50291ddc610da2475)
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
7title: Microchip Sparx5 Temperature Monitor
8
9maintainers:
10  - Lars Povlsen <lars.povlsen@microchip.com>
11
12description: |
13  Microchip Sparx5 embedded temperature monitor
14
15properties:
16  compatible:
17    enum:
18      - microchip,sparx5-temp
19
20  reg:
21    maxItems: 1
22
23  clocks:
24    items:
25      - description: AHB reference clock
26
27  '#thermal-sensor-cells':
28    const: 0
29
30required:
31  - compatible
32  - reg
33  - clocks
34
35additionalProperties: false
36
37examples:
38  - |
39    tmon0: tmon@610508110 {
40        compatible = "microchip,sparx5-temp";
41        reg = <0x10508110 0xc>;
42        #thermal-sensor-cells = <0>;
43        clocks = <&ahb_clk>;
44    };
45