summaryrefslogtreecommitdiff
path: root/board/compulab/cm_t335/mux.c
diff options
context:
space:
mode:
authorIlya Ledvich <ilya@compulab.co.il>2013-11-07 07:57:34 +0200
committerTom Rini <trini@ti.com>2013-12-04 08:11:26 -0500
commite8ac22be6a6a8544f43ae58d9ef33574a51b5971 (patch)
tree6bc3d3b005bd26a9b272000b4e39dd2762a83856 /board/compulab/cm_t335/mux.c
parent54e7445de9367cde53ff3daa391fddd87e699113 (diff)
downloadolio-uboot-2014.01-e8ac22be6a6a8544f43ae58d9ef33574a51b5971.tar.xz
olio-uboot-2014.01-e8ac22be6a6a8544f43ae58d9ef33574a51b5971.zip
cm_t335: add support for status LED
Add support for status LED. Use the STATUS_LED APIs for indicating a boot progress. Signed-off-by: Ilya Ledvich <ilya@compulab.co.il> Signed-off-by: Igor Grinberg <grinberg@compulab.co.il>
Diffstat (limited to 'board/compulab/cm_t335/mux.c')
-rw-r--r--board/compulab/cm_t335/mux.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/board/compulab/cm_t335/mux.c b/board/compulab/cm_t335/mux.c
index 998d30457..7d2beb01e 100644
--- a/board/compulab/cm_t335/mux.c
+++ b/board/compulab/cm_t335/mux.c
@@ -94,6 +94,11 @@ static struct module_pin_mux eth_phy_rst_pin_mux[] = {
{-1},
};
+static struct module_pin_mux status_led_pin_mux[] = {
+ {OFFSET(gpmc_csn3), (MODE(7) | PULLUDEN)}, /* GPIO2_0 */
+ {-1},
+};
+
void set_uart_mux_conf(void)
{
configure_module_pin_mux(uart0_pin_mux);
@@ -108,4 +113,5 @@ void set_mux_conf_regs(void)
configure_module_pin_mux(eth_phy_rst_pin_mux);
configure_module_pin_mux(mmc0_pin_mux);
configure_module_pin_mux(nand_pin_mux);
+ configure_module_pin_mux(status_led_pin_mux);
}