From patchwork Tue Apr 5 13:27:31 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guodong Xu X-Patchwork-Id: 8751671 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id B25609F336 for ; Tue, 5 Apr 2016 13:34:05 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id D6049203A0 for ; Tue, 5 Apr 2016 13:34:04 +0000 (UTC) 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.kernel.org (Postfix) with ESMTPS id F23CC200FF for ; Tue, 5 Apr 2016 13:34:02 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1anR5e-0004Xj-MJ; Tue, 05 Apr 2016 13:32:18 +0000 Received: from mail-pf0-x22c.google.com ([2607:f8b0:400e:c00::22c]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1anR4B-0003Ex-RV for linux-arm-kernel@lists.infradead.org; Tue, 05 Apr 2016 13:30:50 +0000 Received: by mail-pf0-x22c.google.com with SMTP id c20so11036618pfc.1 for ; Tue, 05 Apr 2016 06:30:27 -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=6LnTjUgFAgHH8oBhz0uonp3X/ezCbO+LBXpUMCV2Zjw=; b=HXt6SpFDgdYbJRO/ZMKfyv0rj19YuvxBYs0WAQttoB7vO/QPW9LEH3bUIr+5ema2to kjwqpOjUsdv+qLXmoQbeMPKjbKaobbBI6NcLo5MeTRCExCtFZzYCK4QoKB3hISCYcSrX pN88LV43m3cJW6xiWMDT8vmYL/0CRdgU22CLg= 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=6LnTjUgFAgHH8oBhz0uonp3X/ezCbO+LBXpUMCV2Zjw=; b=PFkhp9IR4ieOhw4Kf8xqyWq3R6canLCuzpcWuX1CSaFvns1C2Ku3yfaDfvoMTx7GqA YRGOTUTFyMAVU2X8I6eEbcgdKYt7uachMxGqFAkZO3wkA+qZYJPuLSIre710hU+0BRQn jCAxlZbcHuxgiaxSGLnaRgl01kwhlbI0VoF7+Ir8Vj8fkCnaF8j5wqUoEvNpSgm8u1MU FBtJtpGW3m9gZGrRuXSfGTUiplgKP+2blCxxi5Nd3OJzJIYXwNkpjp2Rk8Y/DB0rXisk WGwXvC57JmCR4XCMU8fM8eypBgdj0gT+sWxEFDXIZ8ZLGJ5Cz703gdjsDrPQGjaLgo8F qKUA== X-Gm-Message-State: AD7BkJI2xbH95QqhfF7MlkXFxAxmwNPnwmm35mLsIbEtNDqzbevzcXz4r/KZ/o3eOJKHNd1T X-Received: by 10.98.10.25 with SMTP id s25mr29205228pfi.158.1459863027268; Tue, 05 Apr 2016 06:30:27 -0700 (PDT) Received: from localhost.localdomain ([45.56.152.49]) by smtp.gmail.com with ESMTPSA id wh9sm8060481pab.8.2016.04.05.06.30.20 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 05 Apr 2016 06:30:26 -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 Subject: [PATCH v3 07/16] arm64: dts: add all hi6220 i2c nodes Date: Tue, 5 Apr 2016 21:27:31 +0800 Message-Id: <1459862860-9775-8-git-send-email-guodong.xu@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1459862860-9775-1-git-send-email-guodong.xu@linaro.org> References: <1459862860-9775-1-git-send-email-guodong.xu@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160405_063048_285751_1709A6C4 X-CRM114-Status: UNSURE ( 9.79 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.7 (--) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, kong.kongxinwei@hisilicon.com, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Chen Feng MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-5.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,RP_MATCHES_RCVD,T_DKIM_INVALID,UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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(+) diff --git a/arch/arm64/boot/dts/hisilicon/hi6220.dtsi b/arch/arm64/boot/dts/hisilicon/hi6220.dtsi index 8b74eeb..53b5b25 100644 --- a/arch/arm64/boot/dts/hisilicon/hi6220.dtsi +++ b/arch/arm64/boot/dts/hisilicon/hi6220.dtsi @@ -602,5 +602,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"; + }; }; };