Debian Codegraph @

Documentation/devicetree/bindings/mfd/qnap,ts433-mcu.yaml

raw
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
7 title: QNAP NAS on-board Microcontroller
8
9 maintainers:
10 - Heiko Stuebner <[email protected]>
11
12 description:
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
16 properties:
17 compatible:
18 enum:
19 - qnap,ts133-mcu
20 - qnap,ts233-mcu
21 - qnap,ts433-mcu
22
23 nvmem-layout:
24 $ref: /schemas/nvmem/layouts/nvmem-layout.yaml
25
26 patternProperties:
27 "^fan-[0-9]+$":
28 $ref: /schemas/hwmon/fan-common.yaml#
29 unevaluatedProperties: false
30
31 required:
32 - compatible
33
34 additionalProperties: false
35
36 examples:
37 - |
38 uart {
39 mcu {
40 compatible = "qnap,ts433-mcu";
41
42 fan-0 {
43 #cooling-cells = <2>;
44 cooling-levels = <0 64 89 128 166 204 221 238>;
45 };
46 };
47 };