summaryrefslogtreecommitdiffstats
path: root/arch/openrisc/boot
diff options
context:
space:
mode:
authorStafford Horne <shorne@gmail.com>2019-08-31 03:02:10 +0200
committerStafford Horne <shorne@gmail.com>2019-08-31 04:56:19 +0200
commiteabe7e9a21a27c6124967169e5bfea5678af493f (patch)
tree0efa6c743aa5ae15b74882edb3c92265f00d31c4 /arch/openrisc/boot
parentor1k: dts: Fix ethoc network configuration in or1ksim devicetree (diff)
downloadlinux-eabe7e9a21a27c6124967169e5bfea5678af493f.tar.xz
linux-eabe7e9a21a27c6124967169e5bfea5678af493f.zip
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>
Diffstat (limited to 'arch/openrisc/boot')
-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;
+ };
};