diff options
author | Bai Ping <b51503@freescale.com> | 2015-06-05 23:25:17 +0800 |
---|---|---|
committer | Bai Ping <b51503@freescale.com> | 2015-06-05 23:55:15 +0800 |
commit | 5d9c39bf319fb8788d1764b7dd4898b321b87001 (patch) | |
tree | 23bd5505775fb44f3cb3df2e638447cb5ad137cc /arch/arm/cpu | |
parent | 35e9c3f618f92349cdcb1f85d94014d695da6f88 (diff) | |
download | u-boot-imx-5d9c39bf319fb8788d1764b7dd4898b321b87001.zip u-boot-imx-5d9c39bf319fb8788d1764b7dd4898b321b87001.tar.gz u-boot-imx-5d9c39bf319fb8788d1764b7dd4898b321b87001.tar.bz2 |
MLK-11050 ARM: imx6: configure the PMIC_STBY_REQ pin as open drain
Configure the PMIC_STBY_REQ pin as open drain 100K according to
the design team's requirement for the PMIC_STBY_REQ pin.
Signed-off-by: Bai Ping <b51503@freescale.com>
Diffstat (limited to 'arch/arm/cpu')
-rw-r--r-- | arch/arm/cpu/armv7/mx6/soc.c | 9 |
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 9b0f126..3f4b094 100644 --- a/arch/arm/cpu/armv7/mx6/soc.c +++ b/arch/arm/cpu/armv7/mx6/soc.c @@ -469,6 +469,15 @@ int arch_cpu_init(void) set_ahb_rate(132000000); #endif +#if defined(CONFIG_MX6UL) + /* + * 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); +#endif + /* Set perclk to source from OSC 24MHz */ #if defined(CONFIG_MX6SL) set_preclk_from_osc(); |