ARM: dts: mxs: Add ethernetX to macX aliases
Subsystems (2)
PATCH 1/1 ARM: dts: mxs: Add ethernetX to macX aliases
Add ethernet0 and ethernet1 aliases into the imx28.dtsi file, as that is what most bootloaders use to pass MAC address. The bootloader seeks for this alias and adds "mac-address" and "local-mac-address" properties to the aliased node. This fixes issues with FEC having NULL MAC address when update_fec_mac_prop() wasn't called. And not all boards call update_fec_mac_prop() .
--- arch/arm/boot/dts/imx28.dtsi | 2 ++ 1 file changed, 2 insertions(+)
arch/arm/boot/dts/imx28.dtsi +2 -0
@@ -27,6 +27,8 @@ serial2 = &auart2; serial3 = &auart3; serial4 = &auart4; + ethernet0 = &mac0; + ethernet1 = &mac1; }; cpus {
Signature · 1 line
1.7.10.4
Shawn Guo
AppliedPATCH 1/1 ARM: dts: mxs: Add ethernetX to macX aliases
Quoted 10 lines · Marek Vasut
Add ethernet0 and ethernet1 aliases into the
imx28.dtsifile, as that is what most bootloaders use to pass MAC address. The bootloader seeks for this alias and adds "mac-address" and "local-mac-address" properties to the aliased node. This fixes issues with FEC having NULL MAC address whenupdate_fec_mac_prop()wasn't called. And not all boards callupdate_fec_mac_prop().Signed-off-by Marek Vasut <[email protected]>Cc Fabio Estevam <[email protected]>Cc Shawn Guo <[email protected]>
Applied, thanks.