mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: "Teresa Gámez" <t.gamez@phytec.de>
To: barebox@lists.infradead.org
Subject: [PATCH 2/5] pcm049: Update muxing
Date: Thu, 15 Mar 2012 13:49:24 +0100	[thread overview]
Message-ID: <1331815767-16220-2-git-send-email-t.gamez@phytec.de> (raw)
In-Reply-To: <1331815767-16220-1-git-send-email-t.gamez@phytec.de>

Update muxing setup for phyCORE-OMAP4.

Signed-off-by: Teresa Gámez <t.gamez@phytec.de>
---
 arch/arm/boards/pcm049/mux.c |  238 +++++++++++++++++++++---------------------
 1 files changed, 119 insertions(+), 119 deletions(-)

diff --git a/arch/arm/boards/pcm049/mux.c b/arch/arm/boards/pcm049/mux.c
index 0e7adea..a7a77b5 100644
--- a/arch/arm/boards/pcm049/mux.c
+++ b/arch/arm/boards/pcm049/mux.c
@@ -49,27 +49,27 @@ static const struct pad_conf_entry core_padconf_array[] = {
 	{C2C_DATA13, (IDIS | PTU | EN | M0)},				/* gpmc_nsc5 */
 	{C2C_DATA14, (SAFE_MODE)},					/* nc */
 	{C2C_DATA15, (SAFE_MODE)},					/* nc */
-	{HDMI_HPD, (M0)},						/* hdmi_hpd */
-	{HDMI_CEC, (DIS | IEN | M3)},					/* gpio_64 */
-	{HDMI_DDC_SCL, (PTU | M0)},					/* hdmi_ddc_scl */
-	{HDMI_DDC_SDA, (PTU | IEN | M0)},				/* hdmi_ddc_sda */
-	{CSI21_DX0, (IEN | M0)},					/* csi21_dx0 */
-	{CSI21_DY0, (IEN | M0)},					/* csi21_dy0 */
-	{CSI21_DX1, (IEN | M0)},					/* csi21_dx1 */
-	{CSI21_DY1, (IEN | M0)},					/* csi21_dy1 */
-	{CSI21_DX2, (IEN | M0)},					/* csi21_dx2 */
-	{CSI21_DY2, (IEN | M0)},					/* csi21_dy2 */
-	{CSI21_DX3, (PTD | M7)},					/* csi21_dx3 */
-	{CSI21_DY3, (PTD | M7)},					/* csi21_dy3 */
-	{CSI21_DX4, (PTD | OFF_EN | OFF_PD | OFF_IN | M7)},		/* csi21_dx4 */
-	{CSI21_DY4, (PTD | OFF_EN | OFF_PD | OFF_IN | M7)},		/* csi21_dy4 */
-	{CSI22_DX0, (IEN | M0)},					/* csi22_dx0 */
-	{CSI22_DY0, (IEN | M0)},					/* csi22_dy0 */
-	{CSI22_DX1, (IEN | M0)},					/* csi22_dx1 */
-	{CSI22_DY1, (IEN | M0)},					/* csi22_dy1 */
-	{CAM_SHUTTER, (OFF_EN | OFF_PD | OFF_OUT_PTD | M0)},		/* cam_shutter */
-	{CAM_STROBE, (OFF_EN | OFF_PD | OFF_OUT_PTD | M0)},		/* cam_strobe */
-	{CAM_GLOBALRESET, (PTD | OFF_EN | OFF_PD | OFF_OUT_PTD | M3)},	/* gpio_83 */
+	{HDMI_HPD, (SAFE_MODE)},					/* unused */
+	{HDMI_CEC, (SAFE_MODE)},					/* unused */
+	{HDMI_DDC_SCL, (SAFE_MODE)},					/* unused */
+	{HDMI_DDC_SDA, (SAFE_MODE)},					/* unused */
+	{CSI21_DX0, (SAFE_MODE)},					/* unused */
+	{CSI21_DY0, (SAFE_MODE)},					/* unused */
+	{CSI21_DX1, (SAFE_MODE)},					/* unused */
+	{CSI21_DY1, (SAFE_MODE)},					/* unused */
+	{CSI21_DX2, (SAFE_MODE)},					/* unused */
+	{CSI21_DY2, (SAFE_MODE)},					/* unused */
+	{CSI21_DX3, (SAFE_MODE)},					/* unused */
+	{CSI21_DY3, (SAFE_MODE)},					/* unused */
+	{CSI21_DX4, (SAFE_MODE)},					/* unused */
+	{CSI21_DY4, (SAFE_MODE)},					/* unused */
+	{CSI22_DX0, (SAFE_MODE)},					/* unused */
+	{CSI22_DY0, (SAFE_MODE)},					/* unused */
+	{CSI22_DX1, (SAFE_MODE)},					/* unused */
+	{CSI22_DY1, (SAFE_MODE)},					/* unused */
+	{CAM_SHUTTER, (SAFE_MODE)},					/* unused */
+	{CAM_STROBE, (SAFE_MODE)},					/* unused */
+	{CAM_GLOBALRESET, (SAFE_MODE)},					/* unused */
 	{USBB1_ULPITLL_CLK, (PTD | IEN | OFF_EN | OFF_PD | OFF_IN | M4)},/* usbb1_ulpiphy_clk */
 	{USBB1_ULPITLL_STP, (OFF_EN | OFF_OUT_PTD | M4)},		/* usbb1_ulpiphy_stp */
 	{USBB1_ULPITLL_DIR, (IEN | OFF_EN | OFF_PD | OFF_IN | M4)},	/* usbb1_ulpiphy_dir */
@@ -82,57 +82,57 @@ static const struct pad_conf_entry core_padconf_array[] = {
 	{USBB1_ULPITLL_DAT5, (IEN | OFF_EN | OFF_PD | OFF_IN | M4)},	/* usbb1_ulpiphy_dat5 */
 	{USBB1_ULPITLL_DAT6, (IEN | OFF_EN | OFF_PD | OFF_IN | M4)},	/* usbb1_ulpiphy_dat6 */
 	{USBB1_ULPITLL_DAT7, (IEN | OFF_EN | OFF_PD | OFF_IN | M4)},	/* usbb1_ulpiphy_dat7 */
-	{USBB1_HSIC_DATA, (DIS | IEN | M3)},				/* gpio_96 */
-	{USBB1_HSIC_STROBE, (DIS | IEN | M3)},				/* gpio_97 */
-	{USBC1_ICUSB_DP, (IEN | M0)},					/* usbc1_icusb_dp */
-	{USBC1_ICUSB_DM, (IEN | M0)},					/* usbc1_icusb_dm */
+	{USBB1_HSIC_DATA, (SAFE_MODE)},					/* nc */
+	{USBB1_HSIC_STROBE, (SAFE_MODE)},				/* nc */
+	{USBC1_ICUSB_DP, (SAFE_MODE)},					/* unused */
+	{USBC1_ICUSB_DM, (SAFE_MODE)},					/* unused */
 	{SDMMC1_CLK, (PTU | OFF_EN | OFF_OUT_PTD | M0)},		/* sdmmc1_clk */
 	{SDMMC1_CMD, (PTU | IEN | OFF_EN | OFF_PD | OFF_IN | M0)},	/* sdmmc1_cmd */
 	{SDMMC1_DAT0, (PTU | IEN | OFF_EN | OFF_PD | OFF_IN | M0)},	/* sdmmc1_dat0 */
 	{SDMMC1_DAT1, (PTU | IEN | OFF_EN | OFF_PD | OFF_IN | M0)},	/* sdmmc1_dat1 */
 	{SDMMC1_DAT2, (PTU | IEN | OFF_EN | OFF_PD | OFF_IN | M0)},	/* sdmmc1_dat2 */
 	{SDMMC1_DAT3, (PTU | IEN | OFF_EN | OFF_PD | OFF_IN | M0)},	/* sdmmc1_dat3 */
-	{SDMMC1_DAT4, (PTU | IEN | OFF_EN | OFF_PD | OFF_IN | M0)},	/* sdmmc1_dat4 */
-	{SDMMC1_DAT5, (PTU | IEN | OFF_EN | OFF_PD | OFF_IN | M0)},	/* sdmmc1_dat5 */
-	{SDMMC1_DAT6, (PTU | IEN | OFF_EN | OFF_PD | OFF_IN | M0)},	/* sdmmc1_dat6 */
-	{SDMMC1_DAT7, (PTU | IEN | OFF_EN | OFF_PD | OFF_IN | M0)},	/* sdmmc1_dat7 */
-	{ABE_MCBSP2_CLKX, (IEN | OFF_EN | OFF_PD | OFF_IN | M0)},	/* abe_mcbsp2_clkx */
-	{ABE_MCBSP2_DR, (IEN | OFF_EN | OFF_OUT_PTD | M0)},		/* abe_mcbsp2_dr */
-	{ABE_MCBSP2_DX, (OFF_EN | OFF_OUT_PTD | M0)},			/* abe_mcbsp2_dx */
-	{ABE_MCBSP2_FSX, (IEN | OFF_EN | OFF_PD | OFF_IN | M0)},	/* abe_mcbsp2_fsx */
-	{ABE_MCBSP1_CLKX, (DIS | IEN | M3)},				/* gpio_114 */
-	{ABE_MCBSP1_DR, (DIS | IEN | M3)},				/* gpio_115 */
-	{ABE_MCBSP1_DX, (DIS | IEN | M3)},				/* gpio_116 */
-	{ABE_MCBSP1_FSX, (DIS | IEN | M2)},				/* abe_mcasp_amutein */
-	{ABE_PDM_UL_DATA, (IEN | OFF_EN | OFF_OUT_PTD | M1)},		/* abe_mcbsp3_dr */
-	{ABE_PDM_DL_DATA, (OFF_EN | OFF_OUT_PTD | M1)},			/* abe_mcbsp3_dx */
-	{ABE_PDM_FRAME, (IEN | OFF_EN | OFF_PD | OFF_IN | M1)},		/* abe_mcbsp3_clkx */
-	{ABE_PDM_LB_CLK, (IEN | OFF_EN | OFF_PD | OFF_IN | M1)},	/* abe_mcbsp3_fsx */
-	{ABE_CLKS, (DIS | IEN | M3)},					/* gpio_118 */
+	{SDMMC1_DAT4, (SAFE_MODE)},					/* unused */
+	{SDMMC1_DAT5, (SAFE_MODE)},					/* unused */
+	{SDMMC1_DAT6, (SAFE_MODE)},					/* unused */
+	{SDMMC1_DAT7, (SAFE_MODE)},					/* unused */
+	{ABE_MCBSP2_CLKX, (SAFE_MODE)},					/* unused */
+	{ABE_MCBSP2_DR, (SAFE_MODE)},					/* unused */
+	{ABE_MCBSP2_DX, (SAFE_MODE)},					/* unused */
+	{ABE_MCBSP2_FSX, (SAFE_MODE)},					/* unused */
+	{ABE_MCBSP1_CLKX, (SAFE_MODE)},					/* unused */
+	{ABE_MCBSP1_DR, (SAFE_MODE)},					/* unused */
+	{ABE_MCBSP1_DX, (SAFE_MODE)},					/* unused */
+	{ABE_MCBSP1_FSX, (SAFE_MODE)},					/* unused */
+	{ABE_PDM_UL_DATA, (SAFE_MODE)},					/* unused */
+	{ABE_PDM_DL_DATA, (SAFE_MODE)},					/* unused */
+	{ABE_PDM_FRAME, (SAFE_MODE)},					/* unused */
+	{ABE_PDM_LB_CLK, (SAFE_MODE)},					/* unused */
+	{ABE_CLKS, (SAFE_MODE)},					/* unused */
 	{ABE_DMIC_CLK1, (SAFE_MODE)},					/* nc */
-	{ABE_DMIC_DIN1, (SAFE_MODE)},					/* nc */
-	{ABE_DMIC_DIN2, (SAFE_MODE)},					/* nc */
-	{ABE_DMIC_DIN3, (SAFE_MODE)},					/* nc */
-	{UART2_CTS, (PTU | IEN | M0)},					/* uart2_cts */
-	{UART2_RTS, (M0)},						/* uart2_rts */
-	{UART2_RX, (PTU | IEN | M0)},					/* uart2_rx */
-	{UART2_TX, (M0)},						/* uart2_tx */
-	{HDQ_SIO, (M0)},						/* hdq_sio */
+	{ABE_DMIC_DIN1, (SAFE_MODE)},					/* unused */
+	{ABE_DMIC_DIN2, (DIS | IEN | M3)},				/* gpio_121 */
+	{ABE_DMIC_DIN3, (SAFE_MODE)},					/* unused */
+	{UART2_CTS, (SAFE_MODE)},					/* unused */
+	{UART2_RTS, (SAFE_MODE)},					/* unused */
+	{UART2_RX, (SAFE_MODE)},					/* unused */
+	{UART2_TX, (SAFE_MODE)},					/* unused */
+	{HDQ_SIO, (SAFE_MODE)},						/* unused */
 	{I2C1_SCL, (PTU | IEN | M0)},					/* i2c1_scl */
 	{I2C1_SDA, (PTU | IEN | M0)},					/* i2c1_sda */
-	{I2C2_SCL, (PTU | IEN | M1)},					/* uart1_rx */
-	{I2C2_SDA, (M1)},						/* uart1_tx */
+	{I2C2_SCL, (SAFE_MODE)},					/* unused */
+	{I2C2_SDA, (SAFE_MODE)},					/* unused */
 	{I2C3_SCL, (PTU | IEN | M0)},					/* i2c3_scl */
 	{I2C3_SDA, (PTU | IEN | M0)},					/* i2c3_sda */
 	{I2C4_SCL, (PTU | IEN | M0)},					/* i2c4_scl */
 	{I2C4_SDA, (PTU | IEN | M0)},					/* i2c4_sda */
-	{MCSPI1_CLK, (IEN | OFF_EN | OFF_PD | OFF_IN | M0)},		/* mcspi1_clk */
-	{MCSPI1_SOMI, (IEN | OFF_EN | OFF_PD | OFF_IN | M0)},		/* mcspi1_somi */
-	{MCSPI1_SIMO, (IEN | OFF_EN | OFF_PD | OFF_IN | M0)},		/* mcspi1_simo */
-	{MCSPI1_CS0, (PTD | IEN | OFF_EN | OFF_PD | OFF_IN | M0)},	/* mcspi1_cs0 */
-	{MCSPI1_CS1, (PTD | IEN | OFF_EN | OFF_PD | OFF_IN | M0)},	/* mcspi1_cs1 */
-	{MCSPI1_CS2, (PTD | IEN | OFF_EN | OFF_PD | OFF_IN | M0)},	/* mcspi1_cs2 */
-	{MCSPI1_CS3, (PTD | IEN | OFF_EN | OFF_PD | OFF_IN | M0)},	/* mcspi1_cs3 */
+	{MCSPI1_CLK, (SAFE_MODE)},					/* unused */
+	{MCSPI1_SOMI, (SAFE_MODE)},					/* unused */
+	{MCSPI1_SIMO, (SAFE_MODE)},					/* unused */
+	{MCSPI1_CS0, (SAFE_MODE)},					/* unused */
+	{MCSPI1_CS1, (SAFE_MODE)},					/* unused */
+	{MCSPI1_CS2, (SAFE_MODE)},					/* unused */
+	{MCSPI1_CS3, (SAFE_MODE)},					/* unused */
 	{UART3_CTS_RCTX, (PTU | IEN | M0)},				/* uart3_tx */
 	{UART3_RTS_SD, (M0)},						/* uart3_rts_sd */
 	{UART3_RX_IRRX, (IEN | M0)},					/* uart3_rx */
@@ -147,82 +147,82 @@ static const struct pad_conf_entry core_padconf_array[] = {
 	{MCSPI4_SIMO, (PTU | IEN | M3)},				/* gpio_152 */
 	{MCSPI4_SOMI, (PTU | IEN | M3)},				/* gpio_153 */
 	{MCSPI4_CS0, (SAFE_MODE)},					/* nc */
-	{UART4_RX, (IEN | M0)},						/* uart4_rx */
-	{UART4_TX, (M0)},						/* uart4_tx */
-	{USBB2_ULPITLL_CLK, (IEN | M3)},				/* gpio_157 */
-	{USBB2_ULPITLL_STP, (IEN | M5)},				/* dispc2_data23 */
-	{USBB2_ULPITLL_DIR, (IEN | M5)},				/* dispc2_data22 */
-	{USBB2_ULPITLL_NXT, (IEN | M5)},				/* dispc2_data21 */
-	{USBB2_ULPITLL_DAT0, (IEN | M5)},				/* dispc2_data20 */
-	{USBB2_ULPITLL_DAT1, (IEN | M5)},				/* dispc2_data19 */
-	{USBB2_ULPITLL_DAT2, (IEN | M5)},				/* dispc2_data18 */
-	{USBB2_ULPITLL_DAT3, (IEN | M5)},				/* dispc2_data15 */
-	{USBB2_ULPITLL_DAT4, (IEN | M5)},				/* dispc2_data14 */
-	{USBB2_ULPITLL_DAT5, (IEN | M5)},				/* dispc2_data13 */
-	{USBB2_ULPITLL_DAT6, (IEN | M5)},				/* dispc2_data12 */
-	{USBB2_ULPITLL_DAT7, (IEN | M5)},				/* dispc2_data11 */
+	{UART4_RX, (SAFE_MODE)},					/* unused */
+	{UART4_TX, (SAFE_MODE)},					/* unused */
+	{USBB2_ULPITLL_CLK, (SAFE_MODE)},				/* nc */
+	{USBB2_ULPITLL_STP, (SAFE_MODE)},				/* unused */
+	{USBB2_ULPITLL_DIR, (SAFE_MODE)},				/* unused */
+	{USBB2_ULPITLL_NXT, (SAFE_MODE)},				/* unused */
+	{USBB2_ULPITLL_DAT0, (SAFE_MODE)},				/* unused */
+	{USBB2_ULPITLL_DAT1, (SAFE_MODE)},				/* unused */
+	{USBB2_ULPITLL_DAT2, (SAFE_MODE)},				/* unused */
+	{USBB2_ULPITLL_DAT3, (SAFE_MODE)},				/* unused */
+	{USBB2_ULPITLL_DAT4, (SAFE_MODE)},				/* unused */
+	{USBB2_ULPITLL_DAT5, (SAFE_MODE)},				/* unused */
+	{USBB2_ULPITLL_DAT6, (SAFE_MODE)},				/* unused */
+	{USBB2_ULPITLL_DAT7, (SAFE_MODE)},				/* unused */
 	{USBB2_HSIC_DATA, (SAFE_MODE)},					/* nc */
 	{USBB2_HSIC_STROBE, (SAFE_MODE)},				/* nc */
-	{UNIPRO_TX0, (OFF_EN | OFF_PD | OFF_IN | M1)},			/* kpd_col0 */
-	{UNIPRO_TY0, (OFF_EN | OFF_PD | OFF_IN | M1)},			/* kpd_col1 */
-	{UNIPRO_TX1, (OFF_EN | OFF_PD | OFF_IN | M1)},			/* kpd_col2 */
-	{UNIPRO_TY1, (OFF_EN | OFF_PD | OFF_IN | M1)},			/* kpd_col3 */
-	{UNIPRO_TX2, (OFF_EN | OFF_PD | OFF_IN | M1)},			/* kpd_col4 */
-	{UNIPRO_TY2, (SAFE_MODE)},					/* nc */
-	{UNIPRO_RX0, (PTU | IEN | OFF_EN | OFF_PD | OFF_IN | M1)},	/* kpd_row0 */
-	{UNIPRO_RY0, (PTU | IEN | OFF_EN | OFF_PD | OFF_IN | M1)},	/* kpd_row1 */
-	{UNIPRO_RX1, (PTU | IEN | OFF_EN | OFF_PD | OFF_IN | M1)},	/* kpd_row2 */
-	{UNIPRO_RY1, (PTU | IEN | OFF_EN | OFF_PD | OFF_IN | M1)},	/* kpd_row3 */
-	{UNIPRO_RX2, (PTU | IEN | OFF_EN | OFF_PD | OFF_IN | M1)},	/* kpd_row4 */
-	{UNIPRO_RY2, (DIS | IEN | M3)},					/* gpio_3 */
+	{UNIPRO_TX0, (SAFE_MODE)},					/* unused */
+	{UNIPRO_TY0, (SAFE_MODE)},					/* unused */
+	{UNIPRO_TX1, (SAFE_MODE)},					/* unused */
+	{UNIPRO_TY1, (SAFE_MODE)},					/* unused */
+	{UNIPRO_TX2, (SAFE_MODE)},					/* unused */
+	{UNIPRO_TY2, (SAFE_MODE)},					/* unused */
+	{UNIPRO_RX0, (SAFE_MODE)},					/* unused */
+	{UNIPRO_RY0, (SAFE_MODE)},					/* unused */
+	{UNIPRO_RX1, (SAFE_MODE)},					/* unused */
+	{UNIPRO_RY1, (SAFE_MODE)},					/* unused */
+	{UNIPRO_RX2, (SAFE_MODE)},					/* unused */
+	{UNIPRO_RY2, (SAFE_MODE)},					/* unused */
 	{USBA0_OTG_CE, (PTD | OFF_EN | OFF_PD | OFF_OUT_PTD | M0)},	/* usba0_otg_ce */
 	{USBA0_OTG_DP, (IEN | OFF_EN | OFF_PD | OFF_IN | M0)},		/* usba0_otg_dp */
 	{USBA0_OTG_DM, (IEN | OFF_EN | OFF_PD | OFF_IN | M0)},		/* usba0_otg_dm */
 	{FREF_CLK1_OUT, (SAFE_MODE)},					/* nc */
 	{FREF_CLK2_OUT, (SAFE_MODE)},					/* nc */
 	{SYS_NIRQ1, (PTU | IEN | M0)},					/* sys_nirq1 */
-	{SYS_NIRQ2, (DIS | IEN | M3)},					/* gpio_183 */
-	{SYS_BOOT0, (PTU | IEN | M3)},					/* gpio_184 */
-	{SYS_BOOT1, (M3)},						/* gpio_185 */
-	{SYS_BOOT2, (PTD | IEN | M3)},					/* gpio_186 */
-	{SYS_BOOT3, (M3)},						/* gpio_187 */
-	{SYS_BOOT4, (M3)},						/* gpio_188 */
-	{SYS_BOOT5, (PTD | IEN | M3)},					/* gpio_189 */
+	{SYS_NIRQ2, (M0)},						/* sys_boot0 */
+	{SYS_BOOT0, (M0)},						/* sys_boot */
+	{SYS_BOOT1, (M0)},						/* sys_boot */
+	{SYS_BOOT2, (M0)},						/* sys_boot */
+	{SYS_BOOT3, (M0)},						/* sys_boot */
+	{SYS_BOOT4, (M0)},						/* sys_boot */
+	{SYS_BOOT5, (M0)},						/* sys_boot */
 	{DPM_EMU0, (IEN | M0)},						/* dpm_emu0 */
 	{DPM_EMU1, (IEN | M0)},						/* dpm_emu1 */
-	{DPM_EMU2, (SAFE_MODE)},					/* nc */
-	{DPM_EMU3, (SAFE_MODE)},					/* nc */
-	{DPM_EMU4, (SAFE_MODE)},					/* nc */
-	{DPM_EMU5, (SAFE_MODE)},					/* nc */
-	{DPM_EMU6, (SAFE_MODE)},					/* nc */
-	{DPM_EMU7, (SAFE_MODE)},					/* nc */
-	{DPM_EMU8, (SAFE_MODE)},					/* nc */
-	{DPM_EMU9, (SAFE_MODE)},					/* nc */
-	{DPM_EMU10, (SAFE_MODE)},					/* nc */
-	{DPM_EMU11, (SAFE_MODE)},					/* nc */
-	{DPM_EMU12, (SAFE_MODE)},					/* nc */
-	{DPM_EMU13, (SAFE_MODE)},					/* nc */
-	{DPM_EMU14, (SAFE_MODE)},					/* nc */
-	{DPM_EMU15, (DIS | M3)},					/* gpio_26 */
-	{DPM_EMU16, (M1)},						/* dmtimer8_pwm_evt */
-	{DPM_EMU17, (M1)},						/* dmtimer9_pwm_evt */
-	{DPM_EMU18, (IEN | M3)},					/* gpio_190 */
-	{DPM_EMU19, (IEN | M3)},					/* gpio_191 */
+	{DPM_EMU2, (SAFE_MODE)},					/* unused */
+	{DPM_EMU3, (SAFE_MODE)},					/* unused */
+	{DPM_EMU4, (SAFE_MODE)},					/* unused */
+	{DPM_EMU5, (SAFE_MODE)},					/* unused */
+	{DPM_EMU6, (SAFE_MODE)},					/* unused */
+	{DPM_EMU7, (SAFE_MODE)},					/* unused */
+	{DPM_EMU8, (SAFE_MODE)},					/* unused */
+	{DPM_EMU9, (SAFE_MODE)},					/* unused */
+	{DPM_EMU10, (SAFE_MODE)},					/* unused */
+	{DPM_EMU11, (SAFE_MODE)},					/* unused */
+	{DPM_EMU12, (SAFE_MODE)},					/* unused */
+	{DPM_EMU13, (SAFE_MODE)},					/* unused */
+	{DPM_EMU14, (SAFE_MODE)},					/* unused */
+	{DPM_EMU15, (SAFE_MODE)},					/* unused */
+	{DPM_EMU16, (SAFE_MODE)},					/* unused */
+	{DPM_EMU17, (SAFE_MODE)},					/* unused */
+	{DPM_EMU18, (SAFE_MODE)},					/* unused */
+	{DPM_EMU19, (SAFE_MODE)},					/* unused */
 };
 
 static const struct pad_conf_entry wkup_padconf_array[] = {
-	{PAD0_SIM_IO, (IEN | M3)},					/* gpio_wk0 */
-	{PAD1_SIM_CLK, (IEN | M3)},					/* gpio_wk1 */
-	{PAD0_SIM_RESET, (IEN | M3)},					/* gpio_wk2 */
-	{PAD1_SIM_CD, (SAFE_MODE)},					/* should be gpio_wk3 but muxed with gpio_3*/
-	{PAD0_SIM_PWRCTRL, (IEN | M3)},					/* gpio_wk4 */
+	{PAD0_SIM_IO, (SAFE_MODE)},					/* nc */
+	{PAD1_SIM_CLK, (SAFE_MODE)},					/* nc */
+	{PAD0_SIM_RESET, (SAFE_MODE)},					/* nc */
+	{PAD1_SIM_CD, (SAFE_MODE)},					/* nc */
+	{PAD0_SIM_PWRCTRL, (SAFE_MODE)},				/* nc */
 	{PAD1_SR_SCL, (PTU | IEN | M0)},				/* sr_scl */
 	{PAD0_SR_SDA, (PTU | IEN | M0)},				/* sr_sda */
 	{PAD1_FREF_XTAL_IN, (M0)},					/* # */
 	{PAD0_FREF_SLICER_IN, (SAFE_MODE)},				/* nc */
-	{PAD1_FREF_CLK_IOREQ, (SAFE_MODE)},					/* nc */
+	{PAD1_FREF_CLK_IOREQ, (SAFE_MODE)},				/* nc */
 	{PAD0_FREF_CLK0_OUT, (M2)},					/* sys_drm_msecure */
-	{PAD1_FREF_CLK3_REQ, (SAFE_MODE)},				/* nc */
+	{PAD1_FREF_CLK3_REQ, (IEN | M3)},				/* gpio_wk30 */
 	{PAD0_FREF_CLK3_OUT, (M0)},					/* fref_clk3_out */
 	{PAD1_FREF_CLK4_REQ, (M0)},					/* fref_clk4_req */
 	{PAD0_FREF_CLK4_OUT, (M0)},					/* fref_clk4_out */
@@ -231,8 +231,8 @@ static const struct pad_conf_entry wkup_padconf_array[] = {
 	{PAD1_SYS_NRESWARM, (M0)},					/* sys_nreswarm */
 	{PAD0_SYS_PWR_REQ, (PTU | M0)},					/* sys_pwr_req */
 	{PAD1_SYS_PWRON_RESET, (M0)},					/* sys_pwron_reset_out */
-	{PAD0_SYS_BOOT6, (IEN | M3)},					/* gpio_wk9 */
-	{PAD1_SYS_BOOT7, (IEN | M3)},					/* gpio_wk10 */
+	{PAD0_SYS_BOOT6, (M0)},						/* sys_boot6 */
+	{PAD1_SYS_BOOT7, (M0)},						/* sys_boot7 */
 };
 
 void set_muxconf_regs(void)
-- 
1.7.0.4


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

  reply	other threads:[~2012-03-15 12:49 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-15 12:49 [PATCH 1/5] pcm049: Update RAM timings Teresa Gámez
2012-03-15 12:49 ` Teresa Gámez [this message]
2012-03-15 12:49 ` [PATCH 3/5] pcm049: Update GPMC net conf Teresa Gámez
2012-03-15 12:49 ` [PATCH 4/5] devices-gpmc-nand: Add OMAP4 gpmc nand timings Teresa Gámez
2012-03-15 12:49 ` [PATCH 5/5] pcm049_xload_defconfig: activate Thumb-2 support Teresa Gámez
2012-03-15 19:55 ` [PATCH 1/5] pcm049: Update RAM timings Sascha Hauer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1331815767-16220-2-git-send-email-t.gamez@phytec.de \
    --to=t.gamez@phytec.de \
    --cc=barebox@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox