Configuring ETZPC in the TF-A device tree issue
Hi,
According to this link https://wiki.st.com/stm32mpu/wiki/ETZPC_device_tree_configuration#DT_configuration_-28board_level-29
it is possible to configure the ETZPC peripheral in the device tree of TF-A. I am using a distribution package, so I modified and built the tf-a-stm32mp recipe using devtool. However, by adding the lines mentioned in the wiki link into TF-A device tree, the STM freezes on boot and doesnt respond, the only way is to flash the backup image in fsbl2 partition. I have added following lines in the stm32mp157c-dk2.dts file in the fdts directory:
&etzpc {
st,decprot = <
DECPROT(STM32MP1_ETZPC_I2C5_ID, DECPROT_MCU_ISOLATION, DECPROT_UNLOCK)
>;
};I want to isolate the I2C5 peripheral for the Cortex M4 only, but without any luck. Is there any other configuration I am missing? Or perhaps it is the wrong file to edit?
