Khadas on-board Microcontroller

Schema identifier ($id): "http://devicetree.org/schemas/mfd/khadas,mcu.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Neil Armstrong <neil.armstrong@linaro.org>"

Khadas embeds a microcontroller on their VIM and Edge boards adding some system feature as PWM Fan control (for VIM2 rev14 or VIM3), User memory storage, IR/Key resume control, system power LED control and more.

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "khadas,mcu"

#cooling-cells — not listed as required here #

Exact value (const): 2

reg — required here #

Maximum number of items (maxItems): 1

Required in this object (required): "compatible", "reg"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

i2c {
  #address-cells = <1>;
  #size-cells = <0>;
  khadas_mcu: system-controller@18 {
    compatible = "khadas,mcu";
    reg = <0x18>;
    #cooling-cells = <2>;
  };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Line 20: MCU revision is discoverable

Line 22: Only needed for boards having FAN control feature

Edit this page