2 * Copyright 2009 Freescale Semiconductor, Inc. All Rights Reserved.
6 * The code contained herein is licensed under the GNU General Public
7 * License. You may obtain a copy of the GNU General Public License
8 * Version 2 or later at the following locations:
10 * http://www.opensource.org/licenses/gpl-license.html
11 * http://www.gnu.org/copyleft/gpl.html
13 #ifndef __MACH_MX25_GPIO_H__
14 #define __MACH_MX25_GPIO_H__
16 #include <asm/arch/mx25.h>
18 static void _set_gpio_direction(u32 port, u32 index, int is_input);
20 void mxc_set_gpio_direction(iomux_pin_name_t pin, int is_input);
22 static void _set_gpio_dataout(u32 port, u32 index, u32 data);
24 void mxc_set_gpio_dataout(iomux_pin_name_t pin, u32 data);
27 * @file mach-mx25/gpio.h
29 * @brief Simple GPIO definitions and functions