2 * Author: Armin Kuster <akuster@mvista.com>
4 * 2000-2002 (c) MontaVista, Software, Inc. This file is licensed under
5 * the terms of the GNU General Public License version 2. This program
6 * is licensed "as is" without any warranty of any kind, whether express
10 #include <linux/init.h>
12 #include <platforms/4xx/ibmstbx25.h>
13 #include <asm/ppc4xx_pic.h>
15 static struct ocp_func_iic_data ibmstbx25_iic0_def = {
16 .fast_mode = 0, /* Use standad mode (100Khz) */
20 struct ocp_def core_ocp[] __initdata = {
21 { .vendor = OCP_VENDOR_IBM,
22 .function = OCP_FUNC_16550,
24 .paddr = UART0_IO_BASE,
28 { .vendor = OCP_VENDOR_IBM,
29 .function = OCP_FUNC_16550,
31 .paddr = UART1_IO_BASE,
35 { .vendor = OCP_VENDOR_IBM,
36 .function = OCP_FUNC_16550,
38 .paddr = UART2_IO_BASE,
42 { .vendor = OCP_VENDOR_IBM,
43 .function = OCP_FUNC_IIC,
47 .additions = &ibmstbx25_iic0_def,
48 .show = &ocp_show_iic_data
50 { .vendor = OCP_VENDOR_IBM,
51 .function = OCP_FUNC_GPIO,
56 { .vendor = OCP_VENDOR_INVALID
60 /* Polarity and triggering settings for internal interrupt sources */
61 struct ppc4xx_uic_settings ppc4xx_core_uic_cfg[] __initdata = {
62 { .polarity = 0xffff8f80,
63 .triggering = 0x00000000,
64 .ext_irq_mask = 0x0000707f, /* IRQ7 - IRQ9, IRQ0 - IRQ6 */