From patchwork Fri Nov 17 08:02:35 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yixun Lan X-Patchwork-Id: 10062415 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 2745D60230 for ; Fri, 17 Nov 2017 08:05:23 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 19B0B2AAA3 for ; Fri, 17 Nov 2017 08:05:23 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0E2442AAD0; Fri, 17 Nov 2017 08:05:23 +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=-4.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.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 C49102AAA3 for ; Fri, 17 Nov 2017 08:05:22 +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:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version: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=dg/oWQoLuNuCyjrto9rYvJcd3GF1v9M6ao6P3vGhXOU=; b=Zd7c7E79pAnyiW klBMZZn4FvOXPENcwzAJR1WpSxUC+SrVvwCxmUGo35Ebxo2ONstJiJcig+xH2dqtoX4wUmPTEHQ3U HXFNnoYQzDDWnMA0dowXda+kSamRXAqjmFtnR3Mddn/kzkTN4YYV8Sm4kpFXXVsuuIGKif6nUDG6d 65K+QJllCNXXtDW1iwLCVevZZefDUnlU+Ct3DgdH2hf1vGjRRoLLceqgWeYNGGDY2xceLQHoPICzX NRWr6rV/HEts9JeItuqpbuldAxGjFF805Tdd82AxSYjO0wveI53LfRqzGnRbi/yenteD3+I3MhijK /QeLxYd/nXzAC5Xs7p5A==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1eFbeF-0007S0-Pf; Fri, 17 Nov 2017 08:05:15 +0000 Received: from mail-sh2.amlogic.com ([58.32.228.45]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1eFbdJ-0005gb-1n; Fri, 17 Nov 2017 08:04:20 +0000 Received: from localhost.localdomain (10.18.20.164) by mail-sh2.amlogic.com (10.18.11.6) with Microsoft SMTP Server id 15.0.1320.4; Fri, 17 Nov 2017 16:02:34 +0800 From: Yixun Lan To: Wolfram Sang , Rob Herring , Mark Rutland , , , Kevin Hilman Subject: [PATCH 4/5] ARM64: dts: meson-axg: describe pin DT info for I2C controller Date: Fri, 17 Nov 2017 16:02:35 +0800 Message-ID: <20171117080236.32504-5-yixun.lan@amlogic.com> X-Mailer: git-send-email 2.15.0 In-Reply-To: <20171117080236.32504-1-yixun.lan@amlogic.com> References: <20171117080236.32504-1-yixun.lan@amlogic.com> MIME-Version: 1.0 X-Originating-IP: [10.18.20.164] X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20171117_000417_402860_6F95AE2D X-CRM114-Status: UNSURE ( 6.24 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Neil Armstrong , Yixun Lan , linux-kernel@vger.kernel.org, Jian Hu , Carlo Caione , linux-amlogic@lists.infradead.org, linux-arm-kernel@lists.infradead.org, Jerome Brunet Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+patchwork-linux-amlogic=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP From: Jian Hu Describe all the pin mux for the I2C controller which found in Meson-AXG SoC. Signed-off-by: Jian Hu Signed-off-by: Yixun Lan --- arch/arm64/boot/dts/amlogic/meson-axg.dtsi | 64 ++++++++++++++++++++++++++++++ 1 file changed, 64 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-axg.dtsi b/arch/arm64/boot/dts/amlogic/meson-axg.dtsi index 99e967aff439..edbfd6022078 100644 --- a/arch/arm64/boot/dts/amlogic/meson-axg.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-axg.dtsi @@ -304,6 +304,70 @@ function = "eth"; }; }; + + i2c_m0_pins: i2c_m0 { + mux { + groups = "i2c_sck_m0", + "i2c_sda_m0"; + function = "i2c_m0"; + }; + }; + + i2c_m1_z_pins: i2c_m1_z { + mux { + groups = "i2c_sck_m1_z", + "i2c_sda_m1_z"; + function = "i2c_m1"; + }; + }; + + i2c_m1_x_pins: i2c_m1_x { + mux { + groups = "i2c_sck_m1_x", + "i2c_sda_m1_x"; + function = "i2c_m1"; + }; + }; + + i2c_m2_x_pins: i2c_m2_x { + mux { + groups = "i2c_sck_m2_x", + "i2c_sda_m2_x"; + function = "i2c_m2"; + }; + }; + + i2c_m2_a_pins: i2c_m2_a { + mux { + groups = "i2c_sck_m2_a", + "i2c_sda_m2_a"; + function = "i2c_m2"; + }; + }; + + i2c_m3_a6_pins: i2c_m3_a6 { + mux { + groups = "i2c_sda_m3_a6", + "i2c_sck_m3_a7"; + function = "i2c_m3"; + }; + }; + + i2c_m3_a12_pins: i2c_m3_a12 { + mux { + groups = "i2c_sda_m3_a12", + "i2c_sck_m3_a13"; + function = "i2c_m3"; + }; + }; + + i2c_m3_a19_pins: i2c_m3_a19 { + mux { + groups = "i2c_sda_m3_a19", + "i2c_sck_m3_a20"; + function = "i2c_m3"; + }; + }; }; };