diff options
author | Fabio Estevam <fabio.estevam@freescale.com> | 2012-05-07 05:42:34 (GMT) |
---|---|---|
committer | Heiko Schocher <hs@denx.de> | 2012-07-11 08:54:53 (GMT) |
commit | 175a7d2778ad26a244f5c846a6385413c87d95a7 (patch) | |
tree | f97a8fce42d2ad6986bf130761058fc95024bab6 /board/freescale | |
parent | fa86d1c0bf3f4c68aa565952f1fcafbe2aa2c050 (diff) | |
download | u-boot-fsl-qoriq-175a7d2778ad26a244f5c846a6385413c87d95a7.tar.xz |
mx28evk: Add I2C support
Add I2C support.
Tested by placing a 24LC16 EEPROM into the U50 slot which comes empty from factory.
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Acked-by: Marek Vasut <marex@denx.de>
Diffstat (limited to 'board/freescale')
-rw-r--r-- | board/freescale/mx28evk/iomux.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/board/freescale/mx28evk/iomux.c b/board/freescale/mx28evk/iomux.c index 00cc0cc..40d8cf6 100644 --- a/board/freescale/mx28evk/iomux.c +++ b/board/freescale/mx28evk/iomux.c @@ -159,6 +159,9 @@ const iomux_cfg_t iomux_setup[] = { MX28_PAD_SSP2_MISO__SSP2_D0 | MUX_CONFIG_SSP2, MX28_PAD_SSP2_SS0__SSP2_D3 | (MXS_PAD_3V3 | MXS_PAD_8MA | MXS_PAD_PULLUP), + /* I2C */ + MX28_PAD_I2C0_SCL__I2C0_SCL, + MX28_PAD_I2C0_SDA__I2C0_SDA, }; #define HW_DRAM_CTL29 (0x74 >> 2) |