net: ethernet: dwmac: add Ethernet glue logic for stm32 chip