net: fec_mxc: add support for i.MX8X
authorAnatolij Gustschin <agust@denx.de>
Thu, 18 Oct 2018 14:15:11 +0000 (16:15 +0200)
committerJoe Hershberger <joe.hershberger@ni.com>
Wed, 24 Oct 2018 19:45:38 +0000 (14:45 -0500)
commit58ec4d3342f4ffd195f3f3f2e570f772500c6ecb
treee7a7acd35a1e3fa908c816bddb4457bbe2a58560
parent18593fa80b64801768be5657a3b41ef4533a9fc9
net: fec_mxc: add support for i.MX8X

Add compatible property and enable the FEC ipg clock when probing
on i.MX8X. Add specific function for reading FEC clock rate via
clock driver when configuring MII speed register. Allow FEC_MXC
selection for i.MX8.

Signed-off-by: Anatolij Gustschin <agust@denx.de>
Cc: Joe Hershberger <joe.hershberger@ni.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
drivers/net/Kconfig
drivers/net/fec_mxc.c
drivers/net/fec_mxc.h