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