Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Jul 2006 07:08:30 GMT
From:      Warner Losh <imp@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 101527 for review
Message-ID:  <200607140708.k6E78Ui7042958@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=101527

Change 101527 by imp@imp_lighthouse on 2006/07/14 07:08:16

	The TSC board has TIOA1 and TIOA2 connected, so wire them up.

Affected files ...

.. //depot/projects/arm/src/sys/arm/at91/kb920x_machdep.c#29 edit

Differences ...

==== //depot/projects/arm/src/sys/arm/at91/kb920x_machdep.c#29 (text+ko) ====

@@ -223,6 +223,11 @@
 	/* PIOA's B periph: Turn USART 3's TX/RX pins */
 	at91_pio_use_periph_b(AT91RM92_PIOA_BASE, AT91C_PA6_RXD3, 0);
 	at91_pio_use_periph_b(AT91RM92_PIOA_BASE, AT91C_PA5_TXD3, 1);
+#if AT91_TSC
+	/* We're using TC0's A1 and A2 input */
+	at91_pio_use_periph_b(AT91RM92_PIOA_BASE,
+	    AT91C_PA19_TIOA1 | AT91C_PA21_TIOA2, 0);
+#endif
 	/* PIOB's A periph: Turn USART 1's TX/RX pins */
 	at91_pio_use_periph_a(AT91RM92_PIOB_BASE, AT91C_PB21_RXD1, 0);
 	at91_pio_use_periph_a(AT91RM92_PIOB_BASE, AT91C_PB20_TXD1, 1);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200607140708.k6E78Ui7042958>