summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin Gong <b38343@freescale.com>2014-08-08 18:35:07 +0800
committerJason Liu <r64343@freescale.com>2014-08-11 13:16:46 +0800
commit7f7d66b7653f3a72548ba247099717a531c0c0e7 (patch)
treecccc009fbb05a029a7dcfad3e346cac25eef5df7
parent91cbd4d530f240042d112fc4166a143fa659524b (diff)
downloadu-boot-imx-7f7d66b7653f3a72548ba247099717a531c0c0e7.zip
u-boot-imx-7f7d66b7653f3a72548ba247099717a531c0c0e7.tar.gz
u-boot-imx-7f7d66b7653f3a72548ba247099717a531c0c0e7.tar.bz2
ENGR00326448: mx6slevk: I2C: correct scl/sda definekk4.4.3_2.0.0-betaimx_v2014.04_3.10.31_1.1.0_beta
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> (cherry picked from commit c3e9e81a4c6ae7306c273cbe4b5d96ef44222711)
-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),