Add support for CPSW3G port 2 on AM62A7-SK
Subsystems (2)
v3 cover Add support for CPSW3G port 2 on AM62A7-SK
Hello,
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-20240429.
Link to v2:
https://lore.kernel.org/r/[email protected]/
Changes from v2 to v3:
- Updated SPDX-License-Identifier and "pinctrl-0" property in "cpsw3g" node in "k3-am62a7-sk-ethernet-dc01.dtso" as suggested by Ravi.
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
PATCH v3 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 v2:
https://lore.kernel.org/r/[email protected]/
Changes from v2 to v3:
- Collected Reviewed by tag from Ravi.
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
@@ -22,6 +22,7 @@ aliases { serial3 = &main_uart1; mmc0 = &sdhci0; mmc1 = &sdhci1; + ethernet0 = &cpsw_port1; }; chosen {
Signature · 1 line
2.34.1
PATCH v3 2/2 arm64: dts: ti: k3-am62a7: Add overlay for second CPSW3G Port
In reply to Chintan VankarFrom: 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 v2:
https://lore.kernel.org/r/[email protected]/
Changes from v2 to v3:
- Updated SPDX-License-Identifier and "pinctrl-0" property in "cpsw3g" node in "k3-am62a7-sk-ethernet-dc01.dtso" as suggested by Ravi.
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
@@ -27,6 +27,7 @@ dtb-$(CONFIG_ARCH_K3) += k3-am62-lp-sk.dtb # Boards with AM62Ax SoC dtb-$(CONFIG_ARCH_K3) += k3-am62a7-sk.dtb +dtb-$(CONFIG_ARCH_K3) += k3-am62a7-sk-ethernet-dc01.dtbo # Boards with AM62Px SoC dtb-$(CONFIG_ARCH_K3) += k3-am62p5-sk.dtb
@@ -125,6 +126,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
Re: [PATCH v3 2/2] arm64: dts: ti: k3-am62a7: Add overlay for second CPSW3G Port
Quoted 15 lines · 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.
Signed-off-by Siddharth Vadapalli <[email protected]>Signed-off-by Chintan Vankar <[email protected]>---
Link to v2:
https://lore.kernel.org/r/[email protected]/
Quoted 8 lines
Changes from v2 to v3:
- Updated SPDX-License-Identifier and "pinctrl-0" property in "cpsw3g" node in "k3-am62a7-sk-ethernet-dc01.dtso" as suggested by Ravi.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
Signature · 2 lines
Regards, Ravi