]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm: imx: Add two macros for VF610 in IOMUX_PAD structure
authorAlison Wang <b18965@freescale.com>
Tue, 6 May 2014 01:13:02 +0000 (09:13 +0800)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Mon, 9 Jun 2014 07:18:12 +0000 (09:18 +0200)
Add PAD_CTL_DSE_150ohm and PAD_CTL_PUS_22K_UP for VF610 in
IOMUX_PAD structure.

Signed-off-by: Alison Wang <Huan.Wang@freescale.com>
arch/arm/include/asm/imx-common/iomux-v3.h

index cca920b28ecfd1e527ec66a66ce729bf4741ec1f..ff45618e45521f2dc74b085981bd217ef43233c5 100644 (file)
@@ -123,12 +123,14 @@ typedef u64 iomux_v3_cfg_t;
 #define PAD_CTL_SPEED_MED      (1 << 12)
 #define PAD_CTL_SPEED_HIGH     (3 << 12)
 
+#define PAD_CTL_DSE_150ohm     (1 << 6)
 #define PAD_CTL_DSE_50ohm      (3 << 6)
 #define PAD_CTL_DSE_25ohm      (6 << 6)
 #define PAD_CTL_DSE_20ohm      (7 << 6)
 
 #define PAD_CTL_PUS_47K_UP     (1 << 4 | PAD_CTL_PUE)
 #define PAD_CTL_PUS_100K_UP    (2 << 4 | PAD_CTL_PUE)
+#define PAD_CTL_PUS_22K_UP     (3 << 4 | PAD_CTL_PUE)
 #define PAD_CTL_PKE            (1 << 3)
 #define PAD_CTL_PUE            (1 << 2 | PAD_CTL_PKE)