Patchwork [U-Boot,5/6] i.MX6DL: define IOMUX pads NANDF_CS1-3 for use as GPIO

login
register
mail settings
Submitter Eric Nelson
Date Feb. 17, 2013, 7:24 p.m.
Message ID <1361129058-27988-6-git-send-email-eric.nelson@boundarydevices.com>
Download mbox | patch
Permalink /patch/221088/
State Superseded
Delegated to: Stefano Babic
Headers show

Comments

Eric Nelson - Feb. 17, 2013, 7:24 p.m.
Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com>
---
 arch/arm/include/asm/arch-mx6/mx6dl_pins.h |    3 +++
 1 file changed, 3 insertions(+)
Liu Hui-R64343 - Feb. 18, 2013, 5:21 a.m.
>-----Original Message-----
>From: Eric Nelson [mailto:eric.nelson@boundarydevices.com]
>Sent: Monday, February 18, 2013 3:24 AM
>To: u-boot@lists.denx.de
>Cc: sbabic@denx.de; Liu Hui-R64343; Estevam Fabio-R49496;
>troy.kisky@boundarydevices.com; Eric Nelson
>Subject: [PATCH 5/6] i.MX6DL: define IOMUX pads NANDF_CS1-3 for use as
>GPIO
>
>Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com>

Acked-by: Jason Liu <r64343@freescale.com>

>---
> arch/arm/include/asm/arch-mx6/mx6dl_pins.h |    3 +++
> 1 file changed, 3 insertions(+)
>
>diff --git a/arch/arm/include/asm/arch-mx6/mx6dl_pins.h
>b/arch/arm/include/asm/arch-mx6/mx6dl_pins.h
>index 0395357..9494e41 100644
>--- a/arch/arm/include/asm/arch-mx6/mx6dl_pins.h
>+++ b/arch/arm/include/asm/arch-mx6/mx6dl_pins.h
>@@ -105,6 +105,9 @@ enum {
> 	MX6_PAD_KEY_COL3__GPIO_4_12		= IOMUX_PAD(0x0638,
>0x0250, 5, 0x0000, 0, 0),
> 	MX6_PAD_KEY_ROW3__I2C2_SDA		= IOMUX_PAD(0x064C,
>0x0264, 4 | IOMUX_CONFIG_SION, 0x0874, 1, 0),
> 	MX6_PAD_KEY_ROW3__GPIO_4_13		= IOMUX_PAD(0x064C,
>0x0264, 5, 0x0000, 0, 0),
>+	MX6_PAD_NANDF_CS1__GPIO_6_14		=
>IOMUX_PAD(0x0660, 0x0278, 5, 0x0000, 0, 0),
>+	MX6_PAD_NANDF_CS2__GPIO_6_15		=
>IOMUX_PAD(0x0664, 0x027C, 5, 0x0000, 0, 0),
>+	MX6_PAD_NANDF_CS3__GPIO_6_16		=
>IOMUX_PAD(0x0668, 0x0280, 5, 0x0000, 0, 0),
> 	MX6_PAD_NANDF_D1__GPIO_2_1		= IOMUX_PAD(0x0670,
>0x0288, 5, 0x0000, 0, 0),
> 	MX6_PAD_NANDF_D2__GPIO_2_2		= IOMUX_PAD(0x0674,
>0x028C, 5, 0x0000, 0, 0),
> 	MX6_PAD_NANDF_D3__GPIO_2_3		= IOMUX_PAD(0x0678,
>0x0290, 5, 0x0000, 0, 0),
>--
>1.7.9.5
>

Patch

diff --git a/arch/arm/include/asm/arch-mx6/mx6dl_pins.h b/arch/arm/include/asm/arch-mx6/mx6dl_pins.h
index 0395357..9494e41 100644
--- a/arch/arm/include/asm/arch-mx6/mx6dl_pins.h
+++ b/arch/arm/include/asm/arch-mx6/mx6dl_pins.h
@@ -105,6 +105,9 @@  enum {
 	MX6_PAD_KEY_COL3__GPIO_4_12		= IOMUX_PAD(0x0638, 0x0250, 5, 0x0000, 0, 0),
 	MX6_PAD_KEY_ROW3__I2C2_SDA		= IOMUX_PAD(0x064C, 0x0264, 4 | IOMUX_CONFIG_SION, 0x0874, 1, 0),
 	MX6_PAD_KEY_ROW3__GPIO_4_13		= IOMUX_PAD(0x064C, 0x0264, 5, 0x0000, 0, 0),
+	MX6_PAD_NANDF_CS1__GPIO_6_14		= IOMUX_PAD(0x0660, 0x0278, 5, 0x0000, 0, 0),
+	MX6_PAD_NANDF_CS2__GPIO_6_15		= IOMUX_PAD(0x0664, 0x027C, 5, 0x0000, 0, 0),
+	MX6_PAD_NANDF_CS3__GPIO_6_16		= IOMUX_PAD(0x0668, 0x0280, 5, 0x0000, 0, 0),
 	MX6_PAD_NANDF_D1__GPIO_2_1		= IOMUX_PAD(0x0670, 0x0288, 5, 0x0000, 0, 0),
 	MX6_PAD_NANDF_D2__GPIO_2_2		= IOMUX_PAD(0x0674, 0x028C, 5, 0x0000, 0, 0),
 	MX6_PAD_NANDF_D3__GPIO_2_3		= IOMUX_PAD(0x0678, 0x0290, 5, 0x0000, 0, 0),