Repository navigation
AM62L: Enable PKTDMA and CPSW3G for Ethernet Functionality - #110
Merged
Conversation
Siddharth-Vadapalli-at-TI
force-pushed
the
ti-zephyr-am62l-cpsw-pktdma-v4.4.0-next
branch
from
October 19, 2026 11:08
a49eb3c to
d55b883
Compare
Collaborator
|
Failing compliance check. Please revisit. |
Siddharth-Vadapalli-at-TI
force-pushed
the
ti-zephyr-am62l-cpsw-pktdma-v4.4.0-next
branch
from
October 21, 2026 05:33
d55b883 to
a44ff75
Compare
Author
Collaborator
We just need to truncate the subject with ..., any way the commit sha or PR is mentioned in next line, it need not put full commit message. |
Siddharth-Vadapalli-at-TI
force-pushed
the
ti-zephyr-am62l-cpsw-pktdma-v4.4.0-next
branch
from
October 21, 2026 06:49
a44ff75 to
f07e4ae
Compare
commit aa46f97 upstream. Updated the REUSE.toml to annotate documentation according to the zephyr charter with the CC-BY-4.0 license Signed-off-by: Dominik Tacke <dominik.tacke@siemens.com> Signed-off-by: Siddharth Vadapalli <s-vadapalli@ti.com>
commit c9dc69b upstream. Zephyr is Apache-2.0 as a whole but reuses a few components under other licenses. Introduce the exceptions section in REUSE.toml and document the Zephyr-Description/-Origin/-Kconfig-Condition keys the licensing page is generated from. Per-component entries follow. Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org> Assisted-by: Claude:opus-4.8 Signed-off-by: Siddharth Vadapalli <s-vadapalli@ti.com>
commit ecbec62 upstream. Bootstrap ships the dashboard's CSS and JavaScript under MIT. Add a REUSE.toml exception so the component appears on the licensing page and is accepted by the compliance guard. Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org> Assisted-by: Claude:opus-4.8 Signed-off-by: Siddharth Vadapalli <s-vadapalli@ti.com>
commit 1ec3a57 upstream. The BMI08x sensor configuration blob is imported from the Bosch Sensortec BMI08x API under BSD-3-Clause. Add a REUSE.toml exception so the component appears on the licensing page and is accepted by the compliance guard. Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org> Assisted-by: Claude:opus-4.8 Signed-off-by: Siddharth Vadapalli <s-vadapalli@ti.com>
commit e29a7d2 upstream. add dependency-mode prop key, so it can be changed what dependency a phandle in the dt introduces. With this it can be set in the dt binding that a phandle is f.e. ignored when the dt ordinal is calculated. Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com> Signed-off-by: Siddharth Vadapalli <s-vadapalli@ti.com>
commit 8434550 upstream. Add all predefined values for phy-connection-type from the devicetree specification (Table 4.13). Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com> Signed-off-by: Siddharth Vadapalli <s-vadapalli@ti.com>
commit 8d3f746 upstream. Move `phy-handle` to use the dependency-mode prop key instead of the hardcoded code. Because all ethernet drivers only need to use the phy-handle in the iface init, we can ignore the phy-handle dependency completly instead of only ignoring it if the phy-handle pointing to a child node of the ethernet node. Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com> Signed-off-by: Siddharth Vadapalli <s-vadapalli@ti.com>
commit 9907556 upstream. Add a macro to iterate over all fragments in a network packet. Signed-off-by: Muhammad Waleed Badar <walid.badar@gmail.com> Signed-off-by: Siddharth Vadapalli <s-vadapalli@ti.com>
commit db984ee upstream. add struct net_if to arguments Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com> Signed-off-by: Siddharth Vadapalli <s-vadapalli@ti.com>
commit bb2ac26 upstream. add helper macros to add more than one iface to a device. Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com> Signed-off-by: Siddharth Vadapalli <s-vadapalli@ti.com>
PR: 122457 The Texas Instruments AM62L SoC [0] includes the Packet DMA Controller which is a packet-oriented DMA Engine. PKTDMA can perform data movement operations between memory and PSI-L (Packet Streaming Interface Link) peripherals. Add the bindings for PKTDMA. [0]: https://www.ti.com/product/AM62L Signed-off-by: Siddharth Vadapalli <s-vadapalli@ti.com>
…iver PR: 122457 The Texas Instruments AM62L SoC [0] includes the Packet DMA Controller which is a packet-oriented DMA Engine. PKTDMA can perform data movement operations between memory and PSI-L (Packet Streaming Interface Link) peripherals. Since the PKTDMA Hardware supports additional vendor-specific features, an SoC-specific driver is required. Add the PKTDMA driver to enable DMA functionality on the AM62L SoC. [0]: https://www.ti.com/product/AM62L Signed-off-by: Siddharth Vadapalli <s-vadapalli@ti.com>
PR: 122461 The CPSW3G instance of CPSW in the Texas Instruments AM62L SoC [0] has an integrated MDIO module. The MDIO module allows managing the Ethernet PHYs associated with the CPSW MAC Ports. Add the bindings for CPSW MDIO. [0]: https://www.ti.com/product/AM62L Signed-off-by: Siddharth Vadapalli <s-vadapalli@ti.com>
PR: 122461 The Texas Instruments AM62L SoC [0] includes an integrated Ethernet Switch named CPSW3G with one Host Port (CPU facing port) and two MAC Ports. The MAC Ports support "rmii" and "rgmii" interfaces and speeds of 10, 100 and 1000 Mbps depending on the selected interface. Host Software can send packets to and receive packets from CPSW3G via dedicated PKTDMA Channels. Add the bindings for CPSW. [0]: https://www.ti.com/product/AM62L Signed-off-by: Siddharth Vadapalli <s-vadapalli@ti.com>
PR: 122461 The CPSW3G instance of CPSW in the Texas Instruments AM62L SoC [0] has an integrated MDIO module. The MDIO module allows managing the Ethernet PHYs associated with the CPSW MAC Ports. Add the CPSW MDIO driver to enable functionality. [0]: https://www.ti.com/product/AM62L Signed-off-by: Siddharth Vadapalli <s-vadapalli@ti.com>
PR: 122461 The Texas Instruments AM62L SoC [0] includes an integrated Ethernet Switch named CPSW3G with one Host Port (CPU facing port) and two MAC Ports. The MAC Ports support "rmii" and "rgmii" interfaces and speeds of 10, 100 and 1000 Mbps depending on the selected interface. Host Software can send packets to and receive packets from CPSW3G via dedicated PKTDMA Channels. Add the driver to enable functionality. [0]: https://www.ti.com/product/AM62L Signed-off-by: Siddharth Vadapalli <s-vadapalli@ti.com>
PR: 122461 The CPSW3G instance of CPSW (Common Platform Switch) on the AM62L SoC enables Ethernet functionality. CPSW3G has two MAC Ports that are brought out on the AM62L EVM [0] and interface with the DP83867 Ethernet PHY and support RGMII-ID mode of operation at link speeds of up to 1 Gbps each. The integrated MDIO module within CPSW3G allows communicating with the Ethernet PHYs connected to CPSW3G's MAC Ports. Software exchanges network traffic with CPSW3G via dedicated PKTDMA (Packet DMA) Channels that move data between CPSW3G and system memory (DDR). Hence, add the necessary device-tree and configs to enable Ethernet functionality on the AM62L EVM. [0]: https://www.ti.com/tool/TMDS62LEVM Signed-off-by: Siddharth Vadapalli <s-vadapalli@ti.com>
PR: 122461 Add config fragment for the AM62L EVM to run Zperf with CPSW3G (Common Platform Switch) Ethernet Switch. Signed-off-by: Siddharth Vadapalli <s-vadapalli@ti.com>
Siddharth-Vadapalli-at-TI
force-pushed
the
ti-zephyr-am62l-cpsw-pktdma-v4.4.0-next
branch
from
October 21, 2026 06:59
f07e4ae to
39ff1c7
Compare
Author
|
@soumya-TI, thank you for clarifying about the changes needed to address the pending Compliance Checks. I have updated the PR addressing them. |
soumya-TI
merged commit Oct 21, 2026
e0ebafe
into
TexasInstruments:v4.4.0-ti-next
7 of 9 checks passed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

This PR enables Ethernet functionality on the AM62L EVM by adding driver support for PKTDMA and CPSW3G.
This PR contains:
Am62l pktdma zephyrproject-rtos/zephyr#122457
Am62l cpsw zephyrproject-rtos/zephyr#122461
For both '2' and '3' above, the 'UPSTREAM-PEND' tag has been prefixed in the commit message subject and the respective PR numbers have also been mentioned in the commit message.
Both MAC Ports of CPSW3G brought out on the AM62L EVM are enabled in Dual-EMAC mode (no L2 Switching) and enable basic Ethernet functionality. The zperf sample has also been included for measuring TCP and UDP throughput.
TCP Upload (Transmit) Throughput with a single MAC Port (1 Gbps line-rate):
~ 285 Mbps
UDP Upload (Transmit) Throughput with a single MAC Port (1 Gbps line-rate):
~ 490 Mbps
Command used to build the zperf sample:
west build -p always -b am62l_evm/am62l3/a53 samples/net/zperf -- -DEXTRA_CONF_FILE=boards/am62l_evm.confTest Logs:
https://gist.github.com/Siddharth-Vadapalli-at-TI/41506140d8abf9f8560650264c3b9060