Wikidevi does not seem to list any D2 model, only:
D-Link only mention rev D1 on their web site (user manual filename + declaration of conformity dated Feb 2013); I could find no specific reference to rev D2. The support page for Rev D1 provides OS X drivers for 10.6 up to to 10.9. Mediatek web site may provide more up-to-date drivers for RT5372 though one could expect 10.9 drivers to work Ok in 10.10, 10.11 and 10.12.
Can you provide the PCI vendor/device id as listed for the device in SysProfiler->USB tab? That would help to identify the chipset.
Edit: Found a reference to rev D2 (dated 2015) in a Russian D-Link ftp link: http://ftp.dlink.ru/...e for V4.04.pdf
These Release Notes state that: "D1 and D2’s FW and HW are the same, D2 for EU only"
As such, you can expect D2 model to have same pci ids as D1 model and you can re-use the same drivers. They're also available on the same russian site: http://ftp.dlink.ru/...WA-140/Drivers/
You guys may want to make a bacukp of these drivers somewhere...