net: cirrus: add DT support for Cirrus EP93xx
authorNikita Shubin <nikita.shubin@maquefel.me>
Mon, 9 Sep 2024 08:10:42 +0000 (11:10 +0300)
committerArnd Bergmann <arnd@arndb.de>
Thu, 12 Sep 2024 14:33:11 +0000 (14:33 +0000)
commit770e709e38bf90d3144d82218550730290bc1918
tree1152aef1de87554b2c8096343846534c1fcf96f5
parent099747ceb0226a3e99fceba16ee4b3f49e598bcc
net: cirrus: add DT support for Cirrus EP93xx

- add OF ID match table
- get phy_id from the device tree, as part of mdio
- copy_addr is now always used, as there is no SoC/board that aren't
- dropped platform header

Signed-off-by: Nikita Shubin <nikita.shubin@maquefel.me>
Tested-by: Alexander Sverdlin <alexander.sverdlin@gmail.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Acked-by: Miquel Raynal <miquel.raynal@bootlin.com>
Acked-by: Vinod Koul <vkoul@kernel.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
drivers/net/ethernet/cirrus/ep93xx_eth.c