To add to the muddle, VW did produce some non-turbo swirl chamber (pre-TDI) engines with inline-5 and -6 cylinder configurations displacing between 2.0 to 2.4 liters over the decades, which were indeed found in certain models between VW, Audi and Volvo for the North American market.
None would hold a candle performance or efficiency-wise with modern turbocharged, direct-injected, electronically controlled variants. There's nothing to be afraid of to swap into your Toyota as there has emerged a cottage industry supporting conversions with custom wiring harnesses all the way to stand-alone ECUs.
This thread was originally posted in the B5 Passat forum which had the BHW engine code 2.0 PD TDI, which is relatively plentiful in North America and an excellent platform for a swap. There's little to justify a 2.5L inline-5 or V6 TDI swap because of the hassle of having to source parts from Europe.