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,ts233-mcu 20 - qnap,ts433-mcu 21 22 nvmem-layout: 23 $ref: /schemas/nvmem/layouts/nvmem-layout.yaml 24 25patternProperties: 26 "^fan-[0-9]+$": 27 $ref: /schemas/hwmon/fan-common.yaml# 28 unevaluatedProperties: false 29 30required: 31 - compatible 32 33additionalProperties: false 34 35examples: 36 - | 37 uart { 38 mcu { 39 compatible = "qnap,ts433-mcu"; 40 41 fan-0 { 42 #cooling-cells = <2>; 43 cooling-levels = <0 64 89 128 166 204 221 238>; 44 }; 45 }; 46 }; 47