at91_common.h 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  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. #ifndef AT91_COMMON_H
  8. #define AT91_COMMON_H
  9. void at91_can_hw_init(void);
  10. void at91_gmac_hw_init(void);
  11. void at91_macb_hw_init(void);
  12. void at91_mci_hw_init(void);
  13. void at91_serial0_hw_init(void);
  14. void at91_serial1_hw_init(void);
  15. void at91_serial2_hw_init(void);
  16. void at91_seriald_hw_init(void);
  17. void at91_spi0_hw_init(unsigned long cs_mask);
  18. void at91_spi1_hw_init(unsigned long cs_mask);
  19. void at91_udp_hw_init(void);
  20. void at91_uhp_hw_init(void);
  21. void at91_lcd_hw_init(void);
  22. void at91_plla_init(u32 pllar);
  23. void at91_pllb_init(u32 pllar);
  24. void at91_mck_init(u32 mckr);
  25. void at91_mck_init_down(u32 mckr);
  26. void at91_pmc_init(void);
  27. void mem_init(void);
  28. void at91_phy_reset(void);
  29. void at91_sdram_hw_init(void);
  30. void at91_mck_init(u32 mckr);
  31. void at91_spl_board_init(void);
  32. void at91_disable_wdt(void);
  33. void matrix_init(void);
  34. void redirect_int_from_saic_to_aic(void);
  35. void configure_2nd_sram_as_l2_cache(void);
  36. #ifdef CONFIG_ATMEL_SFR
  37. void configure_ddrcfg_input_buffers(bool open);
  38. #endif
  39. int at91_set_ethaddr(int offset);
  40. int at91_set_eth1addr(int offset);
  41. void at91_spi_nor_set_ethaddr(void);
  42. int at91_video_show_board_info(void);
  43. #endif /* AT91_COMMON_H */