]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - include/asm-powerpc/mpc52xx.h
[PATCH] i386: Update __copy_to_user_inatomic linuxdoc description
[karo-tx-linux.git] / include / asm-powerpc / mpc52xx.h
index e9aa622f19f612c4a18f8e5f118fa9a62395c16d..7afd5bf945288f2ac73580cefd4951d309537fc2 100644 (file)
 #endif /* __ASSEMBLY__ */
 
 
-/* ======================================================================== */
-/* HW IRQ mapping                                                           */
-/* ======================================================================== */
-
-#define MPC52xx_IRQ_L1_CRIT            (0)
-#define MPC52xx_IRQ_L1_MAIN            (1)
-#define MPC52xx_IRQ_L1_PERP            (2)
-#define MPC52xx_IRQ_L1_SDMA            (3)
-
-#define MPC52xx_IRQ_L1_OFFSET          (6)
-#define MPC52xx_IRQ_L1_MASK            (0xc0)
-
-#define MPC52xx_IRQ_L2_OFFSET          (0)
-#define MPC52xx_IRQ_L2_MASK            (0x3f)
-
-#define MPC52xx_IRQ_HIGHTESTHWIRQ      (0xd0)
-
-
 /* ======================================================================== */
 /* Structures mapping of some unit register set                             */
 /* ======================================================================== */
 
 #ifndef __ASSEMBLY__
 
-/* Interrupt controller Register set */
-struct mpc52xx_intr {
-       u32 per_mask;           /* INTR + 0x00 */
-       u32 per_pri1;           /* INTR + 0x04 */
-       u32 per_pri2;           /* INTR + 0x08 */
-       u32 per_pri3;           /* INTR + 0x0c */
-       u32 ctrl;               /* INTR + 0x10 */
-       u32 main_mask;          /* INTR + 0x14 */
-       u32 main_pri1;          /* INTR + 0x18 */
-       u32 main_pri2;          /* INTR + 0x1c */
-       u32 reserved1;          /* INTR + 0x20 */
-       u32 enc_status;         /* INTR + 0x24 */
-       u32 crit_status;        /* INTR + 0x28 */
-       u32 main_status;        /* INTR + 0x2c */
-       u32 per_status;         /* INTR + 0x30 */
-       u32 reserved2;          /* INTR + 0x34 */
-       u32 per_error;          /* INTR + 0x38 */
-};
-
 /* Memory Mapping Control */
 struct mpc52xx_mmap_ctl {
        u32 mbar;               /* MMAP_CTRL + 0x00 */
@@ -278,9 +241,16 @@ struct mpc52xx_cdm {
 
 #ifndef __ASSEMBLY__
 
+extern void __iomem * mpc52xx_find_and_map(const char *);
+extern unsigned int mpc52xx_find_ipb_freq(struct device_node *node);
+extern void mpc52xx_setup_cpu(void);
+extern void mpc52xx_declare_of_platform_devices(void);
+
 extern void mpc52xx_init_irq(void);
 extern unsigned int mpc52xx_get_irq(void);
 
+extern int __init mpc52xx_add_bridge(struct device_node *node);
+
 #endif /* __ASSEMBLY__ */
 
 #endif /* __ASM_POWERPC_MPC52xx_H__ */