Hi yipingwang,
Thanks for sharing info.
I am looking mv88e6341 support at Kernel 4.1.8 Version(fsl-sdk-v2.0).
Have a great day,
Thanks
Ashish
Hello Ashish Yadav,
Please refer to the attached MV88E6XXX PHY device driver provided in drivers/net/dsa/mv88e6xxx/ in Linux Kernel 4.17, it already includes mv88e6341 PHY driver support.
Please refer to the following in drivers/net/dsa/mv88e6xxx/chip.c.
[MV88E6341] = {
.prod_num = MV88E6XXX_PORT_SWITCH_ID_PROD_6341,
.family = MV88E6XXX_FAMILY_6341,
.name = "Marvell 88E6341",
.num_databases = 4096,
.num_internal_phys = 5,
.num_ports = 6,
.num_gpio = 11,
.max_vid = 4095,
.port_base_addr = 0x10,
.phy_base_addr = 0x10,
.global1_addr = 0x1b,
.global2_addr = 0x1c,
.age_time_coeff = 3750,
.atu_move_port_mask = 0x1f,
.g1_irqs = 9,
.g2_irqs = 10,
.pvt = true,
.multi_chip = true,
.tag_protocol = DSA_TAG_PROTO_EDSA,
.ptp_support = true,
.ops = &mv88e6341_ops,
},
The following defined drivers/net/dsa/mv88e6xxx/port.h.
#define MV88E6XXX_PORT_SWITCH_ID_PROD_6341 0x3410
Have a great day,
TIC
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------