diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2010-06-16 14:30:07 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2010-06-24 11:36:11 +0200 |
commit | 6c5f1c0fdfa52fc76dfb392aa13d6059c75f1843 (patch) | |
tree | cb3d6e6d4596424f885b7c3a9172dd4bd571059c /board | |
parent | 334fe1dc8a1b866d1f0f4ccf82ff7b06589ec022 (diff) | |
download | barebox-6c5f1c0fdfa52fc76dfb392aa13d6059c75f1843.tar.gz barebox-6c5f1c0fdfa52fc76dfb392aa13d6059c75f1843.tar.xz |
i.MX27: merge iomux pim definitions from kernel
The Kernel pin definitions are more complete and up to date. Being
here we also use seperate files for the iomuxer like the other
i.MX SoCs already do.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'board')
-rw-r--r-- | board/eukrea_cpuimx27/eukrea_cpuimx27.c | 3 | ||||
-rw-r--r-- | board/imx21ads/imx21ads.c | 1 | ||||
-rw-r--r-- | board/imx27ads/imx27ads.c | 3 | ||||
-rw-r--r-- | board/pcm038/pcm038.c | 3 | ||||
-rw-r--r-- | board/phycard-i.MX27/pca100.c | 3 |
5 files changed, 9 insertions, 4 deletions
diff --git a/board/eukrea_cpuimx27/eukrea_cpuimx27.c b/board/eukrea_cpuimx27/eukrea_cpuimx27.c index e40c260320..1937d21c85 100644 --- a/board/eukrea_cpuimx27/eukrea_cpuimx27.c +++ b/board/eukrea_cpuimx27/eukrea_cpuimx27.c @@ -45,6 +45,7 @@ #include <asm/mmu.h> #include <i2c/i2c.h> #include <i2c/lp3972.h> +#include <mach/iomux-mx27.h> static struct device_d cfi_dev = { .name = "cfi_flash", @@ -230,7 +231,7 @@ static int eukrea_cpuimx27_devices_init(void) PD11_AOUT_FEC_TX_CLK, PD12_AOUT_FEC_RXD0, PD13_AOUT_FEC_RX_DV, - PD14_AOUT_FEC_CLR, + PD14_AOUT_FEC_RX_CLK, PD15_AOUT_FEC_COL, PD16_AIN_FEC_TX_ER, PF23_AIN_FEC_TX_EN, diff --git a/board/imx21ads/imx21ads.c b/board/imx21ads/imx21ads.c index 9eba19afbd..5e88af4fd8 100644 --- a/board/imx21ads/imx21ads.c +++ b/board/imx21ads/imx21ads.c @@ -35,6 +35,7 @@ #include <asm/mach-types.h> #include <mach/imx-nand.h> #include <mach/imxfb.h> +#include <mach/iomux-mx21.h> #define MX21ADS_IO_REG 0xCC800000 #define MX21ADS_IO_LCDON (1 << 9) diff --git a/board/imx27ads/imx27ads.c b/board/imx27ads/imx27ads.c index 3512ed3685..6f31520ffa 100644 --- a/board/imx27ads/imx27ads.c +++ b/board/imx27ads/imx27ads.c @@ -31,6 +31,7 @@ #include <fs.h> #include <fcntl.h> #include <asm/mach-types.h> +#include <mach/iomux-mx27.h> static struct device_d cfi_dev = { .name = "cfi_flash", @@ -114,7 +115,7 @@ static int mx27ads_devices_init(void) PD11_AOUT_FEC_TX_CLK, PD12_AOUT_FEC_RXD0, PD13_AOUT_FEC_RX_DV, - PD14_AOUT_FEC_CLR, + PD14_AOUT_FEC_RX_CLK, PD15_AOUT_FEC_COL, PD16_AIN_FEC_TX_ER, PF23_AIN_FEC_TX_EN, diff --git a/board/pcm038/pcm038.c b/board/pcm038/pcm038.c index fbd53a5436..03794fc13d 100644 --- a/board/pcm038/pcm038.c +++ b/board/pcm038/pcm038.c @@ -42,6 +42,7 @@ #include <asm/mmu.h> #include <usb/isp1504.h> #include <mach/spi.h> +#include <mach/iomux-mx27.h> static struct device_d cfi_dev = { .name = "cfi_flash", @@ -229,7 +230,7 @@ static int pcm038_devices_init(void) PD11_AOUT_FEC_TX_CLK, PD12_AOUT_FEC_RXD0, PD13_AOUT_FEC_RX_DV, - PD14_AOUT_FEC_CLR, + PD14_AOUT_FEC_RX_CLK, PD15_AOUT_FEC_COL, PD16_AIN_FEC_TX_ER, PF23_AIN_FEC_TX_EN, diff --git a/board/phycard-i.MX27/pca100.c b/board/phycard-i.MX27/pca100.c index 2fb1e35ac7..ce59960e22 100644 --- a/board/phycard-i.MX27/pca100.c +++ b/board/phycard-i.MX27/pca100.c @@ -38,6 +38,7 @@ #include <gpio.h> #include <asm/mmu.h> #include <usb/isp1504.h> +#include <mach/iomux-mx27.h> static struct memory_platform_data ram_pdata = { .name = "ram0", @@ -147,7 +148,7 @@ static int pca100_devices_init(void) PD11_AOUT_FEC_TX_CLK, PD12_AOUT_FEC_RXD0, PD13_AOUT_FEC_RX_DV, - PD14_AOUT_FEC_CLR, + PD14_AOUT_FEC_RX_CLK, PD15_AOUT_FEC_COL, PD16_AIN_FEC_TX_ER, PF23_AIN_FEC_TX_EN, |