drivers: nxp_enet: Generate MAC using eth.h

The MAC address macros are ridiculous in this driver.
Rewrite to be simpler and use eth.h common function.
Also, clarify the mac address generation on the DT overlays.

Signed-off-by: Declan Snyder <declan.snyder@nxp.com>
This commit is contained in:
Declan Snyder 2024-03-18 16:40:42 -05:00 committed by Alberto Escolar
commit ac58f3abe6
9 changed files with 61 additions and 70 deletions

View file

@ -22,3 +22,10 @@ properties:
required: true
description: |
Corresponding ptp clock device
nxp,unique-mac:
type: boolean
description: |
Use unique silicon ID to use UAA MAC.
This property will be overridden if the node has
zephyr,random-mac-address or local-mac-address also.