ARM: tegra: fix compilation error due to mach/hardware.h removal
[linux-btrfs-devel.git] / arch / arm / mach-h720x / include / mach / boards.h
blob38b8e0d61fbfc93f5d3b6cc89b8211bca0dae5c4
1 /*
2 * arch/arm/mach-h720x/include/mach/boards.h
4 * Copyright (C) 2003 Thomas Gleixner <tglx@linutronix.de>
5 * (C) 2003 Robert Schwebel <r.schwebel@pengutronix.de>
7 * This file contains the board specific defines for various devices
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.
14 #ifndef __ASM_ARCH_HARDWARE_INCMACH_H
15 #error Do not include this file directly. Include asm/hardware.h instead !
16 #endif
18 /* Hynix H7202 developer board specific device defines */
19 #ifdef CONFIG_ARCH_H7202
21 /* FLASH */
22 #define H720X_FLASH_VIRT 0xd0000000
23 #define H720X_FLASH_PHYS 0x00000000
24 #define H720X_FLASH_SIZE 0x02000000
26 /* onboard LAN controller */
27 # define ETH0_PHYS 0x08000000
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)
39 #endif
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
48 /* SRAM DISK SPACE */
49 #define SRAM_DISK_BASE 0xf1000000
50 #define SRAM_DISK_START 0x04000000
51 #define SRAM_DISK_SIZE 0x00400000
52 #endif