STMicroelectronics STM32 ML-AHB interconnect

Schema identifier ($id): "http://devicetree.org/schemas/arm/stm32/st,mlahb.yaml#"

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

Maintainers (maintainers): "Fabien Dessenne <fabien.dessenne@foss.st.com>", "Arnaud Pouliquen <arnaud.pouliquen@foss.st.com>"

These bindings describe the STM32 SoCs ML-AHB interconnect bus which connects a Cortex-M subsystem with dedicated memories. The MCU SRAM and RETRAM memory parts can be accessed through different addresses (see "RAM aliases" in [1]) using different buses (see [2]): balancing the Cortex-M firmware accesses among those ports allows to tune the system performance. [1]: https://www.st.com/resource/en/reference_manual/dm00327659.pdf [2]: https://wiki.st.com/stm32mpu/wiki/STM32MP15_RAM_mapping

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): /schemas/simple-bus.yaml#

Properties and child nodes (properties) #

compatible — required here #

Rule for matching array elements (contains) #

Allowed values (enum): "st,mlahb"

dma-ranges — required here #

Describe memory addresses translation between the local CPU and the remote Cortex-M processor. Each memory region, is declared with 3 parameters: - param 1: device base address (Cortex-M processor address) - param 2: physical base address (local CPU address) - param 3: size of the memory region.

Maximum number of items (maxItems): 3

#address-cells — required here #

Exact value (const): 1

#size-cells — required here #

Exact value (const): 1

Required in this object (required): "compatible", "#address-cells", "#size-cells", "dma-ranges"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

ahb {
    compatible = "st,mlahb", "simple-bus";
    #address-cells = <1>;
    #size-cells = <1>;
    ranges;
    dma-ranges = <0x00000000 0x38000000 0x10000>,
                 <0x10000000 0x10000000 0x60000>,
                 <0x30000000 0x30000000 0x60000>;

    m4_rproc: m4@10000000 {
        reg = <0x10000000 0x40000>;
    };
};

Source notes #

Annotations retained from the schema source

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

Edit this page