This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TPS65218 u-boot and device tree setting for AM3352

Other Parts Discussed in Thread: TPS65218, AM3352, TPS65910, TPS65217

My board is AM3352 + TPS65218.

I've read about the document "Powering the AM335x/AM437x with TPS65218", but this document only describe the hardware pin connection.

I'm searching for TPS65218 device tree setting and correct initialized flow of uboot code, and I think if TI have tried AM335x + TPS65218, maybe TI has

the relative code.

Is there any document or code of "AM335x + TPS65218" for SW setting?

Thanks.

PS. I've tried to modify TPS65910 setting for AM335x and TPS65218 setting for AM437x, but I think the correct way is to reference the code which is verified by TI.

  • Hi,

    An example for the TPS settings can be found in any of the AM335x dts files (am335x-boneblack.dts, am335x-bone-common.dtsi, am335x-evmsk.dts & am335x-evm.dts). Settings are the same as the ones described in the reference files.

    TPS65217 & TPS65218 drivers are both included by default in the linux kernel.

    Best Regards,
    Yordan
  • Hi! Yordan

    Thanks for reply.

    My device information:
    CPU clock 1GHz
    DCDC1=1.1v(OPP100)
    DCDC2=1.325v(OPP100)
    DCDC3=1.35v(DDR3L)
    DCDC4=3.3v
    DCDC5=connect to ground
    DCDC6=connect to ground
    LDO1=1.8v

    Here is my modification, can you check this for me?
    If DCDC5, DCDC6 are connected to ground, should I remove them from setting?

    Thank you!

    &tps {
    regulators {
    dcdc1_reg: regulator@0 {
    /* VDD_CORE voltage limits 0.95V - 1.1V with +/-4% tolerance */
    regulator-name = "vdd_core";
    regulator-min-microvolt = <925000>;
    regulator-max-microvolt = <1150000>;
    regulator-boot-on;
    regulator-always-on;
    };

    dcdc2_reg: regulator@1 {
    /* VDD_MPU voltage limits 0.95V - 1.325V with +/-4% tolerance */
    regulator-name = "vdd_mpu";
    regulator-min-microvolt = <925000>;
    regulator-max-microvolt = <1378000>;
    regulator-boot-on;
    regulator-always-on;
    };

    dcdc3_reg: regulator@2 {
    /* VDDS_DDR voltage limits 1.35V with +/-4% tolerance */
    regulator-name = "vdds_ddr";
    regulator-min-microvolt = <1283000>;
    regulator-max-microvolt = <1418000>;
    regulator-boot-on;
    regulator-always-on;
    };

    dcdc4_reg: regulator@3 {
    regulator-always-on;
    };

    dcdc5_reg: regulator@4 {
    regulator-always-on;
    };

    dcdc6_reg: regulator@5 {
    regulator-always-on;
    };

    ldo1_reg: regulator@6 {
    regulator-always-on;
    };
    };
    };
  • Hi,

    Yes, you can remove the DCDC5 & DCDC6 if you do not use them.

    Best Regards,
    Yordan