public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
* [PATCH 0/3] Add ethernet0 alias for several A64 boards
@ 2017-07-22  2:28 Icenowy Zheng
  2017-07-22  2:28 ` [PATCH 1/3] arm64: allwinner: a64: add ethernet0 alias for BPi M64 EMAC node Icenowy Zheng
                   ` (3 more replies)
  0 siblings, 4 replies; 13+ messages in thread
From: Icenowy Zheng @ 2017-07-22  2:28 UTC (permalink / raw)
  To: linux-arm-kernel

Allwinner A64 SoC has an EMAC which is used to provide Ethernet
function on several boards.

The EMAC itself doesn't have a fixed MAC address, but the sunxi
mainline U-Boot have the ability to generate one based on the eFUSE
SID in the chip, and add the generated MAC address to the device
tree when booting.

The MAC address setting step is based on the device tree's aliases,
and device tree nodes prefixed "ethernet" will get the MAC address
added. However, in several A64 boards' device tree, the alias is not
set up, so that the U-Boot won't set the MAC address.

Add the ethernet0 aliases to these boards.

I hope this patchset can be queued in 4.13, otherwise 4.13 kernels
won't get non-volatile MAC addresses, and will use random ones
instead, which is annoying to many users.

Icenowy Zheng (3):
  arm64: allwinner: a64: add ethernet0 alias for BPi M64 EMAC node
  arm64: allwinner: a64: add ethernet0 alias for Pine64 EMAC node
  arm64: allwinner: a64: add ethernet0 alias for SoPine EMAC node

 arch/arm64/boot/dts/allwinner/sun50i-a64-bananapi-m64.dts     | 1 +
 arch/arm64/boot/dts/allwinner/sun50i-a64-pine64.dts           | 1 +
 arch/arm64/boot/dts/allwinner/sun50i-a64-sopine-baseboard.dts | 1 +
 3 files changed, 3 insertions(+)

-- 
2.13.0

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2017-08-10  7:04 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 ` [PATCH 2/3] arm64: allwinner: a64: add ethernet0 alias for Pine64 " Icenowy Zheng
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox