From nobody Sun Jan 28 11:14:03 2024 X-Original-To: dev-commits-src-main@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 4TN82N3WfJz58NG0; Sun, 28 Jan 2024 11:14:04 +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 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TN82N1jWRz4h4j; Sun, 28 Jan 2024 11:14:04 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1706440444; 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=SWIAigasrJoLebQ1rtHVNc5Id9EqivXN5rkJhNEGURs=; b=skfv1z7vljCo8OekwK9qFuPjZiDUnBy3albZBsQ8It1A26KEuHrPaCdzVRHQ0wPFX/yvKO NzpKP+C9UndcyMDsar/O6SW5VQ6UEsvOkKIT3cI/X+bjO8OLKT5L83igrNpkDs6/Zhvryi 7laMTuiKTn+hR14yA+tNM49pT2wW4DuYE65jFL5PGx4BfzLgO49JOY3e5IePqjRbQhkBHi cDGur6NFXPyQgCVf8Jh/MBfwe38/g0Tnbr4aw7kt7psct+xpYFBca60xGhFnaOHcvcGF4y i3FQaH4sLtmDEPNYfmjz9DcEeNWMqIOPQ0nhb5GfJ641YRfoQGwsIm4qf6xZgQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1706440444; 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=SWIAigasrJoLebQ1rtHVNc5Id9EqivXN5rkJhNEGURs=; b=tWkpJofKTqlV80uWIKjh/1tBNeX8z5O3tIxXg8WFrx+zYe7nAN8yK893lDz8LnSrEuPNbM KIti8mH5CeT4on+4QWNfRGJnvrT4QHkM54y1vDVV3+B5P318yBBVDNsr35NDqaVtyt4rQG EhdUAgIuJFGr1t/s6804jVn4iD5RmG4V2L290up/igXmoAxt7Fa1TyaGhXAUPjoQh21nEj fIEOfxHCVRIGv4ZQtyGTnB4cVYsEWdFiEy7iC6IdWJ4Ezafhh/YDpBcBiSG3P0tlFK+TGp JCw9RkEkNJGLO0C/nCm6Rsn50IujNQM9NoAV3UpJ+4n47Opq6o3fh1OB3f+y2w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1706440444; a=rsa-sha256; cv=none; b=OXMQOt2F6PO+S7Q2dhPQ0Hb0iNdxn/zrU8cVI4IYKROYGlZft8Pl+wd5gIZG32HE6Gx8yM 4nTbYNEtIc9z+lIGhBko9t0T9jh2+HmR7RwDOQxwqhfhLA5NX9eUUU9wN6p4yVdWwUd7XW yVnzhaBCacqvi5HPy3HHEtqOUxIQ3y/fLl1vI4MQDeJz0K9tUpqtLvQPT6fg3pT5HaE6zm 6Wvwjnza3qabWI7UkN/rgf5vCCO7wDiwKjhKcXp8EjbPjr+SjGp5rUDAtcvSKRyjbdYc0f 3nq9X7RYP802xjyvrXGRmYf00HYRB/nkj2i0GWTh0t/mbwyXknwfczpwm1qvxA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4TN82N0VgZz15GB; Sun, 28 Jan 2024 11:14:04 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 40SBE3hM036394; Sun, 28 Jan 2024 11:14:03 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 40SBE3Pp036390; Sun, 28 Jan 2024 11:14:03 GMT (envelope-from git) Date: Sun, 28 Jan 2024 11:14:03 GMT Message-Id: <202401281114.40SBE3Pp036390@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Andriy Gapon Subject: git: 197944948e62 - main - add allwinner overlays for enabling additional USB ports List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: avg X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 197944948e6229f625306f38403737ed723e544e Auto-Submitted: auto-generated The branch main has been updated by avg: URL: https://cgit.FreeBSD.org/src/commit/?id=197944948e6229f625306f38403737ed723e544e commit 197944948e6229f625306f38403737ed723e544e Author: Andriy Gapon AuthorDate: 2022-07-10 20:09:23 +0000 Commit: Andriy Gapon CommitDate: 2024-01-28 11:12:39 +0000 add allwinner overlays for enabling additional USB ports For instance, on NanoPi NEO two additional ports are available via a GPIO header. --- sys/dts/arm/overlays/sun8i-h3-usb1.dtso | 14 ++++++++++++++ sys/dts/arm/overlays/sun8i-h3-usb2.dtso | 14 ++++++++++++++ sys/modules/dtb/allwinner/Makefile | 4 +++- 3 files changed, 31 insertions(+), 1 deletion(-) diff --git a/sys/dts/arm/overlays/sun8i-h3-usb1.dtso b/sys/dts/arm/overlays/sun8i-h3-usb1.dtso new file mode 100644 index 000000000000..247faa370a14 --- /dev/null +++ b/sys/dts/arm/overlays/sun8i-h3-usb1.dtso @@ -0,0 +1,14 @@ +/dts-v1/; +/plugin/; + +/ { + compatible = "allwinner,sun8i-h3"; +}; + +&{/soc/usb@1c1b000} { + status = "okay"; +}; + +&{/soc/usb@1c1b400} { + status = "okay"; +}; diff --git a/sys/dts/arm/overlays/sun8i-h3-usb2.dtso b/sys/dts/arm/overlays/sun8i-h3-usb2.dtso new file mode 100644 index 000000000000..02533289e3dc --- /dev/null +++ b/sys/dts/arm/overlays/sun8i-h3-usb2.dtso @@ -0,0 +1,14 @@ +/dts-v1/; +/plugin/; + +/ { + compatible = "allwinner,sun8i-h3"; +}; + +&{/soc/usb@1c1c000} { + status = "okay"; +}; + +&{/soc/usb@1c1c400} { + status = "okay"; +}; diff --git a/sys/modules/dtb/allwinner/Makefile b/sys/modules/dtb/allwinner/Makefile index 524636e380d6..f04be9ca0dc9 100644 --- a/sys/modules/dtb/allwinner/Makefile +++ b/sys/modules/dtb/allwinner/Makefile @@ -29,7 +29,9 @@ DTSO= sun8i-a83t-sid.dtso \ sun8i-h3-mmc0-disable.dtso \ sun8i-h3-mmc1-disable.dtso \ sun8i-h3-mmc2-disable.dtso \ - sun8i-h3-spi0.dtso + sun8i-h3-spi0.dtso \ + sun8i-h3-usb1.dtso \ + sun8i-h3-usb2.dtso LINKS= \ ${DTBDIR}/sun4i-a10-cubieboard.dtb ${DTBDIR}/cubieboard.dtb \