eth: mcux: Replace DT_ALIAS() macro with DT_NODELABEL() for fixed link
After the commit SHA1: 370d02743a
the
alias for 'eth' was removed. As a result DT_ALIAS(eth) for the mcux
enet driver was not providing a valid DTS node reference.
As a result the 'fixed-link' child node property was not recognized at
all.
The 'enet' is a valid DTS label for mcux enet driver, so lets use it
instead.
Signed-off-by: Lukasz Majewski <lukma@denx.de>
This commit is contained in:
parent
b44a90c9e2
commit
db6015b53b
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@ LOG_MODULE_REGISTER(LOG_MODULE_NAME);
|
|||
#define FREESCALE_OUI_B2 0x9f
|
||||
|
||||
#define ETH_MCUX_FIXED_LINK_NODE \
|
||||
DT_CHILD(DT_ALIAS(eth), fixed_link)
|
||||
DT_CHILD(DT_NODELABEL(enet), fixed_link)
|
||||
#define ETH_MCUX_FIXED_LINK \
|
||||
DT_NODE_EXISTS(ETH_MCUX_FIXED_LINK_NODE)
|
||||
#define ETH_MCUX_FIXED_LINK_SPEED \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue