From patchwork Tue Apr 12 09:34:00 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivas Kandagatla X-Patchwork-Id: 65606 Delivered-To: patch@linaro.org Received: by 10.140.93.198 with SMTP id d64csp1814686qge; Tue, 12 Apr 2016 02:35:59 -0700 (PDT) X-Received: by 10.98.64.132 with SMTP id f4mr3288239pfd.146.1460453758575; Tue, 12 Apr 2016 02:35:58 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 70si9036716pfs.142.2016.04.12.02.35.58; Tue, 12 Apr 2016 02:35:58 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org; spf=pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=fail (p=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756650AbcDLJfA (ORCPT + 8 others); Tue, 12 Apr 2016 05:35:00 -0400 Received: from mail-wm0-f49.google.com ([74.125.82.49]:38076 "EHLO mail-wm0-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756636AbcDLJe4 (ORCPT ); Tue, 12 Apr 2016 05:34:56 -0400 Received: by mail-wm0-f49.google.com with SMTP id u206so19889500wme.1 for ; Tue, 12 Apr 2016 02:34:50 -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=99D7y+joeVj5MErh6XgpnWPqS3Bw5rcR//OJb9KrYfo=; b=AR353UhBQtDgFFA9E9xUKwFykxagzV7ifmWPFMKZqqYr4sNRF6Ju+GbsvAMgEYczAQ tkojZu+u+gtjjLdzhPIvUued3OsfiCxpODh3ZDfEGpArBYw+2qCF6rrdhTzDoq7fs0V4 70qzeMg+X9MZl4EOtHr1DE8m27XaUqkKHGO4A= 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=99D7y+joeVj5MErh6XgpnWPqS3Bw5rcR//OJb9KrYfo=; b=T4SJRAsLuWjGlVyKY6mwFGfOQrikt/ciE1aQkUwrJ8L57p+EmpYwCqNBzNIup6P2vl rr9zPfJ9AdU81cPXJoLvScELTAGu8pcfjBDX2jghQMvfe376PWmpMrZXKPqmMqk33MwG HKGHDBV9GrMxASVs+VDNvJcd/kKYikhXysfVpzHtjeYrBVxcHT7dGCz0jrmIK0BNPb65 gynyjn4ZhaFXoDOwebPppbRuJGUJpO5Jvi+vSUJUtV559FeqDxdU96MIqInkGnr48Ol+ UCrEJXZ+V+fwbjej/1Pquto3IT2qYOAe9VJCgShPhA6iemA30JTDEfvy+6iq9ARIGwzh h5pg== X-Gm-Message-State: AOPr4FWvMkDcvyGu+DcuOfYVybraLdBPnQLcGXx8VJlXLLlXPTnMYf/Pt6BJpi5nt3rAO1Qt X-Received: by 10.194.6.225 with SMTP id e1mr2664160wja.152.1460453690134; Tue, 12 Apr 2016 02:34:50 -0700 (PDT) Received: from localhost.localdomain (host-92-17-247-99.as13285.net. [92.17.247.99]) by smtp.gmail.com with ESMTPSA id gt7sm32431907wjc.1.2016.04.12.02.34.49 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 12 Apr 2016 02:34:49 -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@linaro.org Subject: [PATCH v2 11/13] ARM: dts: db600c: add i2c support Date: Tue, 12 Apr 2016 10:34:00 +0100 Message-Id: <1460453642-5809-12-git-send-email-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 2.5.0 In-Reply-To: <1460453642-5809-1-git-send-email-srinivas.kandagatla@linaro.org> References: <1460453642-5809-1-git-send-email-srinivas.kandagatla@linaro.org> Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@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 --- arch/arm/boot/dts/qcom-apq8064-arrow-db600c.dts | 46 +++++++++++++++++++++++++ 1 file changed, 46 insertions(+) -- 2.5.0 -- To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/arch/arm/boot/dts/qcom-apq8064-arrow-db600c.dts b/arch/arm/boot/dts/qcom-apq8064-arrow-db600c.dts index 8c18a4b..2f0dfff 100644 --- a/arch/arm/boot/dts/qcom-apq8064-arrow-db600c.dts +++ b/arch/arm/boot/dts/qcom-apq8064-arrow-db600c.dts @@ -9,6 +9,10 @@ aliases { serial0 = &gsbi7_serial; serial1 = &gsbi1_serial; + i2c0 = &gsbi2_i2c; + i2c1 = &gsbi3_i2c; + i2c2 = &gsbi4_i2c; + i2c3 = &gsbi7_i2c; }; regulators { @@ -141,6 +145,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"; @@ -151,6 +191,12 @@ pinctrl-names = "default"; pinctrl-0 = <&gsbi7_uart_2pins>; }; + + i2c@16680000 { + /* On High speed expansion */ + status = "okay"; + label = "HS-CAM-I2C2"; + }; }; leds {