xref: /freebsd/sys/contrib/device-tree/Bindings/hwmon/nuvoton,nct7363.yaml (revision 8ccc0d235c226d84112561d453c49904398d085c)
1*5f62a964SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2*5f62a964SEmmanuel Vadot%YAML 1.2
3*5f62a964SEmmanuel Vadot---
4*5f62a964SEmmanuel Vadot$id: http://devicetree.org/schemas/hwmon/nuvoton,nct7363.yaml#
5*5f62a964SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6*5f62a964SEmmanuel Vadot
7*5f62a964SEmmanuel Vadottitle: Nuvoton NCT7363Y Hardware Monitoring IC
8*5f62a964SEmmanuel Vadot
9*5f62a964SEmmanuel Vadotmaintainers:
10*5f62a964SEmmanuel Vadot  - Ban Feng <kcfeng0@nuvoton.com>
11*5f62a964SEmmanuel Vadot
12*5f62a964SEmmanuel Vadotdescription: |
13*5f62a964SEmmanuel Vadot  The NCT7363Y is a fan controller which provides up to 16 independent
14*5f62a964SEmmanuel Vadot  FAN input monitors, and up to 16 independent PWM outputs with SMBus interface.
15*5f62a964SEmmanuel Vadot
16*5f62a964SEmmanuel Vadot  Datasheets: Available from Nuvoton upon request
17*5f62a964SEmmanuel Vadot
18*5f62a964SEmmanuel Vadotproperties:
19*5f62a964SEmmanuel Vadot  compatible:
20*5f62a964SEmmanuel Vadot    enum:
21*5f62a964SEmmanuel Vadot      - nuvoton,nct7363
22*5f62a964SEmmanuel Vadot      - nuvoton,nct7362
23*5f62a964SEmmanuel Vadot
24*5f62a964SEmmanuel Vadot  reg:
25*5f62a964SEmmanuel Vadot    maxItems: 1
26*5f62a964SEmmanuel Vadot
27*5f62a964SEmmanuel Vadot  "#pwm-cells":
28*5f62a964SEmmanuel Vadot    const: 2
29*5f62a964SEmmanuel Vadot
30*5f62a964SEmmanuel VadotpatternProperties:
31*5f62a964SEmmanuel Vadot  "^fan-[0-9]+$":
32*5f62a964SEmmanuel Vadot    $ref: fan-common.yaml#
33*5f62a964SEmmanuel Vadot    unevaluatedProperties: false
34*5f62a964SEmmanuel Vadot    required:
35*5f62a964SEmmanuel Vadot      - pwms
36*5f62a964SEmmanuel Vadot      - tach-ch
37*5f62a964SEmmanuel Vadot
38*5f62a964SEmmanuel Vadotrequired:
39*5f62a964SEmmanuel Vadot  - compatible
40*5f62a964SEmmanuel Vadot  - reg
41*5f62a964SEmmanuel Vadot  - "#pwm-cells"
42*5f62a964SEmmanuel Vadot
43*5f62a964SEmmanuel VadotadditionalProperties: false
44*5f62a964SEmmanuel Vadot
45*5f62a964SEmmanuel Vadotexamples:
46*5f62a964SEmmanuel Vadot  - |
47*5f62a964SEmmanuel Vadot    i2c {
48*5f62a964SEmmanuel Vadot        #address-cells = <1>;
49*5f62a964SEmmanuel Vadot        #size-cells = <0>;
50*5f62a964SEmmanuel Vadot
51*5f62a964SEmmanuel Vadot        hwmon: hwmon@22 {
52*5f62a964SEmmanuel Vadot            compatible = "nuvoton,nct7363";
53*5f62a964SEmmanuel Vadot            reg = <0x22>;
54*5f62a964SEmmanuel Vadot            #pwm-cells = <2>;
55*5f62a964SEmmanuel Vadot
56*5f62a964SEmmanuel Vadot            fan-0 {
57*5f62a964SEmmanuel Vadot                pwms = <&hwmon 0 50000>;
58*5f62a964SEmmanuel Vadot                tach-ch = /bits/ 8 <0x00>;
59*5f62a964SEmmanuel Vadot            };
60*5f62a964SEmmanuel Vadot            fan-1 {
61*5f62a964SEmmanuel Vadot                pwms = <&hwmon 1 50000>;
62*5f62a964SEmmanuel Vadot                tach-ch = /bits/ 8 <0x01>;
63*5f62a964SEmmanuel Vadot            };
64*5f62a964SEmmanuel Vadot        };
65*5f62a964SEmmanuel Vadot    };
66