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: 65084 Delivered-To: patch@linaro.org Received: by 10.112.199.169 with SMTP id jl9csp468016lbc; Tue, 5 Apr 2016 06:33:20 -0700 (PDT) X-Received: by 10.98.74.74 with SMTP id x71mr29770453pfa.25.1459863200251; Tue, 05 Apr 2016 06:33:20 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l5si33750782pfj.80.2016.04.05.06.33.19; Tue, 05 Apr 2016 06:33:20 -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 S933346AbcDENdS (ORCPT + 29 others); Tue, 5 Apr 2016 09:33:18 -0400 Received: from mail-pf0-f173.google.com ([209.85.192.173]:34849 "EHLO mail-pf0-f173.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933079AbcDENa2 (ORCPT ); Tue, 5 Apr 2016 09:30:28 -0400 Received: by mail-pf0-f173.google.com with SMTP id n1so11010751pfn.2 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=TIFFeselGGWcmY4hXmz0+JljXdbX7TB8XBOCqJKkvYY6mgl+95G4FNjLddfbN8uJQS SvK4ubUMezd/nylb8DXDRLacb2+wOHH4mXMKjp5tDEnfvcWLs31WDn+RRjNhj/FkpR3g H4BOm5M7yolo3sdM+/0tdg3r2pFq6HGmB/i1IXw43gquLTbdPkg0puDNHK8SR0uyCEdv HM8wUkgf5rYm/+MMgdFwYeemHHkNnDge4BHnn3Nm2ud/R/CqJ2UNfqqk4IPjGmmwVnjW 1IUnWOD17GvN0zvug4fCPjtiQ/Y8286ucZHabAR9uc6Xq516wghMyppTt0Pu2N9vmyRR Lmwg== X-Gm-Message-State: AD7BkJJcFLhcY9KiafSM6cy0eLabjjSf5QVA0/O0FBSNpQjk3SbGKZrWA8JobabX/b5RGis6 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 Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, kong.kongxinwei@hisilicon.com, Chen Feng 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> 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 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"; + }; }; };