diff --git a/drivers/net/airoha/pcs-airoha-common.c b/drivers/net/airoha/pcs-airoha-common.c index 2e5cb085498..1263092fcdd 100644 --- a/drivers/net/airoha/pcs-airoha-common.c +++ b/drivers/net/airoha/pcs-airoha-common.c @@ -10,7 +10,7 @@ #include #include #include -#include +#include #include "pcs-airoha.h" @@ -755,7 +755,7 @@ static int airoha_pcs_probe(struct udevice *dev) return PTR_ERR(priv->xfi_ana); /* SCU is used to toggle XFI or HSGMII in global SoC registers */ - priv->scu = syscon_regmap_lookup_by_phandle(dev, "airoha,scu"); + priv->scu = airoha_get_scu_regmap(); if (IS_ERR(priv->scu)) return PTR_ERR(priv->scu);