From d1c679a46d4f5ad38f7e23b9a8c4bbf0fb3f9f4d Mon Sep 17 00:00:00 2001 From: Troy Kisky Date: Wed, 15 Aug 2012 10:27:11 +0000 Subject: [PATCH] iomux: move IOMUX_GPR13_xxx defines Move mx6 specific defines to arch-mx6 directory. Signed-off-by: Troy Kisky Acked-by: Stefano Babic --- arch/arm/include/asm/arch-mx6/iomux.h | 129 ++++++++++++++++++ arch/arm/include/asm/imx-common/iomux-v3.h | 111 --------------- board/freescale/mx6qsabrelite/mx6qsabrelite.c | 1 + 3 files changed, 130 insertions(+), 111 deletions(-) create mode 100644 arch/arm/include/asm/arch-mx6/iomux.h diff --git a/arch/arm/include/asm/arch-mx6/iomux.h b/arch/arm/include/asm/arch-mx6/iomux.h new file mode 100644 index 0000000000..a1255f9bd5 --- /dev/null +++ b/arch/arm/include/asm/arch-mx6/iomux.h @@ -0,0 +1,129 @@ +/* + * 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., 51 Franklin Street, Fifth Floor, Boston, + * MA 02110-1301, USA. + */ + +#ifndef __ASM_ARCH_IOMUX_H__ +#define __ASM_ARCH_IOMUX_H__ +/* + * IOMUXC_GPR13 bit fields + */ +#define IOMUXC_GPR13_SDMA_STOP_REQ (1<<30) +#define IOMUXC_GPR13_CAN2_STOP_REQ (1<<29) +#define IOMUXC_GPR13_CAN1_STOP_REQ (1<<28) +#define IOMUXC_GPR13_ENET_STOP_REQ (1<<27) +#define IOMUXC_GPR13_SATA_PHY_8_MASK (7<<24) +#define IOMUXC_GPR13_SATA_PHY_7_MASK (0x1f<<19) +#define IOMUXC_GPR13_SATA_PHY_6_SHIFT 16 +#define IOMUXC_GPR13_SATA_PHY_6_MASK (7< #include #include +#include #include #include #include -- 2.39.5