AnsweredAssumed Answered

Overlapping reg properties in imx6qdl.dtsi

Question asked by Abdur Rehman on Feb 22, 2017
Latest reply on Mar 9, 2017 by Carlos_Musich

Hi,

 

We are trying to run different OS on different cores on sabrelite and we have a tool that partitions the resources in the device tree for these OSes.
This tool complains when there are nodes with overlapping memory regions.

e.g
At arch/arm/boot/dts/imx6qdl.dtsi there are multiple nodes that have overlapping reg properties.

Set 1:
mmdc0-1@021b0000 { /* MMDC0-1 */
compatible = “fsl,imx6q-mmdc-combine”;
};
mmdc0: mmdc@021b0000 { /* MMDC0 */
compatible = “fsl,imx6q-mmdc”;
};

 

Set 2:
caam_snvs: caam-snvs@020cc000 {
compatible = “fsl,imx6q-caam-snvs”;
};
snvs: snvs@020cc000 {
compatible = “fsl,sec-v4.0-mon”, “syscon”, “simple-mfd”;
};

 

Is this okay to have such overlaps? Do these overlaps in memory regions of different nodes in the dts indicate any problems with the DTS?

 

----------------
I asked this originally at https://boundarydevices.com/morty-yocto-release/#comment-376924 and was redirected here.

 

Thanks.

Outcomes