I have a board with a qca8334 eth switch chip. The chip is found by the ar8216 phy as an ar8337, but doesn't respond to pings unless I remove the AR8337_PAD_MAC06_EXCHANGE_EN configuation with the patch:
--- a/drivers/net/phy/ar8216.c
+++ b/drivers/net/phy/ar8216.c
@@ -1454,8 +1454,6 @@
data->port6_status = ar8327_get_port_init_status(&pdata->port6_cfg);
t = ar8327_get_pad_cfg(pdata->pad0_cfg);
- if (chip_is_ar8337(priv))
- t |= AR8337_PAD_MAC06_EXCHANGE_EN;
priv->write(priv, AR8327_REG_PAD0_MODE, t);
t = ar8327_get_pad_cfg(pdata->pad5_cfg);
Does anyone know if the qca8334 is different from the ar8337 in this respect?
Thanks.