How to set pinctrl_z port to unsecure in device tree as default?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-04-27 6:37 AM
Hi, I would like to set all 8 pins in port Z to unsecure so i use these pins as other ports.
I read data sheet portz is set to secure mode as default after reset. And I tried write into it and system crashed.
Thanks
Solved! Go to Solution.
- Labels:
-
STM32MP15 Lines
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-05-09 11:51 PM
Hi @Community member?
GPIOZ can be unsecure adding this line in TF-A DTS :
DECPROT(STM32MP1_ETZPC_GPIOZ_ID, DECPROT_NS_RW, DECPROT_UNLOCK)>;
Refer to :
ETZPC device tree configuration - stm32mpu​
Olivier
In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-05-09 11:51 PM
Hi @Community member?
GPIOZ can be unsecure adding this line in TF-A DTS :
DECPROT(STM32MP1_ETZPC_GPIOZ_ID, DECPROT_NS_RW, DECPROT_UNLOCK)>;
Refer to :
ETZPC device tree configuration - stm32mpu​
Olivier
In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-05-10 8:51 AM
yes, thank you a lot. that did help
