Add support for eco5-pk ARM board
PATCH 1/1 Add support for eco5-pk ARM board
This patch adds support for the 8D Technologies ECO5-PK board which is based on the TI AM3505 ARM SOC.
board/8dtech/eco5pk/Makefile new file +43 -0
@@ -0,0 +1,43 @@ +# +# (C) Copyright 2000, 2001, 2002 +# Wolfgang Denk, DENX Software Engineering, wd at denx.de. +# +# Adapted from ti/evm/Makefile +# +# See file CREDITS for list of people who contributed to this +# project. +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License as +# published by the Free Software Foundation; either version 2 of +# the License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, +# MA 02111-1307 USA +# + +include $(TOPDIR)/config.mk + +LIB = $(obj)lib$(BOARD).o + +COBJS := eco5pk.o + +SRCS := $(COBJS:.o=.c) +OBJS := $(addprefix $(obj),$(COBJS)) + +$(LIB): $(obj).depend $(OBJS) + $(call cmd_link_o_target, $(OBJS)) + +######################################################################### + +# defines $(obj).depend target +include $(SRCTREE)/rules.mk + +sinclude $(obj).depend
board/8dtech/eco5pk/eco5pk.c new file +61 -0
61 lines not on this page · raw message
board/8dtech/eco5pk/eco5pk.h new file +402 -0
402 lines not on this page · raw message
boards.cfg +1 -0
@@ -219,6 +219,7 @@ ima3-mx53 arm armv7 ima3-mx53 esg vision2 arm armv7 vision2 ttcontrol mx5 vision2:IMX_CONFIG=board/ttcontrol/vision2/imximage_hynix.cfg mx6qarm2 arm armv7 mx6qarm2 freescale mx6 mx6qarm2:IMX_CONFIG=board/freescale/mx6qarm2/imximage.cfg mx6qsabrelite arm armv7 mx6qsabrelite freescale mx6 mx6qsabrelite:IMX_CONFIG=board/freescale/mx6qsabrelite/imximage.cfg +eco5pk arm armv7 eco5pk 8dtech omap3 cm_t35 arm armv7 cm_t35 - omap3 omap3_overo arm armv7 overo - omap3 omap3_pandora arm armv7 pandora - omap3
include/configs/eco5pk.h new file +73 -0
73 lines not on this page · raw message
Quoted 4 lines · Raphael Assenat
This patch adds support for the 8D Technologies ECO5-PK board which is based on the TI AM3505 ARM SOC.
Signed-off-by Raphael Assenat <[email protected]>
Sorry for the late reply, please add a MAINTAINERS entry.
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: <http://lists.denx.de/pipermail/u-boot/attachments/20121015/56c143cc/attachment.pgp>
Quoted 9 lines · Tom Rini
Quoted 4 lines · Raphael Assenat
This patch adds support for the 8D Technologies ECO5-PK board which is based on the TI AM3505 ARM SOC.
Signed-off-by Raphael Assenat <[email protected]>Sorry for the late reply, please add a
MAINTAINERSentry.
Thanks, please see below for an updated patch.
Regards,
Rapha?l Ass?nat
This patch adds support for the 8D Technologies ECO5-PK board which is based on the TI AM3505 SOC.
MAINTAINERS +4 -0
@@ -571,6 +571,10 @@ Albert ARIBAUD <[email protected]> edminiv2 ARM926EJS (Orion5x SoC) +Raphael Assenat <[email protected]> + + am3517_evm ARM ARMV7 (AM35x SoC) + Stefano Babic <[email protected]> ea20 davinci
board/8dtech/eco5pk/Makefile new file +43 -0
43 lines not on this page · raw message
board/8dtech/eco5pk/eco5pk.c new file +61 -0
61 lines not on this page · raw message
board/8dtech/eco5pk/eco5pk.h new file +402 -0
402 lines not on this page · raw message
boards.cfg +1 -0
@@ -240,6 +240,7 @@ mx6qarm2 arm armv7 mx6qarm2 freesca mx6qsabreauto arm armv7 mx6qsabreauto freescale mx6 mx6qsabreauto:IMX_CONFIG=board/freescale/mx6qsabreauto/imximage.cfg mx6qsabrelite arm armv7 mx6qsabrelite freescale mx6 mx6qsabrelite:IMX_CONFIG=board/freescale/imx/ddr/mx6q_4x_mt41j128.cfg mx6qsabresd arm armv7 mx6qsabresd freescale mx6 mx6qsabresd:IMX_CONFIG=board/freescale/imx/ddr/mx6q_4x_mt41j128.cfg +eco5pk arm armv7 eco5pk 8dtech omap3 cm_t35 arm armv7 cm_t35 - omap3 omap3_overo arm armv7 overo - omap3 omap3_pandora arm armv7 pandora - omap3
include/configs/eco5pk.h new file +77 -0
77 lines not on this page · raw message
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3045 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20121019/245f1fc8/attachment.bin>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Quoted 23 lines · Rapha?l Ass?nat
Quoted 9 lines · Tom Rini
Quoted 4 lines · Raphael Assenat
This patch adds support for the 8D Technologies ECO5-PK board which is based on the TI AM3505 ARM SOC.
Signed-off-by Raphael Assenat <[email protected]>Sorry for the late reply, please add a
MAINTAINERSentry.Thanks, please see below for an updated patch.
Regards, Rapha?l Ass?nat
This patch adds support for the 8D Technologies ECO5-PK board which is based on the TI AM3505 SOC.
Signed-off-by Raphael Assenat <[email protected]>MAINTAINERS index ff8e47c..7a5676f renamed from MAINTAINERS +0
-0100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -571,6 +571,10 @@ Albert ARIBAUD <[email protected]>
Quoted 4 lines
edminiv2 ARM926EJS (Orion5x SoC)
+Raphael Assenat <[email protected]> + +
am3517_evmARM ARMV7 (AM35x
SoC)
Right spot, wrong board :) Should be eco5pk
- --
Tom
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://www.enigmail.net/
iQIcBAEBAgAGBQJQgYlzAAoJENk4IS6UOR1WgJoP/3arNV9MtiGtMrxd1dzw/D2x q42aldK6m5Jtzj+1Z6INXd291oBGZ58pLuUw53tvcNJnK4rkUfm9BMEkVCYB1hiz VZIPYLuZd8IGePijLvafxc5d4r4mghkdaNmB9LIW94CIuN+ZfYWz0rxKnHB9MCS/ wo0akBDy+sWIkJ/tprrTu3mDXWcQEDqWtgfVH4/EzlxDr2+z8de0tNslB/odqg/c B/1Y4bHWeh59e2tVRgmbhx+nN0a6DPL4rbK6le6y6mLTTQvsJEdhaVh70jfuyGxD mEgT94fu5/VfFi+jgoVpViGRISFY02D6ruFWx+p0e67mwBPglNMLp+yOZ3EHQSy2 eDebIERXqPmN6Oe0T9PwxYEYBqvyYZdcBMoEretzbrPHJwuH8C5IYyMzuAuXW4sz k3u2Wmg/q3I1UBtIMEr1WrZhi/kBIsqPsf8NdeD0NO2FJvRQ2N0QtDScl2p8Wvv6 PlANzJim6cb0RvUvCXPhR9xLpzpJ848oAIZdlwwdWrP4dRNxxCARVklQIXpBDpWD Rzw4Ej6H9cdXBlNn83ve7v+k59OEox7Lw7m5LP9XagXGjw1TbbGQ6xidpdRua3OW DIxZ1TvV1DSMzmgl25J0fvpTtKmMcklsFdTXXdrMjwnIO5TCbJKokFB++2r97NWg PmeKIXkKNeKEijQjwdhe
=Dfoy
-----END PGP SIGNATURE-----
Quoted 24 lines · Tom Rini
Quoted 22 lines · Rapha?l Ass?nat
Quoted 9 lines · Tom Rini
Quoted 4 lines · Raphael Assenat
This patch adds support for the 8D Technologies ECO5-PK board which is based on the TI AM3505 ARM SOC.
Signed-off-by Raphael Assenat <[email protected]>Sorry for the late reply, please add a
MAINTAINERSentry.Thanks, please see below for an updated patch.
Regards, Rapha?l Ass?nat
This patch adds support for the 8D Technologies ECO5-PK board which is based on the TI AM3505 SOC.
Signed-off-by Raphael Assenat <[email protected]>MAINTAINERS index ff8e47c..7a5676f renamed from MAINTAINERS +0
-0100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -571,6 +571,10 @@ Albert ARIBAUD <[email protected]>
Quoted 7 lines
Quoted 4 lines
edminiv2 ARM926EJS (Orion5x SoC)
+Raphael Assenat <[email protected]> + +
am3517_evmARM ARMV7 (AM35x
SoC)Right spot, wrong board :) Should be eco5pk
Ah yes indeed, sorry about that. Here is a new version:
This patch adds support for the 8D Technologies ECO5-PK board which is based on the TI AM3505 SOC.
MAINTAINERS +4 -0
@@ -571,6 +571,10 @@ Albert ARIBAUD <[email protected]> edminiv2 ARM926EJS (Orion5x SoC) +Raphael Assenat <[email protected]> + + eco5pk ARM ARMV7 (AM35x SoC) + Stefano Babic <[email protected]> ea20 davinci
board/8dtech/eco5pk/Makefile new file +43 -0
43 lines not on this page · raw message
board/8dtech/eco5pk/eco5pk.c new file +61 -0
61 lines not on this page · raw message
board/8dtech/eco5pk/eco5pk.h new file +402 -0
402 lines not on this page · raw message
boards.cfg +1 -0
@@ -240,6 +240,7 @@ mx6qarm2 arm armv7 mx6qarm2 freesca mx6qsabreauto arm armv7 mx6qsabreauto freescale mx6 mx6qsabreauto:IMX_CONFIG=board/freescale/mx6qsabreauto/imximage.cfg mx6qsabrelite arm armv7 mx6qsabrelite freescale mx6 mx6qsabrelite:IMX_CONFIG=board/freescale/imx/ddr/mx6q_4x_mt41j128.cfg mx6qsabresd arm armv7 mx6qsabresd freescale mx6 mx6qsabresd:IMX_CONFIG=board/freescale/imx/ddr/mx6q_4x_mt41j128.cfg +eco5pk arm armv7 eco5pk 8dtech omap3 cm_t35 arm armv7 cm_t35 - omap3 omap3_overo arm armv7 overo - omap3 omap3_pandora arm armv7 pandora - omap3
include/configs/eco5pk.h new file +77 -0
77 lines not on this page · raw message
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3045 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20121019/cb3e1625/attachment.bin>
Hi Rapha?l,
Quoted 663 lines · Rapha?l Ass?nat
Quoted 24 lines · Tom Rini
Quoted 22 lines · Rapha?l Ass?nat
Quoted 9 lines · Tom Rini
Quoted 4 lines · Raphael Assenat
This patch adds support for the 8D Technologies ECO5-PK board which is based on the TI AM3505 ARM SOC.
Signed-off-by Raphael Assenat <[email protected]>Sorry for the late reply, please add a
MAINTAINERSentry.Thanks, please see below for an updated patch.
Regards, Rapha?l Ass?nat
This patch adds support for the 8D Technologies ECO5-PK board which is based on the TI AM3505 SOC.
Signed-off-by Raphael Assenat <[email protected]>MAINTAINERS index ff8e47c..7a5676f renamed from MAINTAINERS +0
-0100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -571,6 +571,10 @@ Albert ARIBAUD <[email protected]>
Quoted 7 lines
Quoted 4 lines
edminiv2 ARM926EJS (Orion5x SoC)
+Raphael Assenat <[email protected]> + +
am3517_evmARM ARMV7 (AM35x
SoC)Right spot, wrong board :) Should be eco5pk
Ah yes indeed, sorry about that. Here is a new version:
This patch adds support for the 8D Technologies ECO5-PK board which is based on the TI AM3505 SOC.
Signed-off-by Raphael Assenat <[email protected]>MAINTAINERS +4
-0@@ -571,6 +571,10 @@ Albert ARIBAUD <[email protected]> edminiv2 ARM926EJS (Orion5x SoC) +Raphael Assenat <[email protected]> + + eco5pk ARM ARMV7 (AM35x SoC) + Stefano Babic <[email protected]> ea20 davinciboard/8dtech/eco5pk/Makefile new file +43
-0@@ -0,0 +1,43 @@ +# +# (C) Copyright 2000, 2001, 2002 +# Wolfgang Denk, DENX Software Engineering, wd at denx.de. +# +# Adapted from ti/evm/Makefile +# +# See file CREDITS for list of people who contributed to this +# project. +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License as +# published by the Free Software Foundation; either version 2 of +# the License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, +# MA 02111-1307 USA +# + +include $(TOPDIR)/config.mk + +LIB = $(obj)lib$(BOARD).o + +COBJS := eco5pk.o + +SRCS := $(COBJS:.o=.c) +OBJS := $(addprefix $(obj),$(COBJS)) + +$(LIB): $(obj).depend $(OBJS) + $(call cmd_link_o_target, $(OBJS)) + +######################################################################### + +# defines $(obj).depend target +include $(SRCTREE)/rules.mk + +sinclude $(obj).dependboard/8dtech/eco5pk/eco5pk.c new file +61
-0@@ -0,0 +1,61 @@ +/* +* eco5pk.c - board file for 8D Technology's AM3517 based eco5pk board +* +* Based on am3517evm.c +* +* Copyright (C) 2011-2012 8D Technologies inc. +* Copyright (C) 2009 Texas Instruments Incorporated +* +* This program is free software; you can redistribute it and/or modify +* it under the terms of the GNU General Public License as published by +* the Free Software Foundation; either version 2 of the License, or +* (at your option) any later version. +* +* This program is distributed in the hope that it will be useful, +* but WITHOUT ANY WARRANTY; without even the implied warranty of +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +* GNU General Public License for more details. +* +* You should have received a copy of the GNU General Public License +* along with this program; if not, write to the Free Software +* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +*/ +#include <common.h> +#include <netdev.h> +#include <asm/io.h> +#include <asm/arch/mem.h> +#include <asm/arch/mux.h> +#include <asm/arch/sys_proto.h> +#include <asm/arch/emac_defs.h> +#include <asm/gpio.h> +#include <i2c.h> +#include <crc.h> +#include <asm/mach-types.h> +#include "eco5pk.h" + +DECLARE_GLOBAL_DATA_PTR ; + +/* +* Routine: board_init +* Description: Early hardware init. +*/ +int board_init (void ) +{ +gpmc_init ();/* in SRAM or SDRAM, finish GPMC */ + gd->bd->bi_boot_params = (OMAP34XX_SDRC_CS0 +0x100 ); + +gpio_request (30 ,"RESOUT" ); +gpio_direction_output (30 ,1 ); +return 0 ; +} + +/* +* Routine: set_muxconf_regs +* Description: Setting up the configuration Mux registers specific to the +* hardware. Many pins need to be moved from protect to primary +* mode. +*/ +void set_muxconf_regs (void ) +{ +MUX_ECO5_PK (); +}board/8dtech/eco5pk/eco5pk.h new file +402
-0@@ -0,0 +1,402 @@ +/* +* eco5.h - Header file for the 8D Technologies ECO5 board. +* +* Based on am3517evm.h +* Based on ti/evm/evm.h +* +* Copyright (C) 2011 8D Technologies inc. +* Copyright (C) 2009 Texas Instruments Incorporated +* +* This program is free software; you can redistribute it and/or modify +* it under the terms of the GNU General Public License as published by +* the Free Software Foundation; either version 2 of the License, or +* (at your option) any later version. +* +* This program is distributed in the hope that it will be useful, +* but WITHOUT ANY WARRANTY; without even the implied warranty of +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +* GNU General Public License for more details. +* +* You should have received a copy of the GNU General Public License +* along with this program; if not, write to the Free Software +* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +*/ + +#ifndef _ECO5PK_H__ +#define _ECO5PK_H__ + +const omap3_sysinfo sysinfo = { +DDR_DISCRETE , +"ECO5 Board" , +"NAND" , +}; + +/* +* IEN - Input Enable +* IDIS - Input Disable +* PTD - Pull type Down +* PTU - Pull type Up +* DIS - Pull type selection is inactive +* EN - Pull type selection is active +* M0 - Mode 0 +* The commented string gives the final mux configuration for that pin +*/ +#define MUX_ECO5_PK () \ +/* SDRC */ \ + MUX_VAL(CP(SDRC_D0), (IEN | PTD | DIS | M0)) \ + MUX_VAL(CP(SDRC_D1), (IEN | PTD | DIS | M0)) \ + MUX_VAL(CP(SDRC_D2), (IEN | PTD | DIS | M0)) \ + MUX_VAL(CP(SDRC_D3), (IEN | PTD | DIS | M0)) \ + MUX_VAL(CP(SDRC_D4), (IEN | PTD | DIS | M0)) \ + MUX_VAL(CP(SDRC_D5), (IEN | PTD | DIS | M0)) \ + MUX_VAL(CP(SDRC_D6), (IEN | PTD | DIS | M0)) \ + MUX_VAL(CP(SDRC_D7), (IEN | PTD | DIS | M0)) \ + MUX_VAL(CP(SDRC_D8), (IEN | PTD | DIS | M0)) \ + MUX_VAL(CP(SDRC_D9), (IEN | PTD | DIS | M0)) \ + MUX_VAL(CP(SDRC_D10), (IEN | PTD | DIS | M0)) \ + MUX_VAL(CP(SDRC_D11), (IEN | PTD | DIS | M0)) \ + MUX_VAL(CP(SDRC_D12), (IEN | PTD | DIS | M0)) \ + MUX_VAL(CP(SDRC_D13), (IEN | PTD | DIS | M0)) \ + MUX_VAL(CP(SDRC_D14), (IEN | PTD | DIS | M0)) \ + MUX_VAL(CP(SDRC_D15), (IEN | PTD | DIS | M0)) \ + MUX_VAL(CP(SDRC_D16), (IEN | PTD | DIS | M0)) \ + MUX_VAL(CP(SDRC_D17), (IEN | PTD | DIS | M0)) \ + MUX_VAL(CP(SDRC_D18), (IEN | PTD | DIS | M0)) \ + MUX_VAL(CP(SDRC_D19), (IEN | PTD | DIS | M0)) \ + MUX_VAL(CP(SDRC_D20), (IEN | PTD | DIS | M0)) \ + MUX_VAL(CP(SDRC_D21), (IEN | PTD | DIS | M0)) \ + MUX_VAL(CP(SDRC_D22), (IEN | PTD | DIS | M0)) \ + MUX_VAL(CP(SDRC_D23), (IEN | PTD | DIS | M0)) \ + MUX_VAL(CP(SDRC_D24), (IEN | PTD | DIS | M0)) \ + MUX_VAL(CP(SDRC_D25), (IEN | PTD | DIS | M0)) \ + MUX_VAL(CP(SDRC_D26), (IEN | PTD | DIS | M0)) \ + MUX_VAL(CP(SDRC_D27), (IEN | PTD | DIS | M0)) \ + MUX_VAL(CP(SDRC_D28), (IEN | PTD | DIS | M0)) \ + MUX_VAL(CP(SDRC_D29), (IEN | PTD | DIS | M0)) \ + MUX_VAL(CP(SDRC_D30), (IEN | PTD | DIS | M0)) \ + MUX_VAL(CP(SDRC_D31), (IEN | PTD | DIS | M0)) \ + MUX_VAL(CP(SDRC_CLK), (IEN | PTD | DIS | M0)) \ + MUX_VAL(CP(SDRC_DQS0), (IEN | PTD | DIS | M0)) \ + MUX_VAL(CP(SDRC_DQS1), (IEN | PTD | DIS | M0)) \ + MUX_VAL(CP(SDRC_DQS2), (IEN | PTD | DIS | M0)) \ + MUX_VAL(CP(SDRC_DQS3), (IEN | PTD | DIS | M0)) \ + MUX_VAL(CP(SDRC_DQS0N), (IEN | PTD | EN | M0)) \ + MUX_VAL(CP(SDRC_DQS1N), (IEN | PTD | EN | M0)) \ + MUX_VAL(CP(SDRC_DQS2N), (IEN | PTD | EN | M0)) \ + MUX_VAL(CP(SDRC_DQS3N), (IEN | PTD | EN | M0)) \ + MUX_VAL(CP(SDRC_CKE0), (M0)) \ + MUX_VAL(CP(SDRC_CKE1), (M0)) \ + MUX_VAL(CP(STRBEN_DLY0), (IEN | PTD | EN | M0))/*sdrc_strben_dly0*/ \ +MUX_VAL (CP (STRBEN_DLY1 ), (IEN |PTD |EN |M0 ))/*sdrc_strben_dly1*/ \ + /* GPMC */\ + MUX_VAL(CP(GPMC_A1), (IDIS | PTU | EN | M0)) \ + MUX_VAL(CP(GPMC_A2), (IDIS | PTU | EN | M0)) \ + MUX_VAL(CP(GPMC_A3), (IDIS | PTU | EN | M0)) \ + MUX_VAL(CP(GPMC_A4), (IDIS | PTU | EN | M0)) \ + MUX_VAL(CP(GPMC_A5), (IDIS | PTU | EN | M0)) \ + MUX_VAL(CP(GPMC_A6), (IDIS | PTU | EN | M0)) \ + MUX_VAL(CP(GPMC_A7), (IDIS | PTU | EN | M0)) \ + MUX_VAL(CP(GPMC_A8), (IDIS | PTU | EN | M0)) \ + MUX_VAL(CP(GPMC_A9), (IDIS | PTU | EN | M0)) \ + MUX_VAL(CP(GPMC_A10), (IDIS | PTU | EN | M0)) \ + MUX_VAL(CP(GPMC_D0), (IEN | PTU | EN | M0)) \ + MUX_VAL(CP(GPMC_D1), (IEN | PTU | EN | M0)) \ + MUX_VAL(CP(GPMC_D2), (IEN | PTU | EN | M0)) \ + MUX_VAL(CP(GPMC_D3), (IEN | PTU | EN | M0)) \ + MUX_VAL(CP(GPMC_D4), (IEN | PTU | EN | M0)) \ + MUX_VAL(CP(GPMC_D5), (IEN | PTU | EN | M0)) \ + MUX_VAL(CP(GPMC_D6), (IEN | PTU | EN | M0)) \ + MUX_VAL(CP(GPMC_D7), (IEN | PTU | EN | M0)) \ + MUX_VAL(CP(GPMC_D8), (IEN | PTU | EN | M0)) \ + MUX_VAL(CP(GPMC_D9), (IEN | PTU | EN | M0)) \ + MUX_VAL(CP(GPMC_D10), (IEN | PTU | EN | M0)) \ + MUX_VAL(CP(GPMC_D11), (IEN | PTU | EN | M0)) \ + MUX_VAL(CP(GPMC_D12), (IEN | PTU | EN | M0)) \ + MUX_VAL(CP(GPMC_D13), (IEN | PTU | EN | M0)) \ + MUX_VAL(CP(GPMC_D14), (IEN | PTU | EN | M0)) \ + MUX_VAL(CP(GPMC_D15), (IEN | PTU | EN | M0)) \ + MUX_VAL(CP(GPMC_NCS0), (IDIS | PTU | EN | M0)) \ + MUX_VAL(CP(GPMC_NCS1), (IDIS | PTU | EN | M0)) \ + MUX_VAL(CP(GPMC_NCS2), (IDIS | PTU | EN | M0)) \ + MUX_VAL(CP(GPMC_NCS3), (IDIS | PTU | EN | M0)) \ + MUX_VAL(CP(GPMC_NCS4), (IEN | PTU | EN | M0)) \ + MUX_VAL(CP(GPMC_NCS5), (IDIS | PTU | DIS | M3)) /* GPT10_PWM_OUT */ \ + MUX_VAL(CP(GPMC_NCS6), (IEN | PTD | DIS | M0)) \ + MUX_VAL(CP(GPMC_NCS7), (IEN | PTU | DIS | M4)) \ + MUX_VAL(CP(GPMC_CLK), (IDIS | PTU | EN | M0)) \ + MUX_VAL(CP(GPMC_NADV_ALE), (IDIS | PTD | DIS | M0)) \ + MUX_VAL(CP(GPMC_NOE), (IDIS | PTD | DIS | M0)) \ + MUX_VAL(CP(GPMC_NWE), (IDIS | PTD | DIS | M0)) \ + MUX_VAL(CP(GPMC_NBE0_CLE), (IDIS | PTU | EN | M0)) \ + MUX_VAL(CP(GPMC_NBE1), (IEN | PTU | EN | M0)) \ + MUX_VAL(CP(GPMC_NWP), (IEN | PTD | DIS | M0)) \ + MUX_VAL(CP(GPMC_WAIT0), (IEN | PTU | EN | M0)) \ + MUX_VAL(CP(GPMC_WAIT1), (IEN | PTU | EN | M0)) \ +MUX_VAL (CP (GPMC_WAIT2 ), (IEN |PTU |EN |M4 ))/*GPIO_64*/ \ + /* - ETH_nRESET*/\ +MUX_VAL (CP (GPMC_WAIT3 ), (IEN |PTU |EN |M0 )) \ + /* DSS */\ + MUX_VAL(CP(DSS_PCLK), (IDIS | PTD | DIS | M0)) \ + MUX_VAL(CP(DSS_HSYNC), (IDIS | PTD | DIS | M0)) \ + MUX_VAL(CP(DSS_VSYNC), (IDIS | PTD | DIS | M0)) \ + MUX_VAL(CP(DSS_ACBIAS), (IDIS | PTD | DIS | M0)) \ + MUX_VAL(CP(DSS_DATA0), (IEN | PTD | DIS | M4)) /* LCD_D0 */ \ + MUX_VAL(CP(DSS_DATA1), (IEN | PTD | DIS | M4)) /* LCD_D1 */ \ + MUX_VAL(CP(DSS_DATA2), (IEN | PTD | DIS | M4)) /* LCD_D2 */ \ + MUX_VAL(CP(DSS_DATA3), (IEN | PTD | DIS | M4)) /* LCD_D3 */ \ + MUX_VAL(CP(DSS_DATA4), (IEN | PTD | DIS | M4)) /* LCD_D4 */ \ + MUX_VAL(CP(DSS_DATA5), (IEN | PTD | DIS | M4)) /* LCD_D5 */ \ + MUX_VAL(CP(DSS_DATA6), (IEN | PTD | DIS | M4)) /* LCD_D6 */ \ + MUX_VAL(CP(DSS_DATA7), (IEN | PTD | DIS | M4)) /* LCD_D7 */ \ + MUX_VAL(CP(DSS_DATA8), (IDIS | PTU | EN | M4)) /* LCD_NWR */ \ + MUX_VAL(CP(DSS_DATA9), (IDIS | PTU | EN | M4)) /* LCD_NRD */ \ + MUX_VAL(CP(DSS_DATA10), (IDIS | PTU | EN | M4)) /* LCD_NCE */ \ + MUX_VAL(CP(DSS_DATA11), (IDIS | PTU | EN | M4)) /* LCD_CD */ \ + MUX_VAL(CP(DSS_DATA12), (IDIS | PTU | EN | M4)) /* LCD_NRST */ \ + MUX_VAL(CP(DSS_DATA13), (IDIS | PTD | EN | M4)) /* LCD_FS */ \ + MUX_VAL(CP(DSS_DATA14), (IDIS | PTD | EN | M4)) /* LCD_RV */ \ + MUX_VAL(CP(DSS_DATA15), (IDIS | PTU | EN | M4)) /* LCD_DIR */ \ + MUX_VAL(CP(DSS_DATA16), (IDIS | PTU | EN | M4)) /* LCD_NOE */ \ + MUX_VAL(CP(DSS_DATA17), (IDIS | PTD | EN | M4)) /* LCD_PWR_EN */ \ + MUX_VAL(CP(DSS_DATA18), (IDIS | PTD | DIS | M0)) \ + MUX_VAL(CP(DSS_DATA19), (IDIS | PTD | DIS | M0)) \ + MUX_VAL(CP(DSS_DATA20), (IDIS | PTD | DIS | M0)) \ + MUX_VAL(CP(DSS_DATA21), (IDIS | PTD | DIS | M0)) \ + MUX_VAL(CP(DSS_DATA22), (IDIS | PTD | DIS | M0)) \ +MUX_VAL (CP (DSS_DATA23 ), (IDIS |PTD |DIS |M0 )) \ + /* CAMERA */\ + MUX_VAL(CP(CAM_HS), (IEN | PTU | EN | M0)) \ + MUX_VAL(CP(CAM_VS), (IEN | PTU | EN | M0)) \ + MUX_VAL(CP(CAM_XCLKA), (IDIS | PTD | DIS | M0)) \ + MUX_VAL(CP(CAM_PCLK), (IEN | PTU | EN | M0)) \ +MUX_VAL (CP (CAM_FLD ), (IDIS |PTD |DIS |M4 ))/*GPIO_98*/ \ + /* - CAM_RESET*/\ + MUX_VAL(CP(CAM_D0), (IEN | PTD | DIS | M0)) \ + MUX_VAL(CP(CAM_D1), (IEN | PTD | DIS | M0)) \ + MUX_VAL(CP(CAM_D2), (IEN | PTD | DIS | M0)) \ + MUX_VAL(CP(CAM_D3), (IEN | PTD | DIS | M0)) \ + MUX_VAL(CP(CAM_D4), (IEN | PTD | DIS | M0)) \ + MUX_VAL(CP(CAM_D5), (IEN | PTD | DIS | M0)) \ + MUX_VAL(CP(CAM_D6), (IEN | PTD | DIS | M0)) \ + MUX_VAL(CP(CAM_D7), (IEN | PTD | DIS | M0)) \ + MUX_VAL(CP(CAM_D8), (IEN | PTD | DIS | M0)) \ + MUX_VAL(CP(CAM_D9), (IEN | PTD | DIS | M0)) \ + MUX_VAL(CP(CAM_D10), (IEN | PTD | DIS | M0)) \ + MUX_VAL(CP(CAM_D11), (IEN | PTD | DIS | M0)) \ + MUX_VAL(CP(CAM_XCLKB), (IDIS | PTD | DIS | M0)) \ + MUX_VAL(CP(CAM_WEN), (IEN | PTD | DIS | M4)) /*GPIO_167*/\ + MUX_VAL(CP(CAM_STROBE), (IDIS | PTD | DIS | M0)) \ + MUX_VAL(CP(CSI2_DX0), (IEN | PTD | DIS | M0)) \ + MUX_VAL(CP(CSI2_DY0), (IEN | PTD | DIS | M0)) \ + MUX_VAL(CP(CSI2_DX1), (IEN | PTD | DIS | M0)) \ +MUX_VAL (CP (CSI2_DY1 ), (IEN |PTD |DIS |M0 )) \ + /* MMC */\ + MUX_VAL(CP(MMC1_CLK), (IEN | PTU | EN | M0)) \ + MUX_VAL(CP(MMC1_CMD), (IEN | PTU | DIS | M0)) \ + MUX_VAL(CP(MMC1_DAT0), (IEN | PTU | DIS | M0)) \ + MUX_VAL(CP(MMC1_DAT1), (IEN | PTU | DIS | M0)) \ + MUX_VAL(CP(MMC1_DAT2), (IEN | PTU | DIS | M0)) \ + MUX_VAL(CP(MMC1_DAT3), (IEN | PTU | DIS | M0)) \ + MUX_VAL(CP(MMC1_DAT4), (IEN | PTU | EN | M4)) /* WriteProtect */\ + MUX_VAL(CP(MMC1_DAT5), (IEN | PTU | EN | M4)) /* CardDetect*/\ + MUX_VAL(CP(MMC1_DAT6), (IEN | PTU | EN | M4)) \ + MUX_VAL(CP(MMC1_DAT7), (IEN | PTU | EN | M4)) \ + \ + MUX_VAL(CP(MMC2_CLK), (IEN | PTD | EN | M0)) \ + MUX_VAL(CP(MMC2_CMD), (IEN | PTD | DIS | M0)) \ + MUX_VAL(CP(MMC2_DAT0), (IEN | PTD | DIS | M0)) \ + MUX_VAL(CP(MMC2_DAT1), (IEN | PTD | DIS | M0)) \ + MUX_VAL(CP(MMC2_DAT2), (IEN | PTD | DIS | M0)) \ +MUX_VAL (CP (MMC2_DAT3 ), (IEN |PTD |DIS |M0 )) \ + /* McBSP */\ + MUX_VAL(CP(MCBSP_CLKS), (IEN | PTU | DIS | M0)) \ + MUX_VAL(CP(MCBSP1_CLKR), (IEN | PTD | DIS | M0)) \ + MUX_VAL(CP(MCBSP1_FSR), (IDIS | PTU | EN | M0)) \ + MUX_VAL(CP(MCBSP1_DX), (IDIS | PTD | DIS | M0)) \ + MUX_VAL(CP(MCBSP1_DR), (IEN | PTD | DIS | M0)) \ + MUX_VAL(CP(MCBSP1_FSX), (IEN | PTD | DIS | M0)) \ + MUX_VAL(CP(MCBSP1_CLKX), (IEN | PTD | DIS | M0)) \ + \ + MUX_VAL(CP(MCBSP2_FSX), (IEN | PTD | DIS | M0)) \ + MUX_VAL(CP(MCBSP2_CLKX), (IEN | PTD | DIS | M0)) \ + MUX_VAL(CP(MCBSP2_DR), (IEN | PTD | DIS | M0)) \ + MUX_VAL(CP(MCBSP2_DX), (IDIS | PTD | DIS | M0)) \ + \ + MUX_VAL(CP(MCBSP3_DX), (IDIS | PTD | DIS | M0)) \ + MUX_VAL(CP(MCBSP3_DR), (IEN | PTD | DIS | M0)) \ + \ + MUX_VAL(CP(MCBSP3_CLKX), (IEN | PTD | DIS | M4)) /* LED ACT */ \ + \ + MUX_VAL(CP(MCBSP3_FSX), (IEN | PTD | DIS | M0)) \ + \ +MUX_VAL (CP (MCBSP4_CLKX ), (IDIS |PTD |DIS |M4 ))/*GPIO_152*/ \ + /* - LCD_INI*/\ +MUX_VAL (CP (MCBSP4_DR ), (IDIS |PTD |DIS |M4 ))/*GPIO_153*/ \ + /* - LCD_ENVDD */\ +MUX_VAL (CP (MCBSP4_DX ), (IDIS |PTD |DIS |M4 ))/*GPIO_154*/ \ + /* - LCD_QVGA/nVGA */\ +MUX_VAL (CP (MCBSP4_FSX ), (IDIS |PTD |DIS |M4 ))/*GPIO_155*/ \ +/* - LCD_RESB */ \ + /* UART */\ + MUX_VAL(CP(UART1_TX), (IDIS | PTD | DIS | M0)) \ + MUX_VAL(CP(UART1_RTS), (IDIS | PTD | DIS | M0)) \ + MUX_VAL(CP(UART1_CTS), (IEN | PTU | DIS | M0)) \ + \ + MUX_VAL(CP(UART1_RX), (IEN | PTD | DIS | M0)) \ + MUX_VAL(CP(UART2_CTS), (IEN | PTU | EN | M0)) \ + MUX_VAL(CP(UART2_RTS), (IDIS | PTD | DIS | M0)) \ + MUX_VAL(CP(UART2_TX), (IDIS | PTD | DIS | M0)) \ + MUX_VAL(CP(UART2_RX), (IEN | PTD | DIS | M0)) \ + \ + MUX_VAL(CP(UART3_CTS_RCTX), (IEN | PTU | DIS | M0)) \ + MUX_VAL(CP(UART3_RTS_SD), (IDIS | PTD | DIS | M0)) \ + MUX_VAL(CP(UART3_RX_IRRX), (IEN | PTD | DIS | M0)) \ +MUX_VAL (CP (UART3_TX_IRTX ), (IDIS |PTD |DIS |M0 )) \ + /* I2C */\ + MUX_VAL(CP(I2C1_SCL), (IEN | PTU | EN | M0)) \ + MUX_VAL(CP(I2C1_SDA), (IEN | PTU | EN | M0)) \ + MUX_VAL(CP(I2C2_SCL), (IEN | PTU | EN | M0)) \ + MUX_VAL(CP(I2C2_SDA), (IEN | PTU | EN | M0)) \ + MUX_VAL(CP(I2C3_SCL), (IEN | PTU | EN | M0)) \ + MUX_VAL(CP(I2C3_SDA), (IEN | PTU | EN | M0)) \ + MUX_VAL(CP(I2C4_SCL), (IEN | PTU | EN | M0)) \ +MUX_VAL (CP (I2C4_SDA ), (IEN |PTU |EN |M0 )) \ + /* McSPI */\ + MUX_VAL(CP(MCSPI1_CLK), (IEN | PTD | DIS | M0)) \ + MUX_VAL(CP(MCSPI1_SIMO), (IEN | PTD | DIS | M0)) \ + MUX_VAL(CP(MCSPI1_SOMI), (IEN | PTD | DIS | M0)) \ + MUX_VAL(CP(MCSPI1_CS0), (IEN | PTD | EN | M0)) \ + MUX_VAL(CP(MCSPI1_CS1), (IEN | PTD | EN | M4)) /*GPIO_175*/\ +MUX_VAL (CP (MCSPI1_CS2 ), (IEN |PTU |DIS |M4 ))/*GPIO_176*/ \ + /* - LAN_INTR*/\ + MUX_VAL(CP(MCSPI1_CS3), (IEN | PTD | EN | M0)) \ + \ + MUX_VAL(CP(MCSPI2_CLK), (IEN | PTD | DIS | M0)) \ + MUX_VAL(CP(MCSPI2_SIMO), (IEN | PTD | DIS | M0)) \ + MUX_VAL(CP(MCSPI2_SOMI), (IEN | PTD | DIS | M0)) \ + MUX_VAL(CP(MCSPI2_CS0), (IEN | PTD | EN | M4)) \ +MUX_VAL (CP (MCSPI2_CS1 ), (IDIS |PTD |EN |M4 ))/* LCD_EN_BACKLIGHT */ \ + /* CCDC */\ + MUX_VAL(CP(CCDC_PCLK), (IEN | PTU | EN | M0)) \ + MUX_VAL(CP(CCDC_FIELD), (IEN | PTD | DIS | M1)) \ + MUX_VAL(CP(CCDC_HD), (IEN | PTU | EN | M0)) \ + MUX_VAL(CP(CCDC_VD), (IEN | PTU | EN | M0)) \ + MUX_VAL(CP(CCDC_WEN), (IEN | PTD | DIS | M1)) \ + MUX_VAL(CP(CCDC_DATA0), (IEN | PTD | DIS | M0)) \ + MUX_VAL(CP(CCDC_DATA1), (IEN | PTD | DIS | M0)) \ + MUX_VAL(CP(CCDC_DATA2), (IEN | PTD | DIS | M0)) \ + MUX_VAL(CP(CCDC_DATA3), (IEN | PTD | DIS | M0)) \ + MUX_VAL(CP(CCDC_DATA4), (IEN | PTD | DIS | M0)) \ + MUX_VAL(CP(CCDC_DATA5), (IEN | PTD | DIS | M0)) \ + MUX_VAL(CP(CCDC_DATA6), (IEN | PTD | DIS | M0)) \ +MUX_VAL (CP (CCDC_DATA7 ), (IEN |PTD |DIS |M0 )) \ + /* RMII */\ + MUX_VAL(CP(RMII_MDIO_DATA), (IEN | M0)) \ + MUX_VAL(CP(RMII_MDIO_CLK), (M0)) \ + MUX_VAL(CP(RMII_RXD0) , (IEN | PTD | M0)) \ + MUX_VAL(CP(RMII_RXD1), (IEN | PTD | M0)) \ + MUX_VAL(CP(RMII_CRS_DV), (IEN | PTD | M0)) \ + MUX_VAL(CP(RMII_RXER), (PTD | M0)) \ + MUX_VAL(CP(RMII_TXD0), (PTD | M0)) \ + MUX_VAL(CP(RMII_TXD1), (PTD | M0)) \ + MUX_VAL(CP(RMII_TXEN), (PTD | M0)) \ +MUX_VAL (CP (RMII_50MHZ_CLK ), (IEN |PTD |EN |M0 )) \ + /* HECC */\ + MUX_VAL(CP(HECC1_TXD), (IEN | PTU | EN | M0)) \ +MUX_VAL (CP (HECC1_RXD ), (IEN |PTU |EN |M0 )) \ + /* HSUSB */\ + MUX_VAL(CP(HSUSB0_CLK), (IEN | PTD | DIS | M0)) \ + MUX_VAL(CP(HSUSB0_STP), (IDIS | PTU | EN | M0)) \ + MUX_VAL(CP(HSUSB0_DIR), (IEN | PTD | DIS | M0)) \ + MUX_VAL(CP(HSUSB0_NXT), (IEN | PTD | DIS | M0)) \ + MUX_VAL(CP(HSUSB0_DATA0), (IEN | PTD | DIS | M0)) \ + MUX_VAL(CP(HSUSB0_DATA1), (IEN | PTD | DIS | M0)) \ + MUX_VAL(CP(HSUSB0_DATA2), (IEN | PTD | DIS | M0)) \ + MUX_VAL(CP(HSUSB0_DATA3), (IEN | PTD | DIS | M0)) \ + MUX_VAL(CP(HSUSB0_DATA4), (IEN | PTD | DIS | M0)) \ + MUX_VAL(CP(HSUSB0_DATA5), (IEN | PTD | DIS | M0)) \ + MUX_VAL(CP(HSUSB0_DATA6), (IEN | PTD | DIS | M0)) \ + MUX_VAL(CP(HSUSB0_DATA7), (IEN | PTD | DIS | M0)) \ +MUX_VAL (CP (USB0_DRVBUS ), (IEN |PTD |EN |M0 )) \ + /* HDQ */\ +MUX_VAL (CP (HDQ_SIO ), (IEN |PTU |EN |M0 )) \ + /* Control and debug */\ + MUX_VAL(CP(SYS_32K), (IEN | PTD | DIS | M0)) \ + MUX_VAL(CP(SYS_CLKREQ), (IEN | PTD | DIS | M0)) \ + MUX_VAL(CP(SYS_NIRQ), (IEN | PTU | EN | M0)) \ +MUX_VAL (CP (SYS_NRESWARM ), (IDIS |PTU |DIS |M4 ))/*SYS_nRESWARM */ \ + /* - GPIO30 */\ +MUX_VAL (CP (SYS_BOOT0 ), (IEN |PTD |DIS |M4 ))/*GPIO_2*/ \ + /* - PEN_IRQ */\ + MUX_VAL(CP(SYS_BOOT1), (IEN | PTD | DIS | M4)) /*GPIO_3 */\ + MUX_VAL(CP(SYS_BOOT2), (IEN | PTD | DIS | M4)) /*GPIO_4*/\ + MUX_VAL(CP(SYS_BOOT3), (IEN | PTD | DIS | M4)) /*GPIO_5*/\ + MUX_VAL(CP(SYS_BOOT4), (IEN | PTD | DIS | M4)) /*GPIO_6*/\ + MUX_VAL(CP(SYS_BOOT5), (IEN | PTD | DIS | M4)) /*GPIO_7*/\ +MUX_VAL (CP (SYS_BOOT6 ), (IDIS |PTD |DIS |M4 ))/*GPIO_8*/ \ + /* - VIO_1V8*/\ + MUX_VAL(CP(SYS_BOOT7), (IEN | PTD | EN | M0)) \ + MUX_VAL(CP(SYS_BOOT8), (IEN | PTD | EN | M0)) \ + \ + MUX_VAL(CP(SYS_OFF_MODE), (IEN | PTD | DIS | M0)) \ + MUX_VAL(CP(SYS_CLKOUT1), (IEN | PTD | DIS | M0)) \ +MUX_VAL (CP (SYS_CLKOUT2 ), (IEN |PTU |EN |M0 )) \ + /* JTAG */\ + MUX_VAL(CP(JTAG_nTRST), (IEN | PTD | DIS | M0)) \ + MUX_VAL(CP(JTAG_TCK), (IEN | PTD | DIS | M0)) \ + MUX_VAL(CP(JTAG_TMS), (IEN | PTD | DIS | M0)) \ + MUX_VAL(CP(JTAG_TDI), (IEN | PTD | DIS | M0)) \ + MUX_VAL(CP(JTAG_EMU0), (IEN | PTD | DIS | M0)) \ +MUX_VAL (CP (JTAG_EMU1 ), (IEN |PTD |DIS |M0 )) \ + /* ETK (ES2 onwards) */\ + MUX_VAL(CP(ETK_CLK_ES2), (IDIS | PTU | EN | M0)) \ + MUX_VAL(CP(ETK_CTL_ES2), (IDIS | PTD | DIS | M0)) \ + MUX_VAL(CP(ETK_D0_ES2 ), (IEN | PTD | DIS | M0)) \ + MUX_VAL(CP(ETK_D1_ES2 ), (IEN | PTD | DIS | M0)) \ + MUX_VAL(CP(ETK_D2_ES2 ), (IEN | PTD | EN | M0)) \ + MUX_VAL(CP(ETK_D3_ES2 ), (IEN | PTD | DIS | M0)) \ + MUX_VAL(CP(ETK_D4_ES2 ), (IEN | PTD | DIS | M0)) \ + MUX_VAL(CP(ETK_D5_ES2 ), (IEN | PTD | DIS | M0)) \ + MUX_VAL(CP(ETK_D6_ES2 ), (IEN | PTD | DIS | M0)) \ + MUX_VAL(CP(ETK_D7_ES2 ), (IEN | PTD | DIS | M0)) \ + MUX_VAL(CP(ETK_D8_ES2 ), (IEN | PTD | DIS | M0)) \ + MUX_VAL(CP(ETK_D9_ES2 ), (IEN | PTD | DIS | M0)) \ + MUX_VAL(CP(ETK_D10_ES2), (IEN | PTD | DIS | M0)) \ + MUX_VAL(CP(ETK_D11_ES2), (IEN | PTD | DIS | M0)) \ + MUX_VAL(CP(ETK_D12_ES2), (IEN | PTD | DIS | M0)) \ + MUX_VAL(CP(ETK_D13_ES2), (IEN | PTD | DIS | M0)) \ + MUX_VAL(CP(ETK_D14_ES2), (IEN | PTD | DIS | M0)) \ +MUX_VAL (CP (ETK_D15_ES2 ), (IEN |PTD |DIS |M0 )) \ + /* Die to Die */\ + MUX_VAL(CP(D2D_MCAD34), (IEN | PTD | EN | M0)) \ + MUX_VAL(CP(D2D_MCAD35), (IEN | PTD | EN | M0)) \ + MUX_VAL(CP(D2D_MCAD36), (IEN | PTD | EN | M0)) \ + MUX_VAL(CP(D2D_CLK26MI), (IEN | PTD | DIS | M0)) \ + MUX_VAL(CP(D2D_NRESPWRON), (IEN | PTD | EN | M0)) \ + MUX_VAL(CP(D2D_NRESWARM), (IEN | PTU | EN | M0)) \ + MUX_VAL(CP(D2D_ARM9NIRQ), (IEN | PTD | DIS | M0)) \ + MUX_VAL(CP(D2D_UMA2P6FIQ), (IEN | PTD | DIS | M0)) \ + MUX_VAL(CP(D2D_SPINT), (IEN | PTD | EN | M0)) \ + MUX_VAL(CP(D2D_FRINT), (IEN | PTD | EN | M0)) \ + MUX_VAL(CP(D2D_DMAREQ0), (IEN | PTD | DIS | M0)) \ + MUX_VAL(CP(D2D_DMAREQ1), (IEN | PTD | DIS | M0)) \ + MUX_VAL(CP(D2D_DMAREQ2), (IEN | PTD | DIS | M0)) \ + MUX_VAL(CP(D2D_DMAREQ3), (IEN | PTD | DIS | M0)) \ + MUX_VAL(CP(D2D_N3GTRST), (IEN | PTD | DIS | M0)) \ + MUX_VAL(CP(D2D_N3GTDI), (IEN | PTD | DIS | M0)) \ + MUX_VAL(CP(D2D_N3GTDO), (IEN | PTD | DIS | M0)) \ + MUX_VAL(CP(D2D_N3GTMS), (IEN | PTD | DIS | M0)) \ + MUX_VAL(CP(D2D_N3GTCK), (IEN | PTD | DIS | M0)) \ + MUX_VAL(CP(D2D_N3GRTCK), (IEN | PTD | DIS | M0)) \ + MUX_VAL(CP(D2D_MSTDBY), (IEN | PTU | EN | M0)) \ + MUX_VAL(CP(D2D_SWAKEUP), (IEN | PTD | EN | M0)) \ + MUX_VAL(CP(D2D_IDLEREQ), (IEN | PTD | DIS | M0)) \ + MUX_VAL(CP(D2D_IDLEACK), (IEN | PTU | EN | M0)) \ + MUX_VAL(CP(D2D_MWRITE), (IEN | PTD | DIS | M0)) \ + MUX_VAL(CP(D2D_SWRITE), (IEN | PTD | DIS | M0)) \ + MUX_VAL(CP(D2D_MREAD), (IEN | PTD | DIS | M0)) \ + MUX_VAL(CP(D2D_SREAD), (IEN | PTD | DIS | M0)) \ + MUX_VAL(CP(D2D_MBUSFLAG), (IEN | PTD | DIS | M0)) \ + MUX_VAL(CP(D2D_SBUSFLAG), (IEN | PTD | DIS | M0)) \ + +#endif boards.cfg +1
-0@@ -240,6 +240,7 @@ mx6qarm2 arm armv7 mx6qarm2 freesca mx6qsabreauto arm armv7 mx6qsabreauto freescale mx6 mx6qsabreauto:IMX_CONFIG=board/freescale/mx6qsabreauto/imximage.cfg mx6qsabrelite arm armv7 mx6qsabrelite freescale mx6 mx6qsabrelite:IMX_CONFIG=board/freescale/imx/ddr/mx6q_4x_mt41j128.cfg mx6qsabresd arm armv7 mx6qsabresd freescale mx6 mx6qsabresd:IMX_CONFIG=board/freescale/imx/ddr/mx6q_4x_mt41j128.cfg +eco5pk arm armv7 eco5pk 8dtech omap3 cm_t35 arm armv7 cm_t35 - omap3 omap3_overo arm armv7 overo - omap3 omap3_pandora arm armv7 pandora - omap3include/configs/eco5pk.h new file +67
-0@@ -0,0 +1,77 @@ +/* +* Copyright (C) 2012 8D Technologies inc. +* Based on mt_ventoux.h, original banner below: +* +* Copyright (C) 2011 +* Stefano Babic, DENX Software Engineering, sbabic at denx.de. +* +* Copyright (C) 2009 TechNexion Ltd. +* +* This program is free software; you can redistribute it and/or modify +* it under the terms of the GNU General Public License as published by +* the Free Software Foundation; either version 2 of the License, or +* (at your option) any later version. +* +* This program is distributed in the hope that it will be useful, +* but WITHOUT ANY WARRANTY; without even the implied warranty of +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +* GNU General Public License for more details. +* +* You should have received a copy of the GNU General Public License +* along with this program; if not, write to the Free Software +* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +*/ + +#ifndef __CONFIG_H +#define __CONFIG_H + +#include "tam3517-common.h" + +#undef CONFIG_USB_EHCI +#undef CONFIG_USB_EHCI_OMAP +#undef CONFIG_USB_OMAP3 +#undef CONFIG_CMD_USB + +/* Our console port is port3 */ +#undef CONFIG_CONS_INDEX +#undef CONFIG_SYS_NS16550_COM1 +#undef CONFIG_SERIAL1 + +#define CONFIG_CONS_INDEX 3 +#define CONFIG_SYS_NS16550_COM3 OMAP34XX_UART3 +#define CONFIG_SERIAL3 + +#define MACH_TYPE_ECO5_PK 4017 +#define CONFIG_MACH_TYPE MACH_TYPE_ECO5_PK + +#define CONFIG_BOOTDELAY 10 +#define CONFIG_BOOTFILE "uImage" +#define CONFIG_AUTO_COMPLETE + +/* +* Miscellaneous configurable options +*/ +#define V_PROMPT "ECO5-PK # " +#define CONFIG_SYS_PROMPT V_PROMPT + +/* +* Set its own mtdparts, different from common +*/ +#undef MTDIDS_DEFAULT +#undef MTDPARTS_DEFAULT +#define MTDIDS_DEFAULT "nand0=omap2-nand.0" +#define MTDPARTS_DEFAULT "mtdparts=omap2-nand.0:512k(xloader-nand),1024k(uboot-nand),256k(params-nand),256k(logo),5120k(kernel),-(ubifs)" + +/* +* The arithmetic in tam3517.h is wrong for us and the kernel gets overwritten. +*/
include/configs/eco5pk.h line 77
Quoted 10 lines
include/configs/eco5pk.h new file +10
-0+#undef CONFIG_ENV_OFFSET_REDUND +#define CONFIG_ENV_OFFSET_REDUND (CONFIG_ENV_OFFSET + CONFIG_SYS_ENV_SECT_SIZE) + +#define CONFIG_EXTRA_ENV_SETTINGS CONFIG_TAM3517_SETTINGS \ + "install_kernel=if dhcp $bootfile; then nand erase kernel; nand write $fileaddr kernel; fi\0" \ + "mtdparts="MTDPARTS_DEFAULT"\0" \ + "serverip=192.168.142.60\0" + + +#endif /* __CONFIG_H */
Are these supposed to be official patch submissions? If so please follow <http://www.denx.de/wiki/U-Boot/Patches> and submit using git format-patch + git send-email or patman.
Amicalement,
Signature · 1 line
Albert.
cover eco5pk: Add support for the eco5pk ARM board
This patch adds basic support for the 8D Technologies ECO5-PK board which is based on the TI AM3505 ARM SOC.
Raphael (2):
eco5pk: Add new board and default config
eco5pk: Add board config and MAINTAINERS entry
MAINTAINERS | 4 + board/8dtech/eco5pk/Makefile | 43 +++++ board/8dtech/eco5pk/eco5pk.c | 61 +++++++ board/8dtech/eco5pk/eco5pk.h | 404 ++++++++++++++++++++++++++++++++++++++++++ boards.cfg | 1 + include/configs/eco5pk.h | 81 +++++++++ 6 files changed, 594 insertions(+) create mode 100644 board/8dtech/eco5pk/Makefile create mode 100644 board/8dtech/eco5pk/eco5pk.c create mode 100644 board/8dtech/eco5pk/eco5pk.h create mode 100644 include/configs/eco5pk.h
Signature · 1 line
1.7.10.4
PATCH 1/2 eco5pk: Add new board and default config
--- board/8dtech/eco5pk/Makefile | 43 +++++ board/8dtech/eco5pk/eco5pk.c | 61 +++++++ board/8dtech/eco5pk/eco5pk.h | 404 ++++++++++++++++++++++++++++++++++++++++++ include/configs/eco5pk.h | 81 +++++++++ 4 files changed, 589 insertions(+) create mode 100644 board/8dtech/eco5pk/Makefile create mode 100644 board/8dtech/eco5pk/eco5pk.c create mode 100644 board/8dtech/eco5pk/eco5pk.h create mode 100644 include/configs/eco5pk.h
board/8dtech/eco5pk/Makefile new file +43 -0
@@ -0,0 +1,43 @@ +# +# (C) Copyright 2000, 2001, 2002 +# Wolfgang Denk, DENX Software Engineering, wd at denx.de. +# +# Adapted from ti/evm/Makefile +# +# See file CREDITS for list of people who contributed to this +# project. +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License as +# published by the Free Software Foundation; either version 2 of +# the License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, +# MA 02111-1307 USA +# + +include $(TOPDIR)/config.mk + +LIB = $(obj)lib$(BOARD).o + +COBJS := eco5pk.o + +SRCS := $(COBJS:.o=.c) +OBJS := $(addprefix $(obj),$(COBJS)) + +$(LIB): $(obj).depend $(OBJS) + $(call cmd_link_o_target, $(OBJS)) + +######################################################################### + +# defines $(obj).depend target +include $(SRCTREE)/rules.mk + +sinclude $(obj).depend
board/8dtech/eco5pk/eco5pk.c new file +61 -0
61 lines not on this page · raw message
board/8dtech/eco5pk/eco5pk.h new file +404 -0
404 lines not on this page · raw message
include/configs/eco5pk.h new file +81 -0
81 lines not on this page · raw message
Signature · 1 line
1.7.10.4
PATCH 2/2 eco5pk: Add board config and MAINTAINERS entry
In reply to Raphael Assenat--- MAINTAINERS | 4 ++++ boards.cfg | 1 + 2 files changed, 5 insertions(+)
MAINTAINERS +4 -0
@@ -571,6 +571,10 @@ Albert ARIBAUD <[email protected]> edminiv2 ARM926EJS (Orion5x SoC) +Raphael Assenat <[email protected]> + + eco5pk ARM ARMV7 (AM35x SoC) + Stefano Babic <[email protected]> ea20 davinci
boards.cfg +1 -0
@@ -240,6 +240,7 @@ mx6qarm2 arm armv7 mx6qarm2 freesca mx6qsabreauto arm armv7 mx6qsabreauto freescale mx6 mx6qsabreauto:IMX_CONFIG=board/freescale/mx6qsabreauto/imximage.cfg mx6qsabrelite arm armv7 mx6qsabrelite freescale mx6 mx6qsabrelite:IMX_CONFIG=board/freescale/imx/ddr/mx6q_4x_mt41j128.cfg mx6qsabresd arm armv7 mx6qsabresd freescale mx6 mx6qsabresd:IMX_CONFIG=board/freescale/imx/ddr/mx6q_4x_mt41j128.cfg +eco5pk arm armv7 eco5pk 8dtech omap3 cm_t35 arm armv7 cm_t35 - omap3 omap3_overo arm armv7 overo - omap3 omap3_pandora arm armv7 pandora - omap3
Signature · 1 line
1.7.10.4
cover eco5pk: Add support for the eco5pk ARM board
In reply to Raphael Assenat-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Quoted 9 lines · Raphael Assenat
This patch adds basic support for the 8D Technologies ECO5-PK board which is based on the TI AM3505 ARM SOC.
Raphael (2): eco5pk: Add new board and default config eco5pk: Add board config and
MAINTAINERSentry
MAINTAINERS| 4 + board/8dtech/eco5pk/Makefile| 43 +++++ board/8dtech/eco5pk/eco5pk.c | 61 +++++++ board/8dtech/eco5pk/eco5pk.h | 404
Quoted 7 lines
++++++++++++++++++++++++++++++++++++++++++ boards.cfg
| 1 +include/configs/eco5pk.h| 81 +++++++++ 6 files
changed, 594 insertions(+) create mode 100644 board/8dtech/eco5pk/Makefile create mode 100644board/8dtech/eco5pk/eco5pk.ccreate mode 100644board/8dtech/eco5pk/eco5pk.hcreate mode 100644include/configs/eco5pk.h
With the exception that I will squash the two patches into one, I've reviewed and everything else seems fine:
- --
Tom
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://www.enigmail.net/
iQIcBAEBAgAGBQJQhWhXAAoJENk4IS6UOR1WTEIQAKFwuvNLfLCJ4K1vlaVxtFzK ZAsoAYx5KWPrmI9P6HeR/ooOqrQGoWjX5xgsf+tteSelheGrkVM+ZIfzXfkfevgv Y4PEEUs2pZLBH0xLYJ5pQGwyP6WoyBygoNq7/w+qZmDyVJeFMnE+jvt1Q8VbOmfQ 7g0kVC+AWZR0fUu/9hzndVoo1kaCx1ZSFSOUPaDelfllYbBUm0pL2ctNH7Qz5QRZ PM+DRVGDTxP3TCbssD4wODkxvh/Z49De5tV6NFFp+OSlQOD5wHN3Kyk8pbLIdt1V MUxFWR2jOUBo6oCA2lj9/7wO9P21r9pwdDX/kJanCn/l04IE9WwTF7IeCZQuiqI7 T+JCRkyn+EbeMdjEfCsehINTg96m1UwWTtOb2jHHlsAMmUKDxRfmqXZf1F6CpwUI ZgiFuB81MRb8KfmorQBhySnpysURKmwm40YP2CrzvqZeVx0w5nvJhcSQu7Iay5gM GLA4rOOPD+bqXNZN7d8i0BCtCY1G8ajz4HCILGIAe/9EEkEcsKkG6U75srPzRsIv uKxXJSEK7MR7H6WZlkDzdbcyZhJ0+BLCHDU9NB3ThRMWOnzT6HMXsCW774VwDS4X syerLW0+cU4EGb3UqyXcuw5v8oed0E5UcaR1bCgkTQk2HLIIRPjVqGCjLUcl1Sy5 AfpUKKqrIJPN6Jjk5GS5
=RpHX
-----END PGP SIGNATURE-----