From 7132869d4c9e03180226146b27c8c4266ceab351 Mon Sep 17 00:00:00 2001 From: Troy Kisky Date: Wed, 25 Sep 2013 18:41:16 -0700 Subject: mx6: iomux: add GPR1 defines for use with nitrogen6x Select GPIO1 as the USB OTG ID pin for Nitrogen6x Signed-off-by: Troy Kisky --- arch/arm/include/asm/arch-mx6/iomux.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'arch/arm') diff --git a/arch/arm/include/asm/arch-mx6/iomux.h b/arch/arm/include/asm/arch-mx6/iomux.h index ff13a1ea9f..fe4675e0b7 100644 --- a/arch/arm/include/asm/arch-mx6/iomux.h +++ b/arch/arm/include/asm/arch-mx6/iomux.h @@ -9,6 +9,12 @@ #define MX6_IOMUXC_GPR6 0x020e0018 #define MX6_IOMUXC_GPR7 0x020e001c +/* + * IOMUXC_GPR1 bit fields + */ +#define IOMUXC_GPR1_OTG_ID_ENET_RX_ERR (0<<13) +#define IOMUXC_GPR1_OTG_ID_GPIO1 (1<<13) +#define IOMUXC_GPR1_OTG_ID_MASK (1<<13) /* * IOMUXC_GPR13 bit fields */ -- cgit v1.2.1