summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStafford Horne <shorne@gmail.com>2019-08-31 10:02:10 +0900
committerStafford Horne <shorne@gmail.com>2019-08-31 11:56:19 +0900
commiteabe7e9a21a27c6124967169e5bfea5678af493f (patch)
tree0efa6c743aa5ae15b74882edb3c92265f00d31c4
parentae2930583c7ae2159e26a54b15e52b1d4d5782a0 (diff)
downloadlinux-eabe7e9a21a27c6124967169e5bfea5678af493f.tar.bz2
or1k: dts: Add ethoc device to SMP devicetree
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>
-rw-r--r--arch/openrisc/boot/dts/simple_smp.dts6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/openrisc/boot/dts/simple_smp.dts b/arch/openrisc/boot/dts/simple_smp.dts
index defbb92714ec..71af0e117bfe 100644
--- a/arch/openrisc/boot/dts/simple_smp.dts
+++ b/arch/openrisc/boot/dts/simple_smp.dts
@@ -60,4 +60,10 @@
clock-frequency = <20000000>;
};
+ enet0: ethoc@92000000 {
+ compatible = "opencores,ethoc";
+ reg = <0x92000000 0x800>;
+ interrupts = <4>;
+ big-endian;
+ };
};