Last edited 7 months ago

External device tree


1. Introduction to external device tree component

The external device tree component is used to host STM32 MPU embedded software device tree (aka OSTL device tree) configurations.
As configurations become increasingly complex, especially for the firewall configuration (RIF), clock tree and memory mapping, it is important and mandatory to synchronize all software components device trees in one place. This permits to have a coherent configuration across all of them.


A consistent product configuration is given as example by ST in this repository. Note that a board device tree, with minimal configuration, is still present in each software component like it was on previous releases.
This configuration can also be named "open", disabling the CID filtering and only securing peripheral used by secure world.



2. Component split

The external device tree component collapses product/boards device tree of all software components used in STM32 MPU embedded software delivery. The device tree files, related to the "SoC" definition, are located in each software component:

  • RIF (firewall) configuration: stm32mp257f-ev1-ca35tdcid-ostl-rif.dtsi
  • RCC (Clock tree) configuration: stm32mp257f-ev1-ca35tdcid-ostl-rcc.dtsi
  • Memory mapping configuration: stm32mp257f-ev1-ca35tdcid-ostl-resmem.dtsi
  • Board configuration: stm32mp257f-ev1-ca35tdcid-ostl.dts

DT name example given for an EV1 ("ev1") board with Cortex-A35 ("ca35") set as main processor for STM32MP25xF lines More info.png (stm32mp257f).

Note that this repository is not self-content as it relies on "SoC" dtsi files defined in each software component.


File:Tree ext dt.png
External DT folder tree

3. Component usage

The external device tree repository can be found here . It can directly be used by OSTL Yocto build system or directly by each software component. Let see how to use it:

  • Yocto: