Applying pru_dma driver patch to the Linux device tree

Hello. I am new to using a beagleboard and was trying to enable dma access on the pru. Can someone please help me out by letting me know the steps of how can I apply the pru_dma driver patch?