summary refs log tree commit diff
path: root/arch/arm
diff options
context:
space:
mode:
authorDinh Nguyen <dinguyen@kernel.org>2019-06-05 10:05:51 -0500
committerDavid S. Miller <davem@davemloft.net>2019-06-06 14:21:06 -0700
commit40ae25505fe834648ce4aa70b073ee934942bfdb (patch)
treeeb05d79c9776b8b6e742eab7cdc958fbc60c0018 /arch/arm
parentb637e0856a6248230e53b5465ab0751f27fdf320 (diff)
downloadlinux-40ae25505fe834648ce4aa70b073ee934942bfdb.tar.gz
net: stmmac: socfpga: fix phy and ptp_ref setup for Arria10/Stratix10
On the Arria10, Agilex, and Stratix10 SoC, there are a few differences from
the Cyclone5 and Arria5:
 - The emac PHY setup bits are in separate registers.
 - The PTP reference clock select mask is different.
 - The register to enable the emac signal from FPGA is different.

Thus, this patch creates a separate function for setting the phy modes on
Arria10/Agilex/Stratix10. The separation is based a new DTS binding:
"altr,socfpga-stmmac-a10-s10".

Signed-off-by: Dinh Nguyen <dinguyen@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/arm')
0 files changed, 0 insertions, 0 deletions