From patchwork Wed Oct 29 08:26:03 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zhangfei Gao X-Patchwork-Id: 39723 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-la0-f69.google.com (mail-la0-f69.google.com [209.85.215.69]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 84F9224046 for ; Wed, 29 Oct 2014 08:26:58 +0000 (UTC) Received: by mail-la0-f69.google.com with SMTP id q1sf1361684lam.8 for ; Wed, 29 Oct 2014 01:26:56 -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=S8tnZ3Yo8w0uLzq8XCYTjO3f+BuZpJbJFOjND5pdv14=; b=EHQ3I7iu1mtQbnt2xWXyh4JAR8YJmjSW2Yu7A7lpqaq0hdo9fA+5h7znnsTPXWuwdc 7VRubXfI3HaBiQb/1mqhkwuHtSrnjddihsU3IyOJawZBnjs1kHCK4G1rqFOoMYDp0eTQ R26I7+nuQXI4HXOqh+jZd7hbNZQSD54Hfvpca9TBv74KydoTXgTVK7wBVZlFf2O8hV13 qFq/ADn5BhkqvUkNN5AR1aTPg/Ve/3dLajuJsvqXT3tYGiTO/OCEv9WA9ANNScyaa3oE isJ0WkmqDxJOualnIdoP+aS19mUBwKLE5KIC3BuQDXD6b155tGjYPTjDWHOsX0LQnP/E eZvw== X-Gm-Message-State: ALoCoQn6U+Qe6qGXbfNLa4binwT1tQjzy9C6uL4oK+KVG0nZEPjBPNBpQVruHSCtCIeGxCPS4MnR X-Received: by 10.180.93.35 with SMTP id cr3mr1610946wib.2.1414571216929; Wed, 29 Oct 2014 01:26:56 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.153.4.5 with SMTP id ca5ls129187lad.68.gmail; Wed, 29 Oct 2014 01:26:56 -0700 (PDT) X-Received: by 10.152.8.136 with SMTP id r8mr9613968laa.91.1414571216717; Wed, 29 Oct 2014 01:26:56 -0700 (PDT) Received: from mail-la0-f48.google.com (mail-la0-f48.google.com. [209.85.215.48]) by mx.google.com with ESMTPS id wb3si6069583lbb.112.2014.10.29.01.26.56 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 29 Oct 2014 01:26:56 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.48 as permitted sender) client-ip=209.85.215.48; Received: by mail-la0-f48.google.com with SMTP id gq15so2117221lab.35 for ; Wed, 29 Oct 2014 01:26:56 -0700 (PDT) X-Received: by 10.112.140.5 with SMTP id rc5mr9594851lbb.32.1414571216625; Wed, 29 Oct 2014 01:26:56 -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.84.229 with SMTP id c5csp618734lbz; Wed, 29 Oct 2014 01:26:55 -0700 (PDT) X-Received: by 10.70.38.232 with SMTP id j8mr9297225pdk.44.1414571214601; Wed, 29 Oct 2014 01:26:54 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v4si3524657pdr.31.2014.10.29.01.26.53 for ; Wed, 29 Oct 2014 01:26:54 -0700 (PDT) Received-SPF: none (google.com: devicetree-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 S932244AbaJ2I0x (ORCPT + 4 others); Wed, 29 Oct 2014 04:26:53 -0400 Received: from mail-pd0-f177.google.com ([209.85.192.177]:63126 "EHLO mail-pd0-f177.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932102AbaJ2I0w (ORCPT ); Wed, 29 Oct 2014 04:26:52 -0400 Received: by mail-pd0-f177.google.com with SMTP id v10so2492552pde.8 for ; Wed, 29 Oct 2014 01:26:52 -0700 (PDT) X-Received: by 10.68.164.101 with SMTP id yp5mr9208526pbb.66.1414571212175; Wed, 29 Oct 2014 01:26:52 -0700 (PDT) Received: from localhost.localdomain ([180.150.157.4]) by mx.google.com with ESMTPSA id ml5sm3658124pab.32.2014.10.29.01.26.47 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 29 Oct 2014 01:26:50 -0700 (PDT) From: Zhangfei Gao To: arnd@arndb.de, haifeng.yan@linaro.org, jchxue@gmail.com, xuwei5@hisilicon.com, haojian.zhuang@linaro.org Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, Zhangfei Gao Subject: [PATCH v4 08/10] ARM: dts: hix5hd2: add i2c node Date: Wed, 29 Oct 2014 16:26:03 +0800 Message-Id: <1414571165-23736-9-git-send-email-zhangfei.gao@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1414571165-23736-1-git-send-email-zhangfei.gao@linaro.org> References: <1414571165-23736-1-git-send-email-zhangfei.gao@linaro.org> Sender: devicetree-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: devicetree@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.48 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 576d8c2..b8deb6c 100644 --- a/arch/arm/boot/dts/hisi-x5hd2.dtsi +++ b/arch/arm/boot/dts/hisi-x5hd2.dtsi @@ -486,5 +486,65 @@ clocks = <&clock HIX5HD2_FIXED_24M>; hisilicon,power-syscon = <&sysctrl>; }; + + 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"; + }; }; };