MCP16301 Step Down Voltage Regulator PCB Layout Validation
trace from ground and pin2 need to be more thicker, internal gate current requires a good return pad. Also make sure D4 can drive at least twice load current. if you can improve the thermal dissipation of reg1 adding more cooper under it or bottom layer