Hello
1) Unfortunately we do not have any implementation that can be used as a reference for dp83848t. All the available drivers are in the SDK. This post makes reference to a customer that implemented these drivers in the LPC1788, although the device is different it can be used as a starting point to implement your driver:
https://community.nxp.com/t5/LPC-Microcontrollers/Change-PHY-to-DP83848-in-LWIP-lpc-v08-0/m-p/518982
2) REF_CLK is a continuous clock that provides the timing reference for CRS_DV, RXD, TX_EN, TXD[1:0], and RX_ER. REF_CLK is sourced by the MAC or an external source. Switch implementations may choose to provide REF_CLK as an input or an output depending on whether they provide a REF_CLK output or rely on an external clock distribution device. Each PHY device shall have an input corresponding to this clock but may use a single clock input for multiple PHYs implemented on a single IC.
For more detailed information I suggest you check the RMII specification.
Let me know if this is helpful, if you have more questions do not hesitate to ask me.
Best regards,
Omar