summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/vf-colibri.dtsi
diff options
context:
space:
mode:
authorStefan Agner <stefan@agner.ch>2016-04-02 09:13:39 +0300
committerShawn Guo <shawnguo@kernel.org>2016-04-13 12:47:59 +0300
commit9b1a1779e97c8152d52159c4887fdef560c550e1 (patch)
treed1e069f6c3bd4e471146b344e9d4096bd9b8cc9b /arch/arm/boot/dts/vf-colibri.dtsi
parent29e88b6de00da70eba9b905919427c8e8b9e88d6 (diff)
downloadlinux-9b1a1779e97c8152d52159c4887fdef560c550e1.tar.xz
ARM: dts: vf-colibri: alias the primary FEC as ethernet0
The Vybrid based Colibri modules provide a on-module PHY which is connected to the second FEC instance FEC1. Since the on-module Ethernet port is considered as primary ethernet interface, alias fec1 as ethernet0. This also makes sure that the first MAC address provided by the boot loader gets assigned to the FEC instance used for the on-module PHY. Signed-off-by: Stefan Agner <stefan@agner.ch> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Diffstat (limited to 'arch/arm/boot/dts/vf-colibri.dtsi')
-rw-r--r--arch/arm/boot/dts/vf-colibri.dtsi5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/vf-colibri.dtsi b/arch/arm/boot/dts/vf-colibri.dtsi
index fda7f28101e1..7529dd7f6db1 100644
--- a/arch/arm/boot/dts/vf-colibri.dtsi
+++ b/arch/arm/boot/dts/vf-colibri.dtsi
@@ -40,6 +40,11 @@
*/
/ {
+ aliases {
+ ethernet0 = &fec1;
+ ethernet1 = &fec0;
+ };
+
bl: backlight {
compatible = "pwm-backlight";
pinctrl-names = "default";