From nobody Wed Feb 09 09:36:11 2022 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 6E36719C2C1D; Wed, 9 Feb 2022 09:36:12 +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 4Jtvrr12nfz4rDK; Wed, 9 Feb 2022 09:36:12 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1644399372; 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=KrtVyXx/5WLUVBzcghMwp1immPtgjThyx93nr/9ZlCA=; b=nlbegeNhKlMTZfLuNq3hLAq068fDKZx//3twkfNh7iWQvLwt4RLzx3Dhw06FPEtQerSOgs Ah1G6xiflatwvax6APJrkMJeGm4Gs/thXPap2q5PB4DhUc+qcHMMFMHJpr/De5kgqwkp+h 3hY6orThIMVqhA/6Xm/srl12XqExEHYOYyzkyDtz7DEjiscXd+EsotaRa+sZmbSiKL2adU 9lWjLVvzCPxFMWD+Ge9WKYrhV32oNbNbBqjA+Ej1kghsbTlz6WZWJqy5Pm8+rVheTyIwet g4eJUKXg/y8bsOsdp/SBbR+xLMHiYf5PAY9+Dmz8Ojb/iD0iaadttZsn7om9CA== 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 EFC5E2B7A; Wed, 9 Feb 2022 09:36:11 +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 2199aBM3090829; Wed, 9 Feb 2022 09:36:11 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2199aBxq090828; Wed, 9 Feb 2022 09:36:11 GMT (envelope-from git) Date: Wed, 9 Feb 2022 09:36:11 GMT Message-Id: <202202090936.2199aBxq090828@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: b4a16940b909 - stable/13 - add overlay for enabling i2c0 on rk3328 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: b4a16940b909657c8cf97edf13c8adba5be52ae5 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1644399372; 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=KrtVyXx/5WLUVBzcghMwp1immPtgjThyx93nr/9ZlCA=; b=kkBWqhh7Ub6bAcTfjGI7A3JcN07lyC1oS/VpHlRy6HSJgvz64hRiukBbT2Ed5s/iimJFfT 8kFNSqkPruKc3k8mvWL/EHTFw0eYlvmvEjtGk4+dTxaTfxefqiG9PAgFepmOTqryEWx+cC 0N3rIaZlYzfVogeSsuHZdBaDl4mS7fr+H4QQu1OI7MozeNttvMTvRK26tPIzFka3zDU3Nv RdqXEYPenE52bgARKlI+FJU0V6JAyvqWQPN4l5bvB9luG3RXOjngjlx7o9K/j8iIMhfWEi bykJRwLngaf0D5zR/8QxiQiZS8Gbu23RdQu7sWDHKSaS1jlS0yd0y3D3C6MP+w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1644399372; a=rsa-sha256; cv=none; b=SDSrS+PAOc2ZnYsBqw7VoaWi8I/I5cLYpUNos17IxO4ktTuh/0oReeEY+Vpj87PvNmLNxj tD9KFcyoRo5SNBaO3wJs3C7HLUUAgyK5lrK/43ki4VM06vACuPm5oX01/EgnLAs6Lhm08o IjTV9zo13Pr6SgGDPidLK5kVHE1yBbX46DKao95F1YWRozqikCP7Ztay+nspu/uYtTX+bN 4VbGqbhwu+ueoNVunThUsCyPYoqiBM65zdzf/fCpMbo8Hn8csDFWNywSmzE2OQqXdf8u6I trvu8BK+yAJ2UoqQX5scE/uHTj+UJ3nBmjPwqNlaVNgX6gfmnkdKff4o4kYNJA== 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=b4a16940b909657c8cf97edf13c8adba5be52ae5 commit b4a16940b909657c8cf97edf13c8adba5be52ae5 Author: Andriy Gapon AuthorDate: 2021-11-26 16:30:08 +0000 Commit: Andriy Gapon CommitDate: 2022-02-09 09:34:58 +0000 add overlay for enabling i2c0 on rk3328 On Rock64 it is routed to pins 3 and 5 of the so called Pi-2 header. (cherry picked from commit f41f98f0f07c45555c380e9c72c3208696621d98) --- sys/dts/arm64/overlays/rk3328-i2c0.dtso | 12 ++++++++++++ sys/modules/dtb/rockchip/Makefile | 1 + 2 files changed, 13 insertions(+) diff --git a/sys/dts/arm64/overlays/rk3328-i2c0.dtso b/sys/dts/arm64/overlays/rk3328-i2c0.dtso new file mode 100644 index 000000000000..13703b2bc1f4 --- /dev/null +++ b/sys/dts/arm64/overlays/rk3328-i2c0.dtso @@ -0,0 +1,12 @@ +/dts-v1/; +/plugin/; + +/ { + compatible = "rockchip,rk3328"; +}; + +&{/i2c@ff150000} { + status = "okay"; +}; + +/* vim: set ft=dts: */ diff --git a/sys/modules/dtb/rockchip/Makefile b/sys/modules/dtb/rockchip/Makefile index 7722a56df023..4cea836e010a 100644 --- a/sys/modules/dtb/rockchip/Makefile +++ b/sys/modules/dtb/rockchip/Makefile @@ -16,6 +16,7 @@ DTS= \ rockchip/rk3399-rockpro64.dts DTSO= rk3328-analog-sound.dtso \ + rk3328-i2c0.dtso \ rk3328-dwc3.dtso \ rk3399-mmc0-disable.dtso \ rk3399-mmc1-disable.dtso \