OSDN Git Service

ARM: dts: vf-colibri: alias the primary FEC as ethernet0
authorStefan Agner <stefan@agner.ch>
Sat, 2 Apr 2016 06:13:39 +0000 (23:13 -0700)
committerShawn Guo <shawnguo@kernel.org>
Wed, 13 Apr 2016 09:47:59 +0000 (17:47 +0800)
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>
arch/arm/boot/dts/vf-colibri.dtsi

index fda7f28..7529dd7 100644 (file)
  */
 
 / {
+       aliases {
+               ethernet0 = &fec1;
+               ethernet1 = &fec0;
+       };
+
        bl: backlight {
                compatible = "pwm-backlight";
                pinctrl-names = "default";