From patchwork Wed Sep 14 10:06:08 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Brunet X-Patchwork-Id: 9331111 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 D225B6077F for ; Wed, 14 Sep 2016 10:09:07 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C335529C38 for ; Wed, 14 Sep 2016 10:09:07 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B7FD329C3F; Wed, 14 Sep 2016 10:09:07 +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.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id CE6F129C38 for ; Wed, 14 Sep 2016 10:09:05 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1bk77l-00087t-Ck; Wed, 14 Sep 2016 10:09:01 +0000 Received: from mail-wm0-x236.google.com ([2a00:1450:400c:c09::236]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bk75j-0007Qo-KD for linux-amlogic@lists.infradead.org; Wed, 14 Sep 2016 10:06:56 +0000 Received: by mail-wm0-x236.google.com with SMTP id c131so20396763wmh.0 for ; Wed, 14 Sep 2016 03:06:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=7AuLxlj6zWCorJHFWclLYKS0GysJ7Dlt/ddR0BT2boA=; b=nPOlnbHWrb6huM0bI7SSm2OELDHlQPTA4vhz64dhQXZWCnfUy4/AQCW7WpueUb19I6 ckKcFGpk6HAMGWiWk0Yxzhlzt5pfh4od84X4N6lVEhgFmw9/XVFXZRnE1gOKr4ZAQz3R EHOcNxsfCuxKL4VTDwpKkGPweUQdMB4/4yulryVM5ygNlWwRGznFqErpkJuqzl/1pI7E H2FVDNgsNwbYo6oG2AvNF/Qa+VHx39BviuKgg72CpdRR2HBKzgqxsuPelKJ0tCzb2UMm FTmdQCGwCVEdNLLKaamvclMFnEmyjj9UyAwlDpoH5/IYZeoqfbzLDzgb06/a0D1L77Sp WFAQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=7AuLxlj6zWCorJHFWclLYKS0GysJ7Dlt/ddR0BT2boA=; b=O2pqUoxgKk5HkbNAlcDQD6R980SlyiexKrwzG1ZzPGw6/Ugd1zNlEfUKrwPNoDymdO +DgRn9DxFSvY+1slFlhWNJn2Poo60Abw5BJ97dZyIdIC6eFYsAvJnWnzaLNecYSHW9Y9 qVXB4bv47ngZYjr5VLfUor/sfS8ofZOZis6XKl8dvvUoea4wrfvHNB+Oc/dWp+QfZhaD T34tfX+AlafjzHRT3LVAxtDXwEFEUJtpFNzHKLytc93LvDWDtgyrL/c85kXLWaq4LsHd T3UxPB/tj1zy9GIGjLk69yBkYRigy77qp6l/LQWB5MePsX54yymH17iqwT7JzvtLzQeW yowA== X-Gm-Message-State: AE9vXwPlj9fLjcSkAy4voNjKq1zggDsDUKMp0JryzUjrgRcRV9nNFpnEss5c3sf5iiyYlQK1 X-Received: by 10.28.127.209 with SMTP id a200mr2360676wmd.99.1473847592140; Wed, 14 Sep 2016 03:06:32 -0700 (PDT) Received: from mogwai.baylibre.com ([90.63.244.31]) by smtp.googlemail.com with ESMTPSA id gg10sm3396266wjd.4.2016.09.14.03.06.31 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 14 Sep 2016 03:06:31 -0700 (PDT) From: Jerome Brunet To: Kevin Hilman , Carlo Caione , devicetree@vger.kernel.org Subject: [PATCH 4/4] ARM64: dts: gxbb: add i2c bus Date: Wed, 14 Sep 2016 12:06:08 +0200 Message-Id: <1473847568-20163-5-git-send-email-jbrunet@baylibre.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1473847568-20163-1-git-send-email-jbrunet@baylibre.com> References: <1473847568-20163-1-git-send-email-jbrunet@baylibre.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160914_030655_869413_81257093 X-CRM114-Status: UNSURE ( 6.91 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-amlogic@lists.infradead.org, Neil Armstrong , linux-arm-kernel@lists.infradead.org, Jerome Brunet MIME-Version: 1.0 Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+patchwork-linux-amlogic=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Add nodes for i2c bus on gxbb based platforms. On the OdroidC2 (I2C A) and P200 (I2C B), the pull-up resistor are present directly on the board. This indicates that these pins are dedicated to i2c. Signed-off-by: Jerome Brunet --- arch/arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts | 6 ++++++ arch/arm64/boot/dts/amlogic/meson-gxbb-p200.dts | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts b/arch/arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts index 4f1554a27422..c6d78d3a018f 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts +++ b/arch/arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts @@ -180,3 +180,9 @@ vmmc-supply = <&vcc3v3>; vqmmc-supply = <&vcc1v8>; }; + +&i2c_A { + status = "okay"; + pinctrl-0 = <&i2c_a_pins>; + pinctrl-names = "default"; +}; diff --git a/arch/arm64/boot/dts/amlogic/meson-gxbb-p200.dts b/arch/arm64/boot/dts/amlogic/meson-gxbb-p200.dts index 62979076e250..03e3d76626dd 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gxbb-p200.dts +++ b/arch/arm64/boot/dts/amlogic/meson-gxbb-p200.dts @@ -50,3 +50,9 @@ compatible = "amlogic,p200", "amlogic,meson-gxbb"; model = "Amlogic Meson GXBB P200 Development Board"; }; + +&i2c_B { + status = "okay"; + pinctrl-0 = <&i2c_b_pins>; + pinctrl-names = "default"; +};