Commit e42fb04e authored by Michal Vokáč's avatar Michal Vokáč Committed by Shawn Guo

ARM: dts: imx6dl-yapp4: Add ethernet aliases

Add aliases for ethernet switch ports to allow bootloader to fix
MAC addresses to the ones stored in onboard configuration EEPROM.

Ursa has only one ethernet port populated (eth2) so alias for
the first port has to be removed on this board.
Signed-off-by: default avatarMichal Vokáč <michal.vokac@ysoft.com>
Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
parent fc8004df
......@@ -8,6 +8,11 @@
#include <dt-bindings/pwm/pwm.h>
/ {
aliases: aliases {
ethernet1 = &eth1;
ethernet2 = &eth2;
};
backlight: backlight {
compatible = "pwm-backlight";
pwms = <&pwm1 0 500000 PWM_POLARITY_INVERTED>;
......@@ -135,13 +140,13 @@ fixed-link {
};
};
port@2 {
eth2: port@2 {
reg = <2>;
label = "eth2";
phy-handle = <&phy_port2>;
};
port@3 {
eth1: port@3 {
reg = <3>;
label = "eth1";
phy-handle = <&phy_port3>;
......
......@@ -17,6 +17,10 @@ memory@10000000 {
};
};
&aliases {
/delete-property/ ethernet1;
};
&backlight {
status = "okay";
};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment