]> git.ipfire.org Git - people/ms/linux.git/blame - Documentation/devicetree/bindings/mfd/khadas,mcu.yaml
Merge tag 'devicetree-fixes-for-6.0-2' of git://git.kernel.org/pub/scm/linux/kernel...
[people/ms/linux.git] / Documentation / devicetree / bindings / mfd / khadas,mcu.yaml
CommitLineData
6bcb330c
NA
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:
c6a43fb3 10 - Neil Armstrong <neil.armstrong@linaro.org>
6bcb330c
NA
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 };