arm64: dts: Revert "specify console via command line"
[linux/fpc-iii.git] / arch / arm / mach-s3c64xx / setup-i2c0.c
blob552eb50da38c4250dff8b9d879a5d1251ea17b09
1 // SPDX-License-Identifier: GPL-2.0
2 //
3 // Copyright 2008 Openmoko, Inc.
4 // Copyright 2008 Simtec Electronics
5 // Ben Dooks <ben@simtec.co.uk>
6 // http://armlinux.simtec.co.uk/
7 //
8 // Base S3C64XX I2C bus 0 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_i2c0_cfg_gpio(struct platform_device *dev)
22 s3c_gpio_cfgall_range(S3C64XX_GPB(5), 2,
23 S3C_GPIO_SFN(2), S3C_GPIO_PULL_UP);