diff options
author | imp <imp@FreeBSD.org> | 2012-07-15 05:41:43 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2012-07-15 05:41:43 +0000 |
commit | 9acb87af3e0d90da720f48b185a40d64fc12e95a (patch) | |
tree | df001dc3ff27f0815fb010ea03070f3ff4e9c7b2 /sys/arm/at91/board_tsc4370.c | |
parent | 5a54947fe1ce9fc324e605edec22ae0341cc9a3f (diff) | |
download | FreeBSD-src-9acb87af3e0d90da720f48b185a40d64fc12e95a.zip FreeBSD-src-9acb87af3e0d90da720f48b185a40d64fc12e95a.tar.gz |
Configure the peripheral pins for MCI devices. Eliminate the now-unused
at91_pio_rm9200.h.
Diffstat (limited to 'sys/arm/at91/board_tsc4370.c')
-rw-r--r-- | sys/arm/at91/board_tsc4370.c | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/sys/arm/at91/board_tsc4370.c b/sys/arm/at91/board_tsc4370.c index 4e4e84c..7b1086b 100644 --- a/sys/arm/at91/board_tsc4370.c +++ b/sys/arm/at91/board_tsc4370.c @@ -35,7 +35,7 @@ __FBSDID("$FreeBSD$"); #include <arm/at91/at91rm92reg.h> #include <arm/at91/at91rm9200var.h> #include <arm/at91/at91_piovar.h> -#include <arm/at91/at91_pio_rm9200.h> +#include <arm/at91/at91_pioreg.h> BOARD_INIT long board_init(void) @@ -49,6 +49,15 @@ board_init(void) at91rm9200_config_uart(AT91RM9200_ID_USART2, 3, 0); /* Tx and Rx */ at91rm9200_config_uart(AT91RM9200_ID_USART3, 4, 0); /* Tx and Rx */ + at91rm9200_config_mci(0); /* tsc4370 board has only 1 wire */ + /* Newer boards may have 4 wires */ + + /* Configure TWI */ + /* Configure SPI + dataflash */ + /* Configure SSC */ + /* Configure USB Host */ + /* Configure FPGA attached to chip selects */ + /* Pin assignment */ /* Assert PA24 low -- talk to rubidium */ at91_pio_use_gpio(AT91RM92_PIOA_BASE, AT91C_PIO_PA24); |