1 // SPDX-License-Identifier: GPL-2.0
3 // Copyright 2008 Openmoko, Inc.
4 // Copyright 2008 Simtec Electronics
5 // Ben Dooks <ben@simtec.co.uk>
6 // http://armlinux.simtec.co.uk/
8 // Base S3C64XX I2C bus 1 gpio configuration
10 #include <linux/kernel.h>
11 #include <linux/types.h>
12 #include <linux/gpio.h>
14 struct platform_device
; /* don't need the contents */
16 #include <linux/platform_data/i2c-s3c2410.h>
17 #include <plat/gpio-cfg.h>
18 #include <mach/gpio-samsung.h>
20 void s3c_i2c1_cfg_gpio(struct platform_device
*dev
)
22 s3c_gpio_cfgall_range(S3C64XX_GPB(2), 2,
23 S3C_GPIO_SFN(6), S3C_GPIO_PULL_UP
);