Is the Marvell phy driver (drivers/net/phy/marvell.c that supports the Marvell Alaska 88E1512 Phy used on any of the QorIQ products and tested?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Is the Marvell phy driver (drivers/net/phy/marvell.c that supports the Marvell Alaska 88E1512 Phy used on any of the QorIQ products and tested?

4,325 Views
tracysmith
Contributor IV

1. What driver is used for the LS1043ARDB EC1 RGMII PHY addr: 1 and EC2 RGMII PHY addr: 2? 

2. What is the speed for both EC1 RGMII and EC2 RGMII?

3. What changes will be required if we change from physical address 1 and 2 to address 0.  Intending to use Marvell Alaska 88E1512 Phy physical 1 with a 1 Gbe RGMII Address =0 and Phy 2 100 MbE SGMII Address = 0 and trying to get a feel of changes required to support the address change if any.

4. Is the Marvell phy driver (drivers/net/phy/marvell.c) that supports the Marvell Alaska 88E1512 Phy used on any of the QorIQ products and tested?

Labels (1)
Tags (1)
0 Kudos
2 Replies

2,380 Views
Pavel
NXP Employee
NXP Employee
  1. See Ethernet drivers using the following path in NXP SDK Linux kernel:

/QorIQ-SDK-V2.0-20160527-yocto/build_ls1043ardb/tmp/work/ls1043ardb-fsl-linux/linux-qoriq/4.1-r0/git/drivers/net/ethernet/freescale

 

  1. Look at the Table 33-2 of the LS1043a Reference Manual. This table shows that LS1043a RGMII speed is 1Gbps.

 

  1. Change .dts file for your setting.


Have a great day,
Pavel Chubakov

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos

2,380 Views
Gandalf-kern
Contributor IV

You mention the .dts file will need to change, which specific .dts file should change for the 88E1512? I only see support for the 88E1510 in drivers/net/phy/marvell.c:

                .phy_id = MARVELL_PHY_ID_88E1510,
                .phy_id_mask = MARVELL_PHY_ID_MASK,
                .name = "Marvell 88E1510",
                .features = PHY_GBIT_FEATURES,
                .flags = PHY_HAS_INTERRUPT,
                .config_aneg = &m88e1510_config_aneg,
                .read_status = &marvell_read_status,
                .ack_interrupt = &marvell_ack_interrupt,
                .config_intr = &marvell_config_intr,
                .did_interrupt = &m88e1121_did_interrupt,
                .resume = &genphy_resume,
                .suspend = &genphy_suspend,
                .driver = { .owner = THIS_MODULE },

0 Kudos