summaryrefslogtreecommitdiffstats
path: root/arch/arm/dts
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2016-04-18 14:22:05 +0200
committerMarek Vasut <marex@denx.de>2016-04-20 11:28:45 +0200
commit43809cfa1baefb90958a17fa0d1ec67f6f9edaac (patch)
treef9601cc703b710239b0e8af9f00e911d4c6c2fa5 /arch/arm/dts
parent84f841c5b973d9f69e9fe3574ee37926c7914432 (diff)
downloadblackbird-obmc-uboot-43809cfa1baefb90958a17fa0d1ec67f6f9edaac.tar.gz
blackbird-obmc-uboot-43809cfa1baefb90958a17fa0d1ec67f6f9edaac.zip
arm: socfpga: socrates: Add eth0 alias to enable ethernet
This enables full ethernet usage, including U-Boot to write the board specific MAC address (ethaddr) into the DT blob before passing it to Linux. Without this, the ethaddr is not detected in U-Boot at all, resulting in this error upon bootup: ... Model: EBV SOCrates Net: Error: ethernet@ff702000 address not set. No ethernet found. Signed-off-by: Stefan Roese <sr@denx.de> Cc: Marek Vasut <marex@denx.de> Cc: Dinh Nguyen <dinguyen@opensource.altera.com> Cc: Chin Liang See <clsee@altera.com>
Diffstat (limited to 'arch/arm/dts')
-rw-r--r--arch/arm/dts/socfpga_cyclone5_socrates.dts5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/dts/socfpga_cyclone5_socrates.dts b/arch/arm/dts/socfpga_cyclone5_socrates.dts
index 591d96c412..d2ab3b3669 100644
--- a/arch/arm/dts/socfpga_cyclone5_socrates.dts
+++ b/arch/arm/dts/socfpga_cyclone5_socrates.dts
@@ -15,6 +15,11 @@
};
aliases {
+ /*
+ * This allows the ethaddr uboot environment variable
+ * contents to be added to the gmac1 device tree blob.
+ */
+ ethernet0 = &gmac1;
udc0 = &usb1;
};
OpenPOWER on IntegriCloud