devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/3] ARM: dts: vf-colibri: alias the primary FEC as ethernet0
@ 2016-04-02  6:13 Stefan Agner
  2016-04-02  6:13 ` [PATCH 2/3] ARM: dts: vf-colibri: increase NAND clock speed Stefan Agner
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Stefan Agner @ 2016-04-02  6:13 UTC (permalink / raw)
  To: shawnguo, kernel; +Cc: devicetree, linux-arm-kernel, linux-kernel, Stefan Agner

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>
---
 arch/arm/boot/dts/vf-colibri.dtsi | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/arch/arm/boot/dts/vf-colibri.dtsi b/arch/arm/boot/dts/vf-colibri.dtsi
index fda7f28..7529dd7 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";
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-04-12  5:55 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-02  6:13 [PATCH 1/3] ARM: dts: vf-colibri: alias the primary FEC as ethernet0 Stefan Agner
2016-04-02  6:13 ` [PATCH 2/3] ARM: dts: vf-colibri: increase NAND clock speed Stefan Agner
2016-04-02  6:13 ` [PATCH 3/3] ARM: dts: vfxxx: add missing reg properties Stefan Agner
2016-04-12  5:55 ` [PATCH 1/3] ARM: dts: vf-colibri: alias the primary FEC as ethernet0 Shawn Guo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).