]>
Commit | Line | Data |
---|---|---|
53633a89 TR |
1 | # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) |
2 | %YAML 1.2 | |
3 | --- | |
4 | $id: http://devicetree.org/schemas/hwmon/hpe,gxp-fan-ctrl.yaml# | |
5 | $schema: http://devicetree.org/meta-schemas/core.yaml# | |
6 | ||
7 | title: HPE GXP Fan Controller | |
8 | ||
9 | maintainers: | |
10 | - Nick Hawkins <nick.hawkins@hpe.com> | |
11 | ||
12 | description: | | |
13 | The HPE GXP fan controller controls the fans through an external CPLD | |
14 | device that connects to the fans. | |
15 | ||
16 | properties: | |
17 | compatible: | |
18 | const: hpe,gxp-fan-ctrl | |
19 | ||
20 | reg: | |
21 | items: | |
22 | - description: Fan controller PWM | |
23 | - description: Programmable logic | |
24 | - description: Function 2 | |
25 | ||
26 | reg-names: | |
27 | items: | |
28 | - const: base | |
29 | - const: pl | |
30 | - const: fn2 | |
31 | ||
32 | required: | |
33 | - compatible | |
34 | - reg | |
35 | - reg-names | |
36 | ||
37 | additionalProperties: false | |
38 | ||
39 | examples: | |
40 | - | | |
41 | fan-controller@1000c00 { | |
42 | compatible = "hpe,gxp-fan-ctrl"; | |
43 | reg = <0x1000c00 0x200>, <0xd1000000 0xff>, <0x80200000 0x100000>; | |
44 | reg-names = "base", "pl", "fn2"; | |
45 | }; |