FreeCalypso > hg > freecalypso-schem2
changeset 83:c27854430cb3
add 3-pin header for possible external boot control
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Wed, 08 Dec 2021 05:32:47 +0000 |
parents | 541b55e6bf47 |
children | beb6519a3be5 |
files | venus/src/MCL venus/src/Makefile venus/src/periph/alt_boot_ctrl.v venus/src/top/mobile.v |
diffstat | 4 files changed, 41 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/venus/src/MCL Wed Dec 08 05:00:50 2021 +0000 +++ b/venus/src/MCL Wed Dec 08 05:32:47 2021 +0000 @@ -807,6 +807,16 @@ hier=mob.batt.vbat_tap part=header-2pin +J406: + hier=mob.bctl.boot_ctrl_header + footprint=JUMPER3 + description=Header, 0.100", single row, 3 posts + manufacturer=Molex + manufacturer_part_number=0901200923 + vendor=Digi-Key + vendor_part_number=WM12813-ND + npins=3 + J701: hier=usb.usb.conn.conn description=USB connector, receptacle, mini-B @@ -1549,7 +1559,7 @@ # RESET button S425: - hier=mob.reset_sw.pkg + hier=mob.bctl.reset_sw.pkg manufacturer=E-Switch manufacturer_part_number=TL3301AF260QJ description=Tactile switch, SMT J-lead, 260 g force, 5.0 mm height
--- a/venus/src/Makefile Wed Dec 08 05:00:50 2021 +0000 +++ b/venus/src/Makefile Wed Dec 08 05:32:47 2021 +0000 @@ -8,9 +8,9 @@ core/rfmatch_rita2pa_hb.v core/rfmatch_rita2pa_lb.v \ core/rita_rf_chip.v core/rita_vcxo_int.v core/rita_wrap.v \ core/xtal_32khz_wrap.v \ - periph/MAX1916.v periph/Si9407AEY.v periph/audio_main.v \ - periph/audio_hso.v periph/battery.v periph/buzzer_circuit.v \ - periph/buzzer_wrap.v periph/bl_current_select.v \ + periph/MAX1916.v periph/Si9407AEY.v periph/alt_boot_ctrl.v \ + periph/audio_main.v periph/audio_hso.v periph/battery.v \ + periph/buzzer_circuit.v periph/buzzer_wrap.v periph/bl_current_select.v\ periph/bl_current_sink.v periph/calypso_uart_in.v \ periph/charging_circuit.v periph/charging_led.v \ periph/inv_buffer_74LVC1G04.v periph/jtag_if.v periph/keypad.v \
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/venus/src/periph/alt_boot_ctrl.v Wed Dec 08 05:32:47 2021 +0000 @@ -0,0 +1,22 @@ +/* + * Alternative boot controls in the mobile domain, + * besides USB domain OD buffers. + */ + +module alt_boot_ctrl (GND, RPWON, nTESTRESET); + +input GND; +output RPWON, nTESTRESET; + +/* manual RESET button */ + +keyswitch_wrap reset_sw (nTESTRESET, GND); + +/* external boot control header */ + +header_3pin boot_ctrl_header (.pin_1(GND), + .pin_2(RPWON), + .pin_3(nTESTRESET) + ); + +endmodule
--- a/venus/src/top/mobile.v Wed Dec 08 05:00:50 2021 +0000 +++ b/venus/src/top/mobile.v Wed Dec 08 05:32:47 2021 +0000 @@ -199,9 +199,12 @@ .PWON(PWON) ); -/* manual RESET button */ +/* alternative boot controls */ -keyswitch_wrap reset_sw (nTESTRESET, GND); +alt_boot_ctrl bctl (.GND(GND), + .RPWON(RPWON), + .nTESTRESET(nTESTRESET) + ); /* indicator LEDs */