In Lattice MachXO2/XO3 devices, JTAG ports can access both Flash and SRAM Memory. Therefore, it is not necessary to use INIT, DONE and PROGRAMN pins. TCK, TMS, TDI and TDO pins are sufficient to program and configure the device.
For more details, refer to TN1204, MachXO2 Programming and Configuration Usage Guide.