2025-11-25 5:33 AM
Hii,
I am using STPMIC25A with STM32mp257FAK3 with DDR3L in one custom design and LPDDR4 in second custom design.
I am able to change o/p of Buck 4, Buck 6 and LDO 3 as per the requirement by changing the voltage for the same in the device tree, under fdts in Arm Trusted Firmware. I am sharing the node below:
Please confirm are there any other changes required for proper operation.
2025-12-02 2:11 AM
Hello @_Vanshika,
Regarding the power supply part, you also need to update similarly the PMIC node in OP-TEE.
Each design will also need its own set of DDR settings that correspond to the required configuration. You will need a DTSI settings file for each design in TF-A, which must be included by the top DTS file for each design. These settings files can be generated by CubeMX and there are also examples in the TF-A source code (with names like "stm32mp25-lpddr4-1x32bits-1200MHz.dtsi" for example).
Depending on the design you may also use different memory sizes, that you will need to adapt the node memory in each component (U-Boot, TF-A, OP-TEE, Linux). You can find help on this matter in this wiki page: https://wiki.st.com/stm32mpu/wiki/How_to_setup_the_DDR_configuration#STM32MP2_series.
I hope this will helps you enough to make your designs work.
Best regards,
Thomas