or1k: dts: Fix ethoc network configuration in or1ksim devicetree
authorStafford Horne <shorne@gmail.com>
Sat, 31 Aug 2019 01:00:34 +0000 (10:00 +0900)
committerStafford Horne <shorne@gmail.com>
Sat, 31 Aug 2019 02:46:59 +0000 (11:46 +0900)
commitae2930583c7ae2159e26a54b15e52b1d4d5782a0
treeb1655162a49d76a625707d9f5a814b99b1b9816d
parenta55aa89aab90fae7c815b0551b07be37db359d76
or1k: dts: Fix ethoc network configuration in or1ksim devicetree

This fixes several issues with the ethoc network device config.

Fisrt off, the compatible property used an obsolete compatibility
string; this caused the initialization to be skipped.  Next, the
register map was not given enough space to allocate ring descriptors,
this caused module initialization to abort.  Finally, we need to mark
this device as big-endian as needed by openrisc.

This was tested by me in qemu, the setup is documented on the qemu wiki:

  https://wiki.qemu.org/Documentation/Platforms/OpenRISC

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