S5 PB test

Change-Id: I3710ccacde1373c0c457150e04827ec6529f451b
Signed-off-by: Zhuo Wang <zhuo.wang@amlogic.com>
This commit is contained in:
Zhuo Wang
2023-12-04 16:41:58 +08:00
committed by Dongjin Kim
parent c47a592fd6
commit ec8dbdd473

View File

@@ -461,6 +461,7 @@ static int aml_custom_setting(struct platform_device *pdev, struct meson8b_dwmac
/*internal_phy 1:inphy;2:exphy; 0 as default*/
if (internal_phy == 2) {
ndev->wol_enabled = false;
if (of_property_read_u32(np, "cali_val", &cali_val) != 0)
pr_err("set default cali_val as 0\n");
writel(cali_val, dwmac->regs + PRG_ETH1);