openrisc/litex: Add ethernet device
authorJoel Stanley <joel@jms.id.au>
Thu, 26 Aug 2021 13:29:45 +0000 (22:59 +0930)
committerStafford Horne <shorne@gmail.com>
Tue, 31 Aug 2021 13:41:46 +0000 (22:41 +0900)
Add the liteeth ethernet device.

Signed-off-by: Joel Stanley <joel@jms.id.au>
Signed-off-by: Stafford Horne <shorne@gmail.com>
arch/openrisc/boot/dts/or1klitex.dts

index baba4f49fa6b461cacd7ade814e0504222f74da8..91c7173c50e699af18cac7c356a50b2242b7270b 100644 (file)
                        reg = <0xe0000000 0xc>;
                        status = "okay";
        };
+
+       ethernet@e0001000 {
+               compatible = "litex,liteeth";
+               reg = <0xe0001000 0x7c>,
+                     <0xe0001800 0x0a>,
+                     <0x80000000 0x2000>;
+               reg-names = "mac", "mdio", "buffer";
+               interrupts = <2>;
+       };
 };