arm: rmobile: kzm9g: enable I2C2
authorTetsuyuki Kobayashi <koba@kmckk.co.jp>
Thu, 13 Sep 2012 19:08:04 +0000 (19:08 +0000)
committerHeiko Schocher <hs@denx.de>
Tue, 16 Oct 2012 03:47:21 +0000 (05:47 +0200)
Acked-by: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
Signed-off-by: Tetsuyuki Kobayashi <koba@kmckk.co.jp>
board/kmc/kzm9g/kzm9g.c

index 4bfecb6..54f25e0 100644 (file)
@@ -344,6 +344,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);