Skip to main content
Visitor II
December 26, 2023
Solved

STM32MP131FAF7T how to program PMIC

  • December 26, 2023
  • 1 reply
  • 1224 views

I have a custom built  STM32MP131FAF7T board and can't set my VOUT2. The only line that is down is my VDD DDR Lines since I can't program my PMIC (STPMIC1DPQR) to have the VOUT2 to be 1.35 volts instead of 1.1 volts. My VCPU is at 1.2V, VDD is at  3.3V and VCORE is at 1.2V. 

    This topic has been closed for replies.
    Best answer by Olivier GALLIEN

    Hi @T_Dodd ,

     

    PMIC Buck2 is set and enable by TFA BL2 ( see  drivers/st/ddr/stm32mp1_ram.c:int stm32mp1_ddr_probe(void) ) in our delivery, following content of device tree node : 

    pmic: stpmic@33 {

    ... 

    vdd_ddr: buck2 {
       regulator-name = "vdd_ddr";
       regulator-min-microvolt = <1350000>;
       regulator-max-microvolt = <1350000>;
       regulator-always-on;
       regulator-over-current-protection;

       standby-ddr-off {
        regulator-off-in-suspend;
       };
      };

    Did you properly set this node in your custom configuration ? 

    Olivier 

    1 reply

    Technical Moderator
    January 2, 2024

    Hi @T_Dodd ,

     

    PMIC Buck2 is set and enable by TFA BL2 ( see  drivers/st/ddr/stm32mp1_ram.c:int stm32mp1_ddr_probe(void) ) in our delivery, following content of device tree node : 

    pmic: stpmic@33 {

    ... 

    vdd_ddr: buck2 {
       regulator-name = "vdd_ddr";
       regulator-min-microvolt = <1350000>;
       regulator-max-microvolt = <1350000>;
       regulator-always-on;
       regulator-over-current-protection;

       standby-ddr-off {
        regulator-off-in-suspend;
       };
      };

    Did you properly set this node in your custom configuration ? 

    Olivier