xref: /linux/Documentation/devicetree/bindings/mfd/khadas,mcu.yaml (revision 4f2c0a4acffbec01079c28f839422e64ddeff004)
16bcb330cSNeil Armstrong# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
26bcb330cSNeil Armstrong%YAML 1.2
36bcb330cSNeil Armstrong---
46bcb330cSNeil Armstrong$id: http://devicetree.org/schemas/mfd/khadas,mcu.yaml#
56bcb330cSNeil Armstrong$schema: http://devicetree.org/meta-schemas/core.yaml#
66bcb330cSNeil Armstrong
7*dd3cb467SAndrew Lunntitle: Khadas on-board Microcontroller
86bcb330cSNeil Armstrong
96bcb330cSNeil Armstrongmaintainers:
10c6a43fb3SNeil Armstrong  - Neil Armstrong <neil.armstrong@linaro.org>
116bcb330cSNeil Armstrong
126bcb330cSNeil Armstrongdescription: |
136bcb330cSNeil Armstrong  Khadas embeds a microcontroller on their VIM and Edge boards adding some
146bcb330cSNeil Armstrong  system feature as PWM Fan control (for VIM2 rev14 or VIM3), User memory
156bcb330cSNeil Armstrong  storage, IR/Key resume control, system power LED control and more.
166bcb330cSNeil Armstrong
176bcb330cSNeil Armstrongproperties:
186bcb330cSNeil Armstrong  compatible:
196bcb330cSNeil Armstrong    enum:
206bcb330cSNeil Armstrong      - khadas,mcu # MCU revision is discoverable
216bcb330cSNeil Armstrong
226bcb330cSNeil Armstrong  "#cooling-cells": # Only needed for boards having FAN control feature
236bcb330cSNeil Armstrong    const: 2
246bcb330cSNeil Armstrong
256bcb330cSNeil Armstrong  reg:
266bcb330cSNeil Armstrong    maxItems: 1
276bcb330cSNeil Armstrong
286bcb330cSNeil Armstrongrequired:
296bcb330cSNeil Armstrong  - compatible
306bcb330cSNeil Armstrong  - reg
316bcb330cSNeil Armstrong
326bcb330cSNeil ArmstrongadditionalProperties: false
336bcb330cSNeil Armstrong
346bcb330cSNeil Armstrongexamples:
356bcb330cSNeil Armstrong  - |
366bcb330cSNeil Armstrong    i2c {
376bcb330cSNeil Armstrong      #address-cells = <1>;
386bcb330cSNeil Armstrong      #size-cells = <0>;
396bcb330cSNeil Armstrong      khadas_mcu: system-controller@18 {
406bcb330cSNeil Armstrong        compatible = "khadas,mcu";
416bcb330cSNeil Armstrong        reg = <0x18>;
426bcb330cSNeil Armstrong        #cooling-cells = <2>;
436bcb330cSNeil Armstrong      };
446bcb330cSNeil Armstrong    };
45