From nobody Fri Nov 13 11:17:33 2026 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4jQvqd3rldz70NDZ for ; Fri, 13 Nov 2026 11:17:33 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 4jQvqd2RlMz4LGF for ; Fri, 13 Nov 2026 11:17:33 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1794568653; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=V18triZi1J2XjcF5nonzCTRge8fBUgeV5D2RSeZA4Gs=; b=vzzDvmyff3S+dH0xx/G/cSVAq206QNxv7hU80OmsJzGHK6BPAlqtixMbw9OfOpgtr2so4W EYj7lrAwrqu90XBI5GJvWvJh64RHC0RvtbHzkfjK2QuvsxnHHgcG3we2Z7ixdRgu/41RXF UpgOVroiVVEtB4TT6l+eeg7TEaH/yKwuFJym9PeVfB5d3dE++KxQhV0l+krWxWWXFrf1/O EKRNkxVNynj5NiHaObDqh3gBFMY+dteOKgxnScdymhNgUEcaz5K6puz+lMlBeUI9eKFyvt HjkBFbsufFMR7/Xg9AHil4X52Ld3/G8sa1v0JRxnrqmO0QE1v1PTrvCDOP5Hcw== ARC-Seal: i=1; a=rsa-sha256; d=freebsd.org; s=dkim; cv=none; t=1794568653; b=IC31eipPt2Q/HzROsYtn4dKcwCarLnDelv4LeZIxNtLksnmClnZDu4KZ+VA9lk1e1Vuisp K+XYtwzujOAzYNO7uWIq1fTd6w/1+YMDMkfZ333fQl294TbVQfZ9AFM6BTgi4VHZxQAA7I DE5G/4OrxYJoUk4KUX9jGM7mtuyZaC/AM7zUBHnjXw2nPsReQzWWIupsdwy8qxB9ZCvuZd b2QBjRiQwAMf8SxWxNfMZF/021tYHGCoJrn01Iva7EksRlDn7mn+DsnyZhome9luJS2+Kn CpxaWWhqp6GX+7oKY8X+QaPcT+1JuStmauoHp1nlmiOfxtinSY+v7Q8EA6NieA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1794568653; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=V18triZi1J2XjcF5nonzCTRge8fBUgeV5D2RSeZA4Gs=; b=YPTQwdSM03/QeT/U8+oIhCFuF+8FVl+y/RsEJfnw/vhrEnrr3jycOXPqxvV7fgPoSIO2Dq yzL+eoi574yF0MM6luMXCs83jd+wR9VL48pH19WXJZ2kGTm9LD0qESDwjYSLIsPt5ZbEcZ qW+b0rW14c/I7r5BkzTu2VSOortJa/Hyut/I/WwLVqssw6/6S6HeDNmnMDt8Sjr+U+Z6/o LAbmpejBClTbQbYsipVnTF9h7tdLkvuiZGMmHatRR1zNCpDQaQrDurfp0upu5mK7vHFPSn HVdEsvXdgpdkb9mDT1gUk2nMhdIopO+o2MtZJjgBZ+7/WTBL/HgSkDeQE+kWfg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4jQvqd26H0zXsb for ; Fri, 13 Nov 2026 11:17:33 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 12552 by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Fri, 13 Nov 2026 11:17:33 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Emmanuel Vadot Subject: git: 64abec2e5862 - main - aw_sid: Add support for the H6 List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all X-BeenThere: dev-commits-src-all@freebsd.org List-Id: Commit messages for all branches of the src repository List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: manu X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 64abec2e5862bdc3c28f44a0b5defbcc5c6a54ae Auto-Submitted: auto-generated Date: Fri, 13 Nov 2026 11:17:33 +0000 Message-Id: <6af6f1cd.12552.3ec0510b@gitrepo.freebsd.org> The branch main has been updated by manu: URL: https://cgit.FreeBSD.org/src/commit/?id=64abec2e5862bdc3c28f44a0b5defbcc5c6a54ae commit 64abec2e5862bdc3c28f44a0b5defbcc5c6a54ae Author: Emmanuel Vadot AuthorDate: 2026-11-13 09:06:33 +0000 Commit: Emmanuel Vadot 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 }