Will a Roland DP-8 pedal work with a Yamaha Psr-e323?

We had a Roland Juno before that got struck by lightning (pagkilat napawng). It wouldn't power after that. It is still being repaired now. We had a Roland DP-8 pedal for that keyboard. Now, we got a Yamaha Psr-e323 for a back up keyboard, as well as for teaching kids. I know it would be best to buy a compatible Yamaha Fc4 or Fc5 pedal for it... But i was just wondering, will a Roland DP-8 pedal work with Yamaha Psr-e323? Will there be a polarity issue?