[U-Boot] [PATCH v2 9/9] arm: rmobile: kzm9g: enable I2C2
Tetsuyuki Kobayashi
koba at kmckk.co.jp
Wed Sep 12 10:46:13 CEST 2012
Set gpio config for I2C2.
Signed-off-by: Tetsuyuki Kobayashi <koba at kmckk.co.jp>
---
Changes for v2:
- new
board/kmc/kzm9g/kzm9g.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/board/kmc/kzm9g/kzm9g.c b/board/kmc/kzm9g/kzm9g.c
index 93ca9d7..22f581a 100644
--- a/board/kmc/kzm9g/kzm9g.c
+++ b/board/kmc/kzm9g/kzm9g.c
@@ -370,6 +370,8 @@ int board_init(void)
gpio_direction_output(GPIO_PORT15, 1);
/* I2C */
+ gpio_request(GPIO_FN_PORT237_I2C_SCL2, NULL);
+ gpio_request(GPIO_FN_PORT236_I2C_SDA2, NULL);
gpio_request(GPIO_FN_PORT27_I2C_SCL3, NULL);
gpio_request(GPIO_FN_PORT28_I2C_SDA3, NULL);
--
1.7.9.5
More information about the U-Boot
mailing list