From 6aa445fe5482ca8f554315c8afb0ff0493b04741 Mon Sep 17 00:00:00 2001
From: "Ye.Li" <B37916@freescale.com>
Date: Tue, 25 Feb 2014 16:04:59 +0800
Subject: ENGR00301443 iMX6SX: Update pad value

The value of pad "SPEED" field is changed on iMX6SX. Value "00" is
for 50Mhz.

Signed-off-by: Ye.Li <B37916@freescale.com>
---
 arch/arm/include/asm/arch-mx6/iomux.h | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

(limited to 'arch')

diff --git a/arch/arm/include/asm/arch-mx6/iomux.h b/arch/arm/include/asm/arch-mx6/iomux.h
index 600c73d..1fba965 100644
--- a/arch/arm/include/asm/arch-mx6/iomux.h
+++ b/arch/arm/include/asm/arch-mx6/iomux.h
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2013 Freescale Semiconductor, Inc.
+ * Copyright (C) 2013-2014 Freescale Semiconductor, Inc.
  *
  * This program is free software; you can redistribute it and/or
  * modify it under the terms of the GNU General Public License
@@ -33,7 +33,11 @@
 #define PAD_CTL_PUE		(1 << 13)
 #define PAD_CTL_PKE		(1 << 12)
 #define PAD_CTL_ODE		(1 << 11)
+#ifdef CONFIG_MX6SX
+#define PAD_CTL_SPEED_LOW	(0 << 6)
+#else
 #define PAD_CTL_SPEED_LOW	(1 << 6)
+#endif
 #define PAD_CTL_SPEED_MED	(2 << 6)
 #define PAD_CTL_SPEED_HIGH	(3 << 6)
 #define PAD_CTL_DSE_DISABLE	(0 << 3)
-- 
cgit v1.1