[PATCH 1/4] phy-sun4i-usb: Fix sun8i_r40_cfg

qianfanguijin at 163.com qianfanguijin at 163.com
Wed Jun 16 04:33:23 CEST 2021


From: qianfan Zhao <qianfanguijin at 163.com>

The address of sun8i_r40's phyctrl is 0x01c13404, also fixed
enable_pmu and dual_route.

Signed-off-by: qianfan Zhao <qianfanguijin at 163.com>
---
 drivers/phy/allwinner/phy-sun4i-usb.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/phy/allwinner/phy-sun4i-usb.c b/drivers/phy/allwinner/phy-sun4i-usb.c
index 5723c98032..608ba46242 100644
--- a/drivers/phy/allwinner/phy-sun4i-usb.c
+++ b/drivers/phy/allwinner/phy-sun4i-usb.c
@@ -587,10 +587,10 @@ static const struct sun4i_usb_phy_cfg sun8i_r40_cfg = {
 	.num_phys = 3,
 	.type = sun8i_r40_phy,
 	.disc_thresh = 3,
-	.phyctl_offset = REG_PHYCTL_A33,
+	.phyctl_offset = REG_PHYCTL_A10,
 	.dedicated_clocks = true,
-	.enable_pmu_unk1 = true,
-	.phy0_dual_route = true,
+	.enable_pmu_unk1 = false,
+	.phy0_dual_route = false,
 };
 
 static const struct sun4i_usb_phy_cfg sun8i_v3s_cfg = {
-- 
2.17.1



More information about the U-Boot mailing list