2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-27 06:34:11 +08:00

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: Michal Vokáč <michal.vokac@ysoft.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
This commit is contained in:
Michal Vokáč 2020-07-30 12:13:46 +02:00 committed by Shawn Guo
parent fc8004dffc
commit e42fb04e98
2 changed files with 11 additions and 2 deletions

View File

@ -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 @@
};
};
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>;

View File

@ -17,6 +17,10 @@
};
};
&aliases {
/delete-property/ ethernet1;
};
&backlight {
status = "okay";
};