[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210804123015.807929-2-bmeng.cn@gmail.com>
Date: Wed, 4 Aug 2021 20:30:15 +0800
From: Bin Meng <bmeng.cn@...il.com>
To: Palmer Dabbelt <palmer@...belt.com>,
Conor Dooley <Conor.Dooley@...rochip.com>,
Atish Patra <atish.patra@....com>,
linux-kernel@...r.kernel.org, linux-riscv@...ts.infradead.org
Cc: Geert Uytterhoeven <geert@...ux-m68k.org>,
Bin Meng <bin.meng@...driver.com>
Subject: [PATCH v2 2/2] riscv: dts: microchip: Add ethernet0 to the aliases node
From: Bin Meng <bin.meng@...driver.com>
U-Boot expects this alias to be in place in order to fix up the mac
address of the ethernet node.
Note on the Icicle Kit board, currently only emac1 is enabled so it
becomes the 'ethernet0'.
Signed-off-by: Bin Meng <bin.meng@...driver.com>
---
Changes in v2:
- move the aliases node to board dts
arch/riscv/boot/dts/microchip/microchip-mpfs-icicle-kit.dts | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/arch/riscv/boot/dts/microchip/microchip-mpfs-icicle-kit.dts b/arch/riscv/boot/dts/microchip/microchip-mpfs-icicle-kit.dts
index ec79944065c9..baea7d204639 100644
--- a/arch/riscv/boot/dts/microchip/microchip-mpfs-icicle-kit.dts
+++ b/arch/riscv/boot/dts/microchip/microchip-mpfs-icicle-kit.dts
@@ -14,6 +14,10 @@ / {
model = "Microchip PolarFire-SoC Icicle Kit";
compatible = "microchip,mpfs-icicle-kit";
+ aliases {
+ ethernet0 = &emac1;
+ };
+
chosen {
stdout-path = &serial0;
};
--
2.25.1
Powered by blists - more mailing lists