• Jim Quinlan's avatar
    PCI: brcmstb: Augment driver for MIPs SOCs · aa8589aa
    Jim Quinlan authored
    The current brcmstb driver works for Arm and Arm64.  A few things are
    modified here for us to support MIPs as well.
    
      o There are four outbound range register groups and each directs a window
        of up to 128MB.  Even though there are four 128MB DT "ranges" in the
        bmips PCIe DT node, these ranges are contiguous and are collapsed into
        a single range by the OF range parser.  Now the driver assumes a single
        range -- for MIPs only -- and splits it back into 128MB sizes.
    
      o For bcm7425, the config space accesses must be 32-bit reads or
        writes.  In addition, the 4k config space register array is missing
        and not used.
    
      o The registers for the upper 32-bits of the outbound window address do
        not exist.
    
      o Burst size must be set to 256 (this refers to an internal bus).
    Signed-off-by: default avatarJim Quinlan <jim2101024@gmail.com>
    Acked-by: default avatarFlorian Fainelli <f.fainelli@gmail.com>
    Signed-off-by: default avatarThomas Bogendoerfer <tsbogend@alpha.franken.de>
    aa8589aa
Kconfig 10 KB