xref: /freebsd/sys/contrib/device-tree/Bindings/mfd/khadas,mcu.yaml (revision 657729a89dd578d8cfc70d6616f5c65a48a8b33a)
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/mfd/khadas,mcu.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Khadas on-board Microcontroller Device Tree Bindings
8
9maintainers:
10  - Neil Armstrong <neil.armstrong@linaro.org>
11
12description: |
13  Khadas embeds a microcontroller on their VIM and Edge boards adding some
14  system feature as PWM Fan control (for VIM2 rev14 or VIM3), User memory
15  storage, IR/Key resume control, system power LED control and more.
16
17properties:
18  compatible:
19    enum:
20      - khadas,mcu # MCU revision is discoverable
21
22  "#cooling-cells": # Only needed for boards having FAN control feature
23    const: 2
24
25  reg:
26    maxItems: 1
27
28required:
29  - compatible
30  - reg
31
32additionalProperties: false
33
34examples:
35  - |
36    i2c {
37      #address-cells = <1>;
38      #size-cells = <0>;
39      khadas_mcu: system-controller@18 {
40        compatible = "khadas,mcu";
41        reg = <0x18>;
42        #cooling-cells = <2>;
43      };
44    };
45