From: qianfan Zhao <qianfangui...@163.com>

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

Signed-off-by: qianfan Zhao <qianfangui...@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

Reply via email to