[PATCH 4/5] ARM: dts: i.MX51: Add missing pinctrl definitions

Alexander Shiyan shc_work at mail.ru
Thu Nov 7 03:45:07 EST 2013


This patch adds missing pinctrl definitions for Keypad (columns 4 and 5),
NFC, 1-Wire and WEIM.

Signed-off-by: Alexander Shiyan <shc_work at mail.ru>
---
 arch/arm/boot/dts/imx51-pingrp.h | 93 ++++++++++++++++++++++++++++++++++++++++
 1 file changed, 93 insertions(+)

diff --git a/arch/arm/boot/dts/imx51-pingrp.h b/arch/arm/boot/dts/imx51-pingrp.h
index 550d0d1..41a67ba 100644
--- a/arch/arm/boot/dts/imx51-pingrp.h
+++ b/arch/arm/boot/dts/imx51-pingrp.h
@@ -157,6 +157,32 @@
 	MX51_PAD_KEY_COL2__KEY_COL2			0xe8 \
 	MX51_PAD_KEY_COL3__KEY_COL3			0xe8
 
+#define MX51_KPP_COL45_PINGRP1 \
+	MX51_PAD_KEY_COL4__KEY_COL4			0xe8 \
+	MX51_PAD_KEY_COL5__KEY_COL5			0xe8
+
+#define MX51_NFC_PINGRP1 \
+	MX51_PAD_NANDF_D0__NANDF_D0			0x80000000 \
+	MX51_PAD_NANDF_D1__NANDF_D1			0x80000000 \
+	MX51_PAD_NANDF_D2__NANDF_D2			0x80000000 \
+	MX51_PAD_NANDF_D3__NANDF_D3			0x80000000 \
+	MX51_PAD_NANDF_D4__NANDF_D4			0x80000000 \
+	MX51_PAD_NANDF_D5__NANDF_D5			0x80000000 \
+	MX51_PAD_NANDF_D6__NANDF_D6			0x80000000 \
+	MX51_PAD_NANDF_D7__NANDF_D7			0x80000000 \
+	MX51_PAD_NANDF_ALE__NANDF_ALE			0x80000000 \
+	MX51_PAD_NANDF_CLE__NANDF_CLE			0x80000000 \
+	MX51_PAD_NANDF_RE_B__NANDF_RE_B			0x80000000 \
+	MX51_PAD_NANDF_WE_B__NANDF_WE_B			0x80000000 \
+	MX51_PAD_NANDF_WP_B__NANDF_WP_B			0x80000000
+
+#define MX51_NFC_CS0_PINGRP1 \
+	MX51_PAD_NANDF_CS0__NANDF_CS0			0x80000000 \
+	MX51_PAD_NANDF_RB0__NANDF_RB0			0x80000000
+
+#define MX51_OWIRE_PINGRP1 \
+	X51_PAD_OWIRE_LINE__OWIRE_LINE			0x40000000
+
 #define MX51_PATA_PINGRP1 \
 	MX51_PAD_NANDF_WE_B__PATA_DIOW			0x2004 \
 	MX51_PAD_NANDF_RE_B__PATA_DIOR			0x2004 \
@@ -244,4 +270,71 @@
 	MX51_PAD_EIM_A27__USBH2_NXT			0x1e5 \
 	MX51_PAD_EIM_A26__USBH2_STP			0x1e5
 
+#define MX51_WEIM_PINGRP1 \
+	MX51_PAD_EIM_DA0__EIM_DA0			0x80000000 \
+	MX51_PAD_EIM_DA1__EIM_DA1			0x80000000 \
+	MX51_PAD_EIM_DA2__EIM_DA2			0x80000000 \
+	MX51_PAD_EIM_DA3__EIM_DA3			0x80000000 \
+	MX51_PAD_EIM_DA4__EIM_DA4			0x80000000 \
+	MX51_PAD_EIM_DA5__EIM_DA5			0x80000000 \
+	MX51_PAD_EIM_DA6__EIM_DA6			0x80000000 \
+	MX51_PAD_EIM_DA7__EIM_DA7			0x80000000 \
+	MX51_PAD_EIM_DA8__EIM_DA8			0x80000000 \
+	MX51_PAD_EIM_DA9__EIM_DA9			0x80000000 \
+	MX51_PAD_EIM_DA10__EIM_DA10			0x80000000 \
+	MX51_PAD_EIM_DA11__EIM_DA11			0x80000000 \
+	MX51_PAD_EIM_DA12__EIM_DA12			0x80000000 \
+	MX51_PAD_EIM_DA13__EIM_DA13			0x80000000 \
+	MX51_PAD_EIM_DA14__EIM_DA14			0x80000000 \
+	MX51_PAD_EIM_DA15__EIM_DA15			0x80000000 \
+	MX51_PAD_EIM_A16__EIM_A16			0x80000000 \
+	MX51_PAD_EIM_A17__EIM_A17			0x80000000 \
+	MX51_PAD_EIM_A18__EIM_A18			0x80000000 \
+	MX51_PAD_EIM_A19__EIM_A19			0x80000000 \
+	MX51_PAD_EIM_A20__EIM_A20			0x80000000 \
+	MX51_PAD_EIM_A21__EIM_A21			0x80000000 \
+	MX51_PAD_EIM_A22__EIM_A22			0x80000000 \
+	MX51_PAD_EIM_A23__EIM_A23			0x80000000 \
+	MX51_PAD_EIM_A24__EIM_A24			0x80000000 \
+	MX51_PAD_EIM_A25__EIM_A25			0x80000000 \
+	MX51_PAD_EIM_A26__EIM_A26			0x80000000 \
+	MX51_PAD_EIM_A27__EIM_A27			0x80000000 \
+	MX51_PAD_EIM_D16__EIM_D16			0x80000000 \
+	MX51_PAD_EIM_D17__EIM_D17			0x80000000 \
+	MX51_PAD_EIM_D18__EIM_D18			0x80000000 \
+	MX51_PAD_EIM_D19__EIM_D19			0x80000000 \
+	MX51_PAD_EIM_D20__EIM_D20			0x80000000 \
+	MX51_PAD_EIM_D21__EIM_D21			0x80000000 \
+	MX51_PAD_EIM_D22__EIM_D22			0x80000000 \
+	MX51_PAD_EIM_D23__EIM_D23			0x80000000 \
+	MX51_PAD_EIM_D24__EIM_D24			0x80000000 \
+	MX51_PAD_EIM_D25__EIM_D25			0x80000000 \
+	MX51_PAD_EIM_D26__EIM_D26			0x80000000 \
+	MX51_PAD_EIM_D27__EIM_D27			0x80000000 \
+	MX51_PAD_EIM_D28__EIM_D28			0x80000000 \
+	MX51_PAD_EIM_D29__EIM_D29			0x80000000 \
+	MX51_PAD_EIM_D30__EIM_D30			0x80000000 \
+	MX51_PAD_EIM_D31__EIM_D31			0x80000000 \
+	MX51_PAD_EIM_OE__EIM_OE				0x80000000 \
+	MX51_PAD_EIM_DTACK__EIM_DTACK			0x80000000 \
+	MX51_PAD_EIM_LBA__EIM_LBA			0x80000000
+
+#define MX51_WEIM_CS0_PINGRP1 \
+	MX51_PAD_EIM_CS0__EIM_CS0			0x80000000
+
+#define MX51_WEIM_CS1_PINGRP1 \
+	MX51_PAD_EIM_CS1__EIM_CS1			0x80000000
+
+#define MX51_WEIM_CS2_PINGRP1 \
+	MX51_PAD_EIM_CS2__EIM_CS2			0x80000000
+
+#define MX51_WEIM_CS3_PINGRP1 \
+	MX51_PAD_EIM_CS3__EIM_CS3			0x80000000
+
+#define MX51_WEIM_CS4_PINGRP1 \
+	MX51_PAD_EIM_CS4__EIM_CS4			0x80000000
+
+#define MX51_WEIM_CS5_PINGRP1 \
+	MX51_PAD_EIM_CS5__EIM_CS5			0x80000000
+
 #endif /* __DTS_IMX51_PINGRP_H */
-- 
1.8.1.5




More information about the linux-arm-kernel mailing list