This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[FAQ] AM5728: How do I setup the AM572x CPSW in switch-mode?

Part Number: AM5728

The default image for the AM57x SDK has the CPSW switch set up in Dual Standalone EMAC mode.
How do I set it in switch mode?

  • Only one line needs to be removed from the DT as follows:

    diff --git a/arch/arm/boot/dts/am57xx-beagle-x15-common.dtsi b/arch/arm/boot/dts/am57xx-beagle-x15-common.dtsi
    index b522ac3b3..52e423fc0 100644
    --- a/arch/arm/boot/dts/am57xx-beagle-x15-common.dtsi
    +++ b/arch/arm/boot/dts/am57xx-beagle-x15-common.dtsi
    @@ -469,7 +469,7 @@
     
     &mac {
            status = "okay";
    -       dual_emac;
    +       //dual_emac;
     };
     
     &cpsw_emac0 {
    

    Hope that Helps!

    -Josue