2 * arch/ppc/platforms/4xx/xilinx_ml403.h
4 * Include file that defines the Xilinx ML403 reference design
6 * Author: Grant Likely <grant.likely@secretlab.ca>
8 * 2005 (c) Secret Lab Technologies Ltd.
9 * 2002-2004 (c) MontaVista Software, Inc.
11 * This file is licensed under the terms of the GNU General Public License
12 * version 2. This program is licensed "as is" without any warranty of any
13 * kind, whether express or implied.
17 #ifndef __ASM_XILINX_ML403_H__
18 #define __ASM_XILINX_ML403_H__
20 /* ML403 has a Xilinx Virtex-4 FPGA with a PPC405 hard core */
21 #include <platforms/4xx/virtex.h>
25 #include <linux/types.h>
27 typedef struct board_info {
28 unsigned int bi_memsize; /* DRAM installed, in bytes */
29 unsigned char bi_enetaddr[6]; /* Local Ethernet MAC address */
30 unsigned int bi_intfreq; /* Processor speed, in Hz */
31 unsigned int bi_busfreq; /* PLB Bus speed, in Hz */
32 unsigned int bi_pci_busfreq; /* PCI Bus speed, in Hz */
35 /* Some 4xx parts use a different timebase frequency from the internal clock.
37 #define bi_tbfreq bi_intfreq
39 #endif /* !__ASSEMBLY__ */
41 /* We don't need anything mapped. Size of zero will accomplish that. */
42 #define PPC4xx_ONB_IO_PADDR 0u
43 #define PPC4xx_ONB_IO_VADDR 0u
44 #define PPC4xx_ONB_IO_SIZE 0u
46 #define PPC4xx_MACHINE_NAME "Xilinx ML403 Reference Design"
48 #endif /* __ASM_XILINX_ML403_H__ */
49 #endif /* __KERNEL__ */