1/* 2 * arch/arm/mach-h720x/include/mach/boards.h 3 * 4 * Copyright (C) 2003 Thomas Gleixner <tglx@linutronix.de> 5 * (C) 2003 Robert Schwebel <r.schwebel@pengutronix.de> 6 * 7 * This file contains the board specific defines for various devices 8 * 9 * This program is free software; you can redistribute it and/or modify 10 * it under the terms of the GNU General Public License version 2 as 11 * published by the Free Software Foundation. 12 */ 13 14#ifndef __ASM_ARCH_HARDWARE_INCMACH_H 15#error Do not include this file directly. Include asm/hardware.h instead ! 16#endif 17 18/* Hynix H7202 developer board specific device defines */ 19#ifdef CONFIG_ARCH_H7202 20 21/* FLASH */ 22#define H720X_FLASH_VIRT 0xd0000000 23#define H720X_FLASH_PHYS 0x00000000 24#define H720X_FLASH_SIZE 0x02000000 25 26/* onboard LAN controller */ 27# define ETH0_PHYS 0x08000000 28 29/* Touch screen defines */ 30/* GPIO Port */ 31#define PEN_GPIO GPIO_B_VIRT 32/* Bitmask for pen down interrupt */ 33#define PEN_INT_BIT (1<<7) 34/* Bitmask for pen up interrupt */ 35#define PEN_ENA_BIT (1<<6) 36/* pen up interrupt */ 37#define IRQ_PEN IRQ_MUX_GPIOB(7) 38 39#endif 40 41/* Hynix H7201 developer board specific device defines */ 42#if defined(CONFIG_ARCH_H7201) 43/* ROM DISK SPACE */ 44#define ROM_DISK_BASE 0xc1800000 45#define ROM_DISK_START 0x41800000 46#define ROM_DISK_SIZE 0x00700000 47 48/* SRAM DISK SPACE */ 49#define SRAM_DISK_BASE 0xf1000000 50#define SRAM_DISK_START 0x04000000 51#define SRAM_DISK_SIZE 0x00400000 52#endif 53