diff options
author | Terry Lv <r65388@freescale.com> | 2010-04-16 11:03:03 +0800 |
---|---|---|
committer | Terry Lv <r65388@freescale.com> | 2010-04-16 11:13:30 +0800 |
commit | 260584a4e6144d1e8a5477c4fb55a67dd4fa2ac3 (patch) | |
tree | eaaf014cf2b072962a472c3f8146f845e47063c7 /include/asm-arm/arch-mx23/pinmux.h | |
parent | 31ca7ee9538c2845893c1f08086caefbce38e8e1 (diff) | |
download | u-boot-imx-260584a4e6144d1e8a5477c4fb55a67dd4fa2ac3.zip u-boot-imx-260584a4e6144d1e8a5477c4fb55a67dd4fa2ac3.tar.gz u-boot-imx-260584a4e6144d1e8a5477c4fb55a67dd4fa2ac3.tar.bz2 |
ENGR00122342: missing mx23 evk machine ID setting
Change stmp378x to mx23evk in u-boot.
Signed-off-by: Terry Lv <r65388@freescale.com>
Diffstat (limited to 'include/asm-arm/arch-mx23/pinmux.h')
-rw-r--r-- | include/asm-arm/arch-mx23/pinmux.h | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/include/asm-arm/arch-mx23/pinmux.h b/include/asm-arm/arch-mx23/pinmux.h new file mode 100644 index 0000000..29c5ca2 --- /dev/null +++ b/include/asm-arm/arch-mx23/pinmux.h @@ -0,0 +1,42 @@ +/* + * Copyright (C) 2008 Embedded Alley Solutions Inc. + * + * (C) Copyright 2009-2010 Freescale Semiconductor, Inc. + * + * Clock control register descriptions + * + * 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 + */ +#ifndef PINMUX_H +#define PINMUX_H + +#include <asm/arch/mx23.h> + +#define PINCTRL_BASE (MX23_REGS_BASE + 0x18000) + +#define PINCTRL_CTRL 0x000 +#define PINCTRL_MUXSEL(n) (0x100 + 0x10*(n)) +#define PINCTRL_DRIVE(n) (0x200 + 0x10*(n)) +#define PINCTRL_PULL(n) (0x400 + 0x10*(n)) +#define PINCTRL_DOUT(n) (0x500 + 0x10*(n)) +#define PINCTRL_DIN(n) (0x600 + 0x10*(n)) +#define PINCTRL_DOE(n) (0x700 + 0x10*(n)) +#define PINCTRL_PIN2IRQ(n) (0x800 + 0x10*(n)) +#define PINCTRL_IRQEN(n) (0x900 + 0x10*(n)) +#define PINCTRL_IRQLEVEL(n) (0xa00 + 0x10*(n)) +#define PINCTRL_IRQPOL(n) (0xb00 + 0x10*(n)) +#define PINCTRL_IRQSTAT(n) (0xc00 + 0x10*(n)) + +#endif /* PINMUX_H */ |