1
0
mirror of git://projects.qi-hardware.com/xburst-tools.git synced 2024-11-29 10:50:39 +02:00

add-gta03-bring-sd-card-power-up.patch

Signed-off-by: Andy Green <andy@openmoko.com>
This commit is contained in:
Andy Green 2008-11-28 10:16:36 +00:00 committed by Andy Green
parent 33ee0f3ae4
commit 674a6a836a

View File

@ -124,6 +124,12 @@ void port_init_gta03(void)
* We have to talk to the PMU a little bit * We have to talk to the PMU a little bit
*/ */
/* We need SD Card rail (HCLDO) at 3.0V */
i2c_write_sync(&bb_s3c24xx, PCF50633_I2C_ADS, 0x39, 21);
/* switch HCLDO on */
i2c_write_sync(&bb_s3c24xx, PCF50633_I2C_ADS, 0x3a, 1);
/* push DOWN1 (CPU Core rail) to 1.7V, allowing 533MHz */ /* push DOWN1 (CPU Core rail) to 1.7V, allowing 533MHz */
i2c_write_sync(&bb_s3c24xx, PCF50633_I2C_ADS, 0x1e, 0x2b); i2c_write_sync(&bb_s3c24xx, PCF50633_I2C_ADS, 0x1e, 0x2b);