Merge tag 'reset-for-v5.11' of git://git.pengutronix.de/pza/linux into arm/drivers
[linux-2.6-microblaze.git] / Documentation / devicetree / bindings / mfd / khadas,mcu.yaml
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
7 title: Khadas on-board Microcontroller Device Tree Bindings
8
9 maintainers:
10   - Neil Armstrong <narmstrong@baylibre.com>
11
12 description: |
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
17 properties:
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
28 required:
29   - compatible
30   - reg
31
32 additionalProperties: false
33
34 examples:
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     };