summaryrefslogtreecommitdiffstats
path: root/arch/openrisc
diff options
context:
space:
mode:
authorJoel Stanley <joel@jms.id.au>2021-08-26 22:59:45 +0930
committerStafford Horne <shorne@gmail.com>2021-08-31 22:41:46 +0900
commit978c791491bce8cc1a27cb50392a2e8bbcea79d4 (patch)
tree940d1dd9d25ec0196569b470d43765ed8421d664 /arch/openrisc
parent7851155a1a7c33f2270dcd979ab6532a89be5293 (diff)
downloadlinux-978c791491bce8cc1a27cb50392a2e8bbcea79d4.tar.bz2
openrisc/litex: Add ethernet device
Add the liteeth ethernet device. Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Stafford Horne <shorne@gmail.com>
Diffstat (limited to 'arch/openrisc')
-rw-r--r--arch/openrisc/boot/dts/or1klitex.dts9
1 files changed, 9 insertions, 0 deletions
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 @@
reg = <0xe0000000 0xc>;
status = "okay";
};
+
+ ethernet@e0001000 {
+ compatible = "litex,liteeth";
+ reg = <0xe0001000 0x7c>,
+ <0xe0001800 0x0a>,
+ <0x80000000 0x2000>;
+ reg-names = "mac", "mdio", "buffer";
+ interrupts = <2>;
+ };
};