-
Notifications
You must be signed in to change notification settings - Fork 6.6k
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
boards: Add TF-M support for all nordic NS boards #63515
boards: Add TF-M support for all nordic NS boards #63515
Conversation
The following west manifest projects have been modified in this Pull Request:
Note: This message is automatically posted and updated by the Manifest GitHub Action. |
1658ee3
to
14fe946
Compare
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.
for 2nd commit: there's no need to add Nordic internals (NCSDK-14811) to upstream commits.
modules/trusted-firmware-m/nordic_nrf/include/tfm_read_ranges.h
Outdated
Show resolved
Hide resolved
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.
For commit: boards: Enable TF-M by default for nordic SoC NS boards
:
What about adding a Kconfig TFM_NS_TARGET set to y by _NS targets which would allow to do all this at a single location ?
14fe946
to
052365a
Compare
@RaytacStanley The RayTac DKs mdbt53_db_40 and mdbt53v_db_40 don't have a uart1 node with pins. |
0183925
to
6801110
Compare
6801110
to
f2f64c2
Compare
3e9829c
to
48db1ce
Compare
@erwango I have done something that addresses the concern of a single location, but limited to the nordic SOC family. |
Ok, fine with me. Out of curiosity, did you had a specific concern for limit this to NRF ? |
I just don't want to make this choice for everyone. For nordic I know what the policy is, for the others I have no idea. |
48db1ce
to
68d7a53
Compare
68d7a53
to
496e0b1
Compare
496e0b1
to
322aec9
Compare
Add generic SoC support for the supported nordic SoCs: - nrf5340 - nrf9160 - nrf9120 Add generic SoC support by taking board specific configurations from zephyr devicetree and kconfig. Signed-off-by: Joakim Andersson <joakim.andersson@nordicsemi.no>
Add uart1 pinctrl assignment to nrf5340 Audio DK. Assigned according to Schematic for this board. Uart1 pins needed by TF-M when using the NS board variant. Signed-off-by: Joakim Andersson <joakim.andersson@nordicsemi.no>
Enable TF-M by default for nordic nRF5340 and nrf9160 SoC boards. Signed-off-by: Joakim Andersson <joakim.andersson@nordicsemi.no>
All nRF91 and nRF5340 boards (except the DKs) should support TF-M/_ns now. Signed-off-by: Joakim Andersson <joakim.andersson@nordicsemi.no>
Add HW flow control pins for raytac_mdbt53_db_40_nrf5340 board. Use the same pins as the cpunet has been assigned, as the RX / TX lines was also using the same as cpunet. Remove bias-pull-up as uart1 using same pins on cpunet does not have this either. Signed-off-by: Joakim Andersson <joakim.andersson@nordicsemi.no>
Add uart1 pin assignment for the raytac_mdbt53v_db_40_nrf5340 board. This is required in order to support building TF-M for the NS variant. Signed-off-by: Joakim Andersson <joakim.andersson@nordicsemi.no>
cbec1a3
to
f1bbece
Compare
Add generic SoC support for the supported nordic SoCs:
Add generic SoC support by taking board specific configurations from
zephyr devicetree and kconfig.