2 * arch/ppc/platforms/4xx/ibmstbx25.c
4 * Author: Armin Kuster <akuster@mvista.com>
6 * 2000-2002 (c) MontaVista, Software, Inc. This file is licensed under
7 * the terms of the GNU General Public License version 2. This program
8 * is licensed "as is" without any warranty of any kind, whether express
12 #include <linux/init.h>
14 #include <platforms/4xx/ibmstbx25.h>
16 static struct ocp_func_iic_data ibmstbx25_iic0_def = {
17 .fast_mode = 0, /* Use standad mode (100Khz) */
21 struct ocp_def core_ocp[] __initdata = {
22 { .vendor = OCP_VENDOR_IBM,
23 .function = OCP_FUNC_16550,
25 .paddr = UART0_IO_BASE,
29 { .vendor = OCP_VENDOR_IBM,
30 .function = OCP_FUNC_16550,
32 .paddr = UART1_IO_BASE,
36 { .vendor = OCP_VENDOR_IBM,
37 .function = OCP_FUNC_16550,
39 .paddr = UART2_IO_BASE,
43 { .vendor = OCP_VENDOR_IBM,
44 .function = OCP_FUNC_IIC,
48 .additions = &ibmstbx25_iic0_def,
49 .show = &ocp_show_iic_data
51 { .vendor = OCP_VENDOR_IBM,
52 .function = OCP_FUNC_GPIO,
57 { .vendor = OCP_VENDOR_INVALID