123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110 |
- /* linux/arch/arm/mach-s3c64xx/mach-crag6410.c
- *
- * Copyright 2011 Wolfson Microelectronics plc
- * Mark Brown <broonie@opensource.wolfsonmicro.com>
- *
- * Copyright 2011 Simtec Electronics
- * Ben Dooks <ben@simtec.co.uk>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- */
- #include <linux/kernel.h>
- #include <linux/list.h>
- #include <linux/serial_core.h>
- #include <linux/platform_device.h>
- #include <linux/fb.h>
- #include <linux/io.h>
- #include <linux/init.h>
- #include <linux/gpio.h>
- #include <linux/leds.h>
- #include <linux/delay.h>
- #include <linux/mmc/host.h>
- #include <linux/regulator/machine.h>
- #include <linux/regulator/fixed.h>
- #include <linux/pwm_backlight.h>
- #include <linux/dm9000.h>
- #include <linux/gpio_keys.h>
- #include <linux/basic_mmio_gpio.h>
- #include <linux/spi/spi.h>
- #include <linux/i2c/pca953x.h>
- #include <linux/platform_data/s3c-hsotg.h>
- #include <video/platform_lcd.h>
- #include <linux/mfd/wm831x/core.h>
- #include <linux/mfd/wm831x/pdata.h>
- #include <linux/mfd/wm831x/irq.h>
- #include <linux/mfd/wm831x/gpio.h>
- #include <sound/wm1250-ev1.h>
- #include <asm/hardware/vic.h>
- #include <asm/mach/arch.h>
- #include <asm/mach-types.h>
- #include <video/samsung_fimd.h>
- #include <mach/hardware.h>
- #include <mach/map.h>
- #include <mach/regs-sys.h>
- #include <mach/regs-gpio.h>
- #include <mach/regs-modem.h>
- #include <mach/crag6410.h>
- #include <mach/regs-gpio-memport.h>
- #include <plat/regs-serial.h>
- #include <plat/fb.h>
- #include <plat/sdhci.h>
- #include <plat/gpio-cfg.h>
- #include <linux/platform_data/spi-s3c64xx.h>
- #include <plat/keypad.h>
- #include <plat/clock.h>
- #include <plat/devs.h>
- #include <plat/cpu.h>
- #include <plat/adc.h>
- #include <linux/platform_data/i2c-s3c2410.h>
- #include <plat/pm.h>
- #include "common.h"
- /* serial port setup */
- #define UCON (S3C2410_UCON_DEFAULT | S3C2410_UCON_UCLK)
- #define ULCON (S3C2410_LCON_CS8 | S3C2410_LCON_PNONE | S3C2410_LCON_STOPB)
- #define UFCON (S3C2410_UFCON_RXTRIG8 | S3C2410_UFCON_FIFOMODE)
- static struct s3c2410_uartcfg crag6410_uartcfgs[] __initdata = {
- [0] = {
- .hwport = 0,
- .flags = 0,
- .ucon = UCON,
- .ulcon = ULCON,
- .ufcon = UFCON,
- },
- [1] = {
- .hwport = 1,
- .flags = 0,
- .ucon = UCON,
- .ulcon = ULCON,
- .ufcon = UFCON,
- },
- [2] = {
- .hwport = 2,
- .flags = 0,
- .ucon = UCON,
- .ulcon = ULCON,
- .ufcon = UFCON,
- },
- [3] = {
- .hwport = 3,
- .flags = 0,
- .ucon = UCON,
- .ulcon = ULCON,
- .ufcon = UFCON,
- },
|