summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorYe Li <ye.li@nxp.com>2016-03-11 10:58:33 +0800
committerYe Li <ye.li@nxp.com>2016-03-25 16:02:13 +0800
commit95302eefcde6f37b248ea1cc9892867cc3600910 (patch)
treee653388f5438b0c3726c264704261c0bc8492f2c /arch
parentf66842f79d4e33ace45762466eed23a86d367642 (diff)
downloadu-boot-imx-95302eefcde6f37b248ea1cc9892867cc3600910.zip
u-boot-imx-95302eefcde6f37b248ea1cc9892867cc3600910.tar.gz
u-boot-imx-95302eefcde6f37b248ea1cc9892867cc3600910.tar.bz2
MLK-12532 mx6ul: Add work around for PMIC_STBY_REQ_PAD on TO1.0
According to the design team's requirement, on i.MX6UL, the PMIC_STBY_REQ_PAD should be configured to open drain 100K. The TO1.1 has fixed the issue, add work around for TO1.0. Signed-off-by: Ye Li <ye.li@nxp.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/cpu/armv7/mx6/soc.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm/cpu/armv7/mx6/soc.c b/arch/arm/cpu/armv7/mx6/soc.c
index d5418ae..b648704 100644
--- a/arch/arm/cpu/armv7/mx6/soc.c
+++ b/arch/arm/cpu/armv7/mx6/soc.c
@@ -389,6 +389,15 @@ int arch_cpu_init(void)
if (mxc_get_clock(MXC_ARM_CLK) == 396000000)
set_ahb_rate(132000000);
+ if (is_cpu_type(MXC_CPU_MX6UL) && is_soc_rev(CHIP_REV_1_0)) {
+ /*
+ * According to the design team's requirement on i.MX6UL,
+ * the PMIC_STBY_REQ PAD should be configured as open
+ * drain 100K (0x0000b8a0).
+ */
+ writel(0x0000b8a0, IOMUXC_BASE_ADDR + 0x29c);
+ }
+
/* Set perclk to source from OSC 24MHz */
#if defined(CONFIG_MX6SL)
set_preclk_from_osc();