Skip to content

Commit

Permalink
openrisc/litex: Add ethernet device
Browse files Browse the repository at this point in the history
Add the liteeth ethernet device.

Signed-off-by: Joel Stanley <joel@jms.id.au>
Signed-off-by: Stafford Horne <shorne@gmail.com>
  • Loading branch information
Joel Stanley authored and Stafford Horne committed Aug 31, 2021
1 parent 7851155 commit 978c791
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions arch/openrisc/boot/dts/or1klitex.dts
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,13 @@
reg = <0xe0000000 0xc>;
status = "okay";
};

ethernet@e0001000 {
compatible = "litex,liteeth";
reg = <0xe0001000 0x7c>,
<0xe0001800 0x0a>,
<0x80000000 0x2000>;
reg-names = "mac", "mdio", "buffer";
interrupts = <2>;
};
};

0 comments on commit 978c791

Please sign in to comment.