Yamaha has confirmed that both Jorge Lorenzo and Ben Spies will be racing at the Japanese Grand Prix at Motegi.