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
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>
  • Loading branch information
Bin Meng authored and Palmer Dabbelt committed Aug 25, 2021
1 parent 719588d commit 417166d
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
Original file line number Diff line number Diff line change
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 417166d

Please sign in to comment.