From nobody Wed Feb 09 09:36:14 2022 X-Original-To: dev-commits-src-branches@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 7623919C25DA; Wed, 9 Feb 2022 09:36:15 +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 4Jtvrt6J25z4qxV; Wed, 9 Feb 2022 09:36:14 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1644399375; 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=oFSxvWIVE+aTeUbaPuAKOn/ZpyjLh4CRnYI5bMcUf7U=; b=vYv4+5qU59+h2AXUKCf4Sa3+wkpVkVDFoj74pnH0VQmtKroRLBGfFCOEBn40ZEFoSqIABR V9mEHr0SyKEynlaLYVk1CZB0M5gQ14E6KqUC+8wSsOMkGOVOjZW3ZWLKRNaNnVnSKO9EhG VFejJP5Bk3jWkRqbspBMswtH/KwaG8OiCCm/u/Z9N/s5x7HAGlKXxxJ9Z4dVwLJhqtNpYg 5MXRhpI3ZpmxuuyGlsJwhANCv0AoZgSHYMD72MQIsSElHllPLCfd6j2jOduVhiQoRZhkOy N8KTXLZrWy51gFa1/dTFPDd2qboOBIjRIP7+mLmhio+JNMfPcsKxDAX/a0d9cw== 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 39EDA2ADE; Wed, 9 Feb 2022 09:36:14 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 2199aEHv090877; Wed, 9 Feb 2022 09:36:14 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2199aENQ090876; Wed, 9 Feb 2022 09:36:14 GMT (envelope-from git) Date: Wed, 9 Feb 2022 09:36:14 GMT Message-Id: <202202090936.2199aENQ090876@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: b8db946c3b44 - stable/13 - add overlay for enabling spi0 on allwinner h3 List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-branches@freebsd.org X-BeenThere: dev-commits-src-branches@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: b8db946c3b4498d9d2b22d3cd184b2c5033ade73 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1644399375; 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=oFSxvWIVE+aTeUbaPuAKOn/ZpyjLh4CRnYI5bMcUf7U=; b=viHZsb2z9GWeBFdJAgx7DbIsWd3YHs8hRj1uZR2FlYeu/SsW+JrJxojGB/8SDZgKpt5oB7 ewsnkfXwjkKiY1fOoK17iuZugNFoZITRAVqcLbdp5JlQ5KwvI0b08le+GvIlT/i1eRrPTE Ow5VChyZp/GpawzveNE5BcKePnVgQDC2+d2ZlfpT4QanI+hfw+vU1qB17t+LU1KlkO1790 lAymh9tkFEMuIRnfDh3OaAVYKh+Mx9BBNjxy8vSgpnqO/e7Gy287zct6lmzFfCYQg+1yaE wPivBgGxU0aBi4mp7rarX3elCM2qES6WrXs7U84HJucli/E7jUEPbcMwHkTTAw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1644399375; a=rsa-sha256; cv=none; b=xMhG0XuKtUOLyFEjiJvwqNkxoYwQm+DpLenXnU7MOJ4rBb9WSCNIOt9yL7JrcaAKt4mw/D vSel26Bvq8EkL5e2ejisTEZWzU2IYdcZq0WJobJMeuXB+kOXF54EgOvM78/IofjF+oP4Bz 6vNRvVxCyiCMuEH0+/bxmXnBPgn1XqbfcNMur+mGhQo5HEPY2recVJQr1GragpNfOV02Ar p4aOssbNUYfGoPInHn55Ec30mElClkybMuqWHWkbTQLXmhIZFv2NKYV8vgQPl9HNCRGjwm q2ucVh22b2fgNNhW+BukMWGTZmwEXRZF/2JqoxPcE9wiWw5y8jdnf1k583Z/kw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by avg: URL: https://cgit.FreeBSD.org/src/commit/?id=b8db946c3b4498d9d2b22d3cd184b2c5033ade73 commit b8db946c3b4498d9d2b22d3cd184b2c5033ade73 Author: Andriy Gapon AuthorDate: 2021-11-24 16:36:34 +0000 Commit: Andriy Gapon CommitDate: 2022-02-09 09:35:39 +0000 add overlay for enabling spi0 on allwinner h3 At least on Orange Pi PC Plus it is routed to the 40-pin header, so it can used to communicate with external devices. (cherry picked from commit f4a041af299c5faa4cb37eca9fc25b31259fe893) --- sys/dts/arm/overlays/sun8i-h3-spi0.dtso | 10 ++++++++++ sys/modules/dtb/allwinner/Makefile | 3 ++- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/sys/dts/arm/overlays/sun8i-h3-spi0.dtso b/sys/dts/arm/overlays/sun8i-h3-spi0.dtso new file mode 100644 index 000000000000..c0e79da15e1b --- /dev/null +++ b/sys/dts/arm/overlays/sun8i-h3-spi0.dtso @@ -0,0 +1,10 @@ +/dts-v1/; +/plugin/; + +/ { + compatible = "allwinner,sun8i-h3"; +}; + +&{/soc/spi@1c68000} { + status = "okay"; +}; diff --git a/sys/modules/dtb/allwinner/Makefile b/sys/modules/dtb/allwinner/Makefile index fe3dccc7fd91..ecb006092892 100644 --- a/sys/modules/dtb/allwinner/Makefile +++ b/sys/modules/dtb/allwinner/Makefile @@ -28,7 +28,8 @@ DTSO= sun8i-a83t-sid.dtso \ sun8i-h3-i2c0.dtso \ sun8i-h3-mmc0-disable.dtso \ sun8i-h3-mmc1-disable.dtso \ - sun8i-h3-mmc2-disable.dtso + sun8i-h3-mmc2-disable.dtso \ + sun8i-h3-spi0.dtso LINKS= \ ${DTBDIR}/sun4i-a10-cubieboard.dtb ${DTBDIR}/cubieboard.dtb \