|
@@ -0,0 +1,78 @@
|
|
|
|
+/*
|
|
|
|
+ * AP4EVB board support
|
|
|
|
+ *
|
|
|
|
+ * 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.
|
|
|
|
+ *
|
|
|
|
+ * You should have received a copy of the GNU General Public License
|
|
|
|
+ * along with this program; if not, write to the Free Software
|
|
|
|
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|
|
|
+ */
|
|
|
|
+#include <linux/clk.h>
|
|
|
|
+#include <linux/kernel.h>
|
|
|
|
+#include <linux/init.h>
|
|
|
|
+#include <linux/interrupt.h>
|
|
|
|
+#include <linux/irq.h>
|
|
|
|
+#include <linux/platform_device.h>
|
|
|
|
+#include <linux/delay.h>
|
|
|
|
+#include <linux/mfd/tmio.h>
|
|
|
|
+#include <linux/mmc/host.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/mmc/sh_mmcif.h>
|
|
|
|
+#include <linux/i2c.h>
|
|
|
|
+#include <linux/i2c/tsc2007.h>
|
|
|
|
+#include <linux/io.h>
|
|
|
|
+#include <linux/regulator/fixed.h>
|
|
|
|
+#include <linux/regulator/machine.h>
|
|
|
|
+#include <linux/smsc911x.h>
|
|
|
|
+#include <linux/sh_intc.h>
|
|
|
|
+#include <linux/sh_clk.h>
|
|
|
|
+#include <linux/gpio.h>
|
|
|
|
+#include <linux/input.h>
|
|
|
|
+#include <linux/leds.h>
|
|
|
|
+#include <linux/input/sh_keysc.h>
|
|
|
|
+#include <linux/usb/r8a66597.h>
|
|
|
|
+#include <linux/pm_clock.h>
|
|
|
|
+#include <linux/dma-mapping.h>
|
|
|
|
+
|
|
|
|
+#include <media/sh_mobile_ceu.h>
|
|
|
|
+#include <media/sh_mobile_csi2.h>
|
|
|
|
+#include <media/soc_camera.h>
|
|
|
|
+
|
|
|
|
+#include <sound/sh_fsi.h>
|
|
|
|
+#include <sound/simple_card.h>
|
|
|
|
+
|
|
|
|
+#include <video/sh_mobile_hdmi.h>
|
|
|
|
+#include <video/sh_mobile_lcdc.h>
|
|
|
|
+#include <video/sh_mipi_dsi.h>
|
|
|
|
+
|
|
|
|
+#include <mach/common.h>
|
|
|
|
+#include <mach/irqs.h>
|
|
|
|
+#include <mach/sh7372.h>
|
|
|
|
+
|
|
|
|
+#include <asm/mach-types.h>
|
|
|
|
+#include <asm/mach/arch.h>
|
|
|
|
+#include <asm/setup.h>
|
|
|
|
+
|
|
|
|
+#include "sh-gpio.h"
|
|
|
|
+
|
|
|
|
+/*
|
|
|
|
+ * Address Interface BusWidth note
|
|
|
|
+ * ------------------------------------------------------------------
|
|
|
|
+ * 0x0000_0000 NOR Flash ROM (MCP) 16bit SW7 : bit1 = ON
|
|
|
|
+ * 0x0800_0000 user area -
|
|
|
|
+ * 0x1000_0000 NOR Flash ROM (MCP) 16bit SW7 : bit1 = OFF
|
|
|
|
+ * 0x1400_0000 Ether (LAN9220) 16bit
|
|
|
|
+ * 0x1600_0000 user area - cannot use with NAND
|