On Thu, Sep 11, 2014 at 9:32 AM, Jason Kridner <[email protected]> wrote:
>
>
> On Thursday, September 11, 2014 10:23:40 AM UTC-4, Tom Rini wrote:
>>
>> On Friday, September 5, 2014 1:39:04 PM UTC-4, RobertCNelson wrote:
>>>
>>> On Fri, Sep 5, 2014 at 12:32 PM, Gerald Coley <[email protected]>
>>> wrote:
>>> > SW is supposed to set it to 1.35V. Sounds like it got dropped somewhere
>>> > because initially it did.. It was designed this way because when it was
>>> > designed, the PMIC defaulted to 1.5V. Since the design there is a
>>> > TPS65217D
>>> > that was release later that supports the 1.35V initial setting.
>>>
>>> It should be set here:
>>>
>>>
>>> http://git.denx.de/?p=u-boot.git;a=blob;f=board/ti/am335x/board.c;h=0739e6021a21e71d7d0f5c840b793ce7fdf98fae;hb=HEAD#l275
>>>
>>> 269 /*
>>> 270 * Increase USB current limit to 1300mA or 1800mA and
>>> set
>>> 271 * the MPU voltage controller as needed.
>>> 272 */
>>> 273 if (dpll_mpu_opp100.m == MPUPLL_M_1000) {
>>> 274 usb_cur_lim =
>>> TPS65217_USB_INPUT_CUR_LIMIT_1800MA;
>>> 275 mpu_vdd = TPS65217_DCDC_VOLT_SEL_1325MV;
>>> 276 } else {
>>> 277 usb_cur_lim =
>>> TPS65217_USB_INPUT_CUR_LIMIT_1300MA;
>>> 278 mpu_vdd = TPS65217_DCDC_VOLT_SEL_1275MV;
>>> 279 }
>>>
>>>
>>> But that only happens if you have the "beaglebone black" header in
>>> eeprom:
>>>
>>> 262 /*
>>> 263 * Override what we have detected since we know if we
>>> have
>>> 264 * a Beaglebone Black it supports 1GHz.
>>> 265 */
>>> 266 if (board_is_bone_lt(&header))
>>>
>>> So you'll have to override that check.
>>
>>
>> Note that the question was about DCDC1 and DDR voltage not DCDC2/3 (CORE
>> and MPU) voltage. I don't know what initial bring-up U-Boot was whacking
>> DCDC1 but it never reached the rest of the world so it's more a happy
>> accident that should be corrected (and wouldn't be too hard to do, if anyone
>> out there is looking for a reason to get their feet wet ).
>
>
> Yeah, I was looking for DCDC1 and couldn't find it, so I'm working on adding
> it now. Not sure how quick I'll get it posted, so I wouldn't mind someone
> else chiming in with the fix.
Here's a fix for the dts..
debian@beaglebone:/opt/source/dtb-3.14-ti/src/arm$ git diff am335x-boneblack.dts
diff --git a/src/arm/am335x-boneblack.dts b/src/arm/am335x-boneblack.dts
index d594da5..c1420f3 100644
--- a/src/arm/am335x-boneblack.dts
+++ b/src/arm/am335x-boneblack.dts
@@ -26,6 +26,15 @@
pinctrl-0 = <&clkout2_pin>;
};
+&dcdc1_reg {
+ /* VDD_DDR3 voltage 1.35V */
+ regulator-name = "vdd_ddr3";
+ regulator-min-microvolt = <1350000>;
+ regulator-max-microvolt = <1350000>;
+ regulator-boot-on;
+ regulator-always-on;
+};
+
#include "am335x-boneblack-emmc.dtsi"
/* spi0: */
debian@beaglebone:/opt/source/dtb-3.14-ti/src/arm$ dmesg | grep vdd
[ 3.216522] vdd_ddr3: 1350 mV
[ 3.219877] vdd_mpu: 925 <--> 1375 mV at 1325 mV
[ 3.221770] vdd_core: 925 <--> 1150 mV at 1125 mV
Regards,
--
Robert Nelson
http://www.rcn-ee.com/
--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.