FreeCalypso > hg > fc-magnetite
comparison src/cs/system/main/init.c @ 609:238b67a785f2
init.c: DSR_MODEM/LPG is LPG on the GTM900
| author | Mychaela Falconia <falcon@freecalypso.org> |
|---|---|
| date | Mon, 17 Jun 2019 21:25:46 +0000 |
| parents | b13731665274 |
| children | 37396b85f3f7 |
comparison
equal
deleted
inserted
replaced
| 608:c09a1ca60d57 | 609:238b67a785f2 |
|---|---|
| 360 * in their fw sets the ASIC_CONF register to 0x6050, | 360 * in their fw sets the ASIC_CONF register to 0x6050, |
| 361 * which means PWL on the LT/PWL pin and LPG on the | 361 * which means PWL on the LT/PWL pin and LPG on the |
| 362 * DSR_MODEM pin. | 362 * DSR_MODEM pin. |
| 363 */ | 363 */ |
| 364 *((volatile SYS_UWORD16 *) ASIC_CONF) = 0x6050; | 364 *((volatile SYS_UWORD16 *) ASIC_CONF) = 0x6050; |
| 365 #elif defined(CONFIG_TARGET_GTAMODEM) | 365 #elif defined(CONFIG_TARGET_GTAMODEM) || defined(CONFIG_TARGET_GTM900) |
| 366 /* | 366 /* |
| 367 * The DSR_MODEM/LPG Calypso signal is unconnected on | 367 * The DSR_MODEM/LPG Calypso signal is unconnected on |
| 368 * Openmoko's modem, so let's mux it as LPG (output) | 368 * Openmoko's modem, so let's mux it as LPG (output) |
| 369 * so it doesn't float, like Foxconn seem to have done | 369 * so it doesn't float, like Foxconn seem to have done |
| 370 * on the Pirelli. | 370 * on the Pirelli. |
| 371 * | |
| 372 * On the GTM900 module this signal is explicitly defined as LPG. | |
| 371 */ | 373 */ |
| 372 *((volatile SYS_UWORD16 *) ASIC_CONF) = 0x6040; | 374 *((volatile SYS_UWORD16 *) ASIC_CONF) = 0x6040; |
| 373 #else | 375 #else |
| 374 *((volatile SYS_UWORD16 *) ASIC_CONF) = 0x6000; | 376 *((volatile SYS_UWORD16 *) ASIC_CONF) = 0x6000; |
| 375 #endif /* (BOARD == 35) */ | 377 #endif /* (BOARD == 35) */ |
