]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
arm64: dts: qcom: ipq5018: Add GE PHY to internal mdio bus
authorGeorge Moussalem <george.moussalem@outlook.com>
Mon, 30 Jun 2025 12:35:02 +0000 (16:35 +0400)
committerBjorn Andersson <andersson@kernel.org>
Mon, 11 Aug 2025 18:22:44 +0000 (13:22 -0500)
commitf5f2b835e316df29b89e28ed7e467df473932e8d
tree166ca0152f569abda4f5c43b31530df93d1383a0
parent1e2261a669a9596ba435c6fe524e026bac0f0e2f
arm64: dts: qcom: ipq5018: Add GE PHY to internal mdio bus

The IPQ5018 SoC contains an internal GE PHY, always at phy address 7.
As such, let's add the GE PHY node to the SoC dtsi.

The LDO controller found in the SoC must be enabled to provide constant
low voltages to the PHY. The mdio-ipq4019 driver already has support
for this, so adding the appropriate TCSR register offset.

In addition, the GE PHY outputs both the RX and TX clocks to the GCC
which gate controls them and routes them back to the PHY itself.
So let's create two DT fixed clocks and register them in the GCC node.

Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Signed-off-by: George Moussalem <george.moussalem@outlook.com>
Link: https://lore.kernel.org/r/20250630-ipq5018-ge-phy-v6-3-01be06378c15@outlook.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/ipq5018.dtsi