From nobody Sat Feb 17 15:12:16 2024 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 4TcXN16ctDz5BFX1; Sat, 17 Feb 2024 15:12:17 +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 4TcXN116svz4XdJ; Sat, 17 Feb 2024 15:12:17 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1708182737; 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=y7/er6UhvarUWrZFLDU5avATaNXqZbshK6YuuhOMPbI=; b=Z7rRl/ba0TBjwYUPuYnOY425m7FV5SeauGe9EbmFyuKVyRa+DKdNchMfmMJOxYe8qBTrmU 8XEAR6AY7bGnwJMwy0hvN+9P6uO0xDrZC7Zhmqdo/Yd8C4LOKOwb9/gnIBVg1V+nyt0DOf 4LykepOiTnaUOcVPIf26MIBgrE+h2rfyNjh7fYDB6sbPg42MazrirS9gEA8JYhX8IZnxR9 j3TLSyqxs0yp47cCECHLpullpDzz16flEYXeSJb5A6xZMnWlm8zqFH9NiJltkWLZgbbZAI jwehdl4TjdTO4+jpAWE+mIMQAeN8ReFsP3tpt5HAI5VYWswlPwPYI/Iv91Hd6Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1708182737; 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=y7/er6UhvarUWrZFLDU5avATaNXqZbshK6YuuhOMPbI=; b=gO6/U/eedKcL5ay3ao/1ER0AaakeX0Vx/Pad2lSFGU4+7mh04RDDZuRJm++odUOIVhWmLP +xoDjUXvbsbSLmsuxFF3tG8H0l3R/aTVimvMj124BIm340yTtknTxEjxYbXDw/oPsGSGkV AQnZiaTUDTLoSC19bgIpWpsE407ppaqz9PCbDWexa0CZeeK6hAFgGzzoLJsTPgOywY5awM 0ltYzlRRWMFkA8e0WJ6rRZ5LKt5h2jwzNmX3dUFQPizr1MUXjlb7QB9yImWB07dZyZayIh ihDQQ2LW/1VMFaDvk0tL0EoChXqUFQ4/S++vD+FzTQWRYOognX4Vxpwz/+TkQg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1708182737; a=rsa-sha256; cv=none; b=udeDGYy3uKRBKViz5ClQMDpKM+Cjefen19YT+u81xSdw0o1Fbsi9EyF4hoZNCwBEDNv9a2 obAZiK8t8wNUlq2yvl3ERk8SIU3B8KxzGWdoWH3AVadYD9WAsU4utVefwHjCdj4VV78Prd kHdkJxcITxaLpvR9LzJxVvX3Ueac3HK6kX3TbLuQG3dzo6r6Dx6AnAYlFANfFuUxdVeHhn 6D0i18t5VigDPGZHa4l54q7cwCzjwyCEvphBdTY9tgOBTCIEaydXNst0JXAmGi8771kIBS A4ZmjRO8FreETheBt22nyGKez30CXQBSJtTBWBzhTcPua5kMl6zeOlFOjuapZQ== 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 4TcXN10DfGz1C98; Sat, 17 Feb 2024 15:12:17 +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 41HFCGBQ077135; Sat, 17 Feb 2024 15:12:16 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 41HFCG9S077132; Sat, 17 Feb 2024 15:12:16 GMT (envelope-from git) Date: Sat, 17 Feb 2024 15:12:16 GMT Message-Id: <202402171512.41HFCG9S077132@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Andriy Gapon Subject: git: 87a7011b0974 - stable/14 - add allwinner overlays for enabling additional USB ports List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@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/stable/14 X-Git-Reftype: branch X-Git-Commit: 87a7011b0974492c3244fbd97516c24de7f2755f Auto-Submitted: auto-generated The branch stable/14 has been updated by avg: URL: https://cgit.FreeBSD.org/src/commit/?id=87a7011b0974492c3244fbd97516c24de7f2755f commit 87a7011b0974492c3244fbd97516c24de7f2755f Author: Andriy Gapon AuthorDate: 2022-07-10 20:09:23 +0000 Commit: Andriy Gapon CommitDate: 2024-02-17 14:15:10 +0000 add allwinner overlays for enabling additional USB ports For instance, on NanoPi NEO two additional ports are available via a GPIO header. (cherry picked from commit 197944948e6229f625306f38403737ed723e544e) --- 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 \