From patchwork Wed Mar 23 19:48:10 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivas Kandagatla X-Patchwork-Id: 64272 Delivered-To: patch@linaro.org Received: by 10.112.199.169 with SMTP id jl9csp232857lbc; Wed, 23 Mar 2016 12:48:31 -0700 (PDT) X-Received: by 10.98.67.199 with SMTP id l68mr6785661pfi.18.1458762503788; Wed, 23 Mar 2016 12:48:23 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n63si6303060pfj.185.2016.03.23.12.48.23; Wed, 23 Mar 2016 12:48:23 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932795AbcCWTsS (ORCPT + 29 others); Wed, 23 Mar 2016 15:48:18 -0400 Received: from mail-wm0-f51.google.com ([74.125.82.51]:35262 "EHLO mail-wm0-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756707AbcCWTsO (ORCPT ); Wed, 23 Mar 2016 15:48:14 -0400 Received: by mail-wm0-f51.google.com with SMTP id l68so210349652wml.0 for ; Wed, 23 Mar 2016 12:48:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=+AYO58eoPSTZKLf2rJxCXhEZiS/Gwib3UBBmcQxn/oY=; b=cTvPfZp8aDqiSStM6iWtEbmBKFeTsg9crLWCdGeiaoKlnRYCFbxqta85iW/3ro75wq W7tiCz5LyPwt8tDce5c/M0z30Nw38MBA3f4c7hNQn/kQaQ1mTqpVF8cwJh7+hn/3ImK9 urFnyKsJK4AvULtBLMj9HtdAVbpXF2dnO26Z8= 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=+AYO58eoPSTZKLf2rJxCXhEZiS/Gwib3UBBmcQxn/oY=; b=debm9ZPHq9zbqcAZ8MtVqexksTKjhuRYwiyOwZ1inJkNQQgA9IlGLXd6xqJ0x+w7Mu AIH4EScqHOGoxglsXiLj9OrhqWCiHZYThUpmYhQjgq6roKlDN4pBuIHi0+IWLhkOmwLe es68KRexILyjskF6SHlqjZlTOndFQhKjS550EHMSiAghj9EOBk2WvATRmu4rrYOn5Ozp UiYrHSaXfmhWHdq3pfCMw6uSErzjjOpxX3EvNBMWglVmvQLIF5Q2YW3ze/8fgRunS1Wp 5GMaGEURq7O94Rgatdq3b/A4c9nIF/e3r30CjnmPU4150Xh3ILD6gEB7drvzwc1fFaMB XsAQ== X-Gm-Message-State: AD7BkJJaFgPXhUPslOXCDI+H67No4W/PqjT2GEhCdpm0rTM6r9dzTJ+gUpvQTvLi6+1eeWWW X-Received: by 10.28.53.134 with SMTP id c128mr28565098wma.10.1458762493177; Wed, 23 Mar 2016 12:48:13 -0700 (PDT) Received: from localhost.localdomain (host-92-17-247-99.as13285.net. [92.17.247.99]) by smtp.gmail.com with ESMTPSA id w203sm4430780wmg.14.2016.03.23.12.48.12 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 23 Mar 2016 12:48:12 -0700 (PDT) From: Srinivas Kandagatla To: Andy Gross , linux-arm-msm@vger.kernel.org Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-soc@vger.kernel.org, Srinivas Kandagatla Subject: [PATCH 11/12] ARM: dts: dragonboard-600c: add i2c support Date: Wed, 23 Mar 2016 19:48:10 +0000 Message-Id: <1458762490-9814-1-git-send-email-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 2.5.0 In-Reply-To: <1458762366-9233-1-git-send-email-srinivas.kandagatla@linaro.org> References: <1458762366-9233-1-git-send-email-srinivas.kandagatla@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch adds nodes required to enable 4 i2c buses on the board which are connected to various sensors and eeprom. Signed-off-by: Srinivas Kandagatla --- .../arm/boot/dts/qcom-apq8064-dragonboard-600c.dts | 46 ++++++++++++++++++++++ 1 file changed, 46 insertions(+) -- 2.5.0 diff --git a/arch/arm/boot/dts/qcom-apq8064-dragonboard-600c.dts b/arch/arm/boot/dts/qcom-apq8064-dragonboard-600c.dts index 4fecd94..942de04 100644 --- a/arch/arm/boot/dts/qcom-apq8064-dragonboard-600c.dts +++ b/arch/arm/boot/dts/qcom-apq8064-dragonboard-600c.dts @@ -8,6 +8,10 @@ aliases { serial0 = &gsbi7_serial; serial1 = &gsbi1_serial; + i2c0 = &gsbi2_i2c; + i2c1 = &gsbi3_i2c; + i2c2 = &gsbi4_i2c; + i2c3 = &gsbi7_i2c; }; regulators { @@ -180,6 +184,42 @@ }; }; + gsbi@12480000 { + status = "okay"; + qcom,mode = ; + i2c@124a0000 { + /* On Low speed expansion and Sensors */ + label = "LS-I2C0"; + status = "okay"; + }; + }; + + gsbi@16200000 { + status = "okay"; + qcom,mode = ; + i2c@16280000 { + /* On Low speed expansion */ + status = "okay"; + label = "LS-I2C1"; + clock-frequency = <200000>; + eeprom@52 { + compatible = "atmel,24c128"; + reg = <0x52>; + pagesize = <64>; + }; + }; + }; + + gsbi@16300000 { + status = "okay"; + qcom,mode = ; + i2c@16380000 { + /* On High speed expansion */ + label = "HS-CAM-I2C3"; + status = "okay"; + }; + }; + /* DEBUG UART */ gsbi@16600000 { status = "okay"; @@ -190,6 +230,12 @@ pinctrl-names = "default"; pinctrl-0 = <&gsbi7_uart_2pins>; }; + + i2c@16680000 { + /* On High speed expansion */ + status = "okay"; + label = "HS-CAM-I2C2"; + }; }; leds {