public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
From: icenowy@aosc.io (Icenowy Zheng)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 2/3] arm64: allwinner: a64: add ethernet0 alias for Pine64 EMAC node
Date: Sat, 22 Jul 2017 10:28:51 +0800	[thread overview]
Message-ID: <20170722022852.7868-3-icenowy@aosc.io> (raw)
In-Reply-To: <20170722022852.7868-1-icenowy@aosc.io>

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

  parent reply	other threads:[~2017-07-22  2:28 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-22  2:28 [PATCH 0/3] Add ethernet0 alias for several A64 boards Icenowy Zheng
2017-07-22  2:28 ` [PATCH 1/3] arm64: allwinner: a64: add ethernet0 alias for BPi M64 EMAC node Icenowy Zheng
2017-08-10  3:56   ` [linux-sunxi] " Chen-Yu Tsai
2017-08-10  4:40     ` Icenowy Zheng
2017-08-10  7:04       ` Chen-Yu Tsai
2017-07-22  2:28 ` Icenowy Zheng [this message]
2017-07-22  2:28 ` [PATCH 3/3] arm64: allwinner: a64: add ethernet0 alias for SoPine " Icenowy Zheng
2017-07-24  7:58 ` [PATCH 0/3] Add ethernet0 alias for several A64 boards Maxime Ripard
2017-07-25  3:04   ` icenowy at aosc.io
2017-07-25  3:18     ` Adam Borowski
2017-07-25 14:31       ` Maxime Ripard
2017-07-25 23:54         ` Icenowy Zheng
2017-07-26  4:12           ` [linux-sunxi] " Chen-Yu Tsai

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170722022852.7868-3-icenowy@aosc.io \
    --to=icenowy@aosc.io \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox