/* * mackerel board support * * Copyright (C) 2010 Renesas Solutions Corp. * Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> * * based on ap4evb * Copyright (C) 2010 Magnus Damm * Copyright (C) 2008 Yoshihiro Shimoda * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; version 2 of the License. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. */#include<linux/delay.h>#include<linux/kernel.h>#include<linux/init.h>#include<linux/interrupt.h>#include<linux/irq.h>#include<linux/platform_device.h>#include<linux/gpio.h>#include<linux/input.h>#include<linux/io.h>#include<linux/i2c.h>#include<linux/leds.h>#include<linux/mfd/tmio.h>#include<linux/mmc/host.h>#include<linux/mmc/sh_mmcif.h>#include<linux/mmc/sh_mobile_sdhi.h>#include<linux/mtd/mtd.h>#include<linux/mtd/partitions.h>#include<linux/mtd/physmap.h>#include<linux/mtd/sh_flctl.h>#include<linux/pinctrl/machine.h>#include<linux/pinctrl/pinconf-generic.h>#include&l