net: ethernet: stmmac: add management of clk_csr property
authorChristophe Roullier <christophe.roullier@st.com>
Tue, 5 Mar 2019 08:29:26 +0000 (09:29 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 8 Mar 2019 19:48:19 +0000 (11:48 -0800)
commit81311c03ab4dca83e4f4c678129b4327f2d41b40
tree9d25abd2bf03e59285b5a3508d4ef8ae78c57a2f
parent830133daec63d450e702e6196cec9f0413164164
net: ethernet: stmmac: add management of clk_csr property

In Documentation stmmac.txt there is possibility to
fixed CSR Clock range selection with property clk_csr.
This patch add the management of this property
For example to use it, add in your ethernet node DT:
clk_csr = <3>;

Signed-off-by: Christophe Roullier <christophe.roullier@st.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c