2 * arch/ppc/platforms/4xx/ibmstb4.c
4 * Author: Armin Kuster <akuster@mvista.com>
6 * 2000-2001 (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/ibmstb4.h>
16 static struct ocp_func_iic_data ibmstb4_iic0_def = {
17 .fast_mode = 0, /* Use standad mode (100Khz) */
20 static struct ocp_func_iic_data ibmstb4_iic1_def = {
21 .fast_mode = 0, /* Use standad mode (100Khz) */
25 struct ocp_def core_ocp[] __initdata = {
26 { .vendor = OCP_VENDOR_IBM,
27 .function = OCP_FUNC_16550,
29 .paddr = UART0_IO_BASE,
33 { .vendor = OCP_VENDOR_IBM,
34 .function = OCP_FUNC_16550,
36 .paddr = UART1_IO_BASE,
40 { .vendor = OCP_VENDOR_IBM,
41 .function = OCP_FUNC_16550,
43 .paddr = UART2_IO_BASE,
47 { .vendor = OCP_VENDOR_IBM,
48 .function = OCP_FUNC_IIC,
52 .additions = &ibmstb4_iic0_def,
53 .show = &ocp_show_iic_data
55 { .vendor = OCP_VENDOR_IBM,
56 .function = OCP_FUNC_IIC,
60 .additions = &ibmstb4_iic1_def,
61 .show = &ocp_show_iic_data
63 { .vendor = OCP_VENDOR_IBM,
64 .function = OCP_FUNC_GPIO,
69 { .vendor = OCP_VENDOR_IBM,
70 .function = OCP_FUNC_IDE,
75 { .vendor = OCP_VENDOR_IBM,
76 .function = OCP_FUNC_USB,
81 { .vendor = OCP_VENDOR_INVALID,