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>
15 #include <asm/ppc4xx_pic.h>
17 static struct ocp_func_iic_data ibmstbx25_iic0_def
= {
18 .fast_mode
= 0, /* Use standad mode (100Khz) */
22 struct ocp_def core_ocp
[] __initdata
= {
23 { .vendor
= OCP_VENDOR_IBM
,
24 .function
= OCP_FUNC_16550
,
26 .paddr
= UART0_IO_BASE
,
30 { .vendor
= OCP_VENDOR_IBM
,
31 .function
= OCP_FUNC_16550
,
33 .paddr
= UART1_IO_BASE
,
37 { .vendor
= OCP_VENDOR_IBM
,
38 .function
= OCP_FUNC_16550
,
40 .paddr
= UART2_IO_BASE
,
44 { .vendor
= OCP_VENDOR_IBM
,
45 .function
= OCP_FUNC_IIC
,
49 .additions
= &ibmstbx25_iic0_def
,
50 .show
= &ocp_show_iic_data
52 { .vendor
= OCP_VENDOR_IBM
,
53 .function
= OCP_FUNC_GPIO
,
58 { .vendor
= OCP_VENDOR_INVALID
62 /* Polarity and triggering settings for internal interrupt sources */
63 struct ppc4xx_uic_settings ppc4xx_core_uic_cfg
[] __initdata
= {
64 { .polarity
= 0xffff8f80,
65 .triggering
= 0x00000000,
66 .ext_irq_mask
= 0x0000707f, /* IRQ7 - IRQ9, IRQ0 - IRQ6 */