laforge has uploaded this change for review. ( 
https://gerrit.osmocom.org/c/simtrace2/+/26998 )


Change subject: fw/qmod: enable modem RESET by default at boot
......................................................................

fw/qmod: enable modem RESET by default at boot

When the uC firmware starts, assert the (high-active) _RESET GPIOs,
which will cause the transistors to drive the mPCIe slot !PERST
low.

There is of course a short instance of time between the uC reset
until it executes wwan_perst_init(). To avoid this, a hardware
pull-up would have to be re-worked onto the _RESET[1..4] signals
on the PCBA

Change-Id: I8742fefa4bf02e728e34d5d8cbc0fda771e78ffb
---
M firmware/libboard/qmod/include/board.h
1 file changed, 2 insertions(+), 2 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/simtrace2 refs/changes/98/26998/1

diff --git a/firmware/libboard/qmod/include/board.h 
b/firmware/libboard/qmod/include/board.h
index 7ea5bd7..56d0d21 100644
--- a/firmware/libboard/qmod/include/board.h
+++ b/firmware/libboard/qmod/include/board.h
@@ -89,8 +89,8 @@
 #define PINS_WWAN_IN           { PIN_WWAN1, PIN_WWAN2 }

 /* outputs controlling RESET input of modems */
-#define PIN_PERST1             {PIO_PA25, PIOA, ID_PIOA, PIO_OUTPUT_0, 
PIO_PULLUP}
-#define PIN_PERST2             {PIO_PA26, PIOA, ID_PIOA, PIO_OUTPUT_0, 
PIO_PULLUP}
+#define PIN_PERST1             {PIO_PA25, PIOA, ID_PIOA, PIO_OUTPUT_1, 
PIO_PULLUP}
+#define PIN_PERST2             {PIO_PA26, PIOA, ID_PIOA, PIO_OUTPUT_1, 
PIO_PULLUP}
 #define PINS_PERST             { PIN_PERST1, PIN_PERST2 }

 #define PIN_VERSION_DET                {PIO_PA19, PIOA, ID_PIOA, PIO_PERIPH_D, 
PIO_DEFAULT}

--
To view, visit https://gerrit.osmocom.org/c/simtrace2/+/26998
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: simtrace2
Gerrit-Branch: master
Gerrit-Change-Id: I8742fefa4bf02e728e34d5d8cbc0fda771e78ffb
Gerrit-Change-Number: 26998
Gerrit-PatchSet: 1
Gerrit-Owner: laforge <[email protected]>
Gerrit-MessageType: newchange

Reply via email to