Toradex Embedded Controller

Schema identifier ($id): "http://devicetree.org/schemas/power/reset/toradex,smarc-ec.yaml#"

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

Maintainers (maintainers): "Emanuele Ghidoli <emanuele.ghidoli@toradex.com>", "Francesco Dolcini <francesco.dolcini@toradex.com>"

The Toradex Embedded Controller (EC) is used on Toradex SMARC modules, primarily to manage power and reset functionalities.

The EC provides the following functions:
  - Reads the SMARC POWER_BTN# and RESET_IN# signals and controls the PMIC accordingly.
  - Controls the SoC boot mode signals based on the SMARC BOOT_SEL# and FORCE_RECOV# inputs.
  - Manages the CARRIER_STDBY# signal in response to relevant SoC signals.

The EC runs a small firmware, factory programmed into its internal flash, and communicates over I2C. It allows software to control power-off and reset functionalities of the module.

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Allowed values (enum): "toradex,smarc-imx95-ec", "toradex,smarc-imx8mp-ec"

Item 2

Exact value (const): "toradex,smarc-ec"

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>;

    reset-controller@28 {
        compatible = "toradex,smarc-imx95-ec", "toradex,smarc-ec";
        reg = <0x28>;
    };
};

Source notes #

Annotations retained from the schema source

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

Edit this page