From patchwork Sat Apr 2 09:29:34 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guodong Xu X-Patchwork-Id: 64918 Delivered-To: patch@linaro.org Received: by 10.112.199.169 with SMTP id jl9csp250486lbc; Sat, 2 Apr 2016 02:31:22 -0700 (PDT) X-Received: by 10.98.67.67 with SMTP id q64mr5005853pfa.44.1459589481769; Sat, 02 Apr 2016 02:31:21 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m76si26695560pfj.133.2016.04.02.02.31.21; Sat, 02 Apr 2016 02:31:21 -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; dmarc=pass (p=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753574AbcDBJbK (ORCPT + 29 others); Sat, 2 Apr 2016 05:31:10 -0400 Received: from mail-pa0-f46.google.com ([209.85.220.46]:36711 "EHLO mail-pa0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753320AbcDBJbH (ORCPT ); Sat, 2 Apr 2016 05:31:07 -0400 Received: by mail-pa0-f46.google.com with SMTP id tt10so108466131pab.3 for ; Sat, 02 Apr 2016 02:31:06 -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=CWJzTrGkLey26UUOhAt/Tddp4Iu1MYgnoDSt8NW5Nw8=; b=SB9ThlZDBDwBKHiaUWRIy28z6Vx72t7+VO48P7u7dmmDrT7u9zDQcuVKwDMrucTZlN SiEQJE/hDaKPdan6mY3CTFDpKiMUBU5sFvrCO8VIcVfhNKfXAwRmoQ9Ya93qstfOroQf XikolBtmkeLQle45HOx/DKMQlcsvs5gDE+eEw= 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=CWJzTrGkLey26UUOhAt/Tddp4Iu1MYgnoDSt8NW5Nw8=; b=el2IryMsckUBjF+rD7AHW1U4WQ8kAOtKUH5e4HdZxyRw4tiR6MXAoF3810e32qsMSx XYV2q0c+l+/ZMTdCgXmpIazcQS6CcB2EC+I2TzpFEnbijkHeHPL884jQgtF+/X/TUlZB Xu/Q/1HzPJqo2zJHbqs/vJgIqTFuNJEohySuGsTzxrrgQZ5k1PvFTk39BFOEQy7t+pAT 1mbrHclOs421sGmaISW+yw3yeX6M7HNd1ROWLW2cy31fdKmI4MDFUuI5ZiuYjGEt0cLF YCaXeG6UopxZWAv+OToIOm1fgkH3W8H1uagssO+bh7NMfm4Htg2vB7ue+V9gRXj7INRu hh7g== X-Gm-Message-State: AD7BkJK6zC8wZiMK90w5bC4zSYu9WSce5r9CHXrwdNtftipkG6oBQjvOwl42rEpo0UX5e+R7 X-Received: by 10.66.193.131 with SMTP id ho3mr37083350pac.154.1459589466459; Sat, 02 Apr 2016 02:31:06 -0700 (PDT) Received: from localhost.localdomain ([104.237.91.92]) by smtp.gmail.com with ESMTPSA id i9sm25425804pfi.95.2016.04.02.02.30.59 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 02 Apr 2016 02:31:05 -0700 (PDT) From: Guodong Xu To: xuwei5@hisilicon.com, mark.rutland@arm.com, robh@kernel.org, grant.likely@secretlab.ca, linus.walleij@linaro.org, arnd.bergmann@linaro.org Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, kong.kongxinwei@hisilicon.com, Chen Feng Subject: [PATCH v2 07/16] arm64: dts: add all hi6220 i2c nodes Date: Sat, 2 Apr 2016 17:29:34 +0800 Message-Id: <1459589383-16914-8-git-send-email-guodong.xu@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1459589383-16914-1-git-send-email-guodong.xu@linaro.org> References: <1459589383-16914-1-git-send-email-guodong.xu@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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 diff --git a/arch/arm64/boot/dts/hisilicon/hi6220.dtsi b/arch/arm64/boot/dts/hisilicon/hi6220.dtsi index dcca83b..664cc7a 100644 --- a/arch/arm64/boot/dts/hisilicon/hi6220.dtsi +++ b/arch/arm64/boot/dts/hisilicon/hi6220.dtsi @@ -600,5 +600,38 @@ cs-gpios = <&gpio6 2 0>; status = "ok"; }; + + 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"; + }; }; };