Joerg, thanks for reporting this critter. Can you please test the patch below ?
- Werner ------------------------------- cut here -------------------------------- The PMU initializes all GPIOs to inputs in NoPower, including GPIO2, which drives GSM_ON and has an external pull-up. Furthermore, we may have entered PMU.Standby with the modem up. Unlike u-boot, qi didn't initialize the GPIOs. With this patch is does. Signed-off-by: Werner Almesberger <[email protected]> --- diff --git a/src/cpu/s3c2442/gta02.c b/src/cpu/s3c2442/gta02.c index ac18338..5ad5316 100644 --- a/src/cpu/s3c2442/gta02.c +++ b/src/cpu/s3c2442/gta02.c @@ -45,6 +45,9 @@ const struct pcf50633_init pcf50633_init[] = { { PCF50633_REG_OOCMODE, 0x55 }, { PCF50633_REG_OOCCTL, 0x47 }, + { PCF50633_REG_GPIO2CFG, 0x00 }, /* GSM_ON = 0 */ + { PCF50633_REG_GPIOCTL, 0x01 }, /* only GPIO1 is input */ + { PCF50633_REG_SVMCTL, 0x08 }, /* 3.10V SYS vth, 62ms filter */ { PCF50633_REG_BVMCTL, 0x02 }, /* 2.80V BAT vth, 62ms filter */
