summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFugang Duan <B38611@freescale.com>2015-06-16 14:35:43 +0800
committerFugang Duan <b38611@freescale.com>2015-07-23 16:19:46 +0800
commit0ac5710b7796e6dc314bb2ef90165d9361b0dfc9 (patch)
tree37075435e28f31d1a847c119af4a220f2685069f
parent87c6f5948b53342830151d10144ce331140757db (diff)
MLK-10707 ARM: imx: add BCM5422x phy fixup
On one board EB15140079 the Broadcom switch phy ID is 0x600d8599. Add the phy fixup for the board support. Signed-off-by: Fugang Duan <B38611@freescale.com> (cherry picked from commit: 5ab17ce68acab43697c8fb4a38d46c3e423d4b91)
-rw-r--r--arch/arm/mach-imx/mach-imx7d.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-imx/mach-imx7d.c b/arch/arm/mach-imx/mach-imx7d.c
index 90e404200756..4d06b2d170c4 100644
--- a/arch/arm/mach-imx/mach-imx7d.c
+++ b/arch/arm/mach-imx/mach-imx7d.c
@@ -57,6 +57,7 @@ static int bcm54220_phy_fixup(struct phy_device *dev)
#define PHY_ID_AR8031 0x004dd074
#define PHY_ID_BCM54220 0x600d8589
+#define PHY_ID_BCM5422x 0x600d8599
static void __init imx7d_enet_phy_init(void)
{
if (IS_BUILTIN(CONFIG_PHYLIB)) {
@@ -64,6 +65,8 @@ static void __init imx7d_enet_phy_init(void)
ar8031_phy_fixup);
phy_register_fixup_for_uid(PHY_ID_BCM54220, 0xffffffff,
bcm54220_phy_fixup);
+ phy_register_fixup_for_uid(PHY_ID_BCM5422x, 0xffffffff,
+ bcm54220_phy_fixup);
}
}