2009-03-21 21:07:59 +01:00
|
|
|
/*
|
|
|
|
* (C) Copyright 2007-2008
|
2011-11-01 00:00:39 +01:00
|
|
|
* Stelian Pop <stelian@popies.net>
|
2009-03-21 21:07:59 +01:00
|
|
|
* Lead Tech Design <www.leadtechdesign.com>
|
|
|
|
*
|
2013-07-08 09:37:19 +02:00
|
|
|
* SPDX-License-Identifier: GPL-2.0+
|
2009-03-21 21:07:59 +01:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef AT91_COMMON_H
|
|
|
|
#define AT91_COMMON_H
|
|
|
|
|
2009-06-30 23:03:33 +02:00
|
|
|
void at91_can_hw_init(void);
|
2013-06-26 10:11:06 +08:00
|
|
|
void at91_gmac_hw_init(void);
|
2009-03-21 21:08:00 +01:00
|
|
|
void at91_macb_hw_init(void);
|
2010-08-13 10:31:06 +02:00
|
|
|
void at91_mci_hw_init(void);
|
2009-03-21 21:07:59 +01:00
|
|
|
void at91_serial0_hw_init(void);
|
|
|
|
void at91_serial1_hw_init(void);
|
|
|
|
void at91_serial2_hw_init(void);
|
2010-11-03 15:38:33 +01:00
|
|
|
void at91_seriald_hw_init(void);
|
2009-03-21 21:07:59 +01:00
|
|
|
void at91_spi0_hw_init(unsigned long cs_mask);
|
|
|
|
void at91_spi1_hw_init(unsigned long cs_mask);
|
2013-09-11 18:24:51 +08:00
|
|
|
void at91_udp_hw_init(void);
|
2009-03-21 21:08:00 +01:00
|
|
|
void at91_uhp_hw_init(void);
|
2013-04-16 23:42:44 +00:00
|
|
|
void at91_lcd_hw_init(void);
|
2013-11-15 11:12:38 +08:00
|
|
|
void at91_plla_init(u32 pllar);
|
2014-10-31 08:31:04 +01:00
|
|
|
void at91_pllb_init(u32 pllar);
|
2013-11-15 11:12:38 +08:00
|
|
|
void at91_mck_init(u32 mckr);
|
|
|
|
void at91_pmc_init(void);
|
|
|
|
void mem_init(void);
|
2013-11-18 08:07:23 +01:00
|
|
|
void at91_phy_reset(void);
|
2014-10-31 08:31:04 +01:00
|
|
|
void at91_sdram_hw_init(void);
|
|
|
|
void at91_mck_init(u32 mckr);
|
|
|
|
void at91_spl_board_init(void);
|
|
|
|
void at91_disable_wdt(void);
|
|
|
|
void matrix_init(void);
|
2014-12-15 13:24:31 +08:00
|
|
|
void redirect_int_from_saic_to_aic(void);
|
2016-02-16 09:45:06 +01:00
|
|
|
void configure_2nd_sram_as_l2_cache(void);
|
2009-03-21 21:07:59 +01:00
|
|
|
|
|
|
|
#endif /* AT91_COMMON_H */
|