[ag-automation] Add support for MPC512x to Linux mainline (2.6.30-rc4)

Wolfgang Denk wd at denx.de
Thu May 7 00:47:48 CEST 2009


Hi everybody,

the following patch series which just has been posted by DENX on  the
linuxppc-dev  mailing  list  adds  support  for the Freescale MPC512x
processsors to the mainline Linux kernel tree:

[PATCH 01/12] fs_enet: Use defines to set driver tunables.
	      Cc: <netdev at vger.kernel.org>
[PATCH 02/12] fs_enet: Add MPC5121 FEC support.
	      Cc: <netdev at vger.kernel.org>
[PATCH 03/12] fs_enet: Add FEC TX Alignment workaround for MPC5121.
	      Cc: <netdev at vger.kernel.org>
[PATCH 04/12] mpc5121: Added reset module registers representation.
[PATCH 05/12] mpc5121ads: Added Reset Module node to DTS.
[PATCH 06/12] mpc5121: Added NAND Flash Controller driver.
	      Cc: <linux-mtd at lists.infradead.org>
[PATCH 07/12] mpc5121ads: Clean up and fix NAND description in mpc5121ads DTS.
[PATCH 08/12] mpc5121: Added I2C support.
	      Cc: <linux-i2c at vger.kernel.org>
[PATCH 09/12] mpc5121ads: Added I2C RTC node to mpc5121ads DTS.
[PATCH 10/12] mpc5121: Add MPC5121 Real time clock driver.
	      Cc: <rtc-linux at googlegroups.com>
[PATCH 11/12] mpc5121: Added MPC512x DMA driver.
[PATCH 12/12] mpc5121: Added default config for MPC5121.

The patches are based on v2.6.30-rc4 and cover the following
items:

- platform, DTS
- DMA
- FEC Ethernet
- UART (without h/w flow control)
- I2C
- NAND
- RTC

The code has been tested on the Freescale/STX "MPC5121ADS" board
(board rev. 4) with a MPC5121e Rev. 2. No attempt was made to provide
backward compatibility to older silicon revisions or older revisions
of the board.

The work for this project has been approved as OSADL project by a
majority of OSADL members and funded by OSADL membership fees in 2009;
for details please see www.osadl.org.

---
Summary statistics:

 arch/powerpc/boot/dts/aria.dts                 |  410 ++++++
 arch/powerpc/boot/dts/mpc5121ads.dts           |   25 +-
 arch/powerpc/configs/512x/aria_defconfig       | 1789 ++++++++++++++++++++++++
 arch/powerpc/configs/512x/mpc5121ads_defconfig | 1190 ++++++++++++++++
 arch/powerpc/configs/mpc5121_defconfig         | 1158 +++++++++++++++
 arch/powerpc/include/asm/mpc5121_fec.h         |  111 ++
 arch/powerpc/include/asm/mpc5121_nfc.h         |  100 ++
 arch/powerpc/include/asm/mpc512x.h             |   13 +
 arch/powerpc/platforms/512x/Kconfig            |    9 +
 arch/powerpc/platforms/512x/Makefile           |    1 +
 arch/powerpc/platforms/512x/aria.c             |   73 +
 arch/powerpc/platforms/512x/mpc5121_ads.c      |    2 +
 arch/powerpc/platforms/512x/mpc5121_generic.c  |    1 +
 arch/powerpc/platforms/512x/mpc512x.h          |    1 +
 arch/powerpc/platforms/512x/mpc512x_shared.c   |   26 +
 drivers/dma/Kconfig                            |    7 +
 drivers/dma/Makefile                           |    1 +
 drivers/dma/mpc512x_dma.c                      |  642 +++++++++
 drivers/dma/mpc512x_dma.h                      |  192 +++
 drivers/i2c/busses/Kconfig                     |    9 +-
 drivers/mtd/nand/Kconfig                       |    7 +
 drivers/mtd/nand/Makefile                      |    1 +
 drivers/mtd/nand/mpc5121_nfc.c                 |  855 +++++++++++
 drivers/net/fs_enet/Kconfig                    |   13 +-
 drivers/net/fs_enet/fs_enet-main.c             |   67 +-
 drivers/net/fs_enet/fs_enet.h                  |    6 +
 drivers/net/fs_enet/mac-fec.c                  |   30 +-
 drivers/net/fs_enet/mii-fec.c                  |   13 +-
 drivers/rtc/Kconfig                            |   10 +
 drivers/rtc/Makefile                           |    1 +
 drivers/rtc/rtc-mpc5121.c                      |  408 ++++++
 31 files changed, 7146 insertions(+), 25 deletions(-)

The patches can also be found here:

01/12 http://patchwork.ozlabs.org/patch/26926/
02/12 http://patchwork.ozlabs.org/patch/26927/
03/12 http://patchwork.ozlabs.org/patch/26929/
04/12 http://patchwork.ozlabs.org/patch/26931/
05/12 http://patchwork.ozlabs.org/patch/26934/
06/12 http://patchwork.ozlabs.org/patch/26930/
07/12 http://patchwork.ozlabs.org/patch/26928/
08/12 http://patchwork.ozlabs.org/patch/26933/
09/12 http://patchwork.ozlabs.org/patch/26945/
10/12 http://patchwork.ozlabs.org/patch/26935/
11/12 http://patchwork.ozlabs.org/patch/26936/
12/12 http://patchwork.ozlabs.org/patch/26932/

The code can also be found in the "aria" branch of the
"linux-2.6-denx" git repository at git.denx.de, see for example
http://git.denx.de/?p=linux-2.6-denx.git;a=shortlog;h=refs/heads/aria

[Note that this branch also contains support for the ARIA board, a
MPC5121 based COM Express module by Dave/DENX; however, this board
support is unrelated to the OSADL project mentioned above. See
http://www.denx.de/en/Hardware/HardwareARIA for details.]

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Calm down, it's *__only* ones and zeroes.


More information about the ag-automation mailing list