The branch main has been updated by thj:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=84bc16a587fe69eaf50b6b012c5781f99a14c449

commit 84bc16a587fe69eaf50b6b012c5781f99a14c449
Author:     Tom Jones <[email protected]>
AuthorDate: 2026-02-09 10:05:41 +0000
Commit:     Tom Jones <[email protected]>
CommitDate: 2026-02-09 10:22:19 +0000

    aw_usbphy: Add H616 compat string and configuration
    
    Reviewed by:    manu
    Sponsored by:   The FreeBSD Foundation
    Differential Revision:  https://reviews.freebsd.org/D54912
---
 sys/arm/allwinner/aw_usbphy.c | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/sys/arm/allwinner/aw_usbphy.c b/sys/arm/allwinner/aw_usbphy.c
index 97c3d2207773..2082d2edfc90 100644
--- a/sys/arm/allwinner/aw_usbphy.c
+++ b/sys/arm/allwinner/aw_usbphy.c
@@ -56,6 +56,7 @@ enum awusbphy_type {
        AWUSBPHY_TYPE_A64,
        AWUSBPHY_TYPE_A83T,
        AWUSBPHY_TYPE_H6,
+       AWUSBPHY_TYPE_H616,
        AWUSBPHY_TYPE_D1,
 };
 
@@ -122,6 +123,13 @@ static const struct aw_usbphy_conf h6_usbphy_conf = {
        .phy0_route = true,
 };
 
+static const struct aw_usbphy_conf h616_usbphy_conf = {
+       .num_phys = 4,
+       .phy_type = AWUSBPHY_TYPE_H616,
+       .pmu_unk1 = false,
+       .phy0_route = true,
+};
+
 static const struct aw_usbphy_conf d1_usbphy_conf = {
        .num_phys = 2,
        .phy_type = AWUSBPHY_TYPE_D1,
@@ -138,6 +146,7 @@ static struct ofw_compat_data compat_data[] = {
        { "allwinner,sun50i-a64-usb-phy",       (uintptr_t)&a64_usbphy_conf },
        { "allwinner,sun8i-a83t-usb-phy",       (uintptr_t)&a83t_usbphy_conf },
        { "allwinner,sun50i-h6-usb-phy",        (uintptr_t)&h6_usbphy_conf },
+       { "allwinner,sun50i-h616-usb-phy",      (uintptr_t)&h616_usbphy_conf },
        { "allwinner,sun20i-d1-usb-phy",        (uintptr_t)&d1_usbphy_conf },
        { NULL,                                 0 }
 };

Reply via email to