From nobody Sat Feb 17 19:22:31 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 4Tcdwm2Lypz53xrq; Sat, 17 Feb 2024 19:22:32 +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 4Tcdwl6hvnz4FV5; Sat, 17 Feb 2024 19:22:31 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1708197752; 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=5OIVGoyNodAP19UqfZ1IaDUneQFsKv0EpHw7xPAAQN8=; b=mwHvYtt7m0Uhg6/+2WFcF5d+aeMAgEi3UWsi2WPN9IvPBgk5XFqrgUstxyoMwV2GfqJ2Ws Y+uOaJmvsuLCh1UW2MQZJ9jxHZ7KW+rGAtRP3Xb+RU+n1WpVI5JxYxvfKEcyiBt/0Mb+JN Bt7mMYxfi3RIzwZz0hWZ7kwmN1jQ+ltyUEIK0jzATyRR76ecf8rPoAwkPMo6AafSOwAz6e fRuBpbZpIpuJ0UiCOOXF7kMcHI2fnoM5fBD0AuFcFXEKNcpXLH5E8f7ci5FHN5oEWV2kOb VphQ5oaVyw2kTH+tQPVyki45QPOb6aHCQCxRNBZlW30U3cJwaFl1RejV8z3PXw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1708197752; 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=5OIVGoyNodAP19UqfZ1IaDUneQFsKv0EpHw7xPAAQN8=; b=RfwZY94dSQe1/sI+Y1wLPXZ5ib+DNZP6RZOdDX44s0LmLVxsSuieAp8KbdIfV4c3Gw43gW 4m3O1ZrCQUE56ccVcQQaYbJ6iqYK/lnrihhrFCVe4ON0C29v8nFE6Q8XTCPqJu95pfEK66 yAyE4GXWp7O4AWlLANKleKb2OW39oAfU6lJvQTh1apxE4zb0WZzbsn/aKefZ388HgeBIFm fXCRh2JdM8fwNV6Fkp4XTtKagR3gzmZ++XkmoeRHYWFSNcAJ4XwD0/TOrVsw35ZRMUNvdn WqeSGJb9vS86kxlBoyii21ygGuhFW4Um0r1hleu3lhji0jJ4eH1+21f8Z2n1EA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1708197752; a=rsa-sha256; cv=none; b=b6OxMqiHMwNZ3/D+BAPy2JaxOaW2/wUDsHmcrELsfXcOUtli0EZPDqArgsc3R7jlJ2opMv Ryk2n9dpxVGT1VEtbSoAHqcB3xnjOHXcJmGdw6TB8nN7hhU/FKIn2gR1hijxAWYTTtdIno JlyfkRqR62hJmQojYef1iWedqBBZAO1SCXxXuKLQ98/IogZjS1dMhDRZgbv2CnGEDwc2fv QKcpug/YPh6M89xXxNw180IkrPE9PjaRh0yjG9te3idxatGKBkC5Hgg1cyh/wQDnM+/c72 fDJ6GeD1RZwmvAxzEhcGv+LGAmY2lIxUn3lbZaJKwERHiNbXsvPXj8r4pp6qkg== 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 4Tcdwl5gjGzKvV; Sat, 17 Feb 2024 19:22:31 +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 41HJMVBc000355; Sat, 17 Feb 2024 19:22:31 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 41HJMVEp000352; Sat, 17 Feb 2024 19:22:31 GMT (envelope-from git) Date: Sat, 17 Feb 2024 19:22:31 GMT Message-Id: <202402171922.41HJMVEp000352@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: bad04f1ebc3a - stable/13 - 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/13 X-Git-Reftype: branch X-Git-Commit: bad04f1ebc3a3a979535a53ee109ede94b636aa9 Auto-Submitted: auto-generated The branch stable/13 has been updated by avg: URL: https://cgit.FreeBSD.org/src/commit/?id=bad04f1ebc3a3a979535a53ee109ede94b636aa9 commit bad04f1ebc3a3a979535a53ee109ede94b636aa9 Author: Andriy Gapon AuthorDate: 2022-07-10 20:09:23 +0000 Commit: Andriy Gapon CommitDate: 2024-02-17 19:22:08 +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 517c1028d12b..c4a48addef14 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 \