From patchwork Tue Apr 12 23:55:43 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guodong Xu X-Patchwork-Id: 65665 Delivered-To: patch@linaro.org Received: by 10.140.93.198 with SMTP id d64csp2204548qge; Tue, 12 Apr 2016 16:58:15 -0700 (PDT) X-Received: by 10.66.102.70 with SMTP id fm6mr8460645pab.98.1460505495591; Tue, 12 Apr 2016 16:58:15 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id bl6si656262pad.91.2016.04.12.16.58.15; Tue, 12 Apr 2016 16:58:15 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-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 devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-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 S1030207AbcDLX6L (ORCPT + 7 others); Tue, 12 Apr 2016 19:58:11 -0400 Received: from mail-pf0-f178.google.com ([209.85.192.178]:34623 "EHLO mail-pf0-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1030206AbcDLX6J (ORCPT ); Tue, 12 Apr 2016 19:58:09 -0400 Received: by mail-pf0-f178.google.com with SMTP id c20so22864845pfc.1 for ; Tue, 12 Apr 2016 16:58:09 -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=R9yIvUSmNPHB5WLPK1H/JVkg/WJHiv6Q2q8Ylzm1XQg=; b=LckuddLl39CwPEuVRREKwcfabifvEuZLtzPVmucUUpqTUZTvkzLaTvl9JKg57m6D+V DIreORM5ZsmM4lmfecw0KEkVNQNfPOcQhW1AgIJVGSp6O1dTxp7iIJsc7uUyt1kbhDDD JH/JG56PhuIUc1+172asWnnR2A+9KDHVAunqk= 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=R9yIvUSmNPHB5WLPK1H/JVkg/WJHiv6Q2q8Ylzm1XQg=; b=HWEazMnU6TVPcdF2IZi4Nr7W3JdW0cnJb9vtkXwBB1UFSPluclnduX97q1EDOl0CiA Jpl4iH0SKVAQ2U+XQrDoTHa6jXVTMjzqi4Dwk1yFZJBvSbssWd0fhdRmPyeTWDwIpeRb EzLuBIJltUfgE7YKYvGYwsGutDWYsNupKLUplDEvF8vn/XwWktsW2Ya/n3RJPxx5bTl9 +SUjFlnCjzqg+YfOcplMwa3HXgm4VmGZW9gaAA0/WLDqpEUovDMvsyH08tVD1z7JowRf 4mmnDTMRl71yHJeggdFmLZoa5Y5SADPwkQVLS9adEMDqqwDNMLisz50bl3Q/6dw9K32X LFlg== X-Gm-Message-State: AOPr4FVzCOFqwaXcKKfp99yzP7x4H7OT9U/QZh9y74O3wBmBfa8IJ6lVcvyXwGMzJzBw9xAS X-Received: by 10.98.80.10 with SMTP id e10mr8510648pfb.141.1460505488689; Tue, 12 Apr 2016 16:58:08 -0700 (PDT) Received: from localhost.localdomain ([104.237.91.226]) by smtp.gmail.com with ESMTPSA id i1sm46165795pfj.17.2016.04.12.16.57.54 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 12 Apr 2016 16:58:08 -0700 (PDT) From: Guodong Xu To: xuwei5@hisilicon.com, robh+dt@kernel.org, pawel.moll@arm.com, mark.rutland@arm.com, ijc+devicetree@hellion.org.uk, galak@codeaurora.org, catalin.marinas@arm.com, will.deacon@arm.com, haojian.zhuang@linaro.org, linus.walleij@linaro.org, tony@atomide.com Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Xinwei Kong , Chen Feng Subject: [PATCH v4 07/16] arm64: dts: add all hi6220 i2c nodes Date: Wed, 13 Apr 2016 07:55:43 +0800 Message-Id: <1460505352-13157-8-git-send-email-guodong.xu@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1460505352-13157-1-git-send-email-guodong.xu@linaro.org> References: <1460505352-13157-1-git-send-email-guodong.xu@linaro.org> Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org From: Xinwei Kong This patch adds all I2C nodes for the Hi6220 SoC. This hi6220 Soc use this I2C IP of Synopsys Designware for HiKey board. Signed-off-by: Xinwei Kong Signed-off-by: Chen Feng Signed-off-by: Wei Xu --- arch/arm64/boot/dts/hisilicon/hi6220.dtsi | 33 +++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe devicetree" 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/arm64/boot/dts/hisilicon/hi6220.dtsi b/arch/arm64/boot/dts/hisilicon/hi6220.dtsi index 7bcfffe..4fc0347 100644 --- a/arch/arm64/boot/dts/hisilicon/hi6220.dtsi +++ b/arch/arm64/boot/dts/hisilicon/hi6220.dtsi @@ -582,5 +582,38 @@ cs-gpios = <&gpio6 2 0>; status = "disabled"; }; + + i2c0: i2c@f7100000 { + compatible = "snps,designware-i2c"; + reg = <0x0 0xf7100000 0x0 0x1000>; + interrupts = <0 44 4>; + clocks = <&sys_ctrl HI6220_I2C0_CLK>; + i2c-sda-hold-time-ns = <300>; + pinctrl-names = "default"; + pinctrl-0 = <&i2c0_pmx_func &i2c0_cfg_func>; + status = "disabled"; + }; + + i2c1: i2c@f7101000 { + compatible = "snps,designware-i2c"; + reg = <0x0 0xf7101000 0x0 0x1000>; + clocks = <&sys_ctrl HI6220_I2C1_CLK>; + interrupts = <0 45 4>; + i2c-sda-hold-time-ns = <300>; + pinctrl-names = "default"; + pinctrl-0 = <&i2c1_pmx_func &i2c1_cfg_func>; + status = "disabled"; + }; + + i2c2: i2c@f7102000 { + compatible = "snps,designware-i2c"; + reg = <0x0 0xf7102000 0x0 0x1000>; + clocks = <&sys_ctrl HI6220_I2C2_CLK>; + interrupts = <0 46 4>; + i2c-sda-hold-time-ns = <300>; + pinctrl-names = "default"; + pinctrl-0 = <&i2c2_pmx_func &i2c2_cfg_func>; + status = "disabled"; + }; }; };