Path: blob/master/arch/arm/mach-h720x/include/mach/boards.h
17659 views
/*1* arch/arm/mach-h720x/include/mach/boards.h2*3* Copyright (C) 2003 Thomas Gleixner <[email protected]>4* (C) 2003 Robert Schwebel <[email protected]>5*6* This file contains the board specific defines for various devices7*8* This program is free software; you can redistribute it and/or modify9* it under the terms of the GNU General Public License version 2 as10* published by the Free Software Foundation.11*/1213#ifndef __ASM_ARCH_HARDWARE_INCMACH_H14#error Do not include this file directly. Include asm/hardware.h instead !15#endif1617/* Hynix H7202 developer board specific device defines */18#ifdef CONFIG_ARCH_H72021920/* FLASH */21#define H720X_FLASH_VIRT 0xd000000022#define H720X_FLASH_PHYS 0x0000000023#define H720X_FLASH_SIZE 0x020000002425/* onboard LAN controller */26# define ETH0_PHYS 0x080000002728/* Touch screen defines */29/* GPIO Port */30#define PEN_GPIO GPIO_B_VIRT31/* Bitmask for pen down interrupt */32#define PEN_INT_BIT (1<<7)33/* Bitmask for pen up interrupt */34#define PEN_ENA_BIT (1<<6)35/* pen up interrupt */36#define IRQ_PEN IRQ_MUX_GPIOB(7)3738#endif3940/* Hynix H7201 developer board specific device defines */41#if defined (CONFIG_ARCH_H7201)42/* ROM DISK SPACE */43#define ROM_DISK_BASE 0xc180000044#define ROM_DISK_START 0x4180000045#define ROM_DISK_SIZE 0x007000004647/* SRAM DISK SPACE */48#define SRAM_DISK_BASE 0xf100000049#define SRAM_DISK_START 0x0400000050#define SRAM_DISK_SIZE 0x0040000051#endif52535455