-
Notifications
You must be signed in to change notification settings - Fork 8.5k
dts: arm: st: h7: add ITCM and DTCM memory regions for STM32H7 #100255
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dts: arm: st: h7: add ITCM and DTCM memory regions for STM32H7 #100255
Conversation
erwango
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
From the search I've just made, all STM32H7 based soc use 64/128K ITCM/DTCM.
Unless I'm wrong, it would be better to put it directly in h7.dtsi (and delete node from m4 cores).
We'll also need to delete any itcm/dtcm defined by _m7 files. This will be a much bigger change, 10+ files, is that okay? |
Sure indeed, a complete clean up is required. Thanks !
To be clear, I meant explicitly use /delete-node/ directive in _m4.dtsi files to preserve existing configuration avoid resource sharing conflicts. |
a4f83e0 to
e05d274
Compare
erwango
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add ITCM and DTCM memory region definitions to the common STM32H7 devicetree. ITCM: 64 KB @ 0x00000000 DTCM: 128 KB @ 0x20000000 Signed-off-by: Ibrahim Abdalkader <i.abdalkader@gmail.com>
Delete the ITCM and DTCM nodes from all M4-specific devicetree. Signed-off-by: Ibrahim Abdalkader <i.abdalkader@gmail.com>
e05d274 to
7d6fe43
Compare
|
erwango
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I could not find a H7 that is not compatible with this setting from datasheet.
mathieuchopstm
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems correct per ST Product Selector (which seems to have a bug making no TCM appear despite some products having it... glanced at a few datasheets too)



Add ITCM and DTCM memory region definitions for the STM32H7.
ITCM: 64 KB @ 0x00000000
DTCM: 128 KB @ 0x20000000