arm64: dts: qcom: sa8540p-ride: Add ethernet nodes
authorAndrew Halaney <ahalaney@redhat.com>
Mon, 1 May 2023 20:51:05 +0000 (15:51 -0500)
committerBjorn Andersson <andersson@kernel.org>
Mon, 15 May 2023 02:02:10 +0000 (19:02 -0700)
commit57827e87be5447559cc3495567349ff002a6b33a
tree7c41663937661a2bdfc8843a760670d5a2429de5
parentb405d8d500e59e1edc51d934a766ea6127e1e69d
arm64: dts: qcom: sa8540p-ride: Add ethernet nodes

Enable both the MACs found on the board.

ethernet0 and ethernet1 both ultimately go to a series of on board
switches which aren't managed by this processor.

ethernet0 is connected to a Marvell 88EA1512 phy via RGMII. That goes to
the series of switches via SGMII on the "media" side of the phy.
RGMII_SGMII mode is enabled via devicetree register descriptions.
The switch on the "media" side has auto-negotiation disabled, so
configuration from userspace similar to:

        ethtool -s eth0 autoneg off speed 1000 duplex full

is necessary to get traffic flowing on that interface.

ethernet1 is in a mac2mac/fixed-link configuration going to the same
series of switches directly via RGMII.

Tested-by: Brian Masney <bmasney@redhat.com>
Signed-off-by: Andrew Halaney <ahalaney@redhat.com>
Reviewed-by: Brian Masney <bmasney@redhat.com>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20230501205105.2518373-3-ahalaney@redhat.com
arch/arm64/boot/dts/qcom/sa8540p-ride.dts