From patchwork Tue Sep 30 12:20:28 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zhangfei Gao X-Patchwork-Id: 38137 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-lb0-f200.google.com (mail-lb0-f200.google.com [209.85.217.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 7FEFA2032C for ; Tue, 30 Sep 2014 12:20:56 +0000 (UTC) Received: by mail-lb0-f200.google.com with SMTP id n15sf5507520lbi.7 for ; Tue, 30 Sep 2014 05:20:55 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=vp/uga84tyYjXUCZrYBkJD6F7YandbgfWJzDqB+pii4=; b=NZsigWO5haksZ62fFjLIyEtgQNl4U3AMT2BJScEhPUGBJ3vZ2lqu88Pl9APfzuINAY ylH5z6Fl4kNEbWGxKIOYyZvP6vMo/OzKLJe4DFppi5dY6xPDAFkdMM5FpwyanOPb76rH A7zha6/2loOSKHAimBiRIXXZ1CuQZr/IFC1T3VdciKtT0MBJiRHsrpBB5pdebmM9bJ3a fUbJNxDAOsHs3et3CRZf32DLDSECQJC90mOjHRFSDoYBcaDed4cee6KAJJMwQ0MY3ZAG d68zeqYS7NdcQXfo0CFHCMxL5pYThPSwnnFR+PRFghRebuWnp6DOPQBEckK2iIjJr0yW FPDQ== X-Gm-Message-State: ALoCoQmzKJU+eL84Qj/ZjCfJjlMwniG2FG+gQXiel96mDiSigGMqYPWKRUsGxKAie/tlIeIhk8XE X-Received: by 10.112.151.3 with SMTP id um3mr442568lbb.15.1412079655253; Tue, 30 Sep 2014 05:20:55 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.7.41 with SMTP id g9ls32640laa.93.gmail; Tue, 30 Sep 2014 05:20:55 -0700 (PDT) X-Received: by 10.152.19.225 with SMTP id i1mr46855262lae.21.1412079655111; Tue, 30 Sep 2014 05:20:55 -0700 (PDT) Received: from mail-la0-f44.google.com (mail-la0-f44.google.com [209.85.215.44]) by mx.google.com with ESMTPS id s1si22421943lag.123.2014.09.30.05.20.55 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 30 Sep 2014 05:20:55 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.44 as permitted sender) client-ip=209.85.215.44; Received: by mail-la0-f44.google.com with SMTP id gi9so9729329lab.17 for ; Tue, 30 Sep 2014 05:20:54 -0700 (PDT) X-Received: by 10.152.5.168 with SMTP id t8mr46353561lat.67.1412079654401; Tue, 30 Sep 2014 05:20:54 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.130.169 with SMTP id of9csp334971lbb; Tue, 30 Sep 2014 05:20:53 -0700 (PDT) X-Received: by 10.66.235.8 with SMTP id ui8mr12886041pac.63.1412079652558; Tue, 30 Sep 2014 05:20:52 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id ra9si26869271pbc.54.2014.09.30.05.20.51 for ; Tue, 30 Sep 2014 05:20:52 -0700 (PDT) Received-SPF: none (google.com: linux-i2c-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751844AbaI3MUv (ORCPT + 1 other); Tue, 30 Sep 2014 08:20:51 -0400 Received: from mail-pa0-f41.google.com ([209.85.220.41]:43871 "EHLO mail-pa0-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751448AbaI3MUu (ORCPT ); Tue, 30 Sep 2014 08:20:50 -0400 Received: by mail-pa0-f41.google.com with SMTP id eu11so4084374pac.28 for ; Tue, 30 Sep 2014 05:20:50 -0700 (PDT) X-Received: by 10.68.224.99 with SMTP id rb3mr70319179pbc.115.1412079650156; Tue, 30 Sep 2014 05:20:50 -0700 (PDT) Received: from localhost.localdomain ([180.150.157.4]) by mx.google.com with ESMTPSA id db2sm15062087pbc.16.2014.09.30.05.20.46 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 30 Sep 2014 05:20:49 -0700 (PDT) From: Zhangfei Gao To: Wolfram Sang , Arnd Bergmann , haifeng.yan@linaro.org, jchxue@gmail.com, xuwei5@hisilicon.com Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-i2c@vger.kernel.org, Zhangfei Gao Subject: [PATCH v3 3/3] ARM: dts: hix5hd2: add i2c node Date: Tue, 30 Sep 2014 20:20:28 +0800 Message-Id: <1412079628-6316-4-git-send-email-zhangfei.gao@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1412079628-6316-1-git-send-email-zhangfei.gao@linaro.org> References: <1412079628-6316-1-git-send-email-zhangfei.gao@linaro.org> Sender: linux-i2c-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-i2c@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: zhangfei.gao@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.44 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Signed-off-by: Zhangfei Gao --- arch/arm/boot/dts/hisi-x5hd2.dtsi | 60 +++++++++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) diff --git a/arch/arm/boot/dts/hisi-x5hd2.dtsi b/arch/arm/boot/dts/hisi-x5hd2.dtsi index d3d99fb..17d0637 100644 --- a/arch/arm/boot/dts/hisi-x5hd2.dtsi +++ b/arch/arm/boot/dts/hisi-x5hd2.dtsi @@ -476,5 +476,65 @@ interrupts = <0 70 4>; clocks = <&clock HIX5HD2_SATA_CLK>; }; + + i2c0: i2c@b10000 { + compatible = "hisilicon,hix5hd2-i2c"; + reg = <0xb10000 0x1000>; + interrupts = <0 38 4>; + clocks = <&clock HIX5HD2_I2C0_RST>; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + + i2c1: i2c@b11000 { + compatible = "hisilicon,hix5hd2-i2c"; + reg = <0xb11000 0x1000>; + interrupts = <0 39 4>; + clocks = <&clock HIX5HD2_I2C1_RST>; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + + i2c2: i2c@b12000 { + compatible = "hisilicon,hix5hd2-i2c"; + reg = <0xb12000 0x1000>; + interrupts = <0 40 4>; + clocks = <&clock HIX5HD2_I2C2_RST>; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + + i2c3: i2c@b13000 { + compatible = "hisilicon,hix5hd2-i2c"; + reg = <0xb13000 0x1000>; + interrupts = <0 41 4>; + clocks = <&clock HIX5HD2_I2C3_RST>; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + + i2c4: i2c@b16000 { + compatible = "hisilicon,hix5hd2-i2c"; + reg = <0xb16000 0x1000>; + interrupts = <0 43 4>; + clocks = <&clock HIX5HD2_I2C4_RST>; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + + i2c5: i2c@b17000 { + compatible = "hisilicon,hix5hd2-i2c"; + reg = <0xb17000 0x1000>; + interrupts = <0 44 4>; + clocks = <&clock HIX5HD2_I2C5_RST>; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; }; };