[PATCH 2/3] openrisc/litex: Add ethernet device
From: Joel Stanley
Date: Thu Aug 26 2021 - 09:30:03 EST
Add the liteeth ethernet device.
Signed-off-by: Joel Stanley <joel@xxxxxxxxx>
---
arch/openrisc/boot/dts/or1klitex.dts | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/arch/openrisc/boot/dts/or1klitex.dts b/arch/openrisc/boot/dts/or1klitex.dts
index baba4f49fa6b..91c7173c50e6 100644
--- a/arch/openrisc/boot/dts/or1klitex.dts
+++ b/arch/openrisc/boot/dts/or1klitex.dts
@@ -52,4 +52,13 @@ soc_ctrl0: soc_controller@e0000000 {
reg = <0xe0000000 0xc>;
status = "okay";
};
+
+ ethernet@e0001000 {
+ compatible = "litex,liteeth";
+ reg = <0xe0001000 0x7c>,
+ <0xe0001800 0x0a>,
+ <0x80000000 0x2000>;
+ reg-names = "mac", "mdio", "buffer";
+ interrupts = <2>;
+ };
};
--
2.33.0