Skip to content

Commit

Permalink
riscv: dts: microchip: Add ethernet0 to the aliases node
Browse files Browse the repository at this point in the history
[ Upstream commit 417166d ]

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@windriver.com>
Reviewed-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
  • Loading branch information
lbmeng authored and gregkh committed Sep 8, 2021
1 parent b13e2bf commit 9809b70
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions arch/riscv/boot/dts/microchip/microchip-mpfs-icicle-kit.dts
Expand Up @@ -14,6 +14,10 @@
model = "Microchip PolarFire-SoC Icicle Kit";
compatible = "microchip,mpfs-icicle-kit";

aliases {
ethernet0 = &emac1;
};

chosen {
stdout-path = &serial0;
};
Expand Down

0 comments on commit 9809b70

Please sign in to comment.