]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
or1k: dts: Add ethoc device to SMP devicetree
authorStafford Horne <shorne@gmail.com>
Sat, 31 Aug 2019 01:02:10 +0000 (10:02 +0900)
committerStafford Horne <shorne@gmail.com>
Sat, 31 Aug 2019 02:56:19 +0000 (11:56 +0900)
This patch adds the ethoc device configuration to the OpenRISC basic SMP
device tree config.  This was tested with qemu.

Signed-off-by: Stafford Horne <shorne@gmail.com>
arch/openrisc/boot/dts/simple_smp.dts

index defbb92714ec1746e55799d97f6746dfbd478246..71af0e117bfe5f675806c63beaf78def53433a82 100644 (file)
@@ -60,4 +60,10 @@ serial0: serial@90000000 {
                clock-frequency = <20000000>;
        };
 
+       enet0: ethoc@92000000 {
+               compatible = "opencores,ethoc";
+               reg = <0x92000000 0x800>;
+               interrupts = <4>;
+               big-endian;
+       };
 };