123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101 |
- #ifndef _PPC440SPE_H_
- #define _PPC440SPE_H_
- #define CONFIG_SDRAM_PPC4xx_IBM_DDR2
- #define CONFIG_SYS_PERIPHERAL_BASE 0xa0000000
- #define CONFIG_SYS_NS16550_COM1 (CONFIG_SYS_PERIPHERAL_BASE + 0x0200)
- #define CONFIG_SYS_NS16550_COM2 (CONFIG_SYS_PERIPHERAL_BASE + 0x0300)
- #define GPIO0_BASE (CONFIG_SYS_PERIPHERAL_BASE + 0x0700)
- #define SDR0_PCI0 0x0300
- #define SDR0_SDSTP2 0x0022
- #define SDR0_SDSTP3 0x0023
- #define SDR0_SDSTP1_PAE_MASK (0x80000000 >> 13)
- #define SDR0_SDSTP1_PISE_MASK (0x80000000 >> 15)
- #define SDR0_SDSTP1_ERPN_MASK (0x80000000 >> 12)
- #define SDR0_SDSTP1_ERPN_EBC 0
- #define SDR0_SDSTP1_ERPN_PCI (0x80000000 >> 12)
- #define SDR0_SDSTP1_EBCW_MASK (0x80000000 >> 24)
- #define SDR0_SDSTP1_EBCW_8_BITS 0
- #define SDR0_SDSTP1_EBCW_16_BITS (0x80000000 >> 24)
- #define SDR0_PFC1_EM_1000 (0x80000000 >> 10)
- #define SDR0_MFR_FIXD (0x80000000 >> 3)
- #define SDR0_PINSTP_BOOTSTRAP_MASK 0xC0000000
- #define SDR0_PINSTP_BOOTSTRAP_SETTINGS0 0x00000000
- #define SDR0_PINSTP_BOOTSTRAP_SETTINGS1 0x40000000
- #define SDR0_PINSTP_BOOTSTRAP_IIC_54_EN 0x80000000
- #define SDR0_PINSTP_BOOTSTRAP_IIC_50_EN 0xC0000000
- #define SDR0_SRST0_DMC 0x00200000
- #define PLLSYS0_ENG_MASK 0x80000000
- #define PLLSYS0_SRC_MASK 0x40000000
- #define PLLSYS0_SEL_MASK 0x38000000
- #define PLLSYS0_TUNE_MASK 0x07fe0000
- #define PLLSYS0_FB_DIV_MASK 0x0001f000
- #define PLLSYS0_FWD_DIV_A_MASK 0x00000f00
- #define PLLSYS0_FWD_DIV_B_MASK 0x000000e0
- #define PLLSYS0_PRI_DIV_B_MASK 0x0000001c
- #define PLLSYS0_OPB_DIV_MASK 0x00000003
- #define PLLC_ENG_MASK 0x20000000
- #define PLLC_SRC_MASK 0x20000000
- #define PLLD_FBDV_MASK 0x1f000000
- #define PLLD_FWDVA_MASK 0x000f0000
- #define PLLD_FWDVB_MASK 0x00000700
- #define PLLD_LFBDV_MASK 0x0000003f
- #define OPBDDV_MASK 0x03000000
- #define PERDV_MASK 0x07000000
- #define PRADV_MASK 0x07000000
- #define PRBDV_MASK 0x07000000
- #define SPCID_MASK 0x03000000
- #define PLLSYS1_LF_DIV_MASK 0xfc000000
- #define PLLSYS1_PERCLK_DIV_MASK 0x03000000
- #define PLLSYS1_MAL_DIV_MASK 0x00c00000
- #define PLLSYS1_RW_MASK 0x00300000
- #define PLLSYS1_EAR_MASK 0x00080000
- #define PLLSYS1_PAE_MASK 0x00040000
- #define PLLSYS1_PCHE_MASK 0x00020000
- #define PLLSYS1_PISE_MASK 0x00010000
- #define PLLSYS1_PCWE_MASK 0x00008000
- #define PLLSYS1_PPIM_MASK 0x00007800
- #define PLLSYS1_PR64E_MASK 0x00000400
- #define PLLSYS1_PXFS_MASK 0x00000300
- #define PLLSYS1_RSVD_MASK 0x00000080
- #define PLLSYS1_PDM_MASK 0x00000040
- #define PLLSYS1_EPS_MASK 0x00000038
- #define PLLSYS1_RMII_MASK 0x00000004
- #define PLLSYS1_TRE_MASK 0x00000002
- #define PLLSYS1_NTO1_MASK 0x00000001
- #define PCIL0_BRDGOPT1 (PCIL0_CFGBASE + 0x0040)
- #define PCIL0_BRDGOPT2 (PCIL0_CFGBASE + 0x0044)
- #endif
|