arm64: dts: ti: k3-am62p5-sk: Enable CPSW MDIO node

Message ID 20240201-am62p_cpsw_mdio-v1-1-05f758300f6e@ti.com
State New
Headers
Series arm64: dts: ti: k3-am62p5-sk: Enable CPSW MDIO node |

Commit Message

Jai Luthra Feb. 1, 2024, 12:43 p.m. UTC
  From: Ravi Gunasekaran <r-gunasekaran@ti.com>

Enable the CPSW MDIO node, and link the pinctrl information to enable
ethernet on SK-AM62P.

Ethernet was unintentally broken on this board, even though these nodes
were already present, as enabling them was missed in the original
patch.

Fixes: c00504ea42c0 ("arm64: dts: ti: k3-am62p5-sk: Updates for SK EVM")
Signed-off-by: Ravi Gunasekaran <r-gunasekaran@ti.com>
Signed-off-by: Jai Luthra <j-luthra@ti.com>
---
Boot logs: https://0x0.st/HDOO.txt
---
 arch/arm64/boot/dts/ti/k3-am62p5-sk.dts | 4 ++++
 1 file changed, 4 insertions(+)


---
base-commit: 01af33cc9894b4489fb68fa35c40e9fe85df63dc
change-id: 20240201-am62p_cpsw_mdio-27f6a3ade8e0

Best regards,
  

Comments

Vignesh Raghavendra Feb. 6, 2024, 4:56 a.m. UTC | #1
Hi Jai Luthra,

On Thu, 01 Feb 2024 18:13:53 +0530, Jai Luthra wrote:
> Enable the CPSW MDIO node, and link the pinctrl information to enable
> ethernet on SK-AM62P.
> 
> Ethernet was unintentally broken on this board, even though these nodes
> were already present, as enabling them was missed in the original
> patch.
> 
> [...]

I have applied the following to branch ti-k3-dts-next on [1].
Thank you!

[1/1] arm64: dts: ti: k3-am62p5-sk: Enable CPSW MDIO node
      commit: 8839a9af397e803e0447a6b3e69fad54ed22d26d

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent up the chain during
the next merge window (or sooner if it is a relevant bug fix), however if
problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

[1] https://git.kernel.org/pub/scm/linux/kernel/git/ti/linux.git
--
Vignesh
  

Patch

diff --git a/arch/arm64/boot/dts/ti/k3-am62p5-sk.dts b/arch/arm64/boot/dts/ti/k3-am62p5-sk.dts
index 1773c05f752c..60868862e3b4 100644
--- a/arch/arm64/boot/dts/ti/k3-am62p5-sk.dts
+++ b/arch/arm64/boot/dts/ti/k3-am62p5-sk.dts
@@ -445,6 +445,10 @@  &cpsw_port2 {
 };
 
 &cpsw3g_mdio {
+	pinctrl-names = "default";
+	pinctrl-0 = <&main_mdio1_pins_default>;
+	status = "okay";
+
 	cpsw3g_phy0: ethernet-phy@0 {
 		reg = <0>;
 		ti,rx-internal-delay = <DP83867_RGMIIDCTL_2_00_NS>;