diff options
author | Bai Ping <b51503@freescale.com> | 2015-06-05 23:25:17 +0800 |
---|---|---|
committer | Max Krummenacher <max.krummenacher@toradex.com> | 2016-03-09 14:42:38 +0100 |
commit | cf3824b2cce373ae127cdcad51430d2e2721d46e (patch) | |
tree | b7a576a75c3e6017a208a6edc3913053e96b2e08 | |
parent | e9e7505a8a835544534c14169725d7d9fb846817 (diff) |
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>
-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 9b0f12662da..3f4b094773c 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(); |