1 /*
2  * (C) Copyright 2007-2008
3  * Stelian Pop <stelian@popies.net>
4  * Lead Tech Design <www.leadtechdesign.com>
5  *
6  * SPDX-License-Identifier:	GPL-2.0+
7  */
8 
9 #ifndef AT91_COMMON_H
10 #define AT91_COMMON_H
11 
12 void at91_can_hw_init(void);
13 void at91_gmac_hw_init(void);
14 void at91_macb_hw_init(void);
15 void at91_mci_hw_init(void);
16 void at91_serial0_hw_init(void);
17 void at91_serial1_hw_init(void);
18 void at91_serial2_hw_init(void);
19 void at91_seriald_hw_init(void);
20 void at91_spi0_hw_init(unsigned long cs_mask);
21 void at91_spi1_hw_init(unsigned long cs_mask);
22 void at91_udp_hw_init(void);
23 void at91_uhp_hw_init(void);
24 void at91_lcd_hw_init(void);
25 void at91_plla_init(u32 pllar);
26 void at91_pllb_init(u32 pllar);
27 void at91_mck_init(u32 mckr);
28 void at91_mck_init_down(u32 mckr);
29 void at91_pmc_init(void);
30 void mem_init(void);
31 void at91_phy_reset(void);
32 void at91_sdram_hw_init(void);
33 void at91_mck_init(u32 mckr);
34 void at91_spl_board_init(void);
35 void at91_disable_wdt(void);
36 void matrix_init(void);
37 void redirect_int_from_saic_to_aic(void);
38 void configure_2nd_sram_as_l2_cache(void);
39 
40 int at91_set_ethaddr(int offset);
41 int at91_video_show_board_info(void);
42 
43 #endif /* AT91_COMMON_H */
44