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