Skip to contentSkip to conversation

Add support for CPSW3G port 2 on AM62A7-SK

PATCH In review Chintan Vankar 2 participants 4 messages Feb 11, 2025 – Apr 18, 2025

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

v4 cover Add support for CPSW3G port 2 on AM62A7-SK

This series adds support for CPSW3G MAC port 2 with the SK-Ethernet-DC01 Add-On daughtercard. Also, the missing alias for CPSW3G MAC Port 1 is added to the am62a7-sk board file in order to allow kernel to fetch MAC address populated by U-Boot for CPSW3G MAC Port 1.

This series is based on linux-next tagged next-20250210.

Link to v3:
https://lore.kernel.org/r/[email protected]/

Changes from v3 to v4:
- No changes, rebased the series on top of latest linux-next branch.

Siddharth Vadapalli (2):
arm64: dts: ti: k3-am62a7-sk: Add alias for CPSW3G MAC port 1
arm64: dts: ti: k3-am62a7: Add overlay for second CPSW3G Port

 arch/arm64/boot/dts/ti/Makefile               |  3 +
 .../dts/ti/k3-am62a7-sk-ethernet-dc01.dtso    | 62 +++++++++++++++++++
 arch/arm64/boot/dts/ti/k3-am62a7-sk.dts       |  1 +
 3 files changed, 66 insertions(+)
 create mode 100644 arch/arm64/boot/dts/ti/k3-am62a7-sk-ethernet-dc01.dtso
Signature · 1 line
2.34.1
#1 lore raw

PATCH v4 1/2 arm64: dts: ti: k3-am62a7-sk: Add alias for CPSW3G MAC port 1

From: Siddharth Vadapalli <[email protected]>

Add alias for CPSW3G MAC port 1 to enable kernel to fetch MAC Address directly from U-Boot.

---

Link to v3:
https://lore.kernel.org/r/[email protected]/

Changes from v3 to v4:
- No changes.

 arch/arm64/boot/dts/ti/k3-am62a7-sk.dts | 1 +
 1 file changed, 1 insertion(+)
arch/arm64/boot/dts/ti/k3-am62a7-sk.dts +1 -0
index a6f0d87a50d8..9ef727f2c444 100644
@@ -22,6 +22,7 @@ aliases {
 		serial3 = &main_uart1;
 		mmc0 = &sdhci0;
 		mmc1 = &sdhci1;
+		ethernet0 = &cpsw_port1;
 	};
 
 	chosen {
Signature · 1 line
2.34.1
#2 lore raw

PATCH v4 2/2 arm64: dts: ti: k3-am62a7: Add overlay for second CPSW3G Port

In reply to Chintan Vankar

From: Siddharth Vadapalli <[email protected]>

The SK-Ethernet-DC01 Add-On Ethernet Card for AM62A7-SK board supports RGMII mode.

Add overlay to enable the second CPSW3G port in RGMII-RXID mode with the Add-On Ethernet Card.

---

Link to v3:
https://lore.kernel.org/r/[email protected]/

Changes from v3 to v4:
- No changes.

 arch/arm64/boot/dts/ti/Makefile               |  3 +
 .../dts/ti/k3-am62a7-sk-ethernet-dc01.dtso    | 62 +++++++++++++++++++
 2 files changed, 65 insertions(+)
 create mode 100644 arch/arm64/boot/dts/ti/k3-am62a7-sk-ethernet-dc01.dtso
arch/arm64/boot/dts/ti/Makefile +3 -0
index 8a4bdf87e2d4..7f9f0d3b9362 100644
@@ -31,6 +31,7 @@ dtb-$(CONFIG_ARCH_K3) += k3-am62-lp-sk-nand.dtbo
 # Boards with AM62Ax SoC
 dtb-$(CONFIG_ARCH_K3) += k3-am62a7-sk.dtb
 dtb-$(CONFIG_ARCH_K3) += k3-am62a7-phyboard-lyra-rdk.dtb
+dtb-$(CONFIG_ARCH_K3) += k3-am62a7-sk-ethernet-dc01.dtbo
 
 # Boards with AM62Px SoC
 dtb-$(CONFIG_ARCH_K3) += k3-am62p5-sk.dtb
@@ -160,6 +161,8 @@ k3-am62a7-sk-csi2-ov5640-dtbs := k3-am62a7-sk.dtb \
 	k3-am62x-sk-csi2-ov5640.dtbo
 k3-am62a7-sk-csi2-tevi-ov5640-dtbs := k3-am62a7-sk.dtb \
 	k3-am62x-sk-csi2-tevi-ov5640.dtbo
+k3-am62a7-sk-ethernet-dc01-dtbs := k3-am62a7-sk.dtb \
+	k3-am62a7-sk-ethernet-dc01.dtbo
 k3-am62a7-sk-hdmi-audio-dtbs := k3-am62a7-sk.dtb k3-am62x-sk-hdmi-audio.dtbo
 k3-am62p5-sk-csi2-imx219-dtbs := k3-am62p5-sk.dtb \
 	k3-am62x-sk-csi2-imx219.dtbo
arch/arm64/boot/dts/ti/k3-am62a7-sk-ethernet-dc01.dtso new file +62 -0

62 lines not on this page · raw message

Signature · 1 line
2.34.1
maintainer
#3 lore raw
In reply to Chintan Vankar
Quoted 17 lines · Chintan Vankar

This series adds support for CPSW3G MAC port 2 with the SK-Ethernet-DC01 Add-On daughtercard. Also, the missing alias for CPSW3G MAC Port 1 is added to the am62a7-sk board file in order to allow kernel to fetch MAC address populated by U-Boot for CPSW3G MAC Port 1.

This series is based on linux-next tagged next-20250210.

Link to v3:
https://lore.kernel.org/r/[email protected]/

Changes from v3 to v4:
- No changes, rebased the series on top of latest linux-next branch.

Siddharth Vadapalli (2):
arm64: dts: ti: k3-am62a7-sk: Add alias for CPSW3G MAC port 1
arm64: dts: ti: k3-am62a7: Add overlay for second CPSW3G Port

Quoted 6 lines
 arch/arm64/boot/dts/ti/Makefile               |  3 +
 .../dts/ti/k3-am62a7-sk-ethernet-dc01.dtso    | 62 +++++++++++++++++++
 arch/arm64/boot/dts/ti/k3-am62a7-sk.dts       |  1 +
 3 files changed, 66 insertions(+)
 create mode 100644 arch/arm64/boot/dts/ti/k3-am62a7-sk-ethernet-dc01.dtso

please re-send this series, series no longer applies.

Signature · 3 lines
Regards,
Nishanth Menon
Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3  1A34 DDB5 849D 1736 249D