186271115SStefano Babic /* 286271115SStefano Babic * 386271115SStefano Babic * (c) 2007 Pengutronix, Sascha Hauer <s.hauer@pengutronix.de> 486271115SStefano Babic * 586271115SStefano Babic * See file CREDITS for list of people who contributed to this 686271115SStefano Babic * project. 786271115SStefano Babic * 886271115SStefano Babic * This program is free software; you can redistribute it and/or 986271115SStefano Babic * modify it under the terms of the GNU General Public License as 1086271115SStefano Babic * published by the Free Software Foundation; either version 2 of 1186271115SStefano Babic * the License, or (at your option) any later version. 1286271115SStefano Babic * 1386271115SStefano Babic * This program is distributed in the hope that it will be useful, 1486271115SStefano Babic * but WITHOUT ANY WARRANTY; without even the implied warranty of 1586271115SStefano Babic * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 1686271115SStefano Babic * GNU General Public License for more details. 1786271115SStefano Babic * 1886271115SStefano Babic * You should have received a copy of the GNU General Public License 1986271115SStefano Babic * along with this program; if not, write to the Free Software 2086271115SStefano Babic * Foundation, Inc., 59 Temple Place, Suite 330, Boston, 2186271115SStefano Babic * MA 02111-1307 USA 2286271115SStefano Babic */ 2386271115SStefano Babic 2486271115SStefano Babic #ifndef __ASM_ARCH_CLOCK_H 2586271115SStefano Babic #define __ASM_ARCH_CLOCK_H 2686271115SStefano Babic 2786271115SStefano Babic extern u32 mx31_get_ipg_clk(void); 2886271115SStefano Babic #define imx_get_uartclk mx31_get_ipg_clk 2986271115SStefano Babic extern void mx31_gpio_mux(unsigned long mode); 3086271115SStefano Babic extern void mx31_set_pad(enum iomux_pins pin, u32 config); 3186271115SStefano Babic 3286271115SStefano Babic void mx31_uart1_hw_init(void); 3386271115SStefano Babic void mx31_spi2_hw_init(void); 34d109b11eSStefano Babic void mxc_hw_watchdog_enable(void); 35*bdb3c203SStefano Babic void mxc_hw_watchdog_reset(void); 3686271115SStefano Babic 3786271115SStefano Babic #endif /* __ASM_ARCH_CLOCK_H */ 38