blob: 8c53ce799becc743ec35b1a51b675f5b331cb690 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
/*
* Copyright (C) 2009-2011 Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
*
* Under GPLv2
*/
#ifndef __AT91_LOWLEVEL_INIT_H__
#define __AT91_LOWLEVEL_INIT_H__
struct at91sam926x_lowlevel_cfg {
u32 wdt_mr;
u32 ebi_pio_pdr;
u32 ebi_pio_ppudr;
u32 ebi_csa;
u32 smc_cs;
u32 smc_mode;
u32 smc_cycle;
u32 smc_pulse;
u32 smc_setup;
u32 pmc_mor;
u32 pmc_pllar;
u32 pmc_mckr1;
u32 pmc_mckr2;
u32 sdrc_cr;
u32 sdrc_tr1;
u32 sdrc_mdr;
u32 sdrc_tr2;
u32 rstc_rmr;
};
void at91sam926x_lowlevel_board_config(struct at91sam926x_lowlevel_cfg *cfg);
void at91sam926x_lowlevel_init(void *pio, bool is_pio_asr, u32 matrix_csa);
#endif /* __AT91_LOWLEVEL_INIT_H__ */
|