git: 64abec2e5862 - main - aw_sid: Add support for the H6
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 13 Nov 2026 11:17:33 UTC
The branch main has been updated by manu:
URL: https://cgit.FreeBSD.org/src/commit/?id=64abec2e5862bdc3c28f44a0b5defbcc5c6a54ae
commit 64abec2e5862bdc3c28f44a0b5defbcc5c6a54ae
Author: Emmanuel Vadot <manu@FreeBSD.org>
AuthorDate: 2026-11-13 09:06:33 +0000
Commit: Emmanuel Vadot <manu@FreeBSD.org>
CommitDate: 2026-11-13 11:17:07 +0000
aw_sid: Add support for the H6
Add the SID of the H6. The efuse starts at 0x200 like on the other
64 bits SoCs and starts with the 16 bytes of the chip ID, which awg(4)
uses to create a MAC address when the firmware did not give it one.
The thermal sensor calibration data is not added, there is no driver
for the thermal sensors of the H6.
Tested on: H6
---
sys/arm/allwinner/aw_sid.c | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
diff --git a/sys/arm/allwinner/aw_sid.c b/sys/arm/allwinner/aw_sid.c
index c100ac2e9941..0e4549265790 100644
--- a/sys/arm/allwinner/aw_sid.c
+++ b/sys/arm/allwinner/aw_sid.c
@@ -169,6 +169,18 @@ static struct aw_sid_efuse h5_efuses[] = {
},
};
+static struct aw_sid_efuse h6_efuses[] = {
+ {
+ .name = "rootkey",
+ .desc = "Root Key or ChipID",
+ .base = EFUSE_OFFSET,
+ .offset = 0x00,
+ .size = 16,
+ .id = AW_SID_FUSE_ROOTKEY,
+ .public = true,
+ },
+};
+
static struct aw_sid_efuse h616_efuses[] = {
{
.name = "rootkey",
@@ -246,6 +258,11 @@ static const struct aw_sid_conf h5_conf = {
.nfuses = nitems(h5_efuses),
};
+static const struct aw_sid_conf h6_conf = {
+ .efuses = h6_efuses,
+ .nfuses = nitems(h6_efuses),
+};
+
static const struct aw_sid_conf h616_conf = {
.efuses = h616_efuses,
.nfuses = nitems(h616_efuses),
@@ -263,6 +280,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-h6-sid", (uintptr_t)&h6_conf},
{ "allwinner,sun50i-h616-sid", (uintptr_t)&h616_conf},
{ "allwinner,sun20i-d1-sid", (uintptr_t)&d1_conf},
{ NULL, 0 }