Quartus II Error (18994): configuration scheme "passive serial" is not valid for the device
The following solution was received on the Altera Forums.

go to Asigments-> Device -> Device and Pin options -> Configuration to change configuration mode. 
Also you can try to play with settings in Asigments-> Device -> Device and Pin options -> Dual-Purpose Pins section

The tcl commands are


  set_global_assignment -name STRATIXV_CONFIGURATION_SCHEME "ACTIVE SERIAL X1"


It fixed the problem.