summaryrefslogtreecommitdiff
path: root/board/freescale
diff options
context:
space:
mode:
authorRobin Gong <b38343@freescale.com>2014-08-08 18:35:07 +0800
committerRobin Gong <b38343@freescale.com>2014-08-08 18:40:15 +0800
commitc3e9e81a4c6ae7306c273cbe4b5d96ef44222711 (patch)
treee4234b6a87130811e3fdde62f50253a5b0bf0bae /board/freescale
parente59662a649f15f4a4c12ccc992e7b30579c6853b (diff)
downloadu-boot-imx-c3e9e81a4c6ae7306c273cbe4b5d96ef44222711.zip
u-boot-imx-c3e9e81a4c6ae7306c273cbe4b5d96ef44222711.tar.gz
u-boot-imx-c3e9e81a4c6ae7306c273cbe4b5d96ef44222711.tar.bz2
ENGR00326448: mx6slevk: I2C: correct scl/sda define
Correct the wrong setting, otherwise, i2c recovery code will use the wrong scl pin to recove, and will never recovery successfully. Signed-off-by: Robin Gong <b38343@freescale.com>
Diffstat (limited to 'board/freescale')
-rw-r--r--board/freescale/mx6slevk/mx6slevk.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/board/freescale/mx6slevk/mx6slevk.c b/board/freescale/mx6slevk/mx6slevk.c
index 1f24f03..0fb22dc 100644
--- a/board/freescale/mx6slevk/mx6slevk.c
+++ b/board/freescale/mx6slevk/mx6slevk.c
@@ -69,12 +69,12 @@ DECLARE_GLOBAL_DATA_PTR;
#define PC MUX_PAD_CTRL(I2C_PAD_CTRL)
/* I2C1 for PMIC */
struct i2c_pads_info i2c_pad_info0 = {
- .scl = {
+ .sda = {
.i2c_mode = MX6_PAD_I2C1_SDA__I2C1_SDA | PC,
.gpio_mode = MX6_PAD_I2C1_SDA__GPIO_3_13 | PC,
.gp = IMX_GPIO_NR(3, 13),
},
- .sda = {
+ .scl = {
.i2c_mode = MX6_PAD_I2C1_SCL__I2C1_SCL | PC,
.gpio_mode = MX6_PAD_I2C1_SCL__GPIO_3_12 | PC,
.gp = IMX_GPIO_NR(3, 12),