Back to home page

OSCL-LXR

 
 

    


0001 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/mfd/khadas,mcu.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006 
0007 title: Khadas on-board Microcontroller Device Tree Bindings
0008 
0009 maintainers:
0010   - Neil Armstrong <neil.armstrong@linaro.org>
0011 
0012 description: |
0013   Khadas embeds a microcontroller on their VIM and Edge boards adding some
0014   system feature as PWM Fan control (for VIM2 rev14 or VIM3), User memory
0015   storage, IR/Key resume control, system power LED control and more.
0016 
0017 properties:
0018   compatible:
0019     enum:
0020       - khadas,mcu # MCU revision is discoverable
0021 
0022   "#cooling-cells": # Only needed for boards having FAN control feature
0023     const: 2
0024 
0025   reg:
0026     maxItems: 1
0027 
0028 required:
0029   - compatible
0030   - reg
0031 
0032 additionalProperties: false
0033 
0034 examples:
0035   - |
0036     i2c {
0037       #address-cells = <1>;
0038       #size-cells = <0>;
0039       khadas_mcu: system-controller@18 {
0040         compatible = "khadas,mcu";
0041         reg = <0x18>;
0042         #cooling-cells = <2>;
0043       };
0044     };