comparison mmtb1/schem+bom/vsrc/interface.v @ 0:0f9bdd60ce50

fc-small-hw separated from old freecalypso-schem repo
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 21 Oct 2019 00:53:38 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:0f9bdd60ce50
1 /*
2 * This module encapsulates the FPC interface connector.
3 */
4
5 module interface (GND, VBAT, PWON, nTESTRESET, Vio,
6 TX_IRDA, RX_IRDA,
7 TX_MODEM, RX_MODEM, RTS_MODEM, CTS_MODEM,
8 GPIO2_DCD, GPIO3_DTR,
9 VSIM, SIM_IO, SIM_CLK, SIM_RST,
10 EARP, EARN, MICP, MICN);
11
12 input GND, VBAT, PWON, nTESTRESET;
13 output Vio;
14
15 input GPIO3_DTR, RX_MODEM, CTS_MODEM, RX_IRDA;
16 output GPIO2_DCD, TX_MODEM, RTS_MODEM, TX_IRDA;
17
18 output VSIM, SIM_CLK, SIM_RST;
19 inout SIM_IO;
20
21 output EARP, EARN;
22 input MICP, MICN;
23
24 /* instantiate the connector! */
25
26 conn_40pin_plus2 fpc_conn (.pin_1(VBAT),
27 .pin_2(VBAT),
28 .pin_3(VBAT),
29 .pin_4(VBAT),
30 .pin_5(VBAT),
31 .pin_6(GND),
32 .pin_7(GND),
33 .pin_8(GND),
34 .pin_9(GND),
35 .pin_10(GND),
36 .pin_11(TX_IRDA),
37 .pin_12(RX_IRDA),
38 .pin_13(Vio),
39 .pin_14(), /* no connect to ADC */
40 .pin_15(PWON),
41 .pin_16(), /* no connect to GPIO1 */
42 .pin_17(), /* no connect to GPIO0 */
43 .pin_18(TX_MODEM),
44 .pin_19(RX_MODEM),
45 .pin_20(RTS_MODEM),
46 .pin_21(CTS_MODEM),
47 .pin_22(GPIO3_DTR),
48 .pin_23(GPIO2_DCD),
49 .pin_24(Vio), /* SIM_CD to Vio per TI/OM/FC */
50 .pin_25(SIM_RST),
51 .pin_26(SIM_IO),
52 .pin_27(SIM_CLK),
53 .pin_28(VSIM),
54 .pin_29(GND), /* for SIM */
55 .pin_30(), /* no connect to Vbackup */
56 .pin_31(nTESTRESET),
57 /*
58 * Pins 32-40 differ between GTM900 and FCM40.
59 * We connect EARP&EARN and MICP&MICN per GTM900
60 * and leave the rest unconnected on MMTB1.
61 */
62 .pin_32(),
63 .pin_33(),
64 .pin_34(),
65 .pin_35(EARP),
66 .pin_36(EARN),
67 .pin_37(MICP),
68 .pin_38(MICN),
69 .pin_39(),
70 .pin_40(),
71 /* ground the two mounting pads */
72 .pin_41(GND),
73 .pin_42(GND)
74 );
75
76 endmodule