From patchwork Thu Oct 8 07:45:48 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chen Feng X-Patchwork-Id: 54621 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f200.google.com (mail-wi0-f200.google.com [209.85.212.200]) by patches.linaro.org (Postfix) with ESMTPS id A8DE622FF8 for ; Thu, 8 Oct 2015 08:08:30 +0000 (UTC) Received: by wicgb1 with SMTP id gb1sf6354829wic.3 for ; Thu, 08 Oct 2015 01:08:30 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-type:sender:precedence :list-id:x-original-sender:x-original-authentication-results :mailing-list:list-post:list-help:list-archive:list-unsubscribe; bh=OsbxrRups3eTjwbsHDNXBdKTmCZyFW4Yh95WISxT8EY=; b=G/trZU8z2niTWfyGYihAgQXHEwqIqYoVEC/cMAQf0OWI971ph3SruhSsWphlJlZnow FK5Vhr7H0xLchx+AQZujbHVHVzlyip2Vg9QsASDgIRkKbG6nuaR3oGTPN/tT+4GDSNoD DBKJQDPVl7/dXdo5rpVp8BAQhPf2CJVXoChq201l5GsGtqWz5uPJKLn6PQ5jKO7r/AY7 P3Gl5GniS8rnAh5bYVdM5RlGxUUAq1U8XcrjqD70iXhy+D9rzxEiZY9qAqBy69ImlM+8 KrZCSDDiSYbiLK6YppFS7daAJv9UrtsOHcbgD1KCxxi8pbcg3sWNrLUEE4lCkxcZUtDn coog== X-Gm-Message-State: ALoCoQkplM799y9gOojn5pdeNNfyODq+MPWHQOWd5NR70R1yRyKVwgr04cKGixi4zUQQLZWG2fW6 X-Received: by 10.180.210.212 with SMTP id mw20mr405137wic.3.1444291709972; Thu, 08 Oct 2015 01:08:29 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.25.145.132 with SMTP id t126ls167809lfd.89.gmail; Thu, 08 Oct 2015 01:08:29 -0700 (PDT) X-Received: by 10.112.202.35 with SMTP id kf3mr2879458lbc.19.1444291709825; Thu, 08 Oct 2015 01:08:29 -0700 (PDT) Received: from mail-lb0-f169.google.com (mail-lb0-f169.google.com. [209.85.217.169]) by mx.google.com with ESMTPS id zd5si28709974lbb.139.2015.10.08.01.08.29 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 08 Oct 2015 01:08:29 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.169 as permitted sender) client-ip=209.85.217.169; Received: by lbbwt4 with SMTP id wt4so37957332lbb.1 for ; Thu, 08 Oct 2015 01:08:29 -0700 (PDT) X-Received: by 10.112.163.131 with SMTP id yi3mr2889932lbb.36.1444291709596; Thu, 08 Oct 2015 01:08:29 -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.59.35 with SMTP id w3csp427103lbq; Thu, 8 Oct 2015 01:08:28 -0700 (PDT) X-Received: by 10.50.39.6 with SMTP id l6mr2208598igk.55.1444291708604; Thu, 08 Oct 2015 01:08:28 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c41si30742491ioj.76.2015.10.08.01.08.28; Thu, 08 Oct 2015 01:08:28 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752054AbbJHIIY (ORCPT + 7 others); Thu, 8 Oct 2015 04:08:24 -0400 Received: from szxga03-in.huawei.com ([119.145.14.66]:22790 "EHLO szxga03-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752548AbbJHIHH (ORCPT ); Thu, 8 Oct 2015 04:07:07 -0400 Received: from 172.24.1.50 (EHLO szxeml428-hub.china.huawei.com) ([172.24.1.50]) by szxrg03-dlp.huawei.com (MOS 4.4.3-GA FastPath queued) with ESMTP id BOO08839; Thu, 08 Oct 2015 15:46:04 +0800 (CST) Received: from u105-115.huawei.com (10.141.105.115) by szxeml428-hub.china.huawei.com (10.82.67.183) with Microsoft SMTP Server id 14.3.235.1; Thu, 8 Oct 2015 15:45:52 +0800 From: Chen Feng To: , , , , , , , , , , , , , , , CC: , , , Subject: [PATCH 3/3] arm64: dts: Add dts node for hi6220 iommu Date: Thu, 8 Oct 2015 15:45:48 +0800 Message-ID: <1444290348-66509-3-git-send-email-puck.chen@hisilicon.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1444290348-66509-1-git-send-email-puck.chen@hisilicon.com> References: <1444290348-66509-1-git-send-email-puck.chen@hisilicon.com> MIME-Version: 1.0 X-Originating-IP: [10.141.105.115] X-CFilter-Loop: Reflected X-Mirapoint-Virus-RAPID-Raw: score=unknown(0), refid=str=0001.0A090205.5616235A.009F, ss=1, re=0.000, recu=0.000, reip=0.000, cl=1, cld=1, fgs=0, ip=0.0.0.0, so=2013-05-26 15:14:31, dmn=2013-03-21 17:37:32 X-Mirapoint-Loop-Id: 9edce7ff20bb7ae075f126e1565b3abc 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: puck.chen@hisilicon.com X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.169 as permitted sender) smtp.mailfrom=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: Chen Feng Signed-off-by: Yu Dongbin --- arch/arm64/boot/dts/hisilicon/hi6220.dtsi | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/arch/arm64/boot/dts/hisilicon/hi6220.dtsi b/arch/arm64/boot/dts/hisilicon/hi6220.dtsi index 3f03380..3ef33b4 100644 --- a/arch/arm64/boot/dts/hisilicon/hi6220.dtsi +++ b/arch/arm64/boot/dts/hisilicon/hi6220.dtsi @@ -5,6 +5,7 @@ */ #include +#include / { compatible = "hisilicon,hi6220"; @@ -167,5 +168,19 @@ clocks = <&ao_ctrl 36>, <&ao_ctrl 36>; clock-names = "uartclk", "apb_pclk"; }; + + smmu@f4210000 { + compatible = "hisilicon,hi6220-smmu"; + reg = <0x0 0xf4210000 0x0 0x1000>; + interrupts = ; + clocks = <&sys_ctrl HI6220_MMU_CLK>, + <&media_ctrl HI6220_MED_MMU>, + <&sys_ctrl HI6220_MEDIA_PLL_SRC>; + clock-names = "smmu_clk", + "media_sc_clk", + "smmu_peri_clk"; + #iommu-cells = <1>; + }; + }; };