1 // SPDX-License-Identifier: GPL-2.0
3 // Copyright 2008 Simtec Electronics
4 // Ben Dooks <ben@simtec.co.uk>
6 // S3C24XX Base setup for i2c device
8 #include <linux/kernel.h>
9 #include <linux/gpio.h>
11 struct platform_device
;
13 #include <plat/gpio-cfg.h>
14 #include <linux/platform_data/i2c-s3c2410.h>
15 #include <mach/hardware.h>
16 #include <mach/regs-gpio.h>
17 #include <mach/gpio-samsung.h>
19 void s3c_i2c0_cfg_gpio(struct platform_device
*dev
)
21 s3c_gpio_cfgpin(S3C2410_GPE(15), S3C2410_GPE15_IICSDA
);
22 s3c_gpio_cfgpin(S3C2410_GPE(14), S3C2410_GPE14_IICSCL
);