17d13d21aSKumar Gala #ifndef __MPC83XX_H__ 27d13d21aSKumar Gala #define __MPC83XX_H__ 37d13d21aSKumar Gala 47d13d21aSKumar Gala #include <linux/init.h> 57d13d21aSKumar Gala #include <linux/device.h> 67d52c7b0SKumar Gala #include <asm/pci-bridge.h> 77d13d21aSKumar Gala 8c1616982SLi Yang /* System Clock Control Register */ 9c1616982SLi Yang #define MPC83XX_SCCR_OFFS 0xA08 10c1616982SLi Yang #define MPC83XX_SCCR_USB_MPHCM_11 0x00c00000 11c1616982SLi Yang #define MPC83XX_SCCR_USB_MPHCM_01 0x00400000 12c1616982SLi Yang #define MPC83XX_SCCR_USB_MPHCM_10 0x00800000 13c1616982SLi Yang #define MPC83XX_SCCR_USB_DRCM_11 0x00300000 14c1616982SLi Yang #define MPC83XX_SCCR_USB_DRCM_01 0x00100000 15c1616982SLi Yang #define MPC83XX_SCCR_USB_DRCM_10 0x00200000 16c1616982SLi Yang 17c1616982SLi Yang /* system i/o configuration register low */ 18c1616982SLi Yang #define MPC83XX_SICRL_OFFS 0x114 19c1616982SLi Yang #define MPC83XX_SICRL_USB0 0x40000000 20c1616982SLi Yang #define MPC83XX_SICRL_USB1 0x20000000 21c1616982SLi Yang 22c1616982SLi Yang /* system i/o configuration register high */ 23c1616982SLi Yang #define MPC83XX_SICRH_OFFS 0x118 24c1616982SLi Yang #define MPC83XX_SICRH_USB_UTMI 0x00020000 25c1616982SLi Yang 267d13d21aSKumar Gala /* 277d13d21aSKumar Gala * Declaration for the various functions exported by the 287d13d21aSKumar Gala * mpc83xx_* files. Mostly for use by mpc83xx_setup 297d13d21aSKumar Gala */ 307d13d21aSKumar Gala 3109b55f76SArnd Bergmann extern int mpc83xx_add_bridge(struct device_node *dev); 327d52c7b0SKumar Gala extern int mpc83xx_exclude_device(struct pci_controller *hose, 337d52c7b0SKumar Gala u_char bus, u_char devfn); 3430f59336SKumar Gala extern void mpc83xx_restart(char *cmd); 3530f59336SKumar Gala extern long mpc83xx_time_init(void); 367d13d21aSKumar Gala 377d13d21aSKumar Gala #endif /* __MPC83XX_H__ */ 38