Hi can someone tell me what component this could be, it’s very small, black smd, square with 4 metallic pads on top, it looks like a crystal and it’s near the mosfet
Welcome to the forums, newcomer!
I think you forgot to include an image to the post in order for us to see what you're looking at. Perhaps you're referring to a solid choke?