From patchwork Fri Aug 16 06:47:08 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bhushan Shah X-Patchwork-Id: 11096841 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id C52D814F7 for ; Fri, 16 Aug 2019 06:48:24 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B27B5289D1 for ; Fri, 16 Aug 2019 06:48:24 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A67D5289D4; Fri, 16 Aug 2019 06:48:24 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 5E42B289D1 for ; Fri, 16 Aug 2019 06:48:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=uOTz05O/Fq9qlQb+cxHn0FWNSHhDwfi2R18ZyvhUQtU=; b=B8f14Yn/gVQfH6rQyc2ZzNVX2R Iu8fHox/vmaq7S2Qi4dkDtjojj0ohWF+31mwuP8nel1Lsawc7GIjtOh0+xSZX+iqCaCapss/1OI1+ iMIafbETTczXTiHoWBcjD9fbMk8C/8auqZY7tLvreKSwnbrgA9IxDXHXw1TnDac6trf2Gsh2/gUII ugTVbqrwhYN/SYVovLcfSC9Ck5TFb6eodmSHEKbcmKvPCwhEZhWmbGEeV/2mYMyTo9m3Q58L1qjwu R6AKp4SKALyc6vciLGMNtld7MgD5NzHcFtIo66yIvVlZCXHZolvpgWxxD6n3LB0v1D5JA637uF108 7zhnkeiQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1hyW2B-0005jy-SO; Fri, 16 Aug 2019 06:48:23 +0000 Received: from letterbox.kde.org ([2001:41c9:1:41e::242]) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1hyW1d-0005IF-7W for linux-arm-kernel@lists.infradead.org; Fri, 16 Aug 2019 06:47:50 +0000 Received: from archbox.localdomain (unknown [123.201.155.129]) (Authenticated sender: bshah) by letterbox.kde.org (Postfix) with ESMTPSA id EF95728AB08; Fri, 16 Aug 2019 07:47:40 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kde.org; s=users; t=1565938061; bh=+KZNkFmTsqn+l4u0Fc+nIo6LZ5lfXPcfahH2Jdhx5FM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ivFNdZWovpDuJwjgy3lvrhtJwogU7xZ7Khokimt/BJ34wMRZDIqKPg4UPzySyjysd tBLwqPnJII0n6SRoFKN3wTQkIvRW/3qcVns7pZh0x5D3DGyY3zxc5nFSpvXzkJQjRn fpZ7Dnnj7iTBqpuL7ArunIiRWEM6YPFKS2bHiO4HE4z5ygndwJp4nUq90kRtU4iGTi mhdDSmRXEo+GFwVF/pGF7PqDtfKyXRxbgC75ngV47hfKJX4P6xFMdsHR9R5w88MX9B 6TMjH1+7N1laHg/oapxqzmPB0qxXG5FISSecSiLmu2DCd7Lnny6yvt2NfFVbAAg7/N eTNhMT7DkFsVg== From: Bhushan Shah To: Icenowy Zheng , Rob Herring , Mark Rutland , Maxime Ripard , Chen-Yu Tsai , Wolfram Sang , Gregory CLEMENT , linux-i2c@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH v2 1/3] dt-bindings: i2c: mv64xxx: Add compatible for the H6 i2c node. Date: Fri, 16 Aug 2019 12:17:08 +0530 Message-Id: <20190816064710.18280-2-bshah@kde.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190816064710.18280-1-bshah@kde.org> References: <20190811090503.32396-1-bshah@kde.org> <20190816064710.18280-1-bshah@kde.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190815_234749_402053_9DBFC5AA X-CRM114-Status: UNSURE ( 8.51 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Bhushan Shah MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Allwinner H6 have a mv64xxx i2c interface available to be used. Signed-off-by: Bhushan Shah --- Documentation/devicetree/bindings/i2c/marvell,mv64xxx-i2c.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/i2c/marvell,mv64xxx-i2c.yaml b/Documentation/devicetree/bindings/i2c/marvell,mv64xxx-i2c.yaml index 001f2b7abad0..c779000515d6 100644 --- a/Documentation/devicetree/bindings/i2c/marvell,mv64xxx-i2c.yaml +++ b/Documentation/devicetree/bindings/i2c/marvell,mv64xxx-i2c.yaml @@ -26,6 +26,9 @@ properties: - items: - const: allwinner,sun50i-a64-i2c - const: allwinner,sun6i-a31-i2c + - items: + - const: allwinner,sun50i-h6-i2c + - const: allwinner,sun6i-a31-i2c - const: marvell,mv64xxx-i2c - const: marvell,mv78230-i2c From patchwork Fri Aug 16 06:47:09 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bhushan Shah X-Patchwork-Id: 11096843 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 07A6914F7 for ; Fri, 16 Aug 2019 06:48:44 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E7F5F289D1 for ; Fri, 16 Aug 2019 06:48:43 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id DB388289D4; Fri, 16 Aug 2019 06:48:43 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id D2834289D1 for ; Fri, 16 Aug 2019 06:48:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=VHa4un9yIMQZIA88MFpkhN1G3lPbhIZnUcleSw4D1pU=; b=jglbfyS9+IFcJ6vpQmRZWVN824 AB6iKbHwsxbGZ7gqu6Z13J+8CC2P0bc8NKEoWZTIvAJdWCYcW+XHmREPUwLQ8YqHe7pL35HXL/7t8 jt/Mycc18JCXwUYMHOY0UKmbXgnFn4VZMueTsdHihlT0Ibj8hnFkwk30v6Ch7K75es7963KsQ1oJL V7mRNP6GDJJb+L7PO+pxEmf+2RpPSSu7RnrvKTLw6MwRqVPIGPWM60Up5Pr0ECRD//S6DPIrFOIjW Lx4Ra9gk9B9rNo9gA7AnbmDhuV16q+/0mnJWK/9bEUzgLc8peFjxvhWxy4Nuhzf6dncsWGV19gbYo Brurflqg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1hyW2U-0005y8-6S; Fri, 16 Aug 2019 06:48:42 +0000 Received: from letterbox.kde.org ([46.43.1.242]) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1hyW1g-0005IJ-Vc for linux-arm-kernel@lists.infradead.org; Fri, 16 Aug 2019 06:47:55 +0000 Received: from archbox.localdomain (unknown [123.201.155.129]) (Authenticated sender: bshah) by letterbox.kde.org (Postfix) with ESMTPSA id C95EB28ACD4; Fri, 16 Aug 2019 07:47:43 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kde.org; s=users; t=1565938064; bh=py1ztBn1XdaocFAZ/o0HlkGN6xIaCjB2FLD7M888Jkk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=JaQk3ITDsZkYq2OpOByS+hSpWW9YsIUsCPTu4TYHzjHOhWoEEOJROZ5IK1qRXqon2 6B9Ry20VIHjpEiVvf+X06/0NulBmv++Ff+Rw3hL/qZXXbdmDf048smKlpi4yxmT/KL /qOGkGFgiHkZVgHRysRt0UwC20jMTxgjgw5XAXwCjxTCI7axv3Xrza9HzLqpaShVv8 pNgUENFIlRb1bTmLOXfreflwxDh9L1XJSEIq1wn2AYkA5g+F7zgWe6Q3UFoUVe21aE gTSgu/CcHgAILH+2LW6a7f0WZo/+NggvPjgkQ7KwX/Sacp7RMDg8I4AFyY1OjAlf6W RABa+edqPLCTg== From: Bhushan Shah To: Icenowy Zheng , Rob Herring , Mark Rutland , Maxime Ripard , Chen-Yu Tsai , Wolfram Sang , Gregory CLEMENT , linux-i2c@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH v2 2/3] arm64: allwinner: h6: add I2C nodes Date: Fri, 16 Aug 2019 12:17:09 +0530 Message-Id: <20190816064710.18280-3-bshah@kde.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190816064710.18280-1-bshah@kde.org> References: <20190811090503.32396-1-bshah@kde.org> <20190816064710.18280-1-bshah@kde.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190815_234753_469031_16930964 X-CRM114-Status: GOOD ( 10.56 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Bhushan Shah MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Add device-tree nodes for i2c0 to i2c2, and also add relevant pinctrl nodes. Suggested-by: Icenowy Zheng Signed-off-by: Bhushan Shah --- Changes in v2: - Add the SoC specific compatible string instead of re-using a31 one. arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi | 56 +++++++++++++++++++- 1 file changed, 55 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi index bcecca17d61d..a1a329926540 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi +++ b/arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi @@ -329,6 +329,21 @@ function = "hdmi"; }; + i2c0_pins: i2c0-pins { + pins = "PD25", "PD26"; + function = "i2c0"; + }; + + i2c1_pins: i2c1-pins { + pins = "PH5", "PH6"; + function = "i2c1"; + }; + + i2c2_pins: i2c2-pins { + pins = "PD23", "PD24"; + function = "i2c2"; + }; + mmc0_pins: mmc0-pins { pins = "PF0", "PF1", "PF2", "PF3", "PF4", "PF5"; @@ -464,6 +479,45 @@ status = "disabled"; }; + i2c0: i2c@5002000 { + compatible = "allwinner,sun50i-h6-i2c"; + reg = <0x05002000 0x400>; + interrupts = ; + clocks = <&ccu CLK_BUS_I2C0>; + resets = <&ccu RST_BUS_I2C0>; + pinctrl-names = "default"; + pinctrl-0 = <&i2c0_pins>; + status = "disabled"; + #address-cells = <1>; + #size-cells = <0>; + }; + + i2c1: i2c@5002400 { + compatible = "allwinner,sun50i-h6-i2c"; + reg = <0x05002400 0x400>; + interrupts = ; + clocks = <&ccu CLK_BUS_I2C1>; + resets = <&ccu RST_BUS_I2C1>; + pinctrl-names = "default"; + pinctrl-0 = <&i2c1_pins>; + status = "disabled"; + #address-cells = <1>; + #size-cells = <0>; + }; + + i2c2: i2c@5002800 { + compatible = "allwinner,sun50i-h6-i2c"; + reg = <0x05002800 0x400>; + interrupts = ; + clocks = <&ccu CLK_BUS_I2C2>; + resets = <&ccu RST_BUS_I2C2>; + pinctrl-names = "default"; + pinctrl-0 = <&i2c2_pins>; + status = "disabled"; + #address-cells = <1>; + #size-cells = <0>; + }; + emac: ethernet@5020000 { compatible = "allwinner,sun50i-h6-emac", "allwinner,sun50i-a64-emac"; @@ -795,7 +849,7 @@ }; r_i2c: i2c@7081400 { - compatible = "allwinner,sun6i-a31-i2c"; + compatible = "allwinner,sun50i-h6-i2c"; reg = <0x07081400 0x400>; interrupts = ; clocks = <&r_ccu CLK_R_APB2_I2C>; From patchwork Fri Aug 16 06:47:10 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bhushan Shah X-Patchwork-Id: 11096839 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 8DAD51398 for ; Fri, 16 Aug 2019 06:48:08 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7B1A5289D2 for ; Fri, 16 Aug 2019 06:48:08 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6EFF1289D6; Fri, 16 Aug 2019 06:48:08 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 1F930289D2 for ; Fri, 16 Aug 2019 06:48:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=YyQwY+wW0vCbFNyV+j7JvFarIBoL6W10YlnYR/6HiLU=; b=AyqlcfNAEe7LEAxj/Pa7WMSmsj DWvWWccxAIg8lGIac0h/RHgEEqrYS+jzYNcEatii5clOLE8XMP7g0AGwrAgYtePDiQIciQnLH0rqG r/QY58nMWzrSMkoA6dF+g81n4pxBj1O8+sv6h86BkCTuWb9vEW0+KGTcBDTWA/h7ZKFsoMKu6KV9r 5+PYIKpSmXHZUshF0l2KR9YT5oGNjPabDYTlK26Y14ak/MzxH/Fi414/X8Z14dHLwsZkIW1M4zRi0 deCqqkvqtsxEz5Mpvku816Wkg7zdjEfd5T65VZYPgzjDuV4DFCqPTEjJq0ujfWl14reJ/APw5Kjlb VdzhYXPw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1hyW1v-0005UY-L4; Fri, 16 Aug 2019 06:48:07 +0000 Received: from letterbox.kde.org ([2001:41c9:1:41e::242]) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1hyW1c-0005IK-Ef for linux-arm-kernel@lists.infradead.org; Fri, 16 Aug 2019 06:47:49 +0000 Received: from archbox.localdomain (unknown [123.201.155.129]) (Authenticated sender: bshah) by letterbox.kde.org (Postfix) with ESMTPSA id AED5128ACF1; Fri, 16 Aug 2019 07:47:46 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kde.org; s=users; t=1565938067; bh=ePjvQ8ajgrtxUHMFSOWhNNhVxI+y1Eg4fcjki3juWZg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=nQqTnRjC/rPiFnACpoHJbEsxdIP3/KJtCoYYqAVhn1JemXcnRWlJ5Db2qrdvCIR6d ABYLnRY7ayDaAe/ygo5IgrK/xmlpnBZyN3FKBDbThd7YhdwLKmLNQaAXBFEPBKF6Dv k8CXqC8vwQkwfp+7qRsgWqGR8YVYs8EGK22AIUWEWv6P4X05euOSriRv8M2aPcVXzn M0ZHpO2Jjn6IoSDVW1ciEedk1IW0/Hvk24V/p91BUwsYtBmTjeq2GadQt80lkkCqxm JzUBeMVZRXLS1+7xdkTjf0YFrreE5njql+/30QxR68nNTCE9rHNwrxfpxjz4z1G7CA gzw/SXslRGUSg== From: Bhushan Shah To: Icenowy Zheng , Rob Herring , Mark Rutland , Maxime Ripard , Chen-Yu Tsai , Wolfram Sang , Gregory CLEMENT , linux-i2c@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH v2 3/3] arm64: allwinner: h6: add i2c0 node in PineH64 Date: Fri, 16 Aug 2019 12:17:10 +0530 Message-Id: <20190816064710.18280-4-bshah@kde.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190816064710.18280-1-bshah@kde.org> References: <20190811090503.32396-1-bshah@kde.org> <20190816064710.18280-1-bshah@kde.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190815_234748_624669_B962343D X-CRM114-Status: UNSURE ( 8.69 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Bhushan Shah MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP i2c0 bus is exposed by PI-2 BUS in the PineH64, model B. Signed-off-by: Bhushan Shah --- Changes in v2: - Don't enable the i2c0 node in PineH64 by default arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64.dts | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64.dts b/arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64.dts index 684d1daa3081..97d9b7c63fb3 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64.dts +++ b/arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64.dts @@ -160,6 +160,15 @@ vcc-pg-supply = <®_aldo1>; }; +/* This i2c interface is exposed on PI-2 BUS, Pin 3 (I2C_SDA) and 5 (I2C_SCL) */ +&i2c0 { + status = "disabled"; +}; + +&i2c0_pins { + bias-pull-up; +}; + &r_i2c { status = "okay";