1. 21 Sep, 2006 5 commits
    • Vitaly Bordug's avatar
      POWERPC: Get rid of remapping the whole immr · fc8e50e3
      Vitaly Bordug authored
      The stuff below cleans up the code attempting to remap the whole cpm2_immr
      early, as well as places happily assuming that fact. This is more like the 2.4
      legacy stuff, and is at least confusing and unclear now.
      
      To keep the world comfortable, a new mechanism is introduced: before accessing
      specific immr register/register set, one needs to map it, using cpm2_map(<reg>),
      for instance, access to CPM command register will look like
      	volatile cpm_cpm2_t *cp = cpm2_map(im_cpm);
      keeping the code clear, yet without "already defined somewhere" cpm2_immr.
      
      So far, unmapping code is not implemented, but it's not a big deal to add it,
      if the whole idea makes sense.
      Signed-off-by: default avatarVitaly Bordug <vbordug@ru.mvista.com>
      fc8e50e3
    • Vitaly Bordug's avatar
      POWERPC: Add support for the mpc8560 eval board · 902f392d
      Vitaly Bordug authored
      This makes the 8560 evaluation board fully supported under arch/powerpc,
      as the first board with CPM2 SoC peripherals. The brand new devicetree
      nodes are introduced (intending to be a subset of the QuiccEngine-equipped
      models, with dts sources placed into the kernel according to the new convention.
      
      Assuming all the preceding stuff applied (PAL+fs_enet related+ CPM_UART
      update), the both TSEC eth ,FCC Eths, and both SCC UARTs are
      working. The relevant drivers are still capable to drive users in ppc,
      which was verified with 8272ADS (SCC uart+FCC eth).
      
      This is also verified on mpc8540 and actually make it work (PCI stuff
      working as well)
      Signed-off-by: default avatarVitaly Bordug <vbordug@ru.mvista.com>
      902f392d
    • Vitaly Bordug's avatar
      POWERPC: Move generic cpm2 stuff to powerpc · b0c110b4
      Vitaly Bordug authored
      This moves the cpm2 common code and PIC stuff to the powerpc. Most of the files
      were just copied from ppc/, with minor tuning to make it compile, and, subsequently, work.
      Signed-off-by: default avatarVitaly Bordug <vbordug@ru.mvista.com>
      b0c110b4
    • Vitaly Bordug's avatar
      cpm_uart: make it possible to utilize from powerpc · 3dd0dcbe
      Vitaly Bordug authored
      Driver core has been updated to make use of the new powerpc OF-inspired
      platform devices, yet keeping compatibility to the vast board list from
      ppc.
      Signed-off-by: default avatarVitaly Bordug <vbordug@ru.mvista.com>
      3dd0dcbe
    • Vitaly Bordug's avatar
      POWERPC: Add cpm2 stuff support to the fsl_soc.c · fba43665
      Vitaly Bordug authored
      This patch contains necessary modifications to support the CPM2 SoC peripherals.
      For the time being, those are fs_enet Ethernet driver and cpm_uart serial.
      Written initially to support mpc8560, it also suites to the part of the large PQ2
      (more specifically, mpc8260) family.
      Signed-off-by: default avatarVitaly Bordug <vbordug@ru.mvista.com>
      fba43665
  2. 14 Sep, 2006 2 commits
  3. 13 Sep, 2006 33 commits