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


Groups > linux.kernel > #1694092

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

Path csiph.com!fu-berlin.de!bofh.it!news.nic.it!robomod
From Icenowy Zheng <icenowy@aosc.io>
Newsgroups linux.kernel
Subject [PATCH 2/3] arm64: allwinner: a64: add ethernet0 alias for Pine64 EMAC node
Date Sat, 22 Jul 2017 04:30:01 +0200
Message-ID <u5Sl3-4u2-9@gated-at.bofh.it> (permalink)
References <u5Sl3-4u2-3@gated-at.bofh.it>
X-Original-To Maxime Ripard <maxime.ripard@free-electrons.com>, Chen-Yu Tsai <wens@csie.org>
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 25
Organization linux.* mail to news gateway
X-Original-Cc linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-sunxi@googlegroups.com, Icenowy Zheng <icenowy@aosc.io>
X-Original-Date Sat, 22 Jul 2017 10:28:51 +0800
X-Original-Message-ID <20170722022852.7868-3-icenowy@aosc.io>
X-Original-References <20170722022852.7868-1-icenowy@aosc.io>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1694092

Show key headers only | View raw


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

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

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

csiph-web