git: 8923d1c9e25c - main - aw_sid: Add H616 configuration and compat string
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 09 Feb 2026 10:23:41 UTC
The branch main has been updated by thj:
URL: https://cgit.FreeBSD.org/src/commit/?id=8923d1c9e25c5bc29d13edf8a55ae6b6b8bd9f6e
commit 8923d1c9e25c5bc29d13edf8a55ae6b6b8bd9f6e
Author: Tom Jones <thj@FreeBSD.org>
AuthorDate: 2026-02-09 10:06:37 +0000
Commit: Tom Jones <thj@FreeBSD.org>
CommitDate: 2026-02-09 10:22:20 +0000
aw_sid: Add H616 configuration and compat string
Reviewed by: manu
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D54916
---
sys/arm/allwinner/aw_sid.c | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
diff --git a/sys/arm/allwinner/aw_sid.c b/sys/arm/allwinner/aw_sid.c
index 932c2f189e51..c100ac2e9941 100644
--- a/sys/arm/allwinner/aw_sid.c
+++ b/sys/arm/allwinner/aw_sid.c
@@ -169,6 +169,27 @@ static struct aw_sid_efuse h5_efuses[] = {
},
};
+static struct aw_sid_efuse h616_efuses[] = {
+ {
+ .name = "rootkey",
+ .desc = "Root Key or ChipID",
+ .base = EFUSE_OFFSET,
+ .offset = 0x00,
+ .size = 16,
+ .id = AW_SID_FUSE_ROOTKEY,
+ .public = true,
+ },
+ {
+ .name = "calibration",
+ .desc = "Thermal Sensor Calibration Data",
+ .base = EFUSE_OFFSET,
+ .offset = 0x34,
+ .size = 4,
+ .id = AW_SID_FUSE_THSSENSOR,
+ .public = true,
+ },
+};
+
static struct aw_sid_efuse d1_efuses[] = {
{
.name = "rootkey",
@@ -225,6 +246,11 @@ static const struct aw_sid_conf h5_conf = {
.nfuses = nitems(h5_efuses),
};
+static const struct aw_sid_conf h616_conf = {
+ .efuses = h616_efuses,
+ .nfuses = nitems(h616_efuses),
+};
+
static const struct aw_sid_conf d1_conf = {
.efuses = d1_efuses,
.nfuses = nitems(d1_efuses),
@@ -237,6 +263,7 @@ static struct ofw_compat_data compat_data[] = {
{ "allwinner,sun8i-a83t-sid", (uintptr_t)&a83t_conf},
{ "allwinner,sun8i-h3-sid", (uintptr_t)&h3_conf},
{ "allwinner,sun50i-h5-sid", (uintptr_t)&h5_conf},
+ { "allwinner,sun50i-h616-sid", (uintptr_t)&h616_conf},
{ "allwinner,sun20i-d1-sid", (uintptr_t)&d1_conf},
{ NULL, 0 }
};