From patchwork Tue Oct 7 01:04:13 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zhangfei Gao X-Patchwork-Id: 38390 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wg0-f70.google.com (mail-wg0-f70.google.com [74.125.82.70]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 29D25202E7 for ; Tue, 7 Oct 2014 01:04:49 +0000 (UTC) Received: by mail-wg0-f70.google.com with SMTP id a1sf3413683wgh.5 for ; Mon, 06 Oct 2014 18:04:48 -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=BJhIJFfLTQAnpYUW4quPp4kZ+Cr757wX5tB0eRV7dok=; b=TKmxCmhenNDB5sesEV792ySUa4VG77OR9g52jAcfZ6JGFfcVztfBxuLA2pkl/0jFOZ DfMoKXVLN6DTz8sHBh4Gl1FyfgNKgDZAC/QLfFFujwAvlgHxo7gJN6MwsHU3Tgy0I2nN 5r3cXvaGih0yXQf9IvQiB6URrm4++DT5CS+6UxOJ1BY5/OPIKkcXzE8DzpysQz9VnAKN CyS6Ush+pGx20/WuGuN+wujTCEdBwTwxYMMVHvRpUGb8ZFjNrwXYMnuhdIpASSHsEoXc jp0jtonvHPK4Rdgh1YI9XcjrYebiBcH5MENtdomfZCbk4l5owWENs6wbHn7pnmoqS3dn qfig== X-Gm-Message-State: ALoCoQn3qN1XLWc7Qa6Km5Tq3/jncYmaOhA9ovvHL9HA9LTNa2OdDkLDgP5svCmEgu1l02IEnAPf X-Received: by 10.180.76.230 with SMTP id n6mr2997244wiw.0.1412643888374; Mon, 06 Oct 2014 18:04:48 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.120.200 with SMTP id le8ls648637lab.101.gmail; Mon, 06 Oct 2014 18:04:48 -0700 (PDT) X-Received: by 10.112.171.202 with SMTP id aw10mr344784lbc.52.1412643888048; Mon, 06 Oct 2014 18:04:48 -0700 (PDT) Received: from mail-la0-f54.google.com (mail-la0-f54.google.com [209.85.215.54]) by mx.google.com with ESMTPS id ka2si26417461lbc.9.2014.10.06.18.04.47 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 06 Oct 2014 18:04:48 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.54 as permitted sender) client-ip=209.85.215.54; Received: by mail-la0-f54.google.com with SMTP id gm9so5292396lab.41 for ; Mon, 06 Oct 2014 18:04:47 -0700 (PDT) X-Received: by 10.153.11.166 with SMTP id ej6mr365483lad.80.1412643887939; Mon, 06 Oct 2014 18:04:47 -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 of9csp277511lbb; Mon, 6 Oct 2014 18:04:47 -0700 (PDT) X-Received: by 10.70.103.162 with SMTP id fx2mr688716pdb.42.1412643886225; Mon, 06 Oct 2014 18:04:46 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w8si8452699pdm.51.2014.10.06.18.04.45 for ; Mon, 06 Oct 2014 18:04:46 -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 S1752513AbaJGBEo (ORCPT + 5 others); Mon, 6 Oct 2014 21:04:44 -0400 Received: from mail-pa0-f53.google.com ([209.85.220.53]:62139 "EHLO mail-pa0-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752129AbaJGBEo (ORCPT ); Mon, 6 Oct 2014 21:04:44 -0400 Received: by mail-pa0-f53.google.com with SMTP id kq14so6105018pab.26 for ; Mon, 06 Oct 2014 18:04:43 -0700 (PDT) X-Received: by 10.70.36.79 with SMTP id o15mr702312pdj.6.1412643883731; Mon, 06 Oct 2014 18:04:43 -0700 (PDT) Received: from linaro.www.huaweimobilewifi.com ([119.7.222.2]) by mx.google.com with ESMTPSA id ei1sm14347386pbd.46.2014.10.06.18.04.38 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 06 Oct 2014 18:04:42 -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 v5 3/3] ARM: dts: hix5hd2: add i2c node Date: Tue, 7 Oct 2014 09:04:13 +0800 Message-Id: <1412643853-11115-4-git-send-email-zhangfei.gao@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1412643853-11115-1-git-send-email-zhangfei.gao@linaro.org> References: <1412643853-11115-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.54 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"; + }; }; };