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

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
Loading
Loading
Loading
Loading
+7 −2
Original line number Diff line number Diff line
@@ -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>;
+4 −0
Original line number Diff line number Diff line
@@ -17,6 +17,10 @@
	};
};

&aliases {
	/delete-property/ ethernet1;
};

&backlight {
	status = "okay";
};