xref: /freebsd-src/sys/contrib/device-tree/Bindings/hwmon/microchip,lan966x.yaml (revision d5b0e70f7e04d971691517ce1304d86a1e367e2e)
1*d5b0e70fSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2*d5b0e70fSEmmanuel Vadot%YAML 1.2
3*d5b0e70fSEmmanuel Vadot---
4*d5b0e70fSEmmanuel Vadot$id: http://devicetree.org/schemas/hwmon/microchip,lan966x.yaml#
5*d5b0e70fSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6*d5b0e70fSEmmanuel Vadot
7*d5b0e70fSEmmanuel Vadottitle: Microchip LAN966x Hardware Monitor
8*d5b0e70fSEmmanuel Vadot
9*d5b0e70fSEmmanuel Vadotmaintainers:
10*d5b0e70fSEmmanuel Vadot  - Michael Walle <michael@walle.cc>
11*d5b0e70fSEmmanuel Vadot
12*d5b0e70fSEmmanuel Vadotdescription: |
13*d5b0e70fSEmmanuel Vadot  Microchip LAN966x temperature monitor and fan controller
14*d5b0e70fSEmmanuel Vadot
15*d5b0e70fSEmmanuel Vadotproperties:
16*d5b0e70fSEmmanuel Vadot  compatible:
17*d5b0e70fSEmmanuel Vadot    enum:
18*d5b0e70fSEmmanuel Vadot      - microchip,lan9668-hwmon
19*d5b0e70fSEmmanuel Vadot
20*d5b0e70fSEmmanuel Vadot  reg:
21*d5b0e70fSEmmanuel Vadot    items:
22*d5b0e70fSEmmanuel Vadot      - description: PVT registers
23*d5b0e70fSEmmanuel Vadot      - description: FAN registers
24*d5b0e70fSEmmanuel Vadot
25*d5b0e70fSEmmanuel Vadot  reg-names:
26*d5b0e70fSEmmanuel Vadot    items:
27*d5b0e70fSEmmanuel Vadot      - const: pvt
28*d5b0e70fSEmmanuel Vadot      - const: fan
29*d5b0e70fSEmmanuel Vadot
30*d5b0e70fSEmmanuel Vadot  clocks:
31*d5b0e70fSEmmanuel Vadot    maxItems: 1
32*d5b0e70fSEmmanuel Vadot
33*d5b0e70fSEmmanuel Vadot  '#thermal-sensor-cells':
34*d5b0e70fSEmmanuel Vadot    const: 0
35*d5b0e70fSEmmanuel Vadot
36*d5b0e70fSEmmanuel Vadotrequired:
37*d5b0e70fSEmmanuel Vadot  - compatible
38*d5b0e70fSEmmanuel Vadot  - reg
39*d5b0e70fSEmmanuel Vadot  - reg-names
40*d5b0e70fSEmmanuel Vadot  - clocks
41*d5b0e70fSEmmanuel Vadot
42*d5b0e70fSEmmanuel VadotadditionalProperties: false
43*d5b0e70fSEmmanuel Vadot
44*d5b0e70fSEmmanuel Vadotexamples:
45*d5b0e70fSEmmanuel Vadot  - |
46*d5b0e70fSEmmanuel Vadot    hwmon: hwmon@e2010180 {
47*d5b0e70fSEmmanuel Vadot        compatible = "microchip,lan9668-hwmon";
48*d5b0e70fSEmmanuel Vadot        reg = <0xe2010180 0xc>,
49*d5b0e70fSEmmanuel Vadot              <0xe20042a8 0xc>;
50*d5b0e70fSEmmanuel Vadot        reg-names = "pvt", "fan";
51*d5b0e70fSEmmanuel Vadot        clocks = <&sys_clk>;
52*d5b0e70fSEmmanuel Vadot        #thermal-sensor-cells = <0>;
53*d5b0e70fSEmmanuel Vadot    };
54