summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorTroy Kisky <troy.kisky@boundarydevices.com>2013-09-25 18:41:16 -0700
committerMarek Vasut <marex@denx.de>2013-10-20 23:42:40 +0200
commit7132869d4c9e03180226146b27c8c4266ceab351 (patch)
tree35e02e35b6daf88d5845843bc457cd5d155d3fd3 /arch
parentb065eb7fd7f9c7364dbfc117ed4705f4dd932474 (diff)
downloadu-boot-imx-7132869d4c9e03180226146b27c8c4266ceab351.zip
u-boot-imx-7132869d4c9e03180226146b27c8c4266ceab351.tar.gz
u-boot-imx-7132869d4c9e03180226146b27c8c4266ceab351.tar.bz2
mx6: iomux: add GPR1 defines for use with nitrogen6x
Select GPIO1 as the USB OTG ID pin for Nitrogen6x Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/include/asm/arch-mx6/iomux.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-mx6/iomux.h b/arch/arm/include/asm/arch-mx6/iomux.h
index ff13a1e..fe4675e 100644
--- a/arch/arm/include/asm/arch-mx6/iomux.h
+++ b/arch/arm/include/asm/arch-mx6/iomux.h
@@ -10,6 +10,12 @@
#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
*/
#define IOMUXC_GPR13_SDMA_STOP_REQ (1<<30)