mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-07 09:36:40 +07: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!
53 lines
1.5 KiB
C
53 lines
1.5 KiB
C
/*
|
|
* include/asm-ppc/platforms/powerpmc250.h
|
|
*
|
|
* Definitions for Force PowerPMC-250 board support
|
|
*
|
|
* Author: Troy Benjegerdes <tbenjegerdes@mvista.com>
|
|
*
|
|
* Borrowed heavily from prpmc750.h by Matt Porter <mporter@mvista.com>
|
|
*
|
|
* 2001-2004 (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.
|
|
*/
|
|
|
|
#ifndef __ASMPPC_POWERPMC250_H
|
|
#define __ASMPPC_POWERPMC250_H
|
|
|
|
#define POWERPMC250_PCI_CONFIG_ADDR 0x80000cf8
|
|
#define POWERPMC250_PCI_CONFIG_DATA 0x80000cfc
|
|
|
|
#define POWERPMC250_PCI_PHY_MEM_BASE 0xc0000000
|
|
#define POWERPMC250_PCI_MEM_BASE 0xf0000000
|
|
#define POWERPMC250_PCI_IO_BASE 0x80000000
|
|
|
|
#define POWERPMC250_ISA_IO_BASE POWERPMC250_PCI_IO_BASE
|
|
#define POWERPMC250_ISA_MEM_BASE POWERPMC250_PCI_MEM_BASE
|
|
#define POWERPMC250_PCI_MEM_OFFSET POWERPMC250_PCI_PHY_MEM_BASE
|
|
|
|
#define POWERPMC250_SYS_MEM_BASE 0x80000000
|
|
|
|
#define POWERPMC250_HAWK_SMC_BASE 0xfef80000
|
|
|
|
#define POWERPMC250_BASE_BAUD 12288000
|
|
#define POWERPMC250_SERIAL 0xff000000
|
|
#define POWERPMC250_SERIAL_IRQ 20
|
|
|
|
/* UART Defines. */
|
|
#define RS_TABLE_SIZE 1
|
|
|
|
#define BASE_BAUD (POWERPMC250_BASE_BAUD / 16)
|
|
|
|
#define STD_COM_FLAGS ASYNC_BOOT_AUTOCONF
|
|
|
|
#define SERIAL_PORT_DFNS \
|
|
{ 0, BASE_BAUD, POWERPMC250_SERIAL, POWERPMC250_SERIAL_IRQ, \
|
|
STD_COM_FLAGS, /* ttyS0 */ \
|
|
iomem_base: (u8 *)POWERPMC250_SERIAL, \
|
|
iomem_reg_shift: 0, \
|
|
io_type: SERIAL_IO_MEM }
|
|
|
|
#endif /* __ASMPPC_POWERPMC250_H */
|