mirror of
https://github.com/torvalds/linux.git
synced 2024-12-14 07:02:23 +00:00
1da177e4c3
Initial git repository build. I'm not bothering with the full history, even though we have it. We can create a separate "historical" git archive of that later if we want to, and in the meantime it's about 3.2GB when imported into git - space that would just make the early git days unnecessarily complicated, when we don't have a lot of good infrastructure for it. Let it rip!
92 lines
2.8 KiB
C
92 lines
2.8 KiB
C
/*
|
|
* include/asm-ppc/platforms/mvme5100.h
|
|
*
|
|
* Definitions for Motorola MVME5100.
|
|
*
|
|
* Author: Matt Porter <mporter@mvista.com>
|
|
*
|
|
* 2001 (c) MontaVista, Software, Inc. This file is licensed under
|
|
* the terms of the GNU General Public License version 2. This program
|
|
* is licensed "as is" without any warranty of any kind, whether express
|
|
* or implied.
|
|
*/
|
|
|
|
#ifdef __KERNEL__
|
|
#ifndef __ASM_MVME5100_H__
|
|
#define __ASM_MVME5100_H__
|
|
|
|
#define MVME5100_HAWK_SMC_BASE 0xfef80000
|
|
|
|
#define MVME5100_PCI_CONFIG_ADDR 0xfe000cf8
|
|
#define MVME5100_PCI_CONFIG_DATA 0xfe000cfc
|
|
|
|
#define MVME5100_PCI_IO_BASE 0xfe000000
|
|
#define MVME5100_PCI_MEM_BASE 0x80000000
|
|
|
|
#define MVME5100_PCI_MEM_OFFSET 0x00000000
|
|
|
|
#define MVME5100_PCI_DRAM_OFFSET 0x00000000
|
|
#define MVME5100_ISA_MEM_BASE 0x00000000
|
|
#define MVME5100_ISA_IO_BASE MVME5100_PCI_IO_BASE
|
|
|
|
#define MVME5100_PCI_LOWER_MEM 0x80000000
|
|
#define MVME5100_PCI_UPPER_MEM 0xf3f7ffff
|
|
#define MVME5100_PCI_LOWER_IO 0x00000000
|
|
#define MVME5100_PCI_UPPER_IO 0x0077ffff
|
|
|
|
/* MVME5100 board register addresses. */
|
|
#define MVME5100_BOARD_STATUS_REG 0xfef88080
|
|
#define MVME5100_BOARD_MODFAIL_REG 0xfef88090
|
|
#define MVME5100_BOARD_MODRST_REG 0xfef880a0
|
|
#define MVME5100_BOARD_TBEN_REG 0xfef880c0
|
|
#define MVME5100_BOARD_SW_READ_REG 0xfef880e0
|
|
#define MVME5100_BOARD_GEO_ADDR_REG 0xfef880e8
|
|
#define MVME5100_BOARD_EXT_FEATURE1_REG 0xfef880f0
|
|
#define MVME5100_BOARD_EXT_FEATURE2_REG 0xfef88100
|
|
|
|
/* Define the NVRAM/RTC address strobe & data registers */
|
|
#define MVME5100_PHYS_NVRAM_AS0 0xfef880c8
|
|
#define MVME5100_PHYS_NVRAM_AS1 0xfef880d0
|
|
#define MVME5100_PHYS_NVRAM_DATA 0xfef880d8
|
|
|
|
#define MVME5100_NVRAM_AS0 (MVME5100_PHYS_NVRAM_AS0 - MVME5100_ISA_IO_BASE)
|
|
#define MVME5100_NVRAM_AS1 (MVME5100_PHYS_NVRAM_AS1 - MVME5100_ISA_IO_BASE)
|
|
#define MVME5100_NVRAM_DATA (MVME5100_PHYS_NVRAM_DATA - MVME5100_ISA_IO_BASE)
|
|
|
|
/* UART clock, addresses, and irq */
|
|
#define MVME5100_BASE_BAUD 1843200
|
|
#define MVME5100_SERIAL_1 0xfef88000
|
|
#define MVME5100_SERIAL_2 0xfef88200
|
|
#ifdef CONFIG_MVME5100_IPMC761_PRESENT
|
|
#define MVME5100_SERIAL_IRQ 17
|
|
#else
|
|
#define MVME5100_SERIAL_IRQ 1
|
|
#endif
|
|
|
|
#define RS_TABLE_SIZE 4
|
|
|
|
#define BASE_BAUD ( MVME5100_BASE_BAUD / 16 )
|
|
|
|
#define STD_COM_FLAGS ASYNC_BOOT_AUTOCONF
|
|
|
|
/* All UART IRQ's are wire-OR'd to one MPIC IRQ */
|
|
#define STD_SERIAL_PORT_DFNS \
|
|
{ 0, BASE_BAUD, MVME5100_SERIAL_1, \
|
|
MVME5100_SERIAL_IRQ, \
|
|
STD_COM_FLAGS, /* ttyS0 */ \
|
|
iomem_base: (unsigned char *)MVME5100_SERIAL_1, \
|
|
iomem_reg_shift: 4, \
|
|
io_type: SERIAL_IO_MEM }, \
|
|
{ 0, BASE_BAUD, MVME5100_SERIAL_2, \
|
|
MVME5100_SERIAL_IRQ, \
|
|
STD_COM_FLAGS, /* ttyS1 */ \
|
|
iomem_base: (unsigned char *)MVME5100_SERIAL_2, \
|
|
iomem_reg_shift: 4, \
|
|
io_type: SERIAL_IO_MEM },
|
|
|
|
#define SERIAL_PORT_DFNS \
|
|
STD_SERIAL_PORT_DFNS
|
|
|
|
#endif /* __ASM_MVME5100_H__ */
|
|
#endif /* __KERNEL__ */
|