Commit c3e9e81a4c6ae7306c273cbe4b5d96ef44222711

Authored by Robin Gong
1 parent e59662a649

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>

Showing 1 changed file with 2 additions and 2 deletions Side-by-side Diff

board/freescale/mx6slevk/mx6slevk.c
... ... @@ -69,12 +69,12 @@
69 69 #define PC MUX_PAD_CTRL(I2C_PAD_CTRL)
70 70 /* I2C1 for PMIC */
71 71 struct i2c_pads_info i2c_pad_info0 = {
72   - .scl = {
  72 + .sda = {
73 73 .i2c_mode = MX6_PAD_I2C1_SDA__I2C1_SDA | PC,
74 74 .gpio_mode = MX6_PAD_I2C1_SDA__GPIO_3_13 | PC,
75 75 .gp = IMX_GPIO_NR(3, 13),
76 76 },
77   - .sda = {
  77 + .scl = {
78 78 .i2c_mode = MX6_PAD_I2C1_SCL__I2C1_SCL | PC,
79 79 .gpio_mode = MX6_PAD_I2C1_SCL__GPIO_3_12 | PC,
80 80 .gp = IMX_GPIO_NR(3, 12),