summaryrefslogtreecommitdiff
path: root/firmware/src/simtrace.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/src/simtrace.h')
-rw-r--r--firmware/src/simtrace.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/firmware/src/simtrace.h b/firmware/src/simtrace.h
index 40ed3ab..b6d44c4 100644
--- a/firmware/src/simtrace.h
+++ b/firmware/src/simtrace.h
@@ -30,8 +30,17 @@
#define SIMTRACE_PIO_SC_SW AT91C_PIO_PA20
#define SIMTRACE_PIO_IO_SW AT91C_PIO_PA19
+/* to set power for VCC_SIM for early prototype
+ * unused pin in v1.0p
+ */
#define SIMTRACE_PIO_VCC_SIM AT91C_PIO_PA5
-#define SIMTRACE_PIO_VCC_PHONE AT91C_PIO_PA30
+
+/* to set power source for VCC_SIM for v1.0(p) */
+#define SIMTRACE_PIO_SIM_PWREN AT91C_PIO_PA5
+#define SIMTRACE_PIO_SIM_PWRFWD AT91C_PIO_PA26
+
+/* VCC_PHONE detection */
+#define SIMTRACE_PIO_VCC_PHONE AT91C_PIO_PA25
/* SPI flash */
#define PIO_SPIF_nWP AT91C_PIO_PA15
personal git repositories of Harald Welte. Your mileage may vary