Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1694092 > unrolled thread

[PATCH 2/3] arm64: allwinner: a64: add ethernet0 alias for Pine64 EMAC node

Started byIcenowy Zheng <icenowy@aosc.io>
First post2017-07-22 04:30 +0200
Last post2017-07-22 04:30 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH 2/3] arm64: allwinner: a64: add ethernet0 alias for Pine64 EMAC node Icenowy Zheng <icenowy@aosc.io> - 2017-07-22 04:30 +0200

#1694092 — [PATCH 2/3] arm64: allwinner: a64: add ethernet0 alias for Pine64 EMAC node

FromIcenowy Zheng <icenowy@aosc.io>
Date2017-07-22 04:30 +0200
Subject[PATCH 2/3] arm64: allwinner: a64: add ethernet0 alias for Pine64 EMAC node
Message-ID<u5Sl3-4u2-9@gated-at.bofh.it>
The Pine64 (including the Plus models) board uses the A64 chip's
EMAC to provide Ethernet link.

Add the ethernet0 alias in the device tree, in order to let U-Boot
generate a MAC address from the chip's SID.

Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
---
 arch/arm64/boot/dts/allwinner/sun50i-a64-pine64.dts | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64-pine64.dts b/arch/arm64/boot/dts/allwinner/sun50i-a64-pine64.dts
index 64cce0d68cae..7a450dcb7a08 100644
--- a/arch/arm64/boot/dts/allwinner/sun50i-a64-pine64.dts
+++ b/arch/arm64/boot/dts/allwinner/sun50i-a64-pine64.dts
@@ -51,6 +51,7 @@
 	compatible = "pine64,pine64", "allwinner,sun50i-a64";
 
 	aliases {
+		ethernet0 = &emac;
 		serial0 = &uart0;
 		serial1 = &uart1;
 		serial2 = &uart2;
-- 
2.13.0

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web