RCM4200 serial flash and quadrature decoder

I have an application where I need to use 2 quadrature decoders. Recently, I tried to implement the UPLOAD_FIRMWARE.c example program to enable uploading new firmware to my module. However I’ve run into a problem because PE7 is used by the serial flash clock and the quadrature decoder QRD2. I thought of moving QRD2 to pins PE2 and PE3, but PE2 is used as CS on the ethernet chip.

I am trying to figure out a way to use 2 quadrature decoders as well as the serial flash at the same time. Any help would be appreciated.