Hello,
Just check and consider the differences between the chips and the rest should work correctly, for this you can change the files available for the KW21Din the following path :
<installation path>MKW2xD_ConnSw_1.0.2\devices
Hope it helps
Please take into account that this MCU it's not recommended for new designs, if you are looking forward to work with Thread I would recommend you to check the MKW21Z.
Regards,