/*
|
/*
|
* linux/include/asm-arm/arch-ebsa/hardware.h
|
* linux/include/asm-arm/arch-ebsa/hardware.h
|
*
|
*
|
* Copyright (C) 1996 Russell King.
|
* Copyright (C) 1996 Russell King.
|
*
|
*
|
* This file contains the hardware definitions of the EBSA-110.
|
* This file contains the hardware definitions of the EBSA-110.
|
*/
|
*/
|
|
|
#ifndef __ASM_ARCH_HARDWARE_H
|
#ifndef __ASM_ARCH_HARDWARE_H
|
#define __ASM_ARCH_HARDWARE_H
|
#define __ASM_ARCH_HARDWARE_H
|
|
|
#define IO_BASE 0xe0000000
|
#define IO_BASE 0xe0000000
|
#define IO_SIZE 0x20000000
|
#define IO_SIZE 0x20000000
|
#define IO_START 0xe0000000
|
#define IO_START 0xe0000000
|
|
|
#ifndef __ASSEMBLER__
|
#ifndef __ASSEMBLER__
|
|
|
/*
|
/*
|
* IO definitions
|
* IO definitions
|
*/
|
*/
|
#define PIT_CTRL ((volatile unsigned char *)0xf200000d)
|
#define PIT_CTRL ((volatile unsigned char *)0xf200000d)
|
#define PIT_T2 ((volatile unsigned char *)0xf2000009)
|
#define PIT_T2 ((volatile unsigned char *)0xf2000009)
|
#define PIT_T1 ((volatile unsigned char *)0xf2000005)
|
#define PIT_T1 ((volatile unsigned char *)0xf2000005)
|
#define PIT_T0 ((volatile unsigned char *)0xf2000001)
|
#define PIT_T0 ((volatile unsigned char *)0xf2000001)
|
#define PCIO_BASE 0xf0000000
|
#define PCIO_BASE 0xf0000000
|
|
|
/*
|
/*
|
* RAM definitions
|
* RAM definitions
|
*/
|
*/
|
#define MAPTOPHYS(a) ((unsigned long)(a) - PAGE_OFFSET)
|
#define MAPTOPHYS(a) ((unsigned long)(a) - PAGE_OFFSET)
|
#define KERNTOPHYS(a) ((unsigned long)(&a))
|
#define KERNTOPHYS(a) ((unsigned long)(&a))
|
#define KERNEL_BASE (0xc0008000)
|
#define KERNEL_BASE (0xc0008000)
|
|
|
#else
|
#else
|
|
|
#define PCIO_BASE 0xf0000000
|
#define PCIO_BASE 0xf0000000
|
#define IO_BASE 0
|
#define IO_BASE 0
|
|
|
#endif
|
#endif
|
#endif
|
#endif
|
|
|
|
|