2026-05-26 3:01 AM
Hello
I am using STM32CubeMX (ver 6.14.1) to create a Device Tree (DT) for a custom board based on the STM32MP255F-AK.
I tried to uncheck the “Secure” option for RIF -> RISUP -> LTDC_CMN in STM32CubeMX, but
the checkbox is grayed out and I cannot make the change.
Please tell me how to change this grayed-out checkbox.
The reason I want to change LTDC_CMN from “Secure” to “Non-Secure” is...
The following error occurs during Linux kernel boot:
[ 0.795347] Registering stm32-rifsc firewall controller
[ 0.800826] stm32-rifsc 42080000.bus: display-controller@48010000: Device driver will not be probed
After investigating, including the kernel source code, it appears the cause is that the “secure” configuration is specified for LTDC_CMN.
For now, I edited the DT directly to change it from “secure” to “non-secure,” and the above error no longer appears.
[Before change]
&rifsc {
status = “okay”;
st,protreg = <
[...]
RIFPROT(STM32MP25_RIFSC_LTDC_CMN_ID, RIF_UNUSED, RIF_UNLOCK, RIF_SEC, RIF_NPRIV, RIF_CID1, RIF_SEM_DIS, RIF_CFEN)
RIFPROT(STM32MP25_RIFSC_LTDC_L0L1_ID, RIF_UNUSED, RIF_UNLOCK, RIF_NSEC, RIF_NPRIV, RIF_CID1, RIF_SEM_DIS, RIF_CFEN)
RIFPROT(STM32MP25_RIFSC_LTDC_L2_ID, RIF_UNUSED, RIF_UNLOCK, RIF_SEC, RIF_NPRIV, RIF_CID1, RIF_SEM_DIS, RIF_CFEN)
RIFPROT(STM32MP25_RIFSC_LTDC_ROT_ID, RIF_UNUSED, RIF_UNLOCK, RIF_NSEC, RIF_NPRIV, RIF_CID1, RIF_SEM_DIS, RIF_CFEN)
[...][After Modification]
&rifsc {
status = “okay”;
st,protreg = <
[...]
RIFPROT(STM32MP25_RIFSC_LTDC_CMN_ID, RIF_UNUSED, RIF_UNLOCK, RIF_NSEC, RIF_NPRIV, RIF_CID1, RIF_SEM_DIS, RIF_CFEN)
RIFPROT(STM32MP25_RIFSC_LTDC_L0L1_ID, RIF_UNUSED, RIF_UNLOCK, RIF_NSEC, RIF_NPRIV, RIF_CID1, RIF_SEM_DIS, RIF_CFEN)
RIFPROT(STM32MP25_RIFSC_LTDC_L2_ID, RIF_UNUSED, RIF_UNLOCK, RIF_NSEC, RIF_NPRIV, RIF_CID1, RIF_SEM_DIS, RIF_CFEN)
RIFPROT(STM32MP25_RIFSC_LTDC_ROT_ID, RIF_UNUSED, RIF_UNLOCK, RIF_NSEC, RIF_NPRIV, RIF_CID1, RIF_SEM_DIS, RIF_CFEN)
[...]
Best Regards,
--
okn