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,lan966x.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Microchip LAN966x Hardware Monitor
8
9maintainers:
10  - Michael Walle <michael@walle.cc>
11
12description: |
13  Microchip LAN966x temperature monitor and fan controller
14
15properties:
16  compatible:
17    enum:
18      - microchip,lan9668-hwmon
19
20  reg:
21    items:
22      - description: PVT registers
23      - description: FAN registers
24
25  reg-names:
26    items:
27      - const: pvt
28      - const: fan
29
30  clocks:
31    maxItems: 1
32
33  '#thermal-sensor-cells':
34    const: 0
35
36required:
37  - compatible
38  - reg
39  - reg-names
40  - clocks
41
42additionalProperties: false
43
44examples:
45  - |
46    hwmon: hwmon@e2010180 {
47        compatible = "microchip,lan9668-hwmon";
48        reg = <0xe2010180 0xc>,
49              <0xe20042a8 0xc>;
50        reg-names = "pvt", "fan";
51        clocks = <&sys_clk>;
52        #thermal-sensor-cells = <0>;
53    };
54