net: davinci-emac: switch to device tree support
This adds device tree support to the davinci-emac driver.

This needs some changes to the driver as the device has four different
resources. Three of them are merged into a single resource in the
dts files with the node providing offsets for the different resources
to base address. The mdio node is found separately in the dts, so we
have to split this out to a different driver. Since this driver has been
unused previously, we do not bother maintaining two different probe
methods and remove platform probe support at the same time.

Signed-off-by: Heinrich Toews <heinrich.toews@wago.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent f211208 commit 1e85c6d5d36af236402b0140bd932cb575165ce0
@Heinrich Toews Heinrich Toews authored on 16 Oct 2018
Sascha Hauer committed on 14 Dec 2018
Showing 2 changed files
View
drivers/net/davinci_emac.c
View
include/platform_data/eth-davinci-emac.h 100644 → 0