riscv: dts: sifive: Add ethernet0 to the aliases node
diff mbox series

Message ID 1567687574-22436-1-git-send-email-bmeng.cn@gmail.com
State New, archived
Headers show
Series
  • riscv: dts: sifive: Add ethernet0 to the aliases node
Related show

Commit Message

Bin Meng Sept. 5, 2019, 12:46 p.m. UTC
U-Boot expects this alias to be in place in order to fix up the mac
address of the ethernet node.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
---

 arch/riscv/boot/dts/sifive/fu540-c000.dtsi | 1 +
 1 file changed, 1 insertion(+)

Comments

Christoph Hellwig Sept. 10, 2019, 6:14 a.m. UTC | #1
On Thu, Sep 05, 2019 at 05:46:14AM -0700, Bin Meng wrote:
> U-Boot expects this alias to be in place in order to fix up the mac
> address of the ethernet node.
> 
> Signed-off-by: Bin Meng <bmeng.cn@gmail.com>

Looks good:

Reviewed-by: Christoph Hellwig <hch@lst.de>
Bin Meng Sept. 19, 2019, 10:03 a.m. UTC | #2
Hi,

On Tue, Sep 10, 2019 at 2:14 PM Christoph Hellwig <hch@infradead.org> wrote:
>
> On Thu, Sep 05, 2019 at 05:46:14AM -0700, Bin Meng wrote:
> > U-Boot expects this alias to be in place in order to fix up the mac
> > address of the ethernet node.
> >
> > Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
>
> Looks good:
>
> Reviewed-by: Christoph Hellwig <hch@lst.de>

What's the status of this patch? thanks!

Regards,
Bin
Paul Walmsley Sept. 19, 2019, 12:48 p.m. UTC | #3
On Thu, 5 Sep 2019, Bin Meng wrote:

> U-Boot expects this alias to be in place in order to fix up the mac
> address of the ethernet node.
> 
> Signed-off-by: Bin Meng <bmeng.cn@gmail.com>

Thanks, queued for v5.4-rc with Christoph's Reviewed-by.


- Paul

Patch
diff mbox series

diff --git a/arch/riscv/boot/dts/sifive/fu540-c000.dtsi b/arch/riscv/boot/dts/sifive/fu540-c000.dtsi
index a9d48ff..9e55c22 100644
--- a/arch/riscv/boot/dts/sifive/fu540-c000.dtsi
+++ b/arch/riscv/boot/dts/sifive/fu540-c000.dtsi
@@ -13,6 +13,7 @@ 
 	aliases {
 		serial0 = &uart0;
 		serial1 = &uart1;
+		ethernet0 = &eth0;
 	};
 
 	chosen {