xref: /linux/Documentation/devicetree/bindings/mfd/qnap,ts433-mcu.yaml (revision 909fd2b89f2edab8ec440a67dcf8627614e272b6)
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/mfd/qnap,ts433-mcu.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: QNAP NAS on-board Microcontroller
8
9maintainers:
10  - Heiko Stuebner <heiko@sntech.de>
11
12description:
13  QNAP embeds a microcontroller on their NAS devices adding system feature
14  as PWM Fan control, additional LEDs, power button status and more.
15
16properties:
17  compatible:
18    enum:
19      - qnap,ts433-mcu
20
21patternProperties:
22  "^fan-[0-9]+$":
23    $ref: /schemas/hwmon/fan-common.yaml#
24    unevaluatedProperties: false
25
26required:
27  - compatible
28
29additionalProperties: false
30
31examples:
32  - |
33    uart {
34      mcu {
35        compatible = "qnap,ts433-mcu";
36
37        fan-0 {
38          #cooling-cells = <2>;
39          cooling-levels = <0 64 89 128 166 204 221 238>;
40        };
41      };
42    };
43