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.

AM3352: Primary Interface on Second External Port

Part Number: AM3352


Tool/software:

Dear TI-Support,

how 
to change device tree to have in dmsg

Generic PHY fixed-0:01: attached PHY driver (mii_bus:phy_addr=fixed-0:01, irq=POLL)

instead of

Generic PHY fixed-0:00: attached PHY driver (mii_bus:phy_addr=fixed-0:00, irq=POLL)

with our attached DTS
beagletest.dts.rtf


Also attached includes
 am33xx-l4.dtsi.rtfam33xx.dtsi.rtf

  • This does not work also

    &mac {

        status = "okay";

        //slaves = <2>;

        // phy-mode = "mii";

        //#address-cells = <1>;

        //#size-cells = <0>;

        pinctrl-names = "default";

        pinctrl-0 = <&mii2_pins>;

        active_slave = <1>;

        //dual_emac = <1>;

        // fixed-link {

        //  speed = <100>;

        //  full-duplex;

        // };

    };

    //&cpsw_emac0 {

    //    phy-mode = "mii";

    //    dual_emac_res_vlan = <2>;

    //    fixed-link {

    //        speed = <100>;

    //        full-duplex;

    //    };  

    //};

     

    &cpsw_emac1 {

        phy-mode = "mii";

        dual_emac_res_vlan = <3>;

        fixed-link {

            speed = <100>;

            full-duplex;

        };      

    };

    Also we are not sure if reset and interrupt is configured correctly: 

    static struct module_pin_mux spi0_pin_mux[] = {

        {OFFSET(spi0_sclk), (MODE(0) | RXACTIVE | PULLUDEN)},   /* SPI0_SCLK */

        {OFFSET(spi0_d0), (MODE(0) | RXACTIVE |

                PULLUDEN | PULLUP_EN)},         /* SPI0_D0 */

        {OFFSET(spi0_d1), (MODE(0) | RXACTIVE | PULLUDEN)}, /* SPI0_D1 */

        {OFFSET(spi0_cs0), (MODE(0) | PULLUDEN | PULLUP_EN)},           /* SPI0_CS0 */

        {OFFSET(mii1_rxclk), (MODE(7) | PULLUDDIS)},            /* reset */

        {OFFSET(mii1_txclk), (MODE(7) | PULLUP_EN | RXACTIVE)},         /* interrupt */

        {-1},

    };

  • Hi,

    I edit your post to the DTS into a code window because the DTS was over 1200 lines in length and made the post very hard to read. Please attach large files or use the code window like you did for the dtsi files.

    I am not following on what is your question is. Could you please describe what you system is? For example it looks like you are attaching a switch to the second CPSW interface is that correct?

    Which Linux SDK did you use?

    Best Regards,

    Schuyler