I don’t know what mean “D2” because the board has no arduino header, but pins PD_0 and PD_1 seems be free.
Also when you look to the graphical representation on the board page. There is a Pins Legend section.
You can see pins PD_0 and PD_1 are light blue. That mean they are not in a conflict, the dark blue are already used by another peripherals.
BR, Jan