summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2011-06-21 09:30:46 +0200
committerHarald Welte <laforge@gnumonks.org>2011-06-21 09:30:46 +0200
commit08c8f4beb59c273be8b573747076bb583983a7ea (patch)
treee9986b5f80d503546ffe59f1e4eddc69076086fe
parentebaba1be96a6970705eb805dc3afc1d54f489ac8 (diff)
simtrace: use better names for GPIO lines
-rw-r--r--firmware/src/simtrace.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/firmware/src/simtrace.h b/firmware/src/simtrace.h
index 6b8f753..40ed3ab 100644
--- a/firmware/src/simtrace.h
+++ b/firmware/src/simtrace.h
@@ -31,10 +31,11 @@
#define SIMTRACE_PIO_IO_SW AT91C_PIO_PA19
#define SIMTRACE_PIO_VCC_SIM AT91C_PIO_PA5
+#define SIMTRACE_PIO_VCC_PHONE AT91C_PIO_PA30
/* SPI flash */
#define PIO_SPIF_nWP AT91C_PIO_PA15
-#define PIO_SPIF_SCK AT91C_PIO_PA14
-#define PIO_SPIF_MOSI AT91C_PIO_PA13
-#define PIO_SPIF_MISO AT91C_PIO_PA12
-#define PIO_SPIF_nCS AT91C_PIO_PA11
+#define PIO_SPIF_SCK AT91C_PA14_SPCK
+#define PIO_SPIF_MOSI AT91C_PA13_MOSI
+#define PIO_SPIF_MISO AT91C_PA12_MISO
+#define PIO_SPIF_nCS AT91C_PA11_NPCS0
personal git repositories of Harald Welte. Your mileage may vary