summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/imx6dl-yapp4-common.dtsi
diff options
context:
space:
mode:
authorMichal Vokáč <michal.vokac@ysoft.com>2020-07-30 12:13:46 +0200
committerShawn Guo <shawnguo@kernel.org>2020-08-22 14:06:10 +0200
commite42fb04e9834ea97dd84649050669603c9468a17 (patch)
tree4d31d8f47166aa471035f21a21fafb0c0fdd7047 /arch/arm/boot/dts/imx6dl-yapp4-common.dtsi
parentARM: dts: imx7: add QSPI (diff)
downloadlinux-e42fb04e9834ea97dd84649050669603c9468a17.tar.xz
linux-e42fb04e9834ea97dd84649050669603c9468a17.zip
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>
Diffstat (limited to 'arch/arm/boot/dts/imx6dl-yapp4-common.dtsi')
-rw-r--r--arch/arm/boot/dts/imx6dl-yapp4-common.dtsi9
1 files changed, 7 insertions, 2 deletions
diff --git a/arch/arm/boot/dts/imx6dl-yapp4-common.dtsi b/arch/arm/boot/dts/imx6dl-yapp4-common.dtsi
index c4a235d212b6..207f510cb518 100644
--- a/arch/arm/boot/dts/imx6dl-yapp4-common.dtsi
+++ b/arch/arm/boot/dts/imx6dl-yapp4-common.dtsi
@@ -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>;