diff options
| author | Francesco Dolcini <[email protected]> | 2021-09-23 09:55:21 +0200 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2022-04-01 10:05:24 -0400 |
| commit | 182887735c16aaa2139517b60c1b8dbc62cedef1 (patch) | |
| tree | 3d6098cabfb5a2e33d6327c662fade17655ae4b0 | |
| parent | 5aa5a9b0d249923d966ea08c58354f86a23a882a (diff) | |
ARM: dts: colibri-imx6ull: fix mac address passing
colibri-imx6ull ethernet device is fec2, while the optional secondary
ethernet is fec1, update the ethernet aliases in the .dts file so that
ethaddr is set to fec2 and eth1addr to fec1.
Without this change the ethernet interfaces have a different
mac address between Linux and U-Boot.
Signed-off-by: Francesco Dolcini <[email protected]>
Reviewed-by: Fabio Estevam <[email protected]>
| -rw-r--r-- | arch/arm/dts/imx6ull-colibri.dtsi | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/dts/imx6ull-colibri.dtsi b/arch/arm/dts/imx6ull-colibri.dtsi index 1fa9d10412e..56ee2895ae5 100644 --- a/arch/arm/dts/imx6ull-colibri.dtsi +++ b/arch/arm/dts/imx6ull-colibri.dtsi @@ -8,6 +8,12 @@ #include "imx6ull.dtsi" / { + /* Ethernet aliases to ensure correct MAC addresses */ + aliases { + ethernet0 = &fec2; + ethernet1 = &fec1; + }; + chosen { stdout-path = &uart1; }; |
