OSDN Git Service

arm64: dts: apple: j274: Expose PCI node for the Ethernet MAC address
authorMarc Zyngier <maz@kernel.org>
Mon, 25 Oct 2021 21:10:18 +0000 (22:10 +0100)
committerHector Martin <marcan@marcan.st>
Wed, 27 Oct 2021 12:12:32 +0000 (21:12 +0900)
commite1bebf97815158f16da96f69e9d9bb891a4c69eb
tree6c242d29124f2dddabf2f9b7a5ad489dde7025b3
parent128888a6fdb6959862b1871546e335b6689300da
arm64: dts: apple: j274: Expose PCI node for the Ethernet MAC address

At the moment, all the Minis running Linux have the same MAC
address (00:10:18:00:00:00), which is a bit annoying.

Expose the PCI node corresponding to the Ethernet device, and
declare a 'local-mac-address' property. The bootloader will update
it (m1n1 already has the required feature). And if it doesn't, then
the default value is already present in the DT.

This relies on forcing the bus number for each port so that the
endpoints connected to them are correctly numbered (and keeps dtc
quiet).

Signed-off-by: Marc Zyngier <maz@kernel.org>
Signed-off-by: Hector Martin <marcan@marcan.st>
arch/arm64/boot/dts/apple/t8103-j274.dts