2 * arch/ppc/platforms/4xx/virtex-ii_pro.c
4 * Author: MontaVista Software, Inc.
7 * 2002-2004 (c) MontaVista Software, Inc. This file is licensed under the
8 * terms of the GNU General Public License version 2. This program is licensed
9 * "as is" without any warranty of any kind, whether express or implied.
12 #include <linux/config.h>
13 #include <linux/init.h>
15 #include "virtex-ii_pro.h"
17 /* Have OCP take care of the serial ports. */
18 struct ocp_def core_ocp
[] = {
19 #ifdef XPAR_UARTNS550_0_BASEADDR
20 { .vendor
= OCP_VENDOR_XILINX
,
21 .function
= OCP_FUNC_16550
,
23 .paddr
= XPAR_UARTNS550_0_BASEADDR
,
24 .irq
= XPAR_INTC_0_UARTNS550_0_VEC_ID
,
27 #ifdef XPAR_UARTNS550_1_BASEADDR
28 { .vendor
= OCP_VENDOR_XILINX
,
29 .function
= OCP_FUNC_16550
,
31 .paddr
= XPAR_UARTNS550_1_BASEADDR
,
32 .irq
= XPAR_INTC_0_UARTNS550_1_VEC_ID
,
35 #ifdef XPAR_UARTNS550_2_BASEADDR
36 { .vendor
= OCP_VENDOR_XILINX
,
37 .function
= OCP_FUNC_16550
,
39 .paddr
= XPAR_UARTNS550_2_BASEADDR
,
40 .irq
= XPAR_INTC_0_UARTNS550_2_VEC_ID
,
43 #ifdef XPAR_UARTNS550_3_BASEADDR
44 { .vendor
= OCP_VENDOR_XILINX
,
45 .function
= OCP_FUNC_16550
,
47 .paddr
= XPAR_UARTNS550_3_BASEADDR
,
48 .irq
= XPAR_INTC_0_UARTNS550_3_VEC_ID
,
51 #ifdef XPAR_UARTNS550_4_BASEADDR
52 #error Edit this file to add more devices.
58 { .vendor
= OCP_VENDOR_INVALID