From nobody Wed Feb 09 09:36:15 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 A974019C2D07; Wed, 9 Feb 2022 09:36:16 +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 4Jtvrv5D3fz4r0K; Wed, 9 Feb 2022 09:36:15 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1644399376; 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=ie+TkFFm42ygmCs9nAbnFcBmkuxclhfHrxuzrasSyRo=; b=LyMQc2dJplmOMEKGZUupWae/E6OqLkfDKQChYrH/Cgt+I9DDCK7kPamRG0EScITQ/Vupfp x8QosQgWtGCESr6Z373wdB5vCiLuyQjDJ5uWWvu4kWvQnppb+s2hO1AYMxdezlflBQO9Ux wtnyj9qXLl1Cbo2SzYdS6gaDbcKWO6gGcQi2WxKkq+DDMyJS1RjH2CUTNEohvMqbEijqsT fWXTBpdntEa0gvvbFGRkJho53m7qFPtfegHWdb426eIZVpi3bgq6IjcWMII/zJN2XqNgKq eTyA5lRgd+A7KnEadi79ztmNsp05oSYGCp3eow1xgW3P6H3mroi0pN1ZxAcMIg== 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 4BAA8274C; Wed, 9 Feb 2022 09:36:15 +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 2199aFq4090903; Wed, 9 Feb 2022 09:36:15 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2199aFH0090902; Wed, 9 Feb 2022 09:36:15 GMT (envelope-from git) Date: Wed, 9 Feb 2022 09:36:15 GMT Message-Id: <202202090936.2199aFH0090902@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: 0237541d1520 - stable/13 - add overlay for enabling i2c1 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: 0237541d1520e8c29127bca184589e60d7d5fad1 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1644399376; 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=ie+TkFFm42ygmCs9nAbnFcBmkuxclhfHrxuzrasSyRo=; b=c12Bnhpt6fYNvAEDbgecbZUOem3xG08IJlbHNEHPHXv3omaev3pVWISCgiveQWUnovDAJS KsRTXzJMx9H4WzN3DCA3FURlAHFpn96wLYTAu3DLzewjiZbm4hiDWSSPo2Pkrp/ttk9pbh fR5ApYZVNGEDK+Kj7z96gjDrwHesPvvCdRaBZQPmgkEPU0buW0J5Bj65Yk7apEI0wYKfyE YNkDeFDlHoGzu1SD1999JEVk9YHVewawDgnttOh+ZYCkLxEFq+BeTJmrKzg+OV2tOrSjah Ow2bzZyjJns09WzlBYjQaGf9mYSSxOGqQE1keN1gi4vo38uXHuf6p6DBogkGiQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1644399376; a=rsa-sha256; cv=none; b=jA/V8fjlHwWxmQNubWRyjUGfwptxaUFs9zMun+t3tsX2XyJDIcjLLXmXkTwAQJRjBr35sa s/MmjT0BGNo8Hg6tjVBEvdvyLDJmMjluu8GkePUGBeq+UGi+/XLsfKoSGmlDF/sPIBZBUj Xk4qjZj5OL/nDxA/jXs5RWWh5IcLAtr7U35CWvH7NxfggPTvRjTFfP2RDUUucRAZOGlEyl C61MilzLGZOpEN3uOFdbq1vJLwNsN4BuFtq9lLvA9IzyASnrufmVdO00xIzIjJ3deIjhXX FltV+gKtipXHqfGnTbRkFAik02zPaCF/eus0FQQb9DpYqlms0bMkJ/xiLRT0Jw== 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=0237541d1520e8c29127bca184589e60d7d5fad1 commit 0237541d1520e8c29127bca184589e60d7d5fad1 Author: Andriy Gapon AuthorDate: 2021-11-03 11:37:17 +0000 Commit: Andriy Gapon CommitDate: 2022-02-09 09:35:59 +0000 add overlay for enabling i2c1 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 a471646a0802344215cd2434fcf39997112b7958) --- sys/dts/arm/overlays/sun8i-h3-i2c1.dtso | 10 ++++++++++ sys/modules/dtb/allwinner/Makefile | 1 + 2 files changed, 11 insertions(+) diff --git a/sys/dts/arm/overlays/sun8i-h3-i2c1.dtso b/sys/dts/arm/overlays/sun8i-h3-i2c1.dtso new file mode 100644 index 000000000000..78c45005ee07 --- /dev/null +++ b/sys/dts/arm/overlays/sun8i-h3-i2c1.dtso @@ -0,0 +1,10 @@ +/dts-v1/; +/plugin/; + +/ { + compatible = "allwinner,sun8i-h3"; +}; + +&{/soc/i2c@1c2b000} { + status = "okay"; +}; diff --git a/sys/modules/dtb/allwinner/Makefile b/sys/modules/dtb/allwinner/Makefile index ecb006092892..f6b5aa54c04f 100644 --- a/sys/modules/dtb/allwinner/Makefile +++ b/sys/modules/dtb/allwinner/Makefile @@ -26,6 +26,7 @@ DTS= \ DTSO= sun8i-a83t-sid.dtso \ sun8i-h3-i2c0.dtso \ + sun8i-h3-i2c1.dtso \ sun8i-h3-mmc0-disable.dtso \ sun8i-h3-mmc1-disable.dtso \ sun8i-h3-mmc2-disable.dtso \