]> git.sur5r.net Git - u-boot/blobdiff - include/asm-ppc/immap_8260.h
Make MPC8641's PCI/PCI-E driver a common driver for many FSL parts.
[u-boot] / include / asm-ppc / immap_8260.h
index 407cf49956c91661990c8da4de13116cf2caebe4..4974ae56fcbb418acaa43bd37a0d377b9a8e2f79 100644 (file)
@@ -135,17 +135,21 @@ typedef struct pci_config {
        uint    pci_imimr;
        char    res5[24];
        uint    pci_ifhpr;
+       char    res5_2[4];
        uint    pci_iftpr;
-       char    res6[8];
+       char    res6[4];
        uint    pci_iphpr;
+       char    res6_2[4];
        uint    pci_iptpr;
-       char    res7[8];
+       char    res7[4];
        uint    pci_ofhpr;
+       char    res7_2[4];
        uint    pci_oftpr;
-       char    res8[8];
+       char    res8[4];
        uint    pci_ophpr;
+       char    res8_2[4];
        uint    pci_optpr;
-       char    res9[12];
+       char    res9[8];
        uint    pci_mucr;
        char    res10[8];
        uint    pci_qbar;
@@ -381,6 +385,33 @@ typedef struct fcc {
        u_char  fcc_ftirr_phy[4];
 } fcc_t;
 
+/* Fast controllers continued
+ */
+typedef struct fcc_c {
+       uint    fcc_firper;
+       uint    fcc_firer;
+       uint    fcc_firsr_hi;
+       uint    fcc_firsr_lo;
+       u_char  fcc_gfemr;
+       char    res1[15];
+} fcc_c_t;
+
+/* TC Layer
+ */
+typedef struct tclayer {
+       ushort  tc_tcmode;
+       ushort  tc_cdsmr;
+       ushort  tc_tcer;
+       ushort  tc_rcc;
+       ushort  tc_tcmr;
+       ushort  tc_fcc;
+       ushort  tc_ccc;
+       ushort  tc_icc;
+       ushort  tc_tcc;
+       ushort  tc_ecc;
+       char    res1[12];
+} tclayer_t;
+
 /* I2C
 */
 typedef struct i2c {
@@ -515,11 +546,17 @@ typedef struct immap {
 
        fcc_t           im_fcc[3];      /* Three FCCs */
 
-       char            res4[159];
+       char            res4[32];
+       fcc_c_t         im_fcc_c[3];    /* Continued FCCs */
+       char            res4a[32];
+
+       tclayer_t       im_tclayer[8];  /* Eight TCLayers */
+       ushort          tc_tcgsr;
+       ushort          tc_tcger;
 
        /* First set of baud rate generators.
        */
-       char            res4a[496];
+       char            res4b[236];
        uint            im_brgc5;
        uint            im_brgc6;
        uint            im_brgc7;