[PATCH 2/5] ARM: socfpga: socrates: set alias for ethernet0

Steffen Trumtrar s.trumtrar at pengutronix.de
Tue Jul 14 09:16:36 PDT 2015


Signed-off-by: Steffen Trumtrar <s.trumtrar at pengutronix.de>
---
 arch/arm/dts/socfpga_cyclone5_socrates.dts | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/arch/arm/dts/socfpga_cyclone5_socrates.dts b/arch/arm/dts/socfpga_cyclone5_socrates.dts
index ccb940584b5b..f0af9fac954e 100644
--- a/arch/arm/dts/socfpga_cyclone5_socrates.dts
+++ b/arch/arm/dts/socfpga_cyclone5_socrates.dts
@@ -30,6 +30,10 @@
 		reg = <0x0 0x0>;
 	};
 
+	aliases {
+		ethernet0 = &gmac1;
+	};
+
 	leds: gpio-leds {
 	};
 };
-- 
2.1.4




More information about the barebox mailing list